TODO doc. More...
Static Private Member Functions | |
static void | Init () |
static void | Cleanup () |
static PPERequesterBase | GetRequester (typename type) |
Returns an instance (singleton) of a requester based on typename. | |
static PPERequesterBase | GetRequester (int index) |
Returns an instance (singleton) of a requester based on index. | |
static int | GetRequesterID (typename type) |
Returns an ID of a requester type. | |
static | GetRequesterTypename (int index) |
Returns a typename from a requester ID. | |
static int | RegisterRequester (typename type) |
Registers new requester type. | |
static bool | VerifyRequester (PPERequesterBase req) |
Verifies the instance. | |
Static Private Attributes | |
static private ref map< int, ref PPERequesterBase > | m_Instances |
static private bool | m_Initialized = false |
static int | m_lastID = -1 |
static const int | INVALID = -1 |
static const int | REQ_INVENTORYBLUR = RegisterRequester(PPERequester_InventoryBlur) |
static const int | REQ_CONTROLLERDISCONNECT = RegisterRequester(PPERequester_ControllerDisconnectBlur) |
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_GLASSESAVIATOR = RegisterRequester(PPERequester_GlassesAviator) |
static const int | REQ_GLASSESDESIGNER = RegisterRequester(PPERequester_GlassesDesignerBlack) |
static const int | REQ_GLASSESTACTICAL = RegisterRequester(PPERequester_TacticalGoggles) |
static const int | REQ_MOTOHELMETBLACK = RegisterRequester(PPERequester_MotoHelmetBlack) |
static const int | REQ_GLASSESWELDING = RegisterRequester(PPERequester_WeldingMask) |
static const int | REQ_CAMERANV = RegisterRequester(PPERequester_CameraNV) |
static const int | REQ_CAMERAADS = RegisterRequester(PPERequester_CameraADS) |
static const int | REQ_BLOODLOSS = RegisterRequester(PPERequester_BloodLoss) |
static const int | REQ_DEATHEFFECTS = RegisterRequester(PPERequester_DeathDarkening) |
static const int | REQ_UNCONEFFECTS = RegisterRequester(PPERequester_UnconEffects) |
static const int | REQ_TUNELVISSION = RegisterRequester(PPERequester_TunnelVisionEffects) |
static const int | REQ_BURLAPSACK = RegisterRequester(PPERequester_BurlapSackEffects) |
static const int | REQ_INTROCHROMABB = RegisterRequester(PPERequester_IntroChromAbb) |
static const int | REQ_FEVEREFFECTS = RegisterRequester(PPERequester_FeverEffects) |
static const int | REQ_FLASHBANGEFFECTS = RegisterRequester(PPERequester_FlashbangEffects) |
static const int | REQ_SHOCKHITEFFECTS = RegisterRequester(PPERequester_ShockHitReaction) |
static const int | REQ_HEALTHHITEFFECTS = RegisterRequester(PPERequester_HealthHitReaction) |
static const int | REQ_MENUEFFECTS = RegisterRequester(PPERequester_MenuEffects) |
static const int | REQ_CONTROLLERBLUR = RegisterRequester(PPERequester_ControlsBlur) |
static const int | REQ_SERVERBROWSEREFFECTS = RegisterRequester(PPERequester_ServerBrowserBlur) |
static const int | REQ_TUTORIALEFFECTS = RegisterRequester(PPERequester_TutorialMenu) |
static const int | REQ_CONTAMINATEDAREA = RegisterRequester(PPERequester_ContaminatedAreaTint) |
static const int | REQ_SPOOKYAREA = RegisterRequester(PPERequester_SpookyAreaTint) |
static const int | REQ_PAINBLUR = RegisterRequester(PPERequester_PainBlur) |
static const int | REQ_UNDERGROUND = RegisterRequester(PPERUndergroundAcco) |
static const int | REQ_DROWNING = RegisterRequester(PPERequester_Drowning) |
static const int | REQ_HMP_GHOST = RegisterRequester(PPERequester_HMPGhosts) |
static const int | REQ_LATENCYBLUR = RegisterRequester(PPERequester_LatencyBlur) |
static const int | REQ_FEEDBACKBLUR = RegisterRequester(PPERequester_FeedbackBlur) |
static private ref PPERequesterRegistrations | m_Registrations |
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)
|
inlineprivate |
References CharacterUnload().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
References BleedingIndicationConstants::INDICATOR_SEVERITY_HIGH, BleedingIndicationConstants::INDICATOR_SEVERITY_LOW, BleedingIndicationConstants::INDICATOR_SEVERITY_MEDIUM, Debug::Log(), DbgBleedingIndicationStaticInfo::m_DbgDropMaxDelay, DbgBleedingIndicationStaticInfo::m_DbgDropMinDelay, DbgBleedingIndicationStaticInfo::m_DbgSequenceDuration, DbgBleedingIndicationStaticInfo::m_DbgUseOverrideValues, m_Initialized, BleedingIndicationConstants::SEQUENCE_DROP_AVERAGE_HIGH, BleedingIndicationConstants::SEQUENCE_DROP_AVERAGE_LOW, BleedingIndicationConstants::SEQUENCE_DROP_AVERAGE_MEDIUM, BleedingIndicationConstants::SEQUENCE_DROP_DELAY_MAX_HIGH, BleedingIndicationConstants::SEQUENCE_DROP_DELAY_MAX_LOW, BleedingIndicationConstants::SEQUENCE_DROP_DELAY_MAX_MEDIUM, BleedingIndicationConstants::SEQUENCE_DROP_DELAY_MIN_HIGH, BleedingIndicationConstants::SEQUENCE_DROP_DELAY_MIN_LOW, BleedingIndicationConstants::SEQUENCE_DROP_DELAY_MIN_MEDIUM, BleedingIndicationConstants::SEQUENCE_DURATION_HIGH, BleedingIndicationConstants::SEQUENCE_DURATION_LOW, and BleedingIndicationConstants::SEQUENCE_DURATION_MEDIUM.
References CharacterUnload(), MenuData::CreateCharacterPerson(), Error(), and SetCharacterID().
Referenced by CreateNewCharacterById().
|
inlineprivate |
References g_Game.
Referenced by CharacterLoad(), CreateDefaultCharacter(), CreateNewCharacter(), and ~IntroSceneCharacter().
|
inlineprivate |
References Math::AbsFloat(), Math::Clamp(), Math::InverseLerp(), m_LastBloodUpdate, m_Player, SendValue(), and SENSITIVTY_PERCENTAGE.
Referenced by CheckValues().
|
inlineprivate |
References Math::AbsFloat(), m_HealthMaxValue, m_LastHealthUpdate, m_LastHealthUpdate, m_Player, SendValue(), and SENSITIVTY_PERCENTAGE.
Referenced by CheckValues().
|
inlineprivate |
References CheckBlood(), and CheckHealth().
Referenced by OnScheduledTick().
|
inlinestaticprivate |
References m_Initialized, m_Instances, and m_Registrations.
|
inlineprivate |
|
inlineprivate |
References CharacterUnload(), CreateNewCharacter(), CreateNewCharacterRandom(), GameConstants::DEFAULT_CHARACTER_NAME, MenuDefaultCharacterData::GetCharacterType(), GetGame(), CGame::GetMenuDefaultCharacterData(), and MenuDefaultCharacterData::SetCharacterName().
Referenced by CreateNewCharacterById().
|
inlineprivate |
|
inlineprivate |
References CharacterLoad(), CreateDefaultCharacter(), and GameConstants::DEFAULT_CHARACTER_MENU_ID.
Referenced by LoadCharacterData().
|
inlineprivate |
References CreateNewCharacterByName(), GetCharacterGender(), Math::RandomInt(), and SetCharacterGender().
Referenced by CreateDefaultCharacter().
|
inlineprivate |
|
private |
|
inlineprivate |
References m_Type.
|
inlineprivate |
References m_BloodClient.
|
inlineprivate |
References m_CharGender.
Referenced by CreateNewCharacterRandom().
|
inlineprivate |
References m_CharacterId.
|
inlineprivate |
|
inlineprivate |
References m_CharacterObj.
Referenced by LoadCharacterData(), and DayZIntroScene::ResetIntroCamera().
|
inlineprivate |
References m_CharGenderList.
|
inlineprivate |
|
inlineprivate |
References m_CharPantsList.
|
inlineprivate |
References m_CharShirtList.
|
inlineprivate |
References m_CharShoesList.
|
inlineprivate |
References m_HealthClient.
|
inlineprivate |
References MenuData::GetLastServerAddress(), MenuData::GetLastServerName(), MenuData::GetLastServerPort(), and name.
Referenced by GetLastPlayedServerEx().
|
inlineprivate |
References GetLastPlayedServer(), MenuData::GetLastSteamQueryPort(), and name.
|
inlineprivate |
References MenuData::GetCharactersCount().
|
inlineprivate |
Referenced by DayZIntroScene::ResetIntroCamera().
|
inlineprivate |
References MenuData::GetCharactersCount().
|
inlinestaticprivate |
Returns an instance (singleton) of a requester based on index.
index | int Index of the registered requester. |
PPERequesterBase
Requester singleton. References Debug::Log(), and m_Instances.
|
inlinestaticprivate |
Returns an instance (singleton) of a requester based on typename.
type | typename Typename of the requester. |
PPERequesterBase
Requester singleton. References Class::CastTo(), Error(), Debug::Log(), and m_Instances.
Returns an ID of a requester type.
type | typename Typename of the requester. |
int
Requester ID. References Debug::Log(), and m_Instances.
|
inlinestaticprivate |
Returns a typename from a requester ID.
index | int ID of the requester. |
typename
Requester typename. References Debug::Log(), and m_Instances.
|
inlineprivate |
References m_Severity.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
Returns 'true' if this class contains update info.
|
inlineprivate |
|
inlinestaticprivate |
References m_Initialized, m_Instances, m_Registrations, and PPERequesterRegistrations().
Referenced by ItemSoundHandler(), and TransferValues().
|
inlineprivate |
References m_HealthMaxValue, m_LastHealthUpdate, and m_Player.
|
inlineprivate |
References m_Type.
|
inlineprivate |
References m_Initialized, and ResetIndicator().
|
inlineprivate |
References GameConstants::DEFAULT_CHARACTER_MENU_ID.
Referenced by DayZIntroScene::DayZIntroScene(), and DayZIntroSceneXbox::DayZIntroSceneXbox().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
References GameConstants::DEFAULT_CHARACTER_MENU_ID.
Referenced by GetCharacterName(), and SaveCharName().
|
inlineprivate |
Are any drops currently being animated?
Referenced by Update().
|
inlineprivate |
Generates random equip for the new IntroSceneCharacter, whatever is defined in 'cfgCharacterCreation'.
References CreateNewCharacterById(), g_Game, MenuData::GetCharacterName(), GetCharacterObj(), GetGame(), MenuData::GetLastPlayedCharacter(), CGame::ListAvailableCharacters(), and SetCharacterGender().
|
inlineprivate |
References CachedObjectsParams::PARAM2_INT_FLOAT, Serializer::Read(), and ReceiveValue().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
Registers new requester type.
References GetRequester(), Debug::Log(), m_Instances, m_lastID, m_lastID, and PPERequesterBase::SetRequesterIDX().
|
inlineprivate |
|
inlineprivate |
Referenced by InitIndicator().
|
inlineprivate |
|
inlineprivate |
Referenced by Update().
|
inlineprivate |
|
inlineprivate |
References MenuData::RequestSetDefaultCharacterData().
|
inlineprivate |
Sends values on object creation.
References Math::Clamp(), Math::InverseLerp(), m_HealthMaxValue, m_LastHealthUpdate, m_Player, and SendValue().
Referenced by OnScheduledTick().
References GetGame(), m_Player, CachedObjectsParams::PARAM2_INT_FLOAT, and CGame::RPCSingleParam().
Referenced by CheckBlood(), CheckHealth(), and SendInitValues().
References ECE_PLACE_ON_SURFACE, and g_Game.
|
inlineprivate |
Referenced by CreateNewCharacterRandom(), and LoadCharacterData().
|
inlineprivate |
Referenced by CharacterLoad().
|
inlineprivate |
References GameConstants::DEFAULT_CHARACTER_MENU_ID.
|
inlineprivate |
References GameConstants::DEFAULT_CHARACTER_NAME, g_Game, MenuData::GetCharacterName(), GetGame(), BiosUser::GetName(), BiosUserManager::GetSelectedUser(), CGame::GetUserManager(), and name.
Referenced by CreateNewCharacter().
|
inlineprivate |
References DbgUI::Begin(), DbgUI::BeginCleanupScope(), DbgUI::End(), DbgUI::EndCleanupScope(), DbgUI::Text(), and float::ToString().
Referenced by OnScheduledTick().
|
inlineprivate |
References m_IsRunning, and TrySpawnNextDrop().
Referenced by Update().
|
inlineprivate |
|
inlineprivate |
References m_IsRunning.
|
inlineprivate |
|
inlineprivate |
References Class::CastTo(), m_TimeElapsedTotal, BleedingIndicatorDropData::SetBasePosition(), and BleedingIndicatorDropData::StartDrop().
Referenced by StartRunningDrops(), and Update().
|
inlineprivate |
|
inlineprivate |
References IsRunning(), IsRunningDrops(), m_ActiveDropsCount, DbgBleedingIndicationStaticInfo::m_DbgSequenceDuration, DbgBleedingIndicationStaticInfo::m_DbgUseOverrideValues, m_DropProbabilityRollsCount, m_Initialized, m_IsRunning, m_LastDropSpawnTime, Math::RandomFloat01(), ResetSequence(), StartRunningDrops(), and TrySpawnNextDrop().
|
inlineprivate |
|
inlineprivate |
|
inlinestaticprivate |
Verifies the instance.
References Debug::Log(), m_Initialized, and m_Instances.
|
private |
|
staticprivate |
|
private |
|
private |
Referenced by DayZPlayerSyncJunctures::SendDamageHitEx().
|
private |
|
private |
|
private |
Referenced by GetBlood().
|
private |
|
private |
|
private |
Referenced by GetCharacterID().
|
private |
Referenced by GetCharacterObj().
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by GetCharacterGender().
|
private |
Referenced by GetCharGenderList().
|
private |
Referenced by GetCharPantsList().
|
private |
Referenced by GetCharShirtsList().
|
private |
Referenced by GetCharShoesList().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by GetEndNow().
|
private |
|
private |
|
private |
Referenced by GetHealth().
|
private |
|
private |
Referenced by CheckHealth(), and SendInitValues().
|
private |
|
staticprivate |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
Referenced by CheckBlood().
|
private |
Referenced by CheckHealth().
|
staticprivate |
Referenced by RegisterRequester().
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
Referenced by Cleanup().
|
private |
|
private |
|
private |
Referenced by GetSeverity().
|
private |
|
private |
|
private |
|
private |
Referenced by TrySpawnNextDrop().
|
private |
|
private |
|
private |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |