Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
Managed Class Reference

TODO doc. More...

Inheritance diagram for Managed:
AIAgent AIGroup AIGroupBehaviour AIWorld ActionOverrideData BackendCallback BleedChanceData CargoBase CfgParam CollisionOverlapCallback ColorValuesData CupidsBoltSimulation DayZIntroScene DayZIntroSceneXbox DebugText DebugText FlareSimulation GameOptions GizmoApi Hud IEntity JsonApiStruct JsonDataAreaData JsonDataContaminatedAreas JsonDataCredits JsonDataCreditsDepartment JsonDataCreditsSection JsonDataDLCInfo JsonDataDLCList JsonDataNewsArticle JsonDataNewsList JsonDataPlayerData MenuData MiscEffects Obsolete OptionsAccess Param ParamEnum PhysicsGeomDef PhysicsGeomDef PlayerIdentityBase PlayerSpawnJsonDataBase ProjectileStoppedInfo RainProcurementComponentBase RainProcurementHandler RestCallback ScriptedWidgetEventHandler Serializer SmokeSimulation TestBase TestHarness TotalDamageResult TraceParam UIMenuPanel VONManagerBase VehicleHudBase WorkbenchPlugin World

Protected Member Functions

void ~IntroSceneCharacter ()
void BleedingIndicator (int source_ID, int severity, GameplayEffectsDataBleeding parent)
void CharacterLoad (int character_id, vector char_pos, vector char_rot)
void CharacterUnload ()
void CheckBlood ()
void CheckHealth ()
void CheckValues ()
void CreateDefaultCharacter ()
void CreateNewCharacter ()
void CreateNewCharacterById (int character_id)
void CreateNewCharacterByName (string character_name, bool randomize_equip=true)
void CreateNewCharacterRandom ()
bool DataInitialized ()
void ForceStop ()
void GameplayEffectsData (array< ref Widget > input, int type, int user_override=-1)
float GetBlood ()
ECharGender GetCharacterGender ()
int GetCharacterID ()
string GetCharacterName ()
string GetCharacterNameById (int char_id)
PlayerBase GetCharacterObj ()
TStringArray GetCharGenderList ()
TStringArray GetCharList (ECharGender gender)
TStringArray GetCharPantsList ()
TStringArray GetCharShirtsList ()
TStringArray GetCharShoesList ()
bool GetEndNow ()
float GetHealth ()
void GetLastPlayedServer (int characterID, out string address, out string name, out int port)
void GetLastPlayedServerEx (int characterID, out string address, out string name, out int port, out int steamQueryPort)
int GetNextCharacterID ()
vector GetPosition ()
int GetPrevCharacterID ()
int GetSeverity ()
array< ref WidgetGetWidgetSet ()
int GetWidgetSetID ()
int GetWidgetSetType ()
bool HasDefinedHandle ()
 Returns 'true' if this class contains update info.
void Init ()
void Init (array< ref Widget > input, int type, Widget layout_root, int user_override=-1)
void InitIndicator (vector position)
void IntroSceneCharacter ()
bool IsCharacterFemale ()
bool IsDefaultCharacter ()
bool IsRunningDrops ()
 Are any drops currently being animated?
void LoadCharacterData (vector char_pos, vector char_rot, bool default_char=false)
 Generates random equip for the new IntroSceneCharacter, whatever is defined in 'cfgCharacterCreation'.
void OnRPC (ParamsReadContext ctx)
void OnScheduledTick (float deltatime)
void ReceiveValue (int value_type, float value)
void RegisterData (Param p)
void ResetIndicator ()
void ResetSequence ()
void SaveCharName (string name)
void SaveDefaultCharacter ()
void SendInitValues ()
 Sends values on object creation.
void SendValue (int value_type, float value)
void SetAttachment (string type, int slot)
void SetCharacterGender (ECharGender gender)
void SetCharacterID (int char_id)
void SetToDefaultCharacter ()
void SetupPlayerName (bool new_name)
void ShowDebugValues (bool show)
void StartRunningDrops ()
void StopIndicator (bool instant=false)
void TransferValues (PlayerBase player)
void TrySpawnNextDrop ()
void Update (float timeSlice)
void Update (float timeSlice=0, Param p=null, int handle=-1)
void UpdateVisibility (bool state)

Protected Attributes

ref set< ref BleedingIndicatorDropDatam_ActiveDrops
int m_ActiveDropsCount
float m_AverageFrequency
vector m_BasePosition
MenuData m_CharacterDta
int m_CharacterId
PlayerBase m_CharacterObj
vector m_CharacterPos
vector m_CharacterRot
ref map< ECharGender, ref array< string > > m_Characters = new map<ECharGender, ref array<string>>
string m_CharacterType
ECharGender m_CharGender
ref TStringArray m_CharGenderList = new TStringArray
ref TStringArray m_CharPantsList = new TStringArray
ref TStringArray m_CharShirtList = new TStringArray
ref TStringArray m_CharShoesList = new TStringArray
ref set< intm_CleanupQueue
int m_CurrentDropProbabilityStep
array< floatm_DropProbabilityArray
int m_DropProbabilityRollsCount
float m_DropSpawnMaxDelay
float m_DropSpawnMinDelay
int m_DropSpawnsQueued
bool m_EndNow = false
bool m_Initialized
bool m_InitialSyncSent
bool m_IsRunning = false
float m_LastDropSpawnTime
Widget m_LayoutRoot
GameplayEffectsDataBleeding m_ParentMetaData
float m_SequenceDuration
float m_SequenceTick
int m_Severity
int m_SourceID
bool m_Terminating = false
float m_TimeElapsedSequence
float m_TimeElapsedTotal
int m_Type
ref array< ref Widgetm_WidgetArray
int m_WidgetSetIdentifier

Private Member Functions

