Class AutoEmoteSystem
Inheritance
System.Object
AutoEmoteSystem
Assembly: Content.Server.dll
Syntax
public sealed class AutoEmoteSystem : EntitySystem
Methods
|
Improve this Doc
View Source
AddEmote(EntityUid, String, AutoEmoteComponent)
Try to add an emote to the entity, which will be performed at an interval.
Declaration
public bool AddEmote(EntityUid uid, string autoEmotePrototypeId, AutoEmoteComponent autoEmote = null)
Parameters
Type |
Name |
Description |
EntityUid |
uid |
|
System.String |
autoEmotePrototypeId |
|
AutoEmoteComponent |
autoEmote |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Initialize()
Declaration
public override void Initialize()
|
Improve this Doc
View Source
RemoveEmote(EntityUid, String, AutoEmoteComponent, Boolean)
Stop preforming an emote. Note that by default this will queue empty components for removal.
Declaration
public bool RemoveEmote(EntityUid uid, string autoEmotePrototypeId, AutoEmoteComponent autoEmote = null, bool removeEmpty = true)
Parameters
Type |
Name |
Description |
EntityUid |
uid |
|
System.String |
autoEmotePrototypeId |
|
AutoEmoteComponent |
autoEmote |
|
System.Boolean |
removeEmpty |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ResetTimer(EntityUid, String, AutoEmoteComponent, AutoEmotePrototype)
Reset the timer for a specific emote, or return false if it doesn't exist.
Declaration
public bool ResetTimer(EntityUid uid, string autoEmotePrototypeId, AutoEmoteComponent autoEmote = null, AutoEmotePrototype autoEmotePrototype = null)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Update(Single)
Declaration
public override void Update(float frameTime)
Parameters
Type |
Name |
Description |
System.Single |
frameTime |
|