|
| static EntityParam | Empty [get] |
| |
| float | Value [get] |
| | The total final value, calculated using this formula: (baseValue + (additive sum)) * (multiplicative sum)
|
| |
| bool | ValueAsBool [get] |
| | The boolean value of this parameter.
|
| |
| float | Base [get] |
| |
| float | Additive [get] |
| |
| float | Multiplicative [get] |
| | The multiplicative value of this parameter, offset from 1.
|
| |
| int | Influencers [get] |
| |
◆ EntityParam() [1/3]
◆ EntityParam() [2/3]
◆ EntityParam() [3/3]
| Slasher.Entity.EntityParam.EntityParam |
( |
| ) |
|
|
private |
Creates a blank EntityParam.
Should only exist to return dummy values.
◆ AddModifier()
| void Slasher.Entity.EntityParam.AddModifier |
( |
ParamModifier | modifier | ) |
|
◆ IsUnused()
| bool Slasher.Entity.EntityParam.IsUnused |
( |
| ) |
|
◆ Recalculate()
| void Slasher.Entity.EntityParam.Recalculate |
( |
| ) |
|
|
private |
◆ RemoveModifier()
| void Slasher.Entity.EntityParam.RemoveModifier |
( |
ParamModifier | modifier | ) |
|
◆ RequestRecalculate()
| void Slasher.Entity.EntityParam.RequestRecalculate |
( |
| ) |
|
◆ addCache
| float Slasher.Entity.EntityParam.addCache |
|
private |
◆ baseValue
◆ empty
◆ id
| ParamID Slasher.Entity.EntityParam.id |
|
private |
◆ listeners
| int Slasher.Entity.EntityParam.listeners |
|
private |
◆ modifiers
◆ multiplyCache
| float Slasher.Entity.EntityParam.multiplyCache |
|
private |
◆ stale
| bool Slasher.Entity.EntityParam.stale |
|
private |
◆ Additive
| float Slasher.Entity.EntityParam.Additive |
|
get |
◆ Base
| float Slasher.Entity.EntityParam.Base |
|
get |
◆ Empty
◆ Influencers
| int Slasher.Entity.EntityParam.Influencers |
|
get |
◆ Multiplicative
| float Slasher.Entity.EntityParam.Multiplicative |
|
get |
The multiplicative value of this parameter, offset from 1.
Multiplying by this value should directly work.
◆ Value
| float Slasher.Entity.EntityParam.Value |
|
get |
The total final value, calculated using this formula: (baseValue + (additive sum)) * (multiplicative sum)
◆ ValueAsBool
| bool Slasher.Entity.EntityParam.ValueAsBool |
|
get |
The boolean value of this parameter.
Do NOT use this unless the ParamID is a bool!
◆ OnChanged
| Action Slasher.Entity.EntityParam.OnChanged |
|
addremove |
◆ OnChangedInternal
| Action Slasher.Entity.EntityParam.OnChangedInternal = () => { } |
|
private |
The documentation for this class was generated from the following file:
- StyleSlasherUnityProject/Assets/Scripts/Entity/Parameters/EntityParam.cs