Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Enumerations | |
enum | eModifiersTickType { TICK = 1, ACTIVATE_CHECK = 2, DEACTIVATE_CHECK = 4 } |
Functions | |
void | ModifierBase () |
void | InitBase (PlayerBase player, ModifiersManager manager) |
void | Init () |
Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system) More... | |
PlayerBase | GetPlayer () |
bool | IsPersistent () |
void | MakeParamObjectPersistent (Param object) |
void | ResetLastTickTime () |
string | GetDebugText () |
string | GetDebugTextSimple () |
void | DisableActivateCheck () |
void | DisableDeactivateCheck () |
void | Tick (float delta_time) |
bool | IsActive () |
void | SetLock (bool state) |
bool | IsLocked () |
bool | IsTrackAttachedTime () |
float | GetAttachedTime () |
void | SetAttachedTime (float time) |
int | GetModifierID () |
string | GetName () |
Gets the name which is set for the ParticleManager, default is "ParticleSourceManager". More... | |
bool | ActivateCondition (PlayerBase player) |
bool | DeactivateCondition (PlayerBase player) |
void | OnActivate (PlayerBase player) |
is called when an inactive modifier gets activated during gameplay, is NOT called on activation upon player server connection(see OnReconnect) More... | |
void | OnReconnect (PlayerBase player) |
is called when a modifier is being re-activated upon player server connection, use to activate systems which are not persistent and need to run alongside active modifiers More... | |
void | OnDeactivate (PlayerBase player) |
void | Activate () |
void | ActivateRequest (EActivationType trigger) |
void | Deactivate (bool trigger=true) |
void | OnStoreSave (ParamsWriteContext ctx) |
private void | OnTick (PlayerBase player, float deltaT) |
enum eModifiersTickType |
Enumerator | |
---|---|
TICK | |
ACTIVATE_CHECK | |
DEACTIVATE_CHECK |
Definition at line 1 of file modifierbase.c.
void Activate | ( | ) |
Definition at line 201 of file modifierbase.c.
bool ActivateCondition | ( | PlayerBase | player | ) |
Definition at line 174 of file modifierbase.c.
void ActivateRequest | ( | EActivationType | trigger | ) |
Definition at line 210 of file modifierbase.c.
void Deactivate | ( | bool | trigger = true | ) |
Definition at line 216 of file modifierbase.c.
bool DeactivateCondition | ( | PlayerBase | player | ) |
Definition at line 179 of file modifierbase.c.
void DisableActivateCheck | ( | ) |
Definition at line 78 of file modifierbase.c.
void DisableDeactivateCheck | ( | ) |
Definition at line 83 of file modifierbase.c.
float GetAttachedTime | ( | ) |
Definition at line 150 of file modifierbase.c.
string GetDebugText | ( | ) |
Definition at line 68 of file modifierbase.c.
string GetDebugTextSimple | ( | ) |
Definition at line 73 of file modifierbase.c.
int GetModifierID | ( | ) |
Definition at line 160 of file modifierbase.c.
PlayerBase GetPlayer | ( | ) |
Definition at line 47 of file modifierbase.c.
void Init | ( | ) |
Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)
Definition at line 44 of file modifierbase.c.
void InitBase | ( | PlayerBase | player, |
ModifiersManager | manager | ||
) |
Definition at line 37 of file modifierbase.c.
bool IsActive | ( | ) |
Definition at line 130 of file modifierbase.c.
bool IsLocked | ( | ) |
Definition at line 140 of file modifierbase.c.
bool IsPersistent | ( | ) |
Definition at line 52 of file modifierbase.c.
bool IsTrackAttachedTime | ( | ) |
Definition at line 145 of file modifierbase.c.
void MakeParamObjectPersistent | ( | Param | object | ) |
Definition at line 57 of file modifierbase.c.
void ModifierBase | ( | ) |
Definition at line 32 of file modifierbase.c.
void OnActivate | ( | PlayerBase | player | ) |
is called when an inactive modifier gets activated during gameplay, is NOT called on activation upon player server connection(see OnReconnect)
Definition at line 185 of file modifierbase.c.
void OnDeactivate | ( | PlayerBase | player | ) |
Definition at line 196 of file modifierbase.c.
void OnReconnect | ( | PlayerBase | player | ) |
is called when a modifier is being re-activated upon player server connection, use to activate systems which are not persistent and need to run alongside active modifiers
Definition at line 191 of file modifierbase.c.
void OnStoreSave | ( | ParamsWriteContext | ctx | ) |
Definition at line 229 of file modifierbase.c.
private void OnTick | ( | PlayerBase | player, |
float | deltaT | ||
) |
Definition at line 234 of file modifierbase.c.
void ResetLastTickTime | ( | ) |
Definition at line 63 of file modifierbase.c.
void SetAttachedTime | ( | float | time | ) |
Definition at line 155 of file modifierbase.c.
void SetLock | ( | bool | state | ) |
Definition at line 135 of file modifierbase.c.
void Tick | ( | float | delta_time | ) |
Definition at line 88 of file modifierbase.c.
float m_AccumulatedTimeActive |
Definition at line 22 of file modifierbase.c.
float m_AccumulatedTimeInactive |
Definition at line 23 of file modifierbase.c.
float m_ActivatedTime |
Definition at line 14 of file modifierbase.c.
EActivationType m_ActivationType |
Definition at line 28 of file modifierbase.c.
enum eModifiersTickType m_ID = 0 |
bool m_IsActive |
Definition at line 20 of file modifierbase.c.
bool m_IsLocked = false |
Definition at line 27 of file modifierbase.c.
bool m_IsPersistent |
Definition at line 16 of file modifierbase.c.
float m_LastTickedActive |
Definition at line 24 of file modifierbase.c.
float m_LastTickedInactive |
Definition at line 26 of file modifierbase.c.
ModifiersManager m_Manager |
Definition at line 12 of file modifierbase.c.
PluginPlayerStatus m_ModulePlayerStatus |
Definition at line 30 of file modifierbase.c.
PlayerBase m_Player |
Definition at line 17 of file modifierbase.c.
bool m_ShouldBeActive |
Definition at line 21 of file modifierbase.c.
eModifierSyncIDs m_SyncID |
Definition at line 29 of file modifierbase.c.
string m_System = "Modifiers" |
Definition at line 13 of file modifierbase.c.
float m_TickIntervalActive = 3 |
Definition at line 19 of file modifierbase.c.
float m_TickIntervalInactive = 5 |
Definition at line 18 of file modifierbase.c.
int m_TickType = (eModifiersTickType.TICK | eModifiersTickType.ACTIVATE_CHECK | eModifiersTickType.DEACTIVATE_CHECK) |
Definition at line 25 of file modifierbase.c.
bool m_TrackActivatedTime |
Definition at line 15 of file modifierbase.c.