|
| void | PlayerStat (T min, T max, T init, string label, int flags) |
| |
| override void | Init (int id) |
| |
| override void | SerializeValue (array< ref StatDebugObject > objects, int flags) |
| |
| PlayerStats | GetManager () |
| |
| void | Set (T value, string system="") |
| |
| void | SetByFloat (float value, string system="") |
| |
| override void | SetByFloatEx (float value, string system="") |
| |
| void | Add (T value, string system="") |
| |
| override float | Get () |
| |
| override string | GetLabel () |
| |
| override float | GetMax () |
| |
| override float | GetMin () |
| |
| override float | GetNormalized () |
| |
| override array< PlayerStatRecord > | GetRecords () |
| |
| void | CreateRecord (float value, string system) |
| |
| override void | OnStoreSave (ParamsWriteContext ctx) |
| |
| override bool | OnStoreLoad (ParamsReadContext ctx) |
| |
Definition at line 1 of file PlayerStatBase.c.
◆ Add()
| void PlayerStatBase::Add |
( |
T | value, |
|
|
string | system = "" ) |
|
inlineprotected |
◆ CreateRecord()
◆ Get() [1/2]
| float PlayerStatBase::Get |
( |
| ) |
|
|
private |
◆ Get() [2/2]
◆ GetLabel() [1/2]
| string PlayerStatBase::GetLabel |
( |
| ) |
|
|
private |
◆ GetLabel() [2/2]
◆ GetManager()
◆ GetMax() [1/2]
| float PlayerStatBase::GetMax |
( |
| ) |
|
|
private |
◆ GetMax() [2/2]
◆ GetMin() [1/2]
| float PlayerStatBase::GetMin |
( |
| ) |
|
|
private |
◆ GetMin() [2/2]
◆ GetNormalized() [1/2]
| float PlayerStatBase::GetNormalized |
( |
| ) |
|
|
private |
◆ GetNormalized() [2/2]
◆ GetRecords() [1/2]
◆ GetRecords() [2/2]
◆ GetType()
| int PlayerStatBase::GetType |
( |
| ) |
|
|
inlineprivate |
◆ Init() [1/2]
| void PlayerStatBase::Init |
( |
int | id | ) |
|
|
private |
◆ Init() [2/2]
◆ IsSynced()
| bool PlayerStatBase::IsSynced |
( |
| ) |
|
|
private |
◆ OnRPC()
◆ OnStoreLoad() [1/2]
◆ OnStoreLoad() [2/2]
Definition at line 147 of file PlayerStatBase.c.
148 {
149
150
151
155 else
156 return false;
157
158 return true;
159 }
References m_Value.
◆ OnStoreSave() [1/2]
◆ OnStoreSave() [2/2]
◆ PlayerStat()
| void PlayerStatBase::PlayerStat |
( |
T | min, |
|
|
T | max, |
|
|
T | init, |
|
|
string | label, |
|
|
int | flags ) |
|
inlineprotected |
◆ SerializeValue() [1/2]
◆ SerializeValue() [2/2]
◆ Set()
| void PlayerStatBase::Set |
( |
T | value, |
|
|
string | system = "" ) |
|
inlineprotected |
◆ SetByFloat() [1/2]
| void PlayerStatBase::SetByFloat |
( |
float | value | ) |
|
|
private |
◆ SetByFloat() [2/2]
◆ SetByFloatEx() [1/2]
◆ SetByFloatEx() [2/2]
◆ m_Flags
| int PlayerStatBase::m_Flags |
|
protected |
◆ m_Manager
◆ m_MaxValue
| T PlayerStatBase::m_MaxValue |
|
protected |
◆ m_MinValue
| T PlayerStatBase::m_MinValue |
|
protected |
◆ m_Records
◆ m_Type
| int PlayerStatBase::m_Type |
|
private |
◆ m_Value
| T PlayerStatBase::m_Value |
|
protected |
◆ m_ValueLabel
| string PlayerStatBase::m_ValueLabel |
|
protected |
The documentation for this class was generated from the following file: