|
Battle Talent
V11
|
Public Member Functions | |
| delegate void | OnStatChanged (CharacterStat cs) |
| CharacterStat (float baseValue) | |
| void | ChangeBaseValue (float delta, bool notify=true) |
| void | SetBaseValue (float b, bool notify=true) |
| virtual void | AddModifier (StatModifier mod, bool notify=true) |
| virtual bool | RemoveModifier (StatModifier mod, bool notify=true) |
| virtual bool | RemoveAllModifiersFromSource (object source) |
Public Attributes | |
| float | BaseValue |
| readonly ReadOnlyCollection< StatModifier > | StatModifiers |
Protected Member Functions | |
| virtual int | CompareModifierOrder (StatModifier a, StatModifier b) |
| virtual float | CalculateFinalValue () |
Protected Attributes | |
| bool | isDirty = true |
| float | lastBaseValue |
| float | _value |
| readonly List< StatModifier > | statModifiers |
Properties | |
| float | OldValue [get] |
| virtual float | Value [get] |
Events | |
| OnStatChanged | StatChangedEvent |