void AddActiveEffects (array< int > effects)
void AddSuspendRequest (int request_id)
bool AreEffectsSuspended ()
void ClearSuspendRequests ()
int GetSuspendRequestCount ()
void IncreaseMaskUpdateCount ()
bool IsAnyEffectRunning ()
void OnVoiceEvent (float breathing_resistance01)
void RegisterGameplayEffectData (int id, Param p)
void RemoveActiveEffects (array< int > effects)
void RemoveSuspendRequest (int request_id)
void ResetMaskUpdateCount ()
void SetBreathIntensityStamina (float stamina_cap, float stamina_current)
void StopAllEffects ()
void Update (float timeSlice)
void UpdateWidgets (int type=-1, float timeSlice=0, Param p=null, int handle=-1)

Static Private Member Functions

static void Cleanup ()
static PPERequesterBase GetRequester (int index)
 Returns an instance (singleton) of a requester based on index.
static PPERequesterBase GetRequester (typename type)
 Returns an instance (singleton) of a requester based on typename.
static int GetRequesterID (typename type)
 Returns an ID of a requester type.
static GetRequesterTypename (int index)
 Returns a typename from a requester ID.
static void Init ()
static int RegisterRequester (typename type)
 Registers new requester type.
static bool VerifyRequester (PPERequesterBase req)
 Verifies the instance.

Private Attributes

const int BLOOD_THRESHOLD_LOW = 3000
int m_AnimType
float m_BloodClient
float m_BloodMaxValue
bool m_Fullbody
bool m_HasSource
float m_HealthClient
float m_HealthDamage
float m_HealthMaxValue
float m_HitDir
float m_LastBloodUpdate
float m_LastHealthUpdate
int m_MaskWidgetUpdateCount
PlayerBase m_Player
float m_TimeSinceLastTick = VALUE_CHECK_INTERVAL + 1
const float SENSITIVTY_PERCENTAGE = 1
const int TYPE_BLOOD = 2
const int TYPE_HEALTH = 1
const float VALUE_CHECK_INTERVAL = 5

Static Private Attributes

static const int INVALID = -1
static bool m_Initialized = false
static ref map< int, ref PPERequesterBasem_Instances
static int m_lastID = -1
static ref PPERequesterRegistrations m_Registrations
static const int REQ_BLOODLOSS = RegisterRequester(PPERequester_BloodLoss)
static const int REQ_BURLAPSACK = RegisterRequester(PPERequester_BurlapSackEffects)
static const int REQ_CAMERAADS = RegisterRequester(PPERequester_CameraADS)
static const int REQ_CAMERANV = RegisterRequester(PPERequester_CameraNV)
static const int REQ_CONTAMINATEDAREA = RegisterRequester(PPERequester_ContaminatedAreaTint)
static const int REQ_CONTROLLERBLUR = RegisterRequester(PPERequester_ControlsBlur)
static const int REQ_CONTROLLERDISCONNECT = RegisterRequester(PPERequester_ControllerDisconnectBlur)
static const int REQ_DEATHEFFECTS = RegisterRequester(PPERequester_DeathDarkening)
static const int REQ_DROWNING = RegisterRequester(PPERequester_Drowning)
static const int REQ_FEEDBACKBLUR = RegisterRequester(PPERequester_FeedbackBlur)
static const int REQ_FEVEREFFECTS = RegisterRequester(PPERequester_FeverEffects)
static const int REQ_FLASHBANGEFFECTS = RegisterRequester(PPERequester_FlashbangEffects)
static const int REQ_GLASSESAVIATOR = RegisterRequester(PPERequester_GlassesAviator)
static const int REQ_GLASSESDESIGNER = RegisterRequester(PPERequester_GlassesDesignerBlack)
static const int REQ_GLASSESSPORTBLACK = RegisterRequester(PPERequester_GlassesSportBlack)
static const int REQ_GLASSESSPORTBLUE = RegisterRequester(PPERequester_GlassesSportBlue)
static const int REQ_GLASSESSPORTGREEN = RegisterRequester(PPERequester_GlassesSportGreen)
static const int REQ_GLASSESSPORTORANGE = RegisterRequester(PPERequester_GlassesSportOrange)
static const int REQ_GLASSESTACTICAL = RegisterRequester(PPERequester_TacticalGoggles)
static const int REQ_GLASSESWELDING = RegisterRequester(PPERequester_WeldingMask)
static const int REQ_HEALTHHITEFFECTS = RegisterRequester(PPERequester_HealthHitReaction)
static const int REQ_HMP_GHOST = RegisterRequester(PPERequester_HMPGhosts)
static const int REQ_INTROCHROMABB = RegisterRequester(PPERequester_IntroChromAbb)
static const int REQ_INVENTORYBLUR = RegisterRequester(PPERequester_InventoryBlur)
static const int REQ_LATENCYBLUR = RegisterRequester(PPERequester_LatencyBlur)
static const int REQ_MENUEFFECTS = RegisterRequester(PPERequester_MenuEffects)
static const int REQ_MOTOHELMETBLACK = RegisterRequester(PPERequester_MotoHelmetBlack)
static const int REQ_PAINBLUR = RegisterRequester(PPERequester_PainBlur)
static const int REQ_SERVERBROWSEREFFECTS = RegisterRequester(PPERequester_ServerBrowserBlur)
static const int REQ_SHOCKHITEFFECTS = RegisterRequester(PPERequester_ShockHitReaction)
static const int REQ_SPOOKYAREA = RegisterRequester(PPERequester_SpookyAreaTint)
static const int REQ_TUNELVISSION = RegisterRequester(PPERequester_TunnelVisionEffects)
static const int REQ_TUTORIALEFFECTS = RegisterRequester(PPERequester_TutorialMenu)
static const int REQ_UNCONEFFECTS = RegisterRequester(PPERequester_UnconEffects)
static const int REQ_UNDERGROUND = RegisterRequester(PPERUndergroundAcco)

Detailed Description

TODO doc.

generic metadata class

indicator wrapper for a specific bleeding source.

