Class SharedChameleonClothingSystem
Inheritance
System.Object
SharedChameleonClothingSystem
Assembly: Content.Shared.dll
Syntax
public abstract class SharedChameleonClothingSystem : EntitySystem
Methods
|
Improve this Doc
View Source
Initialize()
Declaration
public override void Initialize()
|
Improve this Doc
View Source
IsValidTarget(EntityPrototype, SlotFlags)
Check if this entity prototype is valid target for chameleon item.
Declaration
public bool IsValidTarget(EntityPrototype proto, SlotFlags chameleonSlot = default(SlotFlags))
Parameters
Type |
Name |
Description |
Robust.Shared.Prototypes.EntityPrototype |
proto |
|
SlotFlags |
chameleonSlot |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
UpdateSprite(EntityUid, EntityPrototype)
Declaration
protected virtual void UpdateSprite(EntityUid uid, EntityPrototype proto)
Parameters
Type |
Name |
Description |
EntityUid |
uid |
|
Robust.Shared.Prototypes.EntityPrototype |
proto |
|
|
Improve this Doc
View Source
UpdateVisuals(EntityUid, ChameleonClothingComponent)
Declaration
protected void UpdateVisuals(EntityUid uid, ChameleonClothingComponent component)
Parameters