TOCK by NullSave\Stats Cog\ScriptsStatsCog.cs


A SaveableObject that tracks stats for the attached GameObject.


ActiveEffectsReturns a list of all currently applied effects
effectsStores all possible effects, only used for saving and not required
statsStores all stats for the GameObject


AddEffectAdds a new active StatEffect
ClearEffectsRemoves all active StatEffects
EvaluateConditionEvaluates a logical equation
FindStatReturns a StatValue by name
GetExpressionValueReturns the float result of an equation, including current stat values
LoadLoads data from a stream or file
RemoveEffectRemoves an active StatEffect
RemoveEffectAllRemoves all instances of an active StatEffect
SaveSaves data to a stream of file
SendCommandSends a command for processing