|
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) |
|
◆ Add()
107 {
109 }
T m_Value
Definition PlayerStatBase.c:28
void Set(T value, string system="")
Definition PlayerStatBase.c:63
Перекрестные ссылки m_Value и Set().
◆ CreateRecord()
142 {
144 }
float GetTime()
Definition NotificationSystem.c:35
ref array< PlayerStatRecord > m_Records
Definition PlayerStatBase.c:32
Definition PlayerStatRecord.c:2
proto native CGame GetGame()
Перекрестные ссылки GetGame() и GetTime().
◆ Get() [1/2]
◆ Get() [2/2]
◆ GetLabel() [1/2]
◆ GetLabel() [2/2]
117 {
119 }
string m_ValueLabel
Definition PlayerStatBase.c:29
Перекрестные ссылки m_ValueLabel.
◆ GetManager()
59 {
61 }
PlayerStats m_Manager
Definition PlayerStatBase.c:33
Перекрестные ссылки m_Manager.
◆ GetMax() [1/2]
◆ GetMax() [2/2]
122 {
124 }
T m_MaxValue
Definition PlayerStatBase.c:27
Перекрестные ссылки m_MaxValue.
◆ GetMin() [1/2]
◆ GetMin() [2/2]
127 {
129 }
T m_MinValue
Definition PlayerStatBase.c:26
Перекрестные ссылки m_MinValue.
◆ GetNormalized() [1/2]
◆ GetNormalized() [2/2]
132 {
134 }
static proto float InverseLerp(float a, float b, float value)
Calculates the linear value that produces the interpolant value within the range [a,...
Перекрестные ссылки Get(), GetMax(), GetMin() и Math::InverseLerp().
◆ GetRecords() [1/2]
◆ GetRecords() [2/2]
◆ GetType()
19 {
21 }
int m_Type
Definition PlayerStatBase.c:3
Перекрестные ссылки m_Type.
◆ Init() [1/2]
◆ Init() [2/2]
◆ IsSynced()
◆ OnRPC()
◆ OnStoreLoad() [1/2]
◆ OnStoreLoad() [2/2]
154 {
155
156
157
160 {
162 }
163 else
164 {
165 return false;
166 }
167
168 return true;
169 }
Перекрестные ссылки m_Value.
◆ OnStoreSave() [1/2]
◆ OnStoreSave() [2/2]
◆ PlayerStat()
◆ SerializeValue() [1/2]
◆ SerializeValue() [2/2]
54 {
56 }
eRemoteStatType
Definition RemotePlayerStatDebug.c:2
Definition StatDebugObject.c:2
Перекрестные ссылки Get() и GetLabel().
◆ Set()
◆ SetByFloat() [1/2]
◆ SetByFloat() [2/2]
Перекрестные ссылки Set().
◆ SetByFloatEx() [1/2]
◆ SetByFloatEx() [2/2]
95 {
97 }
void SetByFloat(float value)
Перекрестные ссылки SetByFloat().
◆ m_Flags
◆ m_Manager
◆ m_MaxValue
◆ m_MinValue
◆ m_Records
◆ m_Type
◆ m_Value
◆ m_ValueLabel
Объявления и описания членов класса находятся в файле: