Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Data Structures | |
class | ModifierDebugObj |
Enumerations | |
enum | eModifierSyncIDs { MODIFIER_SYNC_WOUND_INFECT_1 = 0x00000001, MODIFIER_SYNC_WOUND_INFECT_2 = 0x00000002, MODIFIER_SYNC_CONTAMINATION = 0x00000004, MODIFIER_SYNC_CONTAMINATION2 = 0x00000008, MODIFIER_SYNC_ZONE_EXPOSURE = 0x00000010, MODIFIER_SYNC_DROWNING = 0x00000020, MODIFIER_SYNC_FEVER = 0x00000040, LAST_INDEX } |
enum | EActivationType { TRIGGER_EVENT_OFF, TRIGGER_EVENT_ON_ACTIVATION, TRIGGER_EVENT_ON_CONNECT } |
Functions | |
void | ModifiersManager (PlayerBase player) |
void | Init () |
Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system) More... | |
void | SetModifiers (bool enable) |
int | GetStorageVersion () |
bool | IsModifiersEnable () |
void | AddModifier (ModifierBase modifier) |
bool | IsModifierActive (eModifiers modifier_id) |
void | OnScheduledTick (float delta_time) |
void | DeactivateAllModifiers () |
void | ActivateModifier (int modifier_id, bool triggerEvent=EActivationType.TRIGGER_EVENT_ON_ACTIVATION) |
void | DeactivateModifier (int modifier_id, bool triggerEvent=true) |
void | OnStoreSave (ParamsWriteContext ctx) |
bool | OnStoreLoad (ParamsReadContext ctx, int version) |
ModifierBase | GetModifier (int modifier_id) |
PlayerBase | GetPlayer () |
void | SetModifierLock (int modifier_id, bool state) |
bool | GetModifierLock (int modifier_id) |
void | DbgGetModifiers (array< ref ModifierDebugObj > modifiers) |
void | ResetAll () |
Variables | |
const int | DEFAULT_TICK_TIME_ACTIVE = 3 |
const int | DEFAULT_TICK_TIME_ACTIVE_SHORT = 1 |
const int | DEFAULT_TICK_TIME_INACTIVE = 3 |
const int | DEFAULT_TICK_TIME_INACTIVE_LONG = 10 |
class ModifierDebugObj | m_Player |
ref map< int, ref ModifierBase > | m_ModifierList |
ref array< ref ModifierBase > | m_ModifierListArray = new array< ref ModifierBase> |
ref array< ref Param > | m_ParamList |
bool | m_AllowModifierTick = false |
const int | STORAGE_VERSION = 121 |
enum EActivationType |
Enumerator | |
---|---|
TRIGGER_EVENT_OFF | |
TRIGGER_EVENT_ON_ACTIVATION | |
TRIGGER_EVENT_ON_CONNECT |
Definition at line 24 of file modifiersmanager.c.
enum eModifierSyncIDs |
Definition at line 2 of file modifiersmanager.c.
void ActivateModifier | ( | int | modifier_id, |
bool | triggerEvent = EActivationType.TRIGGER_EVENT_ON_ACTIVATION |
||
) |
Definition at line 219 of file modifiersmanager.c.
void AddModifier | ( | ModifierBase | modifier | ) |
Definition at line 180 of file modifiersmanager.c.
void DbgGetModifiers | ( | array< ref ModifierDebugObj > | modifiers | ) |
Definition at line 333 of file modifiersmanager.c.
void DeactivateAllModifiers | ( | ) |
Definition at line 211 of file modifiersmanager.c.
Definition at line 224 of file modifiersmanager.c.
ModifierBase GetModifier | ( | int | modifier_id | ) |
Definition at line 312 of file modifiersmanager.c.
Definition at line 328 of file modifiersmanager.c.
PlayerBase GetPlayer | ( | ) |
Definition at line 317 of file modifiersmanager.c.
int GetStorageVersion | ( | ) |
Definition at line 170 of file modifiersmanager.c.
void Init | ( | ) |
Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)
Definition at line 89 of file modifiersmanager.c.
bool IsModifierActive | ( | eModifiers | modifier_id | ) |
Definition at line 195 of file modifiersmanager.c.
bool IsModifiersEnable | ( | ) |
Definition at line 175 of file modifiersmanager.c.
void ModifiersManager | ( | PlayerBase | player | ) |
Definition at line 80 of file modifiersmanager.c.
void OnScheduledTick | ( | float | delta_time | ) |
Definition at line 200 of file modifiersmanager.c.
bool OnStoreLoad | ( | ParamsReadContext | ctx, |
int | version | ||
) |
Definition at line 270 of file modifiersmanager.c.
void OnStoreSave | ( | ParamsWriteContext | ctx | ) |
Definition at line 229 of file modifiersmanager.c.
void ResetAll | ( | ) |
Definition at line 358 of file modifiersmanager.c.
Definition at line 322 of file modifiersmanager.c.
void SetModifiers | ( | bool | enable | ) |
Definition at line 148 of file modifiersmanager.c.
const int DEFAULT_TICK_TIME_ACTIVE = 3 |
Definition at line 31 of file modifiersmanager.c.
const int DEFAULT_TICK_TIME_ACTIVE_SHORT = 1 |
Definition at line 32 of file modifiersmanager.c.
const int DEFAULT_TICK_TIME_INACTIVE = 3 |
Definition at line 33 of file modifiersmanager.c.
const int DEFAULT_TICK_TIME_INACTIVE_LONG = 10 |
Definition at line 34 of file modifiersmanager.c.
bool m_AllowModifierTick = false |
Definition at line 78 of file modifiersmanager.c.
ref map<int, ref ModifierBase> m_ModifierList |
Definition at line 75 of file modifiersmanager.c.
ref array< ref ModifierBase> m_ModifierListArray = new array< ref ModifierBase> |
Definition at line 76 of file modifiersmanager.c.
Definition at line 77 of file modifiersmanager.c.
class ModifierDebugObj m_Player |
const int STORAGE_VERSION = 121 |
Definition at line 79 of file modifiersmanager.c.