Class EmoteOnDamageSystem
Inheritance
System.Object
EmoteOnDamageSystem
Namespace: Content.Server.Chat.Systems
Assembly: Content.Server.dll
Syntax
public sealed class EmoteOnDamageSystem : EntitySystem
Methods
| Improve this Doc View SourceAddEmote(EntityUid, String, EmoteOnDamageComponent)
Try to add an emote to the entity, which will be performed at an interval.
Declaration
public bool AddEmote(EntityUid uid, string emotePrototypeId, EmoteOnDamageComponent emoteOnDamage = null)
Parameters
Type | Name | Description |
---|---|---|
Entity |
uid | |
System. |
emotePrototypeId | |
Emote |
emoteOnDamage |
Returns
Type | Description |
---|---|
System. |
Initialize()
Declaration
public override void Initialize()
RemoveEmote(EntityUid, String, EmoteOnDamageComponent, Boolean)
Stop preforming an emote. Note that by default this will queue empty components for removal.
Declaration
public bool RemoveEmote(EntityUid uid, string emotePrototypeId, EmoteOnDamageComponent emoteOnDamage = null, bool removeEmpty = true)
Parameters
Type | Name | Description |
---|---|---|
Entity |
uid | |
System. |
emotePrototypeId | |
Emote |
emoteOnDamage | |
System. |
removeEmpty |
Returns
Type | Description |
---|---|
System. |