extendable type to allow for smarter hit data syncing

Requester bank contains all registered type instances as singletons.

Creating new instances outside of bank might be a bad idea (and a way to memory leakage)

Definition at line 117 of file enscript.c.

Constructor & Destructor Documentation

◆ ~IntroSceneCharacter()

void ~IntroSceneCharacter ( )
inlineprotected

Definition at line 24 of file introscenecharacter.c.

References CharacterUnload().

Member Function Documentation

◆ AddActiveEffects()

void AddActiveEffects ( array< int > effects)
inlineprivate

Definition at line 10 of file gameplayeffectwidgets_base.c.

◆ AddSuspendRequest()

void AddSuspendRequest ( int request_id)
inlineprivate

Definition at line 13 of file gameplayeffectwidgets_base.c.

◆ AreEffectsSuspended()

bool AreEffectsSuspended ( )
inlineprivate

Definition at line 9 of file gameplayeffectwidgets_base.c.

◆ BleedingIndicator()

void BleedingIndicator ( int source_ID,
int severity,
GameplayEffectsDataBleeding parent )
inlineprotected

◆ CharacterLoad()

void CharacterLoad ( int character_id,
vector char_pos,
vector char_rot )
inlineprotected

◆ CharacterUnload()

void CharacterUnload ( )
inlineprotected

◆ CheckBlood()

◆ CheckHealth()

void CheckHealth ( )
inlineprotected

◆ CheckValues()

void CheckValues ( )
inlineprotected

Definition at line 79 of file transfervalues.c.

References CheckBlood(), and CheckHealth().

Referenced by OnScheduledTick().

◆ Cleanup()

void Cleanup ( )
inlinestaticprivate

Definition at line 61 of file pperequesterbank.c.

References m_Initialized, m_Instances, and m_Registrations.

◆ ClearSuspendRequests()

void ClearSuspendRequests ( )
inlineprivate

Definition at line 15 of file gameplayeffectwidgets_base.c.

◆ CreateDefaultCharacter()

◆ CreateNewCharacter()

void CreateNewCharacter ( )
inlineprotected

◆ CreateNewCharacterById()

void CreateNewCharacterById ( int character_id)
inlineprotected

◆ CreateNewCharacterByName()

void CreateNewCharacterByName ( string character_name,
bool randomize_equip = true )
inlineprotected

Definition at line 209 of file introscenecharacter.c.

References CreateNewCharacter(), g_Game, and m_CharacterType.

Referenced by CreateNewCharacterRandom().

◆ CreateNewCharacterRandom()

void CreateNewCharacterRandom ( )
inlineprotected

◆ DataInitialized()

bool DataInitialized ( )
inlineprotected

Definition at line 59 of file gewidgetsmetadata.c.

◆ ForceStop()

void ForceStop ( )
protected

◆ GameplayEffectsData()

void GameplayEffectsData ( array< ref Widget > input,
int type,
int user_override = -1 )
inlineprotected

Definition at line 13 of file gewidgetsmetadata.c.

References m_Type, m_WidgetArray, and m_WidgetSetIdentifier.

◆ GetBlood()

float GetBlood ( )
inlineprotected

Definition at line 85 of file transfervalues.c.

References m_BloodClient.

◆ GetCharacterGender()

ECharGender GetCharacterGender ( )
inlineprotected

Definition at line 121 of file introscenecharacter.c.

References m_CharGender.

Referenced by CreateNewCharacterRandom().

◆ GetCharacterID()

int GetCharacterID ( )
inlineprotected

Definition at line 49 of file introscenecharacter.c.

References m_CharacterId.

◆ GetCharacterName()

string GetCharacterName ( )
inlineprotected

Definition at line 449 of file introscenecharacter.c.

References g_Game, IsDefaultCharacter(), m_CharacterDta, and m_CharacterId.

◆ GetCharacterNameById()

string GetCharacterNameById ( int char_id)
inlineprotected

◆ GetCharacterObj()

PlayerBase GetCharacterObj ( )
inlineprotected

Definition at line 57 of file introscenecharacter.c.

References m_CharacterObj.

Referenced by LoadCharacterData(), and DayZIntroScene::ResetIntroCamera().

◆ GetCharGenderList()

TStringArray GetCharGenderList ( )
inlineprotected

Definition at line 65 of file introscenecharacter.c.

References m_CharGenderList.

◆ GetCharList()

TStringArray GetCharList ( ECharGender gender)
inlineprotected

Definition at line 73 of file introscenecharacter.c.

References m_Characters.

◆ GetCharPantsList()

TStringArray GetCharPantsList ( )
inlineprotected

Definition at line 89 of file introscenecharacter.c.

References m_CharPantsList.

◆ GetCharShirtsList()

TStringArray GetCharShirtsList ( )
inlineprotected

Definition at line 81 of file introscenecharacter.c.

References m_CharShirtList.

◆ GetCharShoesList()

TStringArray GetCharShoesList ( )
inlineprotected

Definition at line 97 of file introscenecharacter.c.

References m_CharShoesList.

◆ GetEndNow()

bool GetEndNow ( )
inlineprotected

Definition at line 256 of file bleedingindicator.c.

References m_EndNow.

◆ GetHealth()

float GetHealth ( )
inlineprotected

Definition at line 91 of file transfervalues.c.

References m_HealthClient.

◆ GetLastPlayedServer()

void GetLastPlayedServer ( int characterID,
out string address,
out string name,
out int port )
inlineprotected

Definition at line 244 of file introscenecharacter.c.

References m_CharacterDta, and name.

Referenced by GetLastPlayedServerEx().

◆ GetLastPlayedServerEx()

void GetLastPlayedServerEx ( int characterID,
out string address,
out string name,
out int port,
out int steamQueryPort )
inlineprotected

Definition at line 251 of file introscenecharacter.c.

References GetLastPlayedServer(), m_CharacterDta, and name.

◆ GetNextCharacterID()

int GetNextCharacterID ( )
inlineprotected

Definition at line 137 of file introscenecharacter.c.

References m_CharacterDta, and m_CharacterId.

◆ GetPosition()

vector GetPosition ( )
inlineprotected

Definition at line 129 of file introscenecharacter.c.

References m_CharacterObj.

Referenced by DayZIntroScene::ResetIntroCamera().

◆ GetPrevCharacterID()

int GetPrevCharacterID ( )
inlineprotected

Definition at line 159 of file introscenecharacter.c.

References m_CharacterDta, and m_CharacterId.

◆ GetRequester() [1/2]

PPERequesterBase GetRequester ( int index)
inlinestaticprivate

Returns an instance (singleton) of a requester based on index.

Parameters
indexint Index of the registered requester.
Returns
PPERequesterBase Requester singleton.
Note
Returns only already registered instances, does not register anything.

Definition at line 109 of file pperequesterbank.c.

References Debug::Log(), and m_Instances.

◆ GetRequester() [2/2]

PPERequesterBase GetRequester ( typename type )
inlinestaticprivate

Returns an instance (singleton) of a requester based on typename.

Parameters
typetypename Typename of the requester.
Returns
PPERequesterBase Requester singleton.
Note
Returns only already registered instances, does not register anything.

Definition at line 76 of file pperequesterbank.c.

References Class::CastTo(), Error(), Debug::Log(), and m_Instances.

◆ GetRequesterID()

int GetRequesterID ( typename type )
inlinestaticprivate

Returns an ID of a requester type.

Parameters
typetypename Typename of the requester.
Returns
int Requester ID.
Note
Returns '-1' if not found.

Definition at line 126 of file pperequesterbank.c.

References Debug::Log(), and m_Instances.

◆ GetRequesterTypename()

GetRequesterTypename ( int index)
inlinestaticprivate

Returns a typename from a requester ID.

Parameters
indexint ID of the requester.
Returns
typename Requester typename.

Definition at line 152 of file pperequesterbank.c.

References Debug::Log(), and m_Instances.

◆ GetSeverity()

int GetSeverity ( )
inlineprotected

Definition at line 261 of file bleedingindicator.c.

References m_Severity.

◆ GetSuspendRequestCount()

int GetSuspendRequestCount ( )
inlineprivate

Definition at line 16 of file gameplayeffectwidgets_base.c.

◆ GetWidgetSet()

array< ref Widget > GetWidgetSet ( )
inlineprotected

Definition at line 38 of file gewidgetsmetadata.c.

References m_WidgetArray.

◆ GetWidgetSetID()

int GetWidgetSetID ( )
inlineprotected

Definition at line 48 of file gewidgetsmetadata.c.

References m_WidgetSetIdentifier.

◆ GetWidgetSetType()

int GetWidgetSetType ( )
inlineprotected

Definition at line 43 of file gewidgetsmetadata.c.

References m_Type.

◆ HasDefinedHandle()

bool HasDefinedHandle ( )
inlineprotected

Returns 'true' if this class contains update info.

Definition at line 54 of file gewidgetsmetadata.c.

◆ IncreaseMaskUpdateCount()

void IncreaseMaskUpdateCount ( )
inlineprivate

Definition at line 5 of file gameplayeffectwidgets_base.c.

References m_MaskWidgetUpdateCount.

◆ Init() [1/3]

void Init ( )
inlinestaticprivate

◆ Init() [2/3]

void Init ( )
inlineprotected

◆ Init() [3/3]

void Init ( array< ref Widget > input,
int type,
Widget layout_root,
int user_override = -1 )
inlineprotected

Definition at line 25 of file gewidgetsmetadata.c.

References m_LayoutRoot, m_Type, m_WidgetArray, and m_WidgetSetIdentifier.

◆ InitIndicator()

void InitIndicator ( vector position)
inlineprotected

Definition at line 91 of file bleedingindicator.c.

References m_BasePosition, m_Initialized, and ResetIndicator().

◆ IntroSceneCharacter()

◆ IsAnyEffectRunning()

bool IsAnyEffectRunning ( )
inlineprivate

Definition at line 8 of file gameplayeffectwidgets_base.c.

◆ IsCharacterFemale()

bool IsCharacterFemale ( )
inlineprotected

Definition at line 113 of file introscenecharacter.c.

References m_CharGender.

◆ IsDefaultCharacter()

bool IsDefaultCharacter ( )
inlineprotected

Definition at line 29 of file introscenecharacter.c.

References GameConstants::DEFAULT_CHARACTER_MENU_ID, and m_CharacterId.

Referenced by GetCharacterName(), and SaveCharName().

◆ IsRunningDrops()

bool IsRunningDrops ( )
inlineprotected

Are any drops currently being animated?

Definition at line 123 of file bleedingindicator.c.

References m_ActiveDropsCount.

Referenced by Update().

◆ LoadCharacterData()

void LoadCharacterData ( vector char_pos,
vector char_rot,
bool default_char = false )
inlineprotected

Generates random equip for the new IntroSceneCharacter, whatever is defined in 'cfgCharacterCreation'.

Definition at line 299 of file introscenecharacter.c.

References CreateNewCharacterById(), g_Game, GetCharacterObj(), m_CharacterDta, m_CharacterId, m_CharacterPos, m_CharacterRot, m_Characters, m_CharGenderList, m_CharPantsList, m_CharShirtList, m_CharShoesList, and SetCharacterGender().

◆ OnRPC()

void OnRPC ( ParamsReadContext ctx)
inlineprotected

◆ OnScheduledTick()

void OnScheduledTick ( float deltatime)
inlineprotected

◆ OnVoiceEvent()

void OnVoiceEvent ( float breathing_resistance01)
inlineprivate

Definition at line 19 of file gameplayeffectwidgets_base.c.

◆ ReceiveValue()

void ReceiveValue ( int value_type,
float value )
inlineprotected

Definition at line 153 of file transfervalues.c.

References m_BloodClient, m_HealthClient, TYPE_BLOOD, and TYPE_HEALTH.

Referenced by OnRPC().

◆ RegisterData()

void RegisterData ( Param p)
inlineprotected

Definition at line 65 of file gewidgetsmetadata.c.

◆ RegisterGameplayEffectData()

void RegisterGameplayEffectData ( int id,
Param p )
inlineprivate

Definition at line 22 of file gameplayeffectwidgets_base.c.

◆ RegisterRequester()

int RegisterRequester ( typename type )
inlinestaticprivate

Registers new requester type.

Note
Performed only on game start. New requesters can be registered in 'PPERequesterRegistrations'

Definition at line 172 of file pperequesterbank.c.

References GetRequester(), Debug::Log(), m_Instances, m_lastID, and PPERequesterBase::SetRequesterIDX().

◆ RemoveActiveEffects()

void RemoveActiveEffects ( array< int > effects)
inlineprivate

Definition at line 11 of file gameplayeffectwidgets_base.c.

◆ RemoveSuspendRequest()

void RemoveSuspendRequest ( int request_id)
inlineprivate

Definition at line 14 of file gameplayeffectwidgets_base.c.

◆ ResetIndicator()

void ResetIndicator ( )
inlineprotected

◆ ResetMaskUpdateCount()

void ResetMaskUpdateCount ( )
inlineprivate

Definition at line 6 of file gameplayeffectwidgets_base.c.

References m_MaskWidgetUpdateCount.

◆ ResetSequence()

void ResetSequence ( )
inlineprotected

Definition at line 145 of file bleedingindicator.c.

References m_CurrentDropProbabilityStep, m_DropSpawnsQueued, and m_TimeElapsedSequence.

Referenced by Update().

◆ SaveCharName()

void SaveCharName ( string name)
inlineprotected

Definition at line 466 of file introscenecharacter.c.

References g_Game, IsDefaultCharacter(), m_CharacterDta, m_CharacterId, and name.

◆ SaveDefaultCharacter()

void SaveDefaultCharacter ( )
inlineprotected

Definition at line 482 of file introscenecharacter.c.

References m_CharacterDta.

◆ SendInitValues()

void SendInitValues ( )
inlineprotected

◆ SendValue()

void SendValue ( int value_type,
float value )
inlineprotected

Definition at line 145 of file transfervalues.c.

References g_Game, m_Player, and CachedObjectsParams::PARAM2_INT_FLOAT.

Referenced by CheckBlood(), CheckHealth(), and SendInitValues().

◆ SetAttachment()

void SetAttachment ( string type,
int slot )
inlineprotected

Definition at line 418 of file introscenecharacter.c.

References ECE_PLACE_ON_SURFACE, g_Game, and m_CharacterObj.

◆ SetBreathIntensityStamina()

void SetBreathIntensityStamina ( float stamina_cap,
float stamina_current )
inlineprivate

Definition at line 20 of file gameplayeffectwidgets_base.c.

◆ SetCharacterGender()

void SetCharacterGender ( ECharGender gender)
inlineprotected

Definition at line 105 of file introscenecharacter.c.

References m_CharGender.

Referenced by CreateNewCharacterRandom(), and LoadCharacterData().

◆ SetCharacterID()

void SetCharacterID ( int char_id)
inlineprotected

Definition at line 41 of file introscenecharacter.c.

References m_CharacterId.

Referenced by CharacterLoad().

◆ SetToDefaultCharacter()

void SetToDefaultCharacter ( )
inlineprotected

◆ SetupPlayerName()

void SetupPlayerName ( bool new_name)
inlineprotected

◆ ShowDebugValues()

void ShowDebugValues ( bool show)
inlineprotected

◆ StartRunningDrops()

void StartRunningDrops ( )
inlineprotected

◆ StopAllEffects()

void StopAllEffects ( )
inlineprivate

Definition at line 12 of file gameplayeffectwidgets_base.c.

◆ StopIndicator()

void StopIndicator ( bool instant = false)
inlineprotected

Definition at line 98 of file bleedingindicator.c.

References m_EndNow, m_IsRunning, and m_Terminating.

◆ TransferValues()

void TransferValues ( PlayerBase player)
inlineprotected

Definition at line 27 of file transfervalues.c.

References Init(), m_InitialSyncSent, and m_Player.

◆ TrySpawnNextDrop()

◆ Update() [1/3]

void Update ( float timeSlice)
inlineprivate

Definition at line 18 of file gameplayeffectwidgets_base.c.

◆ Update() [2/3]

◆ Update() [3/3]

void Update ( float timeSlice = 0,
Param p = null,
int handle = -1 )
inlineprotected

Definition at line 66 of file gewidgetsmetadata.c.

◆ UpdateVisibility()

void UpdateVisibility ( bool state)
inlineprotected

Definition at line 64 of file gewidgetsmetadata.c.

◆ UpdateWidgets()

void UpdateWidgets ( int type = -1,
float timeSlice = 0,
Param p = null,
int handle = -1 )
inlineprivate

Definition at line 17 of file gameplayeffectwidgets_base.c.

◆ VerifyRequester()

bool VerifyRequester ( PPERequesterBase req)
inlinestaticprivate

Verifies the instance.

Definition at line 195 of file pperequesterbank.c.

References Debug::Log(), m_Initialized, and m_Instances.

Field Documentation

◆ BLOOD_THRESHOLD_LOW

const int BLOOD_THRESHOLD_LOW = 3000
private

Definition at line 9 of file transfervalues.c.

Referenced by CheckBlood(), and SendInitValues().

◆ INVALID

const int INVALID = -1
staticprivate

Definition at line 11 of file pperequesterbank.c.

◆ m_ActiveDrops

ref set<ref BleedingIndicatorDropData> m_ActiveDrops
protected

Definition at line 28 of file bleedingindicator.c.

Referenced by BleedingIndicator(), TrySpawnNextDrop(), and Update().

◆ m_ActiveDropsCount

int m_ActiveDropsCount
protected

Definition at line 10 of file bleedingindicator.c.

Referenced by IsRunningDrops(), StartRunningDrops(), TrySpawnNextDrop(), and Update().

◆ m_AnimType

int m_AnimType
private

Definition at line 4 of file synchitinfo.c.

Referenced by DayZPlayerSyncJunctures::SendDamageHitEx().

◆ m_AverageFrequency

float m_AverageFrequency
protected

Definition at line 16 of file bleedingindicator.c.

Referenced by BleedingIndicator(), and StartRunningDrops().

◆ m_BasePosition

vector m_BasePosition
protected

Definition at line 26 of file bleedingindicator.c.

Referenced by InitIndicator(), and TrySpawnNextDrop().

◆ m_BloodClient

float m_BloodClient
private

Definition at line 22 of file transfervalues.c.

Referenced by GetBlood(), Init(), ReceiveValue(), and ShowDebugValues().

◆ m_BloodMaxValue

float m_BloodMaxValue
private

Definition at line 20 of file transfervalues.c.

Referenced by CheckBlood(), Init(), and SendInitValues().

◆ m_CharacterDta

◆ m_CharacterId

◆ m_CharacterObj

◆ m_CharacterPos

vector m_CharacterPos
protected

◆ m_CharacterRot

vector m_CharacterRot
protected

◆ m_Characters

ref map<ECharGender, ref array<string> > m_Characters = new map<ECharGender, ref array<string>>
protected

Definition at line 15 of file introscenecharacter.c.

Referenced by CreateNewCharacterRandom(), GetCharList(), and LoadCharacterData().

◆ m_CharacterType

string m_CharacterType
protected

◆ m_CharGender

ECharGender m_CharGender
protected

Definition at line 17 of file introscenecharacter.c.

Referenced by GetCharacterGender(), IsCharacterFemale(), and SetCharacterGender().

◆ m_CharGenderList

ref TStringArray m_CharGenderList = new TStringArray
protected

Definition at line 10 of file introscenecharacter.c.

Referenced by GetCharGenderList(), and LoadCharacterData().

◆ m_CharPantsList

ref TStringArray m_CharPantsList = new TStringArray
protected

Definition at line 12 of file introscenecharacter.c.

Referenced by GetCharPantsList(), and LoadCharacterData().

◆ m_CharShirtList

ref TStringArray m_CharShirtList = new TStringArray
protected

Definition at line 11 of file introscenecharacter.c.

Referenced by GetCharShirtsList(), and LoadCharacterData().

◆ m_CharShoesList

ref TStringArray m_CharShoesList = new TStringArray
protected

Definition at line 13 of file introscenecharacter.c.

Referenced by GetCharShoesList(), and LoadCharacterData().

◆ m_CleanupQueue

ref set<int> m_CleanupQueue
protected

Definition at line 29 of file bleedingindicator.c.

Referenced by BleedingIndicator(), and Update().

◆ m_CurrentDropProbabilityStep

int m_CurrentDropProbabilityStep
protected

◆ m_DropProbabilityArray

array<float> m_DropProbabilityArray
protected

Definition at line 14 of file bleedingindicator.c.

Referenced by BleedingIndicator(), and Update().

◆ m_DropProbabilityRollsCount

int m_DropProbabilityRollsCount
protected

Definition at line 25 of file bleedingindicator.c.

Referenced by BleedingIndicator(), StartRunningDrops(), and Update().

◆ m_DropSpawnMaxDelay

float m_DropSpawnMaxDelay
protected

Definition at line 23 of file bleedingindicator.c.

Referenced by BleedingIndicator(), and Update().

◆ m_DropSpawnMinDelay

float m_DropSpawnMinDelay
protected

Definition at line 22 of file bleedingindicator.c.

Referenced by BleedingIndicator(), and Update().

◆ m_DropSpawnsQueued

int m_DropSpawnsQueued
protected

◆ m_EndNow

bool m_EndNow = false
protected

Definition at line 7 of file bleedingindicator.c.

Referenced by GetEndNow(), ResetIndicator(), StopIndicator(), and Update().

◆ m_Fullbody

bool m_Fullbody
private

Definition at line 7 of file synchitinfo.c.

◆ m_HasSource

bool m_HasSource
private

Definition at line 9 of file synchitinfo.c.

◆ m_HealthClient

float m_HealthClient
private

Definition at line 23 of file transfervalues.c.

Referenced by GetHealth(), Init(), ReceiveValue(), and ShowDebugValues().

◆ m_HealthDamage

float m_HealthDamage
private

Definition at line 6 of file synchitinfo.c.

◆ m_HealthMaxValue

float m_HealthMaxValue
private

Definition at line 19 of file transfervalues.c.

Referenced by CheckHealth(), Init(), and SendInitValues().

◆ m_HitDir

float m_HitDir
private

Definition at line 5 of file synchitinfo.c.

◆ m_Initialized [1/2]

bool m_Initialized = false
staticprivate

◆ m_Initialized [2/2]

bool m_Initialized
protected

Definition at line 5 of file bleedingindicator.c.

◆ m_InitialSyncSent

bool m_InitialSyncSent
protected

Definition at line 25 of file transfervalues.c.

Referenced by OnScheduledTick(), SendInitValues(), and TransferValues().

◆ m_Instances

◆ m_IsRunning

bool m_IsRunning = false
protected

Definition at line 8 of file bleedingindicator.c.

Referenced by StartRunningDrops(), StopIndicator(), and Update().

◆ m_LastBloodUpdate

float m_LastBloodUpdate
private

Definition at line 14 of file transfervalues.c.

Referenced by CheckBlood(), Init(), and SendInitValues().

◆ m_LastDropSpawnTime

float m_LastDropSpawnTime
protected

Definition at line 21 of file bleedingindicator.c.

Referenced by ResetIndicator(), TrySpawnNextDrop(), and Update().

◆ m_LastHealthUpdate

float m_LastHealthUpdate
private

Definition at line 13 of file transfervalues.c.

Referenced by CheckHealth(), Init(), and SendInitValues().

◆ m_lastID

int m_lastID = -1
staticprivate

Definition at line 9 of file pperequesterbank.c.

Referenced by RegisterRequester().

◆ m_LayoutRoot

Widget m_LayoutRoot
protected

Definition at line 11 of file gewidgetsmetadata.c.

Referenced by Init().

◆ m_MaskWidgetUpdateCount

int m_MaskWidgetUpdateCount
private

Definition at line 3 of file gameplayeffectwidgets_base.c.

Referenced by IncreaseMaskUpdateCount(), and ResetMaskUpdateCount().

◆ m_ParentMetaData

GameplayEffectsDataBleeding m_ParentMetaData
protected

Definition at line 13 of file bleedingindicator.c.

Referenced by BleedingIndicator(), and TrySpawnNextDrop().

◆ m_Player

◆ m_Registrations

ref PPERequesterRegistrations m_Registrations
staticprivate

Definition at line 49 of file pperequesterbank.c.

Referenced by Cleanup(), and Init().

◆ m_SequenceDuration

float m_SequenceDuration
protected

Definition at line 18 of file bleedingindicator.c.

Referenced by BleedingIndicator(), and Update().

◆ m_SequenceTick

float m_SequenceTick
protected

Definition at line 17 of file bleedingindicator.c.

Referenced by Update().

◆ m_Severity

int m_Severity
protected

Definition at line 11 of file bleedingindicator.c.

Referenced by BleedingIndicator(), GetSeverity(), and TrySpawnNextDrop().

◆ m_SourceID

int m_SourceID
protected

Definition at line 12 of file bleedingindicator.c.

Referenced by BleedingIndicator().

◆ m_Terminating

bool m_Terminating = false
protected

Definition at line 6 of file bleedingindicator.c.

Referenced by ResetIndicator(), StopIndicator(), and Update().

◆ m_TimeElapsedSequence

float m_TimeElapsedSequence
protected

Definition at line 20 of file bleedingindicator.c.

Referenced by BleedingIndicator(), ResetIndicator(), ResetSequence(), and Update().

◆ m_TimeElapsedTotal

float m_TimeElapsedTotal
protected

Definition at line 19 of file bleedingindicator.c.

Referenced by BleedingIndicator(), ResetIndicator(), TrySpawnNextDrop(), and Update().

◆ m_TimeSinceLastTick

float m_TimeSinceLastTick = VALUE_CHECK_INTERVAL + 1
private

Definition at line 11 of file transfervalues.c.

Referenced by OnScheduledTick().

◆ m_Type

int m_Type
protected

Definition at line 9 of file gewidgetsmetadata.c.

Referenced by GameplayEffectsData(), GetWidgetSetType(), and Init().

◆ m_WidgetArray

ref array<ref Widget> m_WidgetArray
protected

Definition at line 8 of file gewidgetsmetadata.c.

Referenced by GameplayEffectsData(), GetWidgetSet(), and Init().

◆ m_WidgetSetIdentifier

int m_WidgetSetIdentifier
protected

Definition at line 10 of file gewidgetsmetadata.c.

Referenced by GameplayEffectsData(), GetWidgetSetID(), and Init().

◆ REQ_BLOODLOSS

const int REQ_BLOODLOSS = RegisterRequester(PPERequester_BloodLoss)
staticprivate

Definition at line 25 of file pperequesterbank.c.

◆ REQ_BURLAPSACK

const int REQ_BURLAPSACK = RegisterRequester(PPERequester_BurlapSackEffects)
staticprivate

Definition at line 29 of file pperequesterbank.c.

◆ REQ_CAMERAADS

const int REQ_CAMERAADS = RegisterRequester(PPERequester_CameraADS)
staticprivate

Definition at line 24 of file pperequesterbank.c.

◆ REQ_CAMERANV

const int REQ_CAMERANV = RegisterRequester(PPERequester_CameraNV)
staticprivate

Definition at line 23 of file pperequesterbank.c.

◆ REQ_CONTAMINATEDAREA

const int REQ_CONTAMINATEDAREA = RegisterRequester(PPERequester_ContaminatedAreaTint)
staticprivate

Definition at line 39 of file pperequesterbank.c.

◆ REQ_CONTROLLERBLUR

const int REQ_CONTROLLERBLUR = RegisterRequester(PPERequester_ControlsBlur)
staticprivate

Definition at line 36 of file pperequesterbank.c.

◆ REQ_CONTROLLERDISCONNECT

const int REQ_CONTROLLERDISCONNECT = RegisterRequester(PPERequester_ControllerDisconnectBlur)
staticprivate

Definition at line 13 of file pperequesterbank.c.

◆ REQ_DEATHEFFECTS

const int REQ_DEATHEFFECTS = RegisterRequester(PPERequester_DeathDarkening)
staticprivate

Definition at line 26 of file pperequesterbank.c.

◆ REQ_DROWNING

const int REQ_DROWNING = RegisterRequester(PPERequester_Drowning)
staticprivate

Definition at line 43 of file pperequesterbank.c.

◆ REQ_FEEDBACKBLUR

const int REQ_FEEDBACKBLUR = RegisterRequester(PPERequester_FeedbackBlur)
staticprivate

Definition at line 47 of file pperequesterbank.c.

◆ REQ_FEVEREFFECTS

const int REQ_FEVEREFFECTS = RegisterRequester(PPERequester_FeverEffects)
staticprivate

Definition at line 31 of file pperequesterbank.c.

◆ REQ_FLASHBANGEFFECTS

const int REQ_FLASHBANGEFFECTS = RegisterRequester(PPERequester_FlashbangEffects)
staticprivate

Definition at line 32 of file pperequesterbank.c.

◆ REQ_GLASSESAVIATOR

const int REQ_GLASSESAVIATOR = RegisterRequester(PPERequester_GlassesAviator)
staticprivate

Definition at line 18 of file pperequesterbank.c.

◆ REQ_GLASSESDESIGNER

const int REQ_GLASSESDESIGNER = RegisterRequester(PPERequester_GlassesDesignerBlack)
staticprivate

Definition at line 19 of file pperequesterbank.c.

◆ REQ_GLASSESSPORTBLACK

const int REQ_GLASSESSPORTBLACK = RegisterRequester(PPERequester_GlassesSportBlack)
staticprivate

Definition at line 14 of file pperequesterbank.c.

◆ REQ_GLASSESSPORTBLUE

const int REQ_GLASSESSPORTBLUE = RegisterRequester(PPERequester_GlassesSportBlue)
staticprivate

Definition at line 15 of file pperequesterbank.c.

◆ REQ_GLASSESSPORTGREEN

const int REQ_GLASSESSPORTGREEN = RegisterRequester(PPERequester_GlassesSportGreen)
staticprivate

Definition at line 16 of file pperequesterbank.c.

◆ REQ_GLASSESSPORTORANGE

const int REQ_GLASSESSPORTORANGE = RegisterRequester(PPERequester_GlassesSportOrange)
staticprivate

Definition at line 17 of file pperequesterbank.c.

◆ REQ_GLASSESTACTICAL

const int REQ_GLASSESTACTICAL = RegisterRequester(PPERequester_TacticalGoggles)
staticprivate

Definition at line 20 of file pperequesterbank.c.

◆ REQ_GLASSESWELDING

const int REQ_GLASSESWELDING = RegisterRequester(PPERequester_WeldingMask)
staticprivate

Definition at line 22 of file pperequesterbank.c.

◆ REQ_HEALTHHITEFFECTS

const int REQ_HEALTHHITEFFECTS = RegisterRequester(PPERequester_HealthHitReaction)
staticprivate

Definition at line 34 of file pperequesterbank.c.

◆ REQ_HMP_GHOST

const int REQ_HMP_GHOST = RegisterRequester(PPERequester_HMPGhosts)
staticprivate

Definition at line 45 of file pperequesterbank.c.

◆ REQ_INTROCHROMABB

const int REQ_INTROCHROMABB = RegisterRequester(PPERequester_IntroChromAbb)
staticprivate

Definition at line 30 of file pperequesterbank.c.

◆ REQ_INVENTORYBLUR

const int REQ_INVENTORYBLUR = RegisterRequester(PPERequester_InventoryBlur)
staticprivate

Definition at line 12 of file pperequesterbank.c.

◆ REQ_LATENCYBLUR

const int REQ_LATENCYBLUR = RegisterRequester(PPERequester_LatencyBlur)
staticprivate

Definition at line 46 of file pperequesterbank.c.

◆ REQ_MENUEFFECTS

const int REQ_MENUEFFECTS = RegisterRequester(PPERequester_MenuEffects)
staticprivate

Definition at line 35 of file pperequesterbank.c.

◆ REQ_MOTOHELMETBLACK

const int REQ_MOTOHELMETBLACK = RegisterRequester(PPERequester_MotoHelmetBlack)
staticprivate

Definition at line 21 of file pperequesterbank.c.

◆ REQ_PAINBLUR

const int REQ_PAINBLUR = RegisterRequester(PPERequester_PainBlur)
staticprivate

Definition at line 41 of file pperequesterbank.c.

◆ REQ_SERVERBROWSEREFFECTS

const int REQ_SERVERBROWSEREFFECTS = RegisterRequester(PPERequester_ServerBrowserBlur)
staticprivate

Definition at line 37 of file pperequesterbank.c.

◆ REQ_SHOCKHITEFFECTS

const int REQ_SHOCKHITEFFECTS = RegisterRequester(PPERequester_ShockHitReaction)
staticprivate

Definition at line 33 of file pperequesterbank.c.

◆ REQ_SPOOKYAREA

const int REQ_SPOOKYAREA = RegisterRequester(PPERequester_SpookyAreaTint)
staticprivate

Definition at line 40 of file pperequesterbank.c.

◆ REQ_TUNELVISSION

const int REQ_TUNELVISSION = RegisterRequester(PPERequester_TunnelVisionEffects)
staticprivate

Definition at line 28 of file pperequesterbank.c.

◆ REQ_TUTORIALEFFECTS

const int REQ_TUTORIALEFFECTS = RegisterRequester(PPERequester_TutorialMenu)
staticprivate

Definition at line 38 of file pperequesterbank.c.

◆ REQ_UNCONEFFECTS

const int REQ_UNCONEFFECTS = RegisterRequester(PPERequester_UnconEffects)
staticprivate

Definition at line 27 of file pperequesterbank.c.

◆ REQ_UNDERGROUND

const int REQ_UNDERGROUND = RegisterRequester(PPERUndergroundAcco)
staticprivate

Definition at line 42 of file pperequesterbank.c.

◆ SENSITIVTY_PERCENTAGE

const float SENSITIVTY_PERCENTAGE = 1
private

Definition at line 7 of file transfervalues.c.

Referenced by CheckBlood(), and CheckHealth().

◆ TYPE_BLOOD

const int TYPE_BLOOD = 2
private

Definition at line 4 of file transfervalues.c.

Referenced by CheckBlood(), ReceiveValue(), and SendInitValues().

◆ TYPE_HEALTH

const int TYPE_HEALTH = 1
private

Definition at line 3 of file transfervalues.c.

Referenced by CheckHealth(), ReceiveValue(), and SendInitValues().

◆ VALUE_CHECK_INTERVAL

const float VALUE_CHECK_INTERVAL = 5
private

Definition at line 6 of file transfervalues.c.

Referenced by OnScheduledTick().


The documentation for this class was generated from the following files: