360 {
374 m_PlayerSelected = false;
397 m_EmptyGloves =
new HiddenSelectionsData(ConfigGetString(
"emptyGloves"));
400
401 #ifdef DIAG_DEVELOPER
402 m_CanBeTargetedDebug = true;
403
404 #endif
405
407
414
416 {
422
426
428 }
429
432
436
440
441 if (!
g_Game.IsDedicatedServer())
442 {
451 ClientData.AddPlayerBase(this);
452
458 }
459
461
463
465 {
466 PluginConfigDebugProfileFixed m_ConfigDebugProfileFixed = PluginConfigDebugProfileFixed.Cast(
GetPlugin(PluginConfigDebugProfileFixed));
468 PluginDeveloper m_Developer = PluginDeveloper.Cast(
GetPlugin(PluginDeveloper));
469
471
473 {
475 if (player && default_preset != "")
476 {
478 m_ConfigDebugProfileFixed.GetPresetItems(default_preset, preset_array);
479
480 bool is_preset_fixed = true;
481 if (preset_array.Count() == 0)
482 {
484 is_preset_fixed = false;
485 }
486
487 if (preset_array.Count() > 0)
488 {
489 m_Developer.ClearInventory(player);
490
491 for (int i = 0; i < preset_array.Count(); i++)
492 {
493 float health = -1;
494 int quantity = -1;
495 if (is_preset_fixed)
496 {
497 health = m_ConfigDebugProfileFixed.GetItemHealth(default_preset, i);
498 quantity = m_ConfigDebugProfileFixed.GetItemQuantity(default_preset, i);
499 }
500 else
501 {
504 }
505 m_Developer.SpawnEntityInPlayerInventory(player, preset_array.Get(i), health, quantity);
506 }
507 }
508 }
509 }
510 }
511
513
515
518
532
550
551 RegisterNetSyncVariableInt(
"m_PersistentFlags", 0, 1<<(EnumTools.GetEnumSize(
PersistentFlag) + 1));
552 RegisterNetSyncVariableInt("m_LifeSpanState", LifeSpanState.BEARD_NONE, LifeSpanState.COUNT);
553 RegisterNetSyncVariableInt("m_BloodType", 0, 128);
556 RegisterNetSyncVariableInt("m_SoundEventParam", 0, ((EPlayerSoundEventParam.ENUM_COUNT - 1) * 2) - 1);
557 RegisterNetSyncVariableInt("m_StaminaState",0, eStaminaState.COUNT - 1);
558 RegisterNetSyncVariableInt("m_BleedingBits");
562 RegisterNetSyncVariableInt(
"m_MixedSoundStates", 0,
eMixedSoundStates.COUNT - 1);
563 RegisterNetSyncVariableInt("m_CorpseState",-PlayerConstants.CORPSE_STATE_DECAYED,PlayerConstants.CORPSE_STATE_DECAYED);
564 RegisterNetSyncVariableInt("m_RefreshAnimStateIdx",0,3);
565 RegisterNetSyncVariableInt(
"m_BrokenLegState", -
eBrokenLegs.BROKEN_LEGS_SPLINT,
eBrokenLegs.BROKEN_LEGS_SPLINT);
566 RegisterNetSyncVariableInt(
"m_SyncedModifiers", 0, ((
eModifierSyncIDs.LAST_INDEX - 1) * 2) - 1);
567 RegisterNetSyncVariableInt(
"m_HasBloodyHandsVisible", 0,
eBloodyHandsTypes.LAST_INDEX - 1);
568 RegisterNetSyncVariableInt("m_ActionSoundCategoryHash");
569 RegisterNetSyncVariableInt("m_PerformedAnimActionID", -1, 2048);
570 RegisterNetSyncVariableInt("m_ActivePrimarySymptomID", 0, SymptomIDs.LAST_INDEX);
571
572 RegisterNetSyncVariableInt("m_HeatBufferStage", 0, HeatBufferMdfr.NUMBER_OF_STAGES - 1);
573 RegisterNetSyncVariableFloat("m_HeatBufferDynamicMax", 0.0, 1.0, 2);
574
575 RegisterNetSyncVariableBool("m_IsUnconscious");
576 RegisterNetSyncVariableBool("m_IsRestrained");
577 RegisterNetSyncVariableBool("m_IsInWater");
578 RegisterNetSyncVariableBool("m_InsideEffectArea");
579
580 RegisterNetSyncVariableBool("m_HasBloodTypeVisible");
581 RegisterNetSyncVariableBool("m_IsRestrainStarted");
582 RegisterNetSyncVariableBool("m_IsRestrainPrelocked");
583 RegisterNetSyncVariableBool("m_HasHeatBuffer");
584 RegisterNetSyncVariableBool("m_IsInColdArea");
585
586 RegisterNetSyncVariableFloat("m_CurrentShock");
587
589
592
595
597
599 }
const int BREATH_VAPOUR_LEVEL_MAX
void VirtualHud(PlayerBase player)
void EmoteManager(PlayerBase player)
void Environment(PlayerBase pPlayer)
void InjuryAnimationHandler(PlayerBase player)
void MapNavigationBehaviour(PlayerBase pPlayer, EMapNavigationType pNavigationType=EMapNavigationType.BASIC)
void ModifiersManager(PlayerBase player)
void NotifiersManager(PlayerBase player)
void PlayerSoundManagerClient(PlayerBase player)
void PlayerStats(Man player)
void PlayerStomach(PlayerBase player)
PluginConfigDebugProfile m_ConfigDebugProfile
PluginBase GetPlugin(typename plugin_type)
void QuickBarBase(PlayerBase player)
void RandomGeneratorSyncManager(DayZPlayer player)
ref MapNavigationBehaviour m_MapNavigationBehaviour
string m_UALastMessage
user actions & symptoms
ref PlayerSoundManagerServer m_PlayerSoundManagerServer
ref Param2< float, float > m_UAProgressParam
ref BleedingSourcesManagerRemote m_BleedingManagerRemote
ref array< int > m_ProcessAddGlassesEffects
ref array< int > m_ProcessRemoveEffectWidgets
ref SymptomManager m_SymptomManager
const int SIMPLIFIED_SHOCK_CAP
bool m_MeleeDebug
melee stats
static ref array< string > m_BleedingSourcesLow
ref PlayerStats m_PlayerStats
PluginPlayerStatus m_ModulePlayerStatus
ref array< int > m_Recipes
ref array< int > m_ProcessRemoveGlassesEffects
ref ArrowManagerPlayer m_ArrowManager
ref PlayerAgentPool m_AgentPool
bool m_LiquidTendencyDrain
ref Param2< int, int > m_UAParam
ref array< int > m_ProcessAddEffectWidgets
ref Environment m_Environment
float m_OriginalSlidePoseAngle
ref PlayerStomach m_PlayerStomach
vector SetDefaultHitPosition(string pSelection)
ref DebugMonitorValues m_DebugMonitorValues
bool m_CanDisplayHitEffectPPE
vector m_DefaultHitPosition
ref BleedingSourcesManagerServer m_BleedingManagerServer
EMedicalDrugsType m_MedicalDrugsActive
bool m_FlagRaisingTendency
ref Timer m_UALastMessageTimer
ref InventoryActionHandler m_InventoryActionHandler
ref TransferValues m_TrasferValues
bool m_HasBloodTypeVisible
ref Param1< float > m_DeathDarkeningParam
ref VirtualHud m_VirtualHud
const int SHAKE_LEVEL_MAX
ref Timer m_AnalyticsTimer
ref HiddenSelectionsData m_EmptyGloves
ref SoftSkillsManager m_SoftSkillsManager
ref ModifiersManager m_ModifiersManager
ref array< EntityAI > m_ItemsToDelete
int m_AnimCommandStarting
ref NotifiersManager m_NotifiersManager
ref StanceIndicator m_StanceIndicator
PluginAdminLog m_AdminLog
PluginRecipesManager m_ModuleRecipesManager
ref array< int > m_ActiveNVTypes
PluginLifespan m_ModuleLifespan
ref WeaponManager m_WeaponManager
ref StaminaHandler m_StaminaHandler
RandomGeneratorSyncManager m_RGSManager
int m_HasBloodyHandsVisible
ref Param1< float > m_UnconParam
ref HeatComfortAnimHandler m_HCAnimHandler
PluginConfigEmotesProfile m_ConfigEmotesProfile
QuickBarBase m_QuickBarBase
ref Param1< string > m_UAParamMessage
ActionManagerBase m_ActionManager
ref ShockHandler m_ShockHandler
ref InjuryAnimationHandler m_InjuryHandler
ref PlayerSoundManagerClient m_PlayerSoundManagerClient
ref HeadingRestrictData m_HeadingRestrictData
ref EmoteManager m_EmoteManager
ref map< eAgents, float > m_BloodyHandsPenaltyChancePerAgent
static ref array< string > m_BleedingSourcesUp
proto native DayZPlayerType GetDayZPlayerType()
returns appropriate DayZPlayerType
string GetDefaultHitPositionComponent()
array< string > TStringArray
EntityEvent
Entity events for event-mask, or throwing event from code.