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

Protected Member Functions

void AddAction (typename actionName)
void AddAction (typename actionName, out TInputActionMap InputActionMap)
void AddActiveNV (int type)
override void AddArrow (Object arrow, int componentIndex, vector closeBonePosWS, vector closeBoneRotWS)
override void AddItemToDelete (EntityAI item)
void AddPlayerLoad (float addedload)
void AddPossibleCoverFaceForShave ()
 DEPRECATED!
void AdjustBandana (EntityAI item, string slot_name)
void AdjustShemag (EntityAI item, string slot_name)
bool AllowDecayEffects ()
bool AnimCommandCheck (HumanMoveCommandID mask)
 Returns whether the specified movement command(s) are starting the next frame.
void ApplySplint ()
void BreakLegSound ()
void BrokenLegForceProne (bool forceOverride=false)
void BrokenLegWalkShock ()
void CalculateVisibilityForAI ()
bool CanBeRestrained ()
override bool CanBeTargetedByAI (EntityAI ai)
override bool CanChangeStance (int previousStance, int newStance)
override bool CanClimb (int climbType, SHumanCommandClimbResult climbRes)
bool CanConsumeFood (ConsumeConditionData data=null)
override bool CanConsumeStamina (EStaminaConsumers consumer)
bool CanDeleteItems ()
override bool CanDropEntity (notnull EntityAI item)
bool CanEatAndDrink ()
override bool CanJump ()
bool CanManipulateInventory ()
override bool CanPickupHeavyItem (notnull EntityAI item)
override bool CanPlaceItem (EntityAI item)
override bool CanReceiveItemIntoCargo (EntityAI item)
override bool CanReceiveItemIntoHands (EntityAI item_to_hands)
bool CanRedirectToWeaponManager (notnull EntityAI item, out bool isActionPossible)
override bool CanReleaseAttachment (EntityAI attachment)
override bool CanReleaseCargo (EntityAI cargo)
override bool CanRoll ()
bool CanShave ()
bool CanSpawnBreathVaporEffect ()
bool CanSprint ()
override bool CanStartConsumingStamina (EStaminaConsumers consumer)
override bool CanSwapItemInCargo (EntityAI child_entity, EntityAI new_entity)
bool CheckAndExecuteStackSplit (FindInventoryLocationType flags, notnull EntityAI item, notnull EntityAI target)
bool CheckAndExecuteStackSplitToInventoryLocation (InventoryLocation il, notnull EntityAI item)
override void CheckAnimationOverrides ()
void CheckForBurlap ()
void CheckForGag ()
void CheckHairClippingOnCharacterLoad ()
 helper method for re-checking hairhiding on character load
override void CheckLiftWeapon ()
bool CheckMeleeItemDamage (ItemBase item)
void CheckSendSoundEvent ()
void CheckSoundEvent ()
void CheckZeroSoundEvent ()
override void ClearInventory ()
 /brief Delete all items in inventory
void ClearLastUAMessage ()
void CloseInventoryMenu ()
void CloseMap ()
 DEPRECATED; terminates map animation callback and re-enables controls.
void CloseMapEx (bool cancelled)
override void CommandHandler (float pDt, int pCurrentCommandID, bool pCurrentCommandFinished)
void ContaminatedParticleAdjustment ()
float ConvertNonlethalDamage (float damage, DamageType damageType)
ItemBase CreateCopyOfItemInInventory (ItemBase src)
ItemBase CreateCopyOfItemInInventoryOrGround (ItemBase src)
ItemBase CreateCopyOfItemInInventoryOrGroundEx (ItemBase src, bool markItemAsSplitResult=false)
EntityAI CreateInInventory (string item_name, string cargo_type="", bool full_quantity=false)
 /brief Creates ItemBase in players inventory.
void DamageAllLegs (float inputDmg)
void DealShock (float dmg)
void DecreaseDiseaseCount ()
void DecreaseHealingsCount ()
override void DepleteStaminaEx (EStaminaModifiers modifier, float dT=-1, float coef=1.0)
void dmgDebugPrint (TotalDamageResult damageResult, int damageType, EntityAI source, int component, string dmgZone, string ammo, vector modelPos, float speedCoef)
void DropAllItems ()
 Drops all clothes/wearables this character is carrying on themselves.
void DropHeavyItem ()
bool DropItem (ItemBase item)
override void EEDelete (EntityAI parent)
override void EEHealthLevelChanged (int oldLevel, int newLevel, string zone)
override void EEHitBy (TotalDamageResult damageResult, int damageType, EntityAI source, int component, string dmgZone, string ammo, vector modelPos, float speedCoef)
override void EEHitByRemote (int damageType, EntityAI source, int component, string dmgZone, string ammo, vector modelPos)
override void EEItemAttached (EntityAI item, string slot_name)
override void EEItemDetached (EntityAI item, string slot_name)
override void EEItemIntoHands (EntityAI item)
override void EEItemOutOfHands (EntityAI item)
override void EEKilled (Object killer)
void EndFighting ()
void EndSurrenderRequest (SurrenderData data=null)
 ends surrender, originally intended for surrender->restrained transitioning
override void EOnFrame (IEntity other, float timeSlice)
override void EOnPostFrame (IEntity other, int extra)
EntityAI FindCargoByBaseType (string searched_item)
int FindQuickBarEntityIndex (EntityAI entity)
void FixAllInventoryItems ()
void ForceUpdateInjuredState ()
 update injured state immediately
void FreezeCheck ()
ActionManagerBase GetActionManager ()
override void GetActions (typename action_input_type, out array< ActionBase_Basic > actions)
override int GetAgents ()
vector GetAimPosition ()
override ArrowManagerBase GetArrowManager ()
int GetBleedingBits ()
BleedingSourcesManagerRemote GetBleedingManagerRemote ()
BleedingSourcesManagerServer GetBleedingManagerServer ()
int GetBleedingSourceCount ()
float GetBordersImmunity ()
int GetBreathVapourLevel ()
eBrokenLegs GetBrokenLegs ()
string GetCachedID ()
string GetCachedName ()
override vector GetCenter ()
ConstructionActionData GetConstructionActionData ()
CraftingManager GetCraftingManager ()
int GetCraftingRecipeID ()
DayZPlayerCamera GetCurrentPlayerCamera ()
int GetCurrentRecipe ()
DamageDealtEffect GetDamageDealtEffect ()
override void GetDebugActions (out TSelectableActionInfoArrayEx outputList)
DebugMonitorValues GetDebugMonitorValues ()
override string GetDefaultHitComponent ()
 returns default hit component (fallback)
override vector GetDefaultHitPosition ()
bool GetDrowningWaterLevelCheck ()
EmoteManager GetEmoteManager ()
float GetFeetDamageMoveModifier ()
bool GetFlagTendencyRaise ()
 DEPRECATED.
FlashbangEffect GetFlashbangEffect ()
float GetHealthRegenSpeed ()
float GetHeatBufferDynamicMax ()
int GetHeatBufferStage ()
override string GetHitComponentForAI ()
 Melee helpers.
bool GetHitPPEEnabled ()
Hologram GetHologramLocal ()
Hologram GetHologramServer ()
float GetImmunity ()
 returns player's immunity strength between 0..1
EStatLevels GetImmunityLevel ()
bool GetInColdArea ()
ItemBase GetItemInHands ()
ItemBase GetItemOnHead ()
 Returns item on player's head. For an example, a headtorch.
ItemBase GetItemOnSlot (string slot_type)
 Returns item that's on this player's attachment slot. Parameter slot_type should be a string from config parameter 'itemInfo[]' like "Legs", "Headgear" and so on.
vector GetLastFirePoint ()
int GetLastFirePointIndex ()
float GetLastFirePointRot ()
bool GetLastMapInfo (out float scale, out vector pos)
int GetLastShavedSeconds ()
string GetLastUAMessage ()
 UA Last Message.
int GetLifeSpanState ()
bool GetLiquidTendencyDrain ()
vector GetLocalProjectionOrientation ()
vector GetLocalProjectionPosition ()
EntityAI GetMagazineToReload (EntityAI weapon)
bool GetMapClosingSyncSent ()
MapNavigationBehaviour GetMapNavigationBehaviour ()
eMixedSoundStates GetMixedSoundStates ()
ModifiersManager GetModifiersManager ()
NotifiersManager GetNotifiersManager ()
int GetNVType ()
array< intGetNVTypesArray ()
string GetPlayerClass ()
float GetPlayerLoad ()
PlayerSoundEventHandler GetPlayerSoundEventHandler ()
PlayerSoundManagerServer GetPlayerSoundManagerServer ()
PlayerStats GetPlayerStats ()
EPulseType GetPulseType ()
override int GetQuickBarBonus ()
EntityAI GetQuickBarEntity (int index)
int GetQuickBarSize ()
RandomGeneratorSyncManager GetRandomGeneratorSyncManager ()
int GetShakeLevel ()
ShockDealtEffect GetShockEffect ()
float GetSimplifiedShockNormalized ()
int GetSingleAgentCount (int agent_id)
float GetSingleAgentCountNormalized (int agent_id)
StaminaHandler GetStaminaHandler ()
int GetStaminaState ()
PlayerStat< intGetStatBloodType ()
float GetStatBordersBlood ()
float GetStatBordersEnergy ()
float GetStatBordersHealth ()
float GetStatBordersToxicity ()
float GetStatBordersWater ()
PlayerStat< floatGetStatDiet ()
PlayerStat< floatGetStatEnergy ()
PlayerStat< floatGetStatHeatBuffer ()
PlayerStat< floatGetStatHeatComfort ()
EStatLevels GetStatLevel (float stat_value, float critical, float low, float normal, float high)
EStatLevels GetStatLevelBlood ()
float GetStatLevelBorders (float stat_value, float critical, float low, float normal, float high, float max)
EStatLevels GetStatLevelEnergy ()
EStatLevels GetStatLevelHealth ()
EStatLevels GetStatLevelToxicity ()
EStatLevels GetStatLevelWater ()
PlayerStat< floatGetStatSpecialty ()
PlayerStat< floatGetStatStamina ()
PlayerStat< floatGetStatToxicity ()
PlayerStat< floatGetStatTremor ()
PlayerStat< floatGetStatWater ()
PlayerStat< intGetStatWet ()
PlayerStomach GetStomach ()
override array< stringGetSuitableFinisherHitComponents ()
 returns list of suitable finisher hit components (defined on base entity/entity type)
SymptomManager GetSymptomManager ()
float GetTemporaryResistanceToAgent (int agent)
float GetTotalAgentCount ()
TransferValues GetTransferValues ()
UndergroundHandlerClient GetUndergroundHandler ()
VirtualHud GetVirtualHud ()
float GetVisibilityCoef ()
int GetVoiceType ()
override WeaponManager GetWeaponManager ()
override float GetWeaponObstruction ()
float GetWeightSpecialized (bool forceRecalc=false)
void GiveShock (float shock)
void HandleBrokenLegsSync ()
void HandleGlassesEffect ()
bool HandleRemoteItemManipulation (int userDataType, ParamsReadContext ctx)
bool HasBloodyHands ()
eBloodyHandsTypes HasBloodyHandsEx ()
bool HasCoveredFaceForShave ()
bool HasDisease ()
bool HasHealings ()
bool HasHeatBuffer ()
override bool HeadingModel (float pDt, SDayZPlayerHeadingModel pModel)
override void HideClothing (ItemOptics optic, bool state)
 state 'true' == hide
void HideHairSelections (ItemBase item, bool state)
void ImmuneSystemTick (float value, float deltaT)
void IncreaseDiseaseCount ()
void IncreaseHealingsCount ()
void InitEditor ()
void InitializeActions ()
override void InsertAgent (int agent, float count=1)
override bool IsAlreadyInFallingCommand (int pCurrentCommandID)
bool IsBleeding ()
bool IsClimbing ()
bool IsCurrentCameraAimedAtGround ()
bool IsEmotePlaying ()
bool IsFacingTarget (Object target)
bool IsFalling ()
override bool IsFighting ()
override bool IsHoldingBreath ()
override bool IsIgnoredByConstruction ()
override bool IsInFBEmoteState ()
bool IsInProne ()
bool IsInRasedProne ()
override bool IsInventorySoftLocked ()
override bool IsInventoryVisible ()
bool IsInWater ()
bool IsItemInInventory (EntityAI entity)
bool IsItemsToDelete ()
bool IsJumpInProgress ()
override bool IsLanded (int pCurrentCommandID)
bool IsLeaning ()
override bool IsLiftWeapon ()
bool IsMale ()
override bool IsManagingArrows ()
bool IsMapCallbackCancelInput ()
bool IsMapCallbackEndInput ()
bool IsMapOpen ()
bool IsNVGLowered ()
bool IsNVGWorking ()
bool IsOverloaded ()
bool IsPlacingLocal ()
bool IsPlacingServer ()
override bool IsPlayer ()
bool IsPlayerDisconnected ()
bool IsPlayerLoaded ()
bool IsQBControl ()
bool IsQuickFishing ()
bool IsQuickRestrain ()
override bool IsRefresherSignalingViable ()
override bool IsRestrained ()
bool IsRestrainPrelocked ()
bool IsRestrainStarted ()
bool IsRolling ()
override bool IsSelfAdjustingTemperature ()
bool IsSprinting ()
bool IsStance (int stance, int stanceMask)
bool IsSurrendered ()
bool IsSwapBetweenHandsAndGroundLargeItem (notnull EntityAI item1, notnull EntityAI item2, out EntityAI item_hands, out EntityAI item_ground)
bool IsSyncedModifierActive (eModifierSyncIDs modifier)
 Checks whether modifier (which has syncing enabled) is currently active, works on both Client and Server.
bool IsTargetInActiveRefresherRange (EntityAI target)
override bool IsUnconscious ()
override bool IsUnconsciousStateOnly ()
override bool IsWeaponObstructionBlockingADS ()
bool IsWearingSplint ()
override void JunctureDeleteItem (EntityAI item)
void KillUndergroundHandler ()
void LockHandsUntilItemHeld ()
void MapNavigationItemInPossession (EntityAI item)
void MapNavigationItemNotInPossession (EntityAI item)
void Message (string text, string style)
 colorStatusChannel colorAction colorFriendly colorImportant
void MessageAction (string text)
void MessageFriendly (string text)
void MessageImportant (string text)
void MessageStatus (string text)
void MovingShock (float legHealth, float highShock, float midShock, float lowShock)
override bool NeedInventoryJunctureFromServer (notnull EntityAI item, EntityAI currParent, EntityAI newParent)
override bool OnAction (int action_id, Man player, ParamsReadContext ctx)
void OnBleedingBegin ()
void OnBleedingEnd ()
void OnBleedingSourceAdded ()
void OnBleedingSourceRemoved ()
void OnBleedingSourceRemovedEx (ItemBase item)
void OnCameraChanged (DayZPlayerCameraBase new_camera)
override void OnCommandClimbFinish ()
override void OnCommandClimbStart ()
override void OnCommandDeathStart ()
override void OnCommandFallFinish ()
override void OnCommandFallStart ()
void OnCommandHandlerTick (float delta_time, int pCurrentCommandID)
override void OnCommandLadderFinish ()
override void OnCommandLadderStart ()
override void OnCommandMelee2Finish ()
override void OnCommandMelee2Start ()
override void OnCommandMoveStart ()
override void OnCommandSwimFinish ()
override void OnCommandSwimStart ()
override void OnCommandVehicleFinish ()
override void OnCommandVehicleStart ()
void OnContaminatedAreaEnterServer ()
void OnContaminatedAreaExitServer ()
void OnDrowningEnd ()
void OnDrowningStart ()
override void OnFreezeStateChangeClient ()
override void OnGameplayDataHandlerSync ()
void OnHoldBreathEnd ()
void OnHoldBreathExhausted ()
void OnHoldBreathStart ()
override bool OnInputUserDataProcess (int userDataType, ParamsReadContext ctx)
void OnInventoryMenuClose ()
void OnInventoryMenuOpen ()
override void OnJumpEnd (int pLandType=0)
void OnJumpOutVehicleFinish (float carSpeed)
override void OnJumpStart ()
override void OnLadder (float delta_time, HumanMovementState pState)
 called every command handler tick when player is on ladder
override bool OnLand (int pCurrentCommandID, FallDamageData fallDamageData)
override void OnParticleEvent (string pEventType, string pUserString, int pUserInt)
void OnPlayerIsNowInsideEffectAreaBeginClient ()
void OnPlayerIsNowInsideEffectAreaBeginServer ()
void OnPlayerIsNowInsideEffectAreaEndClient ()
void OnPlayerIsNowInsideEffectAreaEndServer ()
void OnPlayerLoaded ()
void OnPlayerReceiveFlashbangHitEnd ()
void OnPlayerReceiveFlashbangHitStart (bool visual)
override void OnPlayerRecievedHit ()
void OnQuickBarContinuousUseEnd (int slotClicked)
void OnQuickBarContinuousUseStart (int slotClicked)
void OnQuickbarSetEntityRequest (ParamsReadContext ctx)
void OnQuickBarSingleUse (int slotClicked)
override void OnReceivedHit (ImpactEffectsData hitData)
 Call only on client or single player PlayerBase (as g_Game.GetPlayer()).
void OnRestrainChangeClient ()
void OnRestrainStart ()
void OnRestrainStartedChangeClient ()
override void OnRollFinish ()
override void OnRollStart (bool isToTheRight)
override void OnRPC (PlayerIdentity sender, int rpc_type, ParamsReadContext ctx)
void OnScheduledTick (float deltaTime)
void OnSelectPlayer ()
void OnSpawnedFromConsole ()
override void OnStanceChange (int previousStance, int newStance)
override void OnSyncJuncture (int pJunctureID, ParamsReadContext pCtx)
 SyncJunctures.
override void OnThrowingModeChange (bool change_to_enabled)
void OnTick ()
void OnUnconsciousStart ()
void OnUnconsciousStop (int pCurrentCommandID)
void OnUnconsciousUpdate (float pDt, int last_command)
void OnUpdateEffectAreaServer (float timeSlice)
override void OnVariablesSynchronized ()
override void OnVehicleSeatDriverEnter ()
override void OnVehicleSeatDriverLeft ()
void OnVehicleSwitchSeat (int seatIndex)
void OnVoiceEvent (PlayerSoundEventBase voice_event)
void OnVoiceEventPlayback (PlayerSoundEventBase voice_event, AbstractWave callback, float playback_time)
 called every cmd handler tick during a playback of PlayerSoundEvent, m_ProcessPlaybackEvent needs to be enabled on the PlayerSoundEvent
override bool PhysicalPredictiveDropItem (EntityAI entity, bool heavy_item_only=true)
void PlacingCancelLocal ()
void PlacingCancelServer ()
void PlacingCompleteLocal ()
void PlacingCompleteServer ()
void PlacingStartLocal (ItemBase item)
void PlacingStartServer (ItemBase item)
void PlayAttachmentDropSound ()
override SoundOnVehicle PlaySound (string sound_name, float range, bool create_local=false)
override bool PlaySoundEvent (EPlayerSoundEventID id, bool from_anim_system=false, bool is_from_server=false)
override bool PlaySoundEventEx (EPlayerSoundEventID id, bool from_anim_system=false, bool is_from_server=false, int param=0)
override bool PlaySoundEventType (ESoundEventType soundType, int soundEventID, int param=0)
override bool PredictiveDropEntity (notnull EntityAI item)
override bool PredictiveForceSwapEntities (notnull EntityAI item1, notnull EntityAI item2, notnull InventoryLocation item2_dst)
override bool PredictiveSwapEntities (notnull EntityAI item1, notnull EntityAI item2)
override void PredictiveTakeEntityToHands (EntityAI item)
override bool PredictiveTakeEntityToInventory (FindInventoryLocationType flags, notnull EntityAI item)
override bool PredictiveTakeEntityToTargetAttachment (notnull EntityAI target, notnull EntityAI item)
override bool PredictiveTakeEntityToTargetAttachmentEx (notnull EntityAI target, notnull EntityAI item, int slot)
override bool PredictiveTakeEntityToTargetCargo (notnull EntityAI target, notnull EntityAI item)
override bool PredictiveTakeEntityToTargetCargoEx (notnull CargoBase cargo, notnull EntityAI item, int row, int col)
override bool PredictiveTakeEntityToTargetInventory (notnull EntityAI target, FindInventoryLocationType flags, notnull EntityAI item)
override bool PredictiveTakeToDst (notnull InventoryLocation src, notnull InventoryLocation dst)
void PreloadDecayTexture ()
void PrintAgents ()
void ProcessADDModifier ()
void ProcessADSSyncResetRequest ()
void ProcessDrowning (float dT)
override void ProcessFeetDamageServer (int pUserInt)
void ProcessHandDamage (float delta_time, HumanMovementState pState)
void ProcessHoldBreath (float dT)
override void ProcessLiftWeapon ()
void QueueAddEffectWidget (array< int > effects)
void QueueAddGlassesEffect (int id)
void QueueRemoveEffectWidget (array< int > effects)
void QueueRemoveGlassesEffect (int id)
void QuickReloadWeapon (EntityAI weapon)
void RadialQuickBarCombine (int slotClicked)
void RadialQuickBarSingleUse (int slotClicked)
bool ReadLiftWeaponRequest (int userDataType, ParamsReadContext ctx)
void RefreshHandAnimationState (int delay=0)
void ReloadWeapon (EntityAI weapon, EntityAI magazine)
void RemoveAction (typename actionName)
void RemoveAction (typename actionName, out TInputActionMap InputActionMap)
void RemoveActiveNV (int type)
override void RemoveAgent (int agent_id)
override void RemoveAllAgents ()
void RemoveAllItems ()
void RemovePossibleCoverFaceForShave ()
 DEPRECATED!
void RemoveQuickBarEntityShortcut (EntityAI entity)
void RequestHandAnimationStateRefresh ()
void RequestResetADSSync ()
void RequestUnconsciousness (bool enable)
void ResetActionEndInput ()
void ResetActiveNV ()
bool ResetADSPlayerSync (int userDataType, ParamsReadContext ctx)
 server only
void ResetConstructionActionData ()
void ResetPlayer (bool set_max)
override void RPC (int rpc_type, array< ref Param > params, bool guaranteed, PlayerIdentity recipient=NULL)
void RunFightBlendTimer ()
bool Save ()
AbstractWave SaySoundSet (string name)
void SendLiftWeaponSync (bool state, float obstruct=0)
 Client-side only.
void SendSoundEvent (EPlayerSoundEventID id)
void SendSoundEventEx (EPlayerSoundEventID id, int param=0)
void SetActionEndInput (ActionBase action)
void SetActions ()
void SetActions (out TInputActionMap InputActionMap)
void SetActionsRemoteTarget ()
void SetActionsRemoteTarget (out TInputActionMap InputActionMap)
void SetBleedingBits (int bits)
void SetBloodyHands (bool show)
void SetBloodyHandsEx (eBloodyHandsTypes type)
void SetBrokenLegs (int stateId)
void SetCheckMeleeItem (ItemBase item=null)
void SetContaminatedEffect (bool enable, int ppeIdx=-1, int aroundId=ParticleList.CONTAMINATED_AREA_GAS_AROUND, int tinyId=ParticleList.CONTAMINATED_AREA_GAS_TINY, bool partDynaUpdate=false, int newBirthRate=0)
void SetContaminatedEffectEx (bool enable, int ppeIdx=-1, int aroundId=ParticleList.CONTAMINATED_AREA_GAS_AROUND, int tinyId=ParticleList.CONTAMINATED_AREA_GAS_TINY, string soundset="", bool partDynaUpdate=false, int newBirthRate=0)
void SetCraftingRecipeID (int recipeID)
override void SetDeathDarknessLevel (float duration, float tick_time)
void SetDecayEffects (int effect=-1)
vector SetDefaultHitPosition (string pSelection)
void SetDrowning (bool enable)
void SetEnableQuickBarEntityShortcut (EntityAI entity, bool value)
void SetFirstRecipe ()
void SetFlagTendencyRaise (bool state)
 DEPRECATED.
void SetHairLevelToHide (int level, bool state, bool was_debug=false)
 Dynamic hair hiding.
void SetHeatBufferDynamicMax (float value)
void SetHitPPEEnabled (bool enabled)
void SetImmunityBoosted (bool boosted)
void SetInColdArea (bool state)
override void SetInventorySoftLock (bool status)
 'soft lock' meaning inventory screen cannot be displayed, but mechanically, inventory operations are still possible
void SetInWater (bool pState)
 water contact (driven by Environment)
void SetLastFirePoint (vector last_fire_point)
void SetLastFirePointIndex (int last_fire_point_index)
void SetLastFirePointRot (float last_fire_point_rot)
void SetLastMapInfo (float scale, vector pos)
void SetLastShavedSeconds (int last_shaved_seconds)
void SetLastUAMessage (string pMsg)
void SetLegHealth ()
void SetLifeSpanStateVisible (int show_state)
void SetLiftWeapon (bool state, float obstruct=0)
void SetLiftWeapon (int pJunctureID, ParamsReadContext ctx)
void SetLiquidTendencyDrain (bool state)
void SetLoadedQuickBarItemBind (EntityAI entity, int index)
void SetLocalProjectionOrientation (vector local_orientation)
void SetLocalProjectionPosition (vector local_position)
void SetMapClosingSyncSet (bool state)
void SetMapOpen (bool state)
void SetMixedSoundState (eMixedSoundStates state)
void SetNewCharName ()
void SetNextRecipe ()
void SetNVGLowered (bool state)
void SetPlayerDisconnected (bool state)
void SetPlayerLoad (float load)
override void SetProcessUIWarning (bool state)
void SetPulseType (EPulseType pulse_type)
void SetQuickBarEntityShortcut (EntityAI entity, int index, bool force=false)
void SetQuickFishing (bool enable)
void SetQuickRestrain (bool enable)
void SetRestrained (bool is_restrained)
void SetRestrainPrelocked (bool restrain_prelock)
void SetRestrainStarted (bool restrain_started)
void SetShakesForced (int value)
void SetStamina (int value, int range)
void SetStaminaState (eStaminaState state)
void SetTemporaryResistanceToAgent (int agent, float time)
void SetToDelete (ParamsReadContext pCtx)
void SetUnderground (EUndergroundPresence presence)
void SetVisibilityCoef (float pVisibility)
void ShavePlayer ()
void ShockRefill (float pDt)
 functionality moved to ShockMdfr::OnTick
int SimplifyShock ()
override void SimulateDeath (bool state)
EntityAI SpawnAI (string object_name, vector pos)
void SpawnBreathVaporEffect ()
override void SpawnDamageDealtEffect ()
void SpawnDamageDealtEffect2 (Param param1=null, Param param2=null)
void SpawnDrowningBubbles ()
EntityAI SpawnEntityOnGroundOnCursorDir (string object_name, float distance)
override EntityAI SpawnEntityOnGroundPos (string object_name, vector pos)
EntityAI SpawnEntityOnGroundRaycastDispersed (string object_name, float raycastDistance=DEFAULT_SPAWN_DISTANCE, float radius=UAItemsSpreadRadius.DEFAULT)
void SpawnFlashbangEffect (PlayerBase player, bool visual)
void SpawnShockEffect (float intensity_max)
void SpreadAgents ()
void SpreadAgentsEx (float distance=3, float chance=0.25)
 chance between [0..1] , distance in meters
void StaminaHUDNotifier (bool show)
override bool StopSoundEvent (EPlayerSoundEventID id, bool is_from_server=false, int param=0)
override void SwitchItemSelectionTexture (EntityAI item, string slot_name)
bool TakeEntityAsAttachmentImpl (InventoryMode mode, notnull EntityAI item)
bool TakeEntityToCargoImpl (InventoryMode mode, notnull EntityAI item)
override void TakeEntityToHandsImpl (InventoryMode mode, EntityAI item)
bool TakeEntityToInventoryImpl (InventoryMode mode, FindInventoryLocationType flags, notnull EntityAI item)
bool TakeEntityToTargetAttachmentImpl (InventoryMode mode, notnull EntityAI target, notnull EntityAI item)
bool TakeEntityToTargetCargoImpl (InventoryMode mode, notnull EntityAI target, notnull EntityAI item)
bool TakeEntityToTargetInventoryImpl (InventoryMode mode, notnull EntityAI target, FindInventoryLocationType flags, notnull EntityAI item)
bool TakeToDstImpl (InventoryMode mode, notnull InventoryLocation src, notnull InventoryLocation dst)
void TestSend ()
void ToggleHeatBufferVisibility (bool show)
void ToggleHeatBufferVisibility (int heatbufferStage)
void TogglePlacingLocal (ItemBase item=null)
bool TogglePlacingServer (int userDataType, ParamsReadContext ctx)
void TryHideItemInHands (bool hide, bool force=false)
 tries to hide item in player's hands, some exceptions for various movement states
void UnsetMixedSoundState (eMixedSoundStates state)
void UpdateBrokenLegs (int stateId)
void UpdateCorpseState ()
void UpdateCorpseStateVisual ()
void UpdateDelete ()
void UpdateHairSelectionVisibility (bool was_debug=false)
void UpdateLighting ()
void UpdateMaskBreathWidget (notnull MaskBase mask, bool is_start=false)
void UpdateMovementInertia ()
 Update movement inertia based on stamina available.
void UpdateQuickBarEntityVisibility (EntityAI entity)
void UpdateQuickBarExtraSlots ()
void UpdateShoulderProxyVisibility (EntityAI item, string slot_name)
void UpdateTranslatedSelections (SelectionTranslation stt)

Static Protected Member Functions

static set< intGetFaceCoverageShaveValues ()
 returns a set of face covering values

Protected Attributes

const string CONTAMINATED_AREA_AMBIENT = "ContaminatedArea_SoundSet"
bool ItemToInventory
ActionManagerBase m_ActionManager
bool m_ActionQBControl
bool m_ActionsInitialize
ref array< intm_ActiveNVTypes
int m_ActivePrimarySymptomID = 0
int m_AddModifier = -1
PluginAdminLog m_AdminLog
ref PlayerAgentPool m_AgentPool
int m_Agents
bool m_AllowQuickFishing
bool m_AllowQuickRestrain
EffectSound m_AmbientContamination
ref Timer m_AnalyticsTimer
int m_AnimCommandStarting
ref array< ref Param2< EntityAI, int > > m_aQuickBarLoad
bool m_AreHandsLocked
ref ArrowManagerPlayer m_ArrowManager
int m_BleedingBits
ref BleedingSourcesManagerRemote m_BleedingManagerRemote
ref BleedingSourcesManagerServer m_BleedingManagerServer
int m_BleedingSourceCount
int m_BreathVapour
bool m_BrokenLegsJunctureReceived
ref EffectSound m_BrokenLegSound
int m_BrokenLegState = eBrokenLegs.NO_BROKEN_LEGS
string m_CachedPlayerID
string m_CachedPlayerName
float m_CameraSwayModifier = 0.2
bool m_CanDisplayHitEffectPPE
bool m_CanPlayBrokenLegSound
float m_CargoLoad
Head_Default m_CharactersHead
ItemBase m_CheckMeleeItem
PlayerBase m_CheckPulseLastTarget
ref ConstructionActionData m_ConstructionActionData
int m_ContaminatedAreaCount
bool m_ContaminatedAreaEffectEnabled
bool m_CorpseProcessing
int m_CorpseState
int m_CorpseStateLocal
vector m_CraftingInitialPos
ref CraftingManager m_CraftingManager
DayZPlayerCameraBase m_CurrentCamera
EffectTrigger m_CurrentEffectTrigger
float m_CurrentShock
ref DamageDealtEffect m_DamageDealtEffect
string m_DatabaseID
int m_DbgListSelection = 0
ref array< stringm_DbgOptions = {"jedna", "dva", "tri"}
float m_DbgSliderValue = 0.0
ref Timer m_DeathCheckTimer
ref Param1< floatm_DeathDarkeningParam
int m_DebugMonitorEnabled
ref DebugMonitorValues m_DebugMonitorValues
string m_DecayedTexture
vector m_DefaultHitPosition
vector m_DirectionToCursor
int m_DiseaseCount
int m_EffectAreaCount
ref map< EEffectAreaType, intm_EffectAreaOverlap = new map<EEffectAreaType, int>()
ref map< EEffectAreaType, floatm_EffectAreaTimeToTick = new map<EEffectAreaType, float>()
ref EffectRadial m_EffectRadial
GameplayEffectWidgets_base m_EffectWidgets
 effect widgets
ref EmoteManager m_EmoteManager
ref HiddenSelectionsData m_EmptyGloves
ref Environment m_Environment
ref FlashbangEffect m_FlashbangEffect
ref EffectParticle m_FliesEff
int m_FliesIndex
int m_ForceInjuryAnimMask
ActionUnfoldMapCB m_hac
bool m_HasHeatBuffer
ref HeatComfortAnimHandler m_HCAnimHandler
ref HeadingRestrictData m_HeadingRestrictData
int m_HealingsCount
int m_HealthLevel
float m_HeatBufferDynamicMax
int m_HeatBufferStage
bool m_HideHairAnimated
ref Hologram m_HologramLocal
ref Hologram m_HologramServer
Hud m_Hud
bool m_ImmunityBoosted
EEffectAreaType m_InEffectAreaType
ref InjuryAnimationHandler m_InjuryHandler
ref TInputActionMap m_InputActionMap
ref TInputActionMap m_InputActionMapAsTarget
ref TInputActionMap m_InputActionMapControled
bool m_InsideEffectArea
bool m_InsideEffectAreaPrev
ref InventoryActionHandler m_InventoryActionHandler
int m_InventorySoftLockCount = 0
bool m_InventorySoftLocked
bool m_IsCraftingReady
bool m_IsDrowning
bool m_IsFighting = false
bool m_IsHeadingRestricted
bool m_IsHoldingBreath
bool m_IsInColdArea
bool m_IsInWater
bool m_IsRestrained
bool m_IsRestrainedLocal
bool m_IsRestrainPrelocked
bool m_IsRestrainStarted
bool m_IsRestrainStartedLocal
bool m_IsVehicleSeatDriver
EntityAI m_Item1
EntityAI m_Item2
ref array< EntityAIm_ItemsToDelete
vector m_LastFirePoint
int m_LastFirePointIndex
float m_LastFirePointRot
vector m_LastMapPos
float m_LastMapScale = -1.0
float m_LastPostFrameTickTime
float m_LastShockHitTime
float m_LastTick = -1
int m_LifespanLevelLocal
int m_LocalBrokenState = eBrokenLegs.NO_BROKEN_LEGS
vector m_LocalProjectionOrientation = "0 0 0 "
vector m_LocalProjectionPosition = "0 0 0 "
int m_LocalRefreshAnimStateIdx
bool m_LoweredNVGHeadset
bool m_MapCloseRequestProcessed
bool m_MapClosingSyncSent
ref MapNavigationBehaviour m_MapNavigationBehaviour
bool m_MapOpen
EMedicalDrugsType m_MedicalDrugsActive
bool m_MeleeDebug
 melee stats
int m_MixedSoundStates
ref ModifiersManager m_ModifiersManager
PluginRecipesManager m_ModuleRecipesManager
ref NotifiersManager m_NotifiersManager
ref ScriptInvoker m_OnUnconsciousStart
 invokers
ref ScriptInvoker m_OnUnconsciousStop
float m_OriginalSlidePoseAngle
int m_PerformedAnimActionID = -1
int m_PersistentFlags
bool m_PlayerDisconnectProcessed
bool m_PlayerLoaded
ref PlayerSoundManagerClient m_PlayerSoundManagerClient
ref PlayerSoundManagerServer m_PlayerSoundManagerServer
ref PlayerStats m_PlayerStats
ref PlayerStomach m_PlayerStomach
PluginPresenceNotifier m_PresenceNotifier
ref array< intm_ProcessAddEffectWidgets
ref array< intm_ProcessAddGlassesEffects
ref array< intm_ProcessRemoveEffectWidgets
ref array< intm_ProcessRemoveGlassesEffects
bool m_ProcessUIWarning
EPulseType m_PulseType
QuickBarBase m_QuickBarBase
int m_QuickBarBonus = 0
bool m_QuickBarFT = false
bool m_QuickBarHold
float m_RecipeAnimLength
int m_RecipeID = -1
int m_RecipePick
ref array< intm_Recipes
int m_RefreshAnimStateIdx
RandomGeneratorSyncManager m_RGSManager
ref SoundObjectBuilder m_SaySoundBuilder
string m_SaySoundLastSetName
ref SoundObject m_SaySoundObject
ref SoundParams m_SaySoundParams
int m_Shakes
int m_ShakesForced
ref ShockDealtEffect m_ShockDealtEffect
ref ShockHandler m_ShockHandler
int m_ShockSimplified
bool m_ShowDbgUI = true
ref SoftSkillsManager m_SoftSkillsManager
int m_SoundEvent
int m_SoundEventParam
bool m_SoundEventSent
ref EffectSound m_SoundFliesEffect
ref StaminaHandler m_StaminaHandler
ref Param3< float, float, boolm_StaminaParam
int m_StaminaState
ref StanceIndicator m_StanceIndicator
PlayerStat< floatm_StatEnergy
PlayerStat< floatm_StatHeatComfort
PlayerStat< floatm_StatToxicity
PlayerStat< floatm_StatTremor
PlayerStat< floatm_StatWater
ref SymptomManager m_SymptomManager
int m_SyncedModifiers
int m_SyncedModifiersPrev
ref TransferValues m_TrasferValues
string m_UALastMessage
 user actions & symptoms
ref Timer m_UALastMessageTimer
ref Param2< int, intm_UAParam
ref Param1< stringm_UAParamMessage
ref Param2< float, floatm_UAProgressParam
ref Param1< floatm_UnconParam
float m_UnconRefillModifier = 1
float m_UnconsciousEndTime = 0
float m_UnconsciousTime
float m_UnconsciousVignetteTarget = 2
ref UndergroundBunkerHandlerClient m_UndergroundBunkerHandler
ref UndergroundHandlerClient m_UndergroundHandler
EUndergroundPresence m_UndergroundPresence
ref VirtualHud m_VirtualHud
float m_VisibilityCoef
ref WeaponManager m_WeaponManager
bool m_WorkingNVGHeadset
const int OVERLOAD_LIMIT = 30000
const string SOUND_BREAK_LEG = "broken_leg_SoundSet"

Static Protected Attributes

static bool DEBUG_INVENTORY_ACCESS = false
static ref array< stringm_BleedingSourcesLow
static ref array< stringm_BleedingSourcesUp
static Particle m_ContaminatedAroundPlayer
static Particle m_ContaminatedAroundPlayerTiny
static ref TStringArray m_QBarItems
static ref array< Man > m_ServerPlayers = new array<Man>
static ref array< ObjectSPREAD_AGENTS_OBJECTS = new array<Object>
static ref array< CargoBaseSPREAD_AGENTS_PROXY_CARGOS = new array<CargoBase>

Private Member Functions

void ~PlayerBase ()
void AddMedicalDrugsInUse (EMedicalDrugsType drugType)
void AddToEnvironmentTemperature (float pTemperature)
override void AfterStoreLoad ()
void AntibioticsAttack (float value)
void CheckDeath ()
void ClearBloodyHandsPenaltyChancePerAgent (eAgents type)
bool Consume (ItemBase source, float amount, EConsumeType consume_type)
bool Consume (PlayerConsumeData data)
void DecreaseAntibioticsCount ()
void DecreaseContaminatedAreaCount ()
void DecreaseEffectAreaCount ()
override void DepleteStamina (EStaminaModifiers modifier, float dT=-1)
SymptomIDs GetActivePrimarySymptomID ()
int GetBloodType ()
int GetBloodyHandsPenaltyAgents ()
float GetBloodyHandsPenaltyChancePerAgent (eAgents type)
int GetNoisePresenceInAI ()
 Return actual noise presence of player.
ScriptInvoker GetOnUnconsciousStart ()
ScriptInvoker GetOnUnconsciousStop ()
int GetPerformedActionID ()
SoftSkillsManager GetSoftSkillsManager ()
int GetStoreLoadVersion ()
UndergroundBunkerHandlerClient GetUndergroundBunkerHandler ()
bool HasBloodTypeVisible ()
bool HasStaminaRemaining ()
void IncreaseAntibioticsCount ()
void IncreaseContaminatedAreaCount ()
void IncreaseEffectAreaCount ()
void Init ()
bool IsAntibioticsActive ()
bool IsChelationActive ()
bool IsInEffectArea (EEffectAreaType area)
bool IsPersistentFlag (PersistentFlag bit)
void OnConnect ()
void OnDisconnect ()
void OnReconnect ()
override bool OnStoreLoad (ParamsReadContext ctx, int version)
bool OnStoreLoadLifespan (ParamsReadContext ctx, int version)
override void OnStoreSave (ParamsWriteContext ctx)
void OnStoreSaveLifespan (ParamsWriteContext ctx)
void PlayerBase ()
void RemoveCurrentEffectTrigger ()
void RemoveMedicalDrugsInUse (EMedicalDrugsType drugType)
override void RequestSoundEvent (EPlayerSoundEventID id, bool from_server_and_client=false)
override void RequestSoundEventEx (EPlayerSoundEventID id, bool from_server_and_client=false, int param=0)
override void RequestSoundEventStop (EPlayerSoundEventID id, bool from_server_and_client=false, int param=EPlayerSoundEventParam.STOP_PLAYBACK)
void RequestTriggerEffect (EffectTrigger trigger, int ppeIdx=-1, int aroundId=ParticleList.CONTAMINATED_AREA_GAS_AROUND, int tinyId=ParticleList.CONTAMINATED_AREA_GAS_TINY, string soundset="", bool partDynaUpdate=false, int newBirthRate=0, bool forceUpdate=false)
void SaveAreaPersistenceFlag (ParamsWriteContext ctx)
void SetActivePrimarySymptomID (SymptomIDs id)
void SetBloodType (int blood_type)
void SetBloodTypeVisible (bool show)
void SetBloodyHandsBase (int type)
void SetBloodyHandsPenalty ()
void SetBloodyHandsPenaltyChancePerAgent (eAgents type, float amount)
 increments the chances per agents
void SetEnergyManagerState (ItemBase itemInHands, bool state)
void SetInEffectAreaTypeFlag (EEffectAreaType flag)
void SetModifiers (bool enable)
void SetNVGWorking (bool state)
void SetPerformedActionID (int id)
void SetPersistentFlag (PersistentFlag bit, bool enable)
void SetSoundCategoryHash (int hash)
void ShowUnconsciousScreen (bool show)
void SwitchItemTypeAttach (EntityAI item, string slot)
void SwitchItemTypeDetach (EntityAI item, string slot)
void UnsetInEffectAreaTypeFlag (EEffectAreaType flag)
void UpdatePlayerMeasures ()

Private Attributes

const int ACT_STORE_SAVE_VERSION = 4
int m_AntibioticsActive
int m_BloodType
ref map< eAgents, floatm_BloodyHandsPenaltyChancePerAgent
PluginConfigEmotesProfile m_ConfigEmotesProfile
int m_FaceCoveredForShaveLayers = 0
bool m_FlagRaisingTendency
bool m_HasBloodTypeVisible
int m_HasBloodyHandsVisible
int m_LastShavedSeconds
int m_LifeSpanState
bool m_LiquidTendencyDrain
PluginLifespan m_ModuleLifespan
PluginPlayerStatus m_ModulePlayerStatus
vector m_PlayerOldPos
int m_StoreLoadVersion
const int SHAKE_LEVEL_MAX = 7
const int SIMPLIFIED_SHOCK_CAP = 63

Detailed Description

Definition at line 49 of file playerbase.c.

Constructor & Destructor Documentation

◆ ~PlayerBase()

Member Function Documentation

◆ AddAction() [1/2]

void AddAction ( typename actionName )
inlineprotected

Definition at line 1780 of file playerbase.c.

References AddAction(), and m_InputActionMap.

◆ AddAction() [2/2]

void AddAction ( typename actionName ,
out TInputActionMap InputActionMap )
inlineprotected

◆ AddActiveNV()

void AddActiveNV ( int type)
inlineprotected

Definition at line 9119 of file playerbase.c.

References Error(), g_Game, and m_ActiveNVTypes.

Referenced by SetNVGWorking().

◆ AddArrow()

override void AddArrow ( Object arrow,
int componentIndex,
vector closeBonePosWS,
vector closeBoneRotWS )
inlineprotected

◆ AddItemToDelete()

override void AddItemToDelete ( EntityAI item)
inlineprotected

Definition at line 8225 of file playerbase.c.

References m_ItemsToDelete.

Referenced by SetToDelete().

◆ AddMedicalDrugsInUse()

void AddMedicalDrugsInUse ( EMedicalDrugsType drugType)
inlineprivate

Definition at line 708 of file playerbase.c.

References m_MedicalDrugsActive.

Referenced by IncreaseAntibioticsCount().

◆ AddPlayerLoad()

void AddPlayerLoad ( float addedload)
inlineprotected

Definition at line 5057 of file playerbase.c.

References GetPlayerLoad(), and SetPlayerLoad().

◆ AddPossibleCoverFaceForShave()

void AddPossibleCoverFaceForShave ( )
inlineprotected

DEPRECATED!

Definition at line 1454 of file playerbase.c.

References m_FaceCoveredForShaveLayers.

◆ AddToEnvironmentTemperature()

void AddToEnvironmentTemperature ( float pTemperature)
private

◆ AdjustBandana()

void AdjustBandana ( EntityAI item,
string slot_name )
inlineprotected

Definition at line 9194 of file playerbase.c.

Referenced by EEItemAttached().

◆ AdjustShemag()

void AdjustShemag ( EntityAI item,
string slot_name )
inlineprotected

Definition at line 9211 of file playerbase.c.

Referenced by EEItemAttached().

◆ AfterStoreLoad()

◆ AllowDecayEffects()

bool AllowDecayEffects ( )
inlineprotected

Definition at line 5863 of file playerbase.c.

References g_Game.

Referenced by UpdateCorpseState().

◆ AnimCommandCheck()

bool AnimCommandCheck ( HumanMoveCommandID mask)
inlineprotected

Returns whether the specified movement command(s) are starting the next frame.

Use caution when using this for anything player animation-related, some commands may require the movement state to be truly active (wait until next update)

Definition at line 5405 of file playerbase.c.

References m_AnimCommandStarting.

Referenced by TryHideItemInHands().

◆ AntibioticsAttack()

void AntibioticsAttack ( float value)
inlineprivate

Definition at line 9771 of file playerbase.c.

References m_AgentPool.

◆ ApplySplint()

void ApplySplint ( )
inlineprotected

Definition at line 2244 of file playerbase.c.

References GetBrokenLegs().

◆ BreakLegSound()

void BreakLegSound ( )
inlineprotected

Definition at line 3766 of file playerbase.c.

References m_BrokenLegSound, and SOUND_BREAK_LEG.

Referenced by HandleBrokenLegsSync().

◆ BrokenLegForceProne()

void BrokenLegForceProne ( bool forceOverride = false)
inlineprotected

◆ BrokenLegWalkShock()

◆ CalculateVisibilityForAI()

void CalculateVisibilityForAI ( )
inlineprotected

Definition at line 5132 of file playerbase.c.

References Class::CastTo(), and SetVisibilityCoef().

Referenced by EEItemAttached(), and EEItemDetached().

◆ CanBeRestrained()

bool CanBeRestrained ( )
inlineprotected

◆ CanBeTargetedByAI()

override bool CanBeTargetedByAI ( EntityAI ai)
inlineprotected

Definition at line 3664 of file playerbase.c.

References IsUnconscious().

◆ CanChangeStance()

override bool CanChangeStance ( int previousStance,
int newStance )
inlineprotected

◆ CanClimb()

override bool CanClimb ( int climbType,
SHumanCommandClimbResult climbRes )
inlineprotected

vault from water allowed

Definition at line 4535 of file playerbase.c.

References CanConsumeStamina(), GetBrokenLegs(), InjuryAnimValues::LVL3, and m_InjuryHandler.

◆ CanConsumeFood()

bool CanConsumeFood ( ConsumeConditionData data = null)
inlineprotected

Definition at line 7836 of file playerbase.c.

◆ CanConsumeStamina()

override bool CanConsumeStamina ( EStaminaConsumers consumer)
inlineprotected

◆ CanDeleteItems()

bool CanDeleteItems ( )
inlineprotected

Definition at line 8234 of file playerbase.c.

References GetActionManager().

Referenced by UpdateDelete().

◆ CanDropEntity()

override bool CanDropEntity ( notnull EntityAI item)
inlineprotected

Definition at line 979 of file playerbase.c.

References IsRestrained().

Referenced by DropItem(), and OnUnconsciousStart().

◆ CanEatAndDrink()

bool CanEatAndDrink ( )
inlineprotected

Definition at line 7830 of file playerbase.c.

◆ CanJump()

override bool CanJump ( )
inlineprotected

disables jump when player is significantly injured

Definition at line 4556 of file playerbase.c.

References CanConsumeStamina(), GetBrokenLegs(), IsInFBEmoteState(), InjuryAnimValues::LVL3, m_EmoteManager, and m_InjuryHandler.

◆ CanManipulateInventory()

bool CanManipulateInventory ( )
inlineprotected

Definition at line 2074 of file playerbase.c.

References IsRestrained(), IsRestrainPrelocked(), and IsRestrainStarted().

◆ CanPickupHeavyItem()

override bool CanPickupHeavyItem ( notnull EntityAI item)
inlineprotected

Definition at line 3889 of file playerbase.c.

References GetBrokenLegs().

Referenced by CanReceiveItemIntoHands().

◆ CanPlaceItem()

override bool CanPlaceItem ( EntityAI item)
inlineprotected

◆ CanReceiveItemIntoCargo()

override bool CanReceiveItemIntoCargo ( EntityAI item)
inlineprotected

Definition at line 2093 of file playerbase.c.

◆ CanReceiveItemIntoHands()

override bool CanReceiveItemIntoHands ( EntityAI item_to_hands)
inlineprotected

Definition at line 2103 of file playerbase.c.

References CanPickupHeavyItem().

◆ CanRedirectToWeaponManager()

bool CanRedirectToWeaponManager ( notnull EntityAI item,
out bool isActionPossible )
inlineprotected

◆ CanReleaseAttachment()

override bool CanReleaseAttachment ( EntityAI attachment)
inlineprotected

Definition at line 2083 of file playerbase.c.

◆ CanReleaseCargo()

override bool CanReleaseCargo ( EntityAI cargo)
inlineprotected

Definition at line 2088 of file playerbase.c.

◆ CanRoll()

override bool CanRoll ( )
inlineprotected

◆ CanShave()

bool CanShave ( )
inlineprotected

Definition at line 6719 of file playerbase.c.

References GetLifeSpanState(), and HasCoveredFaceForShave().

◆ CanSpawnBreathVaporEffect()

bool CanSpawnBreathVaporEffect ( )
inlineprotected

Definition at line 6767 of file playerbase.c.

References m_IsDrowning.

◆ CanSprint()

bool CanSprint ( )
inlineprotected

Definition at line 5339 of file playerbase.c.

References GetBrokenLegs(), GetItemInHands(), InjuryAnimValues::LVL3, and m_InjuryHandler.

Referenced by CommandHandler().

◆ CanStartConsumingStamina()

override bool CanStartConsumingStamina ( EStaminaConsumers consumer)
inlineprotected

◆ CanSwapItemInCargo()

override bool CanSwapItemInCargo ( EntityAI child_entity,
EntityAI new_entity )
inlineprotected

Definition at line 2098 of file playerbase.c.

◆ CheckAndExecuteStackSplit()

◆ CheckAndExecuteStackSplitToInventoryLocation()

bool CheckAndExecuteStackSplitToInventoryLocation ( InventoryLocation il,
notnull EntityAI item )
inlineprotected

Definition at line 9430 of file playerbase.c.

References InventoryLocation::GetSlot().

Referenced by CheckAndExecuteStackSplit(), and TakeToDstImpl().

◆ CheckAnimationOverrides()

override void CheckAnimationOverrides ( )
inlineprotected

Definition at line 8625 of file playerbase.c.

References IsInFBEmoteState(), m_OriginalSlidePoseAngle, and Math::PI2.

◆ CheckDeath()

void CheckDeath ( )
inlineprivate

Definition at line 6987 of file playerbase.c.

References m_DeathCheckTimer, and SimulateDeath().

◆ CheckForBurlap()

void CheckForBurlap ( )
inlineprotected

Definition at line 6163 of file playerbase.c.

References Class::CastTo(), and GetInstanceType().

Referenced by OnSelectPlayer().

◆ CheckForGag()

void CheckForGag ( )
inlineprotected

Definition at line 6185 of file playerbase.c.

References Class::CastTo(), GameInventory::FindAttachment(), and g_Game.

Referenced by OnSelectPlayer().

◆ CheckHairClippingOnCharacterLoad()

void CheckHairClippingOnCharacterLoad ( )
inlineprotected

helper method for re-checking hairhiding on character load

Definition at line 9078 of file playerbase.c.

References HideHairSelections().

Referenced by OnPlayerLoaded().

◆ CheckLiftWeapon()

override void CheckLiftWeapon ( )
inlineprotected

◆ CheckMeleeItemDamage()

bool CheckMeleeItemDamage ( ItemBase item)
inlineprotected

Definition at line 5425 of file playerbase.c.

References DropItem(), GetItemInHands(), PlayAttachmentDropSound(), and PredictiveDropEntity().

Referenced by CommandHandler().

◆ CheckSendSoundEvent()

void CheckSendSoundEvent ( )
inlineprotected

Definition at line 7488 of file playerbase.c.

References m_SoundEvent, and m_SoundEventSent.

Referenced by CommandHandler().

◆ CheckSoundEvent()

void CheckSoundEvent ( )
inlineprotected

◆ CheckZeroSoundEvent()

void CheckZeroSoundEvent ( )
inlineprotected

Definition at line 7477 of file playerbase.c.

References m_SoundEvent, m_SoundEventParam, and m_SoundEventSent.

Referenced by CommandHandler().

◆ ClearBloodyHandsPenaltyChancePerAgent()

void ClearBloodyHandsPenaltyChancePerAgent ( eAgents type)
inlineprivate

Definition at line 6951 of file playerbase.c.

References m_BloodyHandsPenaltyChancePerAgent.

Referenced by ResetPlayer().

◆ ClearInventory()

override void ClearInventory ( )
inlineprotected

/brief Delete all items in inventory

Returns
void
PlayerBase player = g_Game.GetPlayer();
player.ClearInventory();
void PlayerBase()
Definition playerbase.c:354
DayZGame g_Game
Definition dayzgame.c:3942

Definition at line 6656 of file playerbase.c.

References GameInventory::EnumerateInventory(), g_Game, and GetItemInHands().

◆ ClearLastUAMessage()

void ClearLastUAMessage ( )
inlineprotected

Definition at line 7987 of file playerbase.c.

References m_UALastMessage, and m_UALastMessageTimer.

Referenced by EEHealthLevelChanged().

◆ CloseInventoryMenu()

◆ CloseMap()

void CloseMap ( )
inlineprotected

DEPRECATED; terminates map animation callback and re-enables controls.

Definition at line 3298 of file playerbase.c.

References CloseMapEx().

◆ CloseMapEx()

◆ CommandHandler()

override void CommandHandler ( float pDt,
int pCurrentCommandID,
bool pCurrentCommandFinished )
inlineprotected

When the player should be and is unconscious

Player can start floating while unconscious

When the player will be unconscious, or is being blocked from being unconscious

If the player is getting in/out or switching seats, delay unconsciousness until after animation has finished

Death gate - prevent unlikely occurence of death -> unconsciousness transition Fall gate - prevent unconciousness animation from playing while falling, doesn't look good Transition gate - prevent unconciousness while previous command is transitioning

TODO: rework vehicle command Knockout back to force player prone after they have exited the vehicle

When the player is waking up

Make sure the player is actually unconscious

protection for a player being broken when attempting to wake them up too early into unconsciousness

Don't set the stance if we are swimming or in a vehicle, stance change animation could play

Maybe instead error out or notify of possible desync?

Definition at line 2990 of file playerbase.c.

References ActionManagerBase(), BrokenLegForceProne(), HumanInputController::CameraIsFreeLook(), CanConsumeStamina(), CanSprint(), CheckMeleeItemDamage(), CheckSendSoundEvent(), CheckZeroSoundEvent(), CloseMapEx(), DropHeavyItem(), FreezeCheck(), g_Game, GetActionManager(), GetBrokenLegs(), UAInputAPI::GetInputByID(), GetInstanceType(), GetPlayerSoundManagerServer(), HumanCommandVehicle::GetTransport(), GetUApi(), CfgGameplayHandler::GetUse3DMap(), HumanCommandVehicle::IsGettingIn(), HumanCommandVehicle::IsGettingOut(), HumanCommandUnconscious::IsInWater(), IsMapCallbackCancelInput(), IsMapCallbackEndInput(), IsMapOpen(), HumanInputController::IsQuickBarContinuousUseEnd(), HumanInputController::IsQuickBarContinuousUseStart(), HumanInputController::IsQuickBarSingleUse(), HumanInputController::IsQuickBarSlot(), HumanCommandVehicle::IsSwitchSeat(), HumanInputController::LimitsDisableSprint(), m_AreHandsLocked, m_BrokenLegsJunctureReceived, m_BrokenLegState, m_CheckMeleeItem, m_DirectionToCursor, m_EmoteManager, m_HCAnimHandler, m_InjuryHandler, m_IsDrowning, m_IsHoldingBreath, m_MovementState, m_RGSManager, m_ShockHandler, m_StaminaHandler, m_StanceIndicator, m_UnconsciousTime, m_WeaponManager, MENU_MAP, OnCommandHandlerTick(), OnQuickBarContinuousUseEnd(), OnQuickBarContinuousUseStart(), OnQuickBarSingleUse(), OnUnconsciousStart(), OnUnconsciousStop(), OnUnconsciousUpdate(), ProcessADDModifier(), ProcessDrowning(), ProcessHoldBreath(), HumanInputController::ResetADS(), SetCheckMeleeItem(), ShockRefill(), UAInput::Supress(), UpdateDelete(), HumanCommandUnconscious::WakeUp(), and vector::Zero.

◆ Consume() [1/2]

bool Consume ( ItemBase source,
float amount,
EConsumeType consume_type )
inlineprivate

◆ Consume() [2/2]

◆ ContaminatedParticleAdjustment()

void ContaminatedParticleAdjustment ( )
inlineprotected

Definition at line 9541 of file playerbase.c.

References m_ContaminatedAroundPlayer, and m_ContaminatedAroundPlayerTiny.

Referenced by OnCommandHandlerTick().

◆ ConvertNonlethalDamage()

float ConvertNonlethalDamage ( float damage,
DamageType damageType )
inlineprotected

Definition at line 1369 of file playerbase.c.

References GameConstants::NL_DAMAGE_FIREARM_CONVERSION_PLAYERS.

Referenced by EEHitBy().

◆ CreateCopyOfItemInInventory()

◆ CreateCopyOfItemInInventoryOrGround()

ItemBase CreateCopyOfItemInInventoryOrGround ( ItemBase src)
inlineprotected

Definition at line 6566 of file playerbase.c.

References CreateCopyOfItemInInventoryOrGroundEx().

◆ CreateCopyOfItemInInventoryOrGroundEx()

ItemBase CreateCopyOfItemInInventoryOrGroundEx ( ItemBase src,
bool markItemAsSplitResult = false )
inlineprotected

◆ CreateInInventory()

EntityAI CreateInInventory ( string item_name,
string cargo_type = "",
bool full_quantity = false )
inlineprotected

/brief Creates ItemBase in players inventory.

If player dont have enough slots for new item, item will be created on the ground under player.

Parameters
item_namestring Class name of ItemBase in configs
Returns
ItemBase Created item
ItemBase item = g_Game.GetPlayer().CreateInInventory("Consumable_GardenLime", "cargo_weapon");

Definition at line 6529 of file playerbase.c.

References SpawnItemOnLocation().

◆ DamageAllLegs()

void DamageAllLegs ( float inputDmg)
inlineprotected

Definition at line 9390 of file playerbase.c.

◆ DealShock()

void DealShock ( float dmg)
inlineprotected

Definition at line 3881 of file playerbase.c.

References g_Game.

◆ DecreaseAntibioticsCount()

void DecreaseAntibioticsCount ( )
inlineprivate

Definition at line 9722 of file playerbase.c.

References RemoveMedicalDrugsInUse().

◆ DecreaseContaminatedAreaCount()

void DecreaseContaminatedAreaCount ( )
inlineprivate

Definition at line 814 of file playerbase.c.

References m_ContaminatedAreaCount, and OnContaminatedAreaExitServer().

◆ DecreaseDiseaseCount()

void DecreaseDiseaseCount ( )
inlineprotected

Definition at line 1067 of file playerbase.c.

References m_DiseaseCount.

◆ DecreaseEffectAreaCount()

void DecreaseEffectAreaCount ( )
inlineprivate

◆ DecreaseHealingsCount()

void DecreaseHealingsCount ( )
inlineprotected

Definition at line 1077 of file playerbase.c.

References m_HealingsCount.

◆ DepleteStamina()

override void DepleteStamina ( EStaminaModifiers modifier,
float dT = -1 )
inlineprivate

Definition at line 9751 of file playerbase.c.

References GetStaminaHandler().

Referenced by OnRollStart().

◆ DepleteStaminaEx()

override void DepleteStaminaEx ( EStaminaModifiers modifier,
float dT = -1,
float coef = 1.0 )
inlineprotected

Definition at line 4503 of file playerbase.c.

References GetStaminaHandler().

◆ dmgDebugPrint()

void dmgDebugPrint ( TotalDamageResult damageResult,
int damageType,
EntityAI source,
int component,
string dmgZone,
string ammo,
vector modelPos,
float speedCoef )
inlineprotected

Definition at line 9380 of file playerbase.c.

References component.

◆ DropAllItems()

void DropAllItems ( )
inlineprotected

Drops all clothes/wearables this character is carrying on themselves.

Definition at line 6683 of file playerbase.c.

References Class::CastTo().

◆ DropHeavyItem()

void DropHeavyItem ( )
inlineprotected

Definition at line 3906 of file playerbase.c.

References DropItem(), and GetItemInHands().

Referenced by CommandHandler().

◆ DropItem()

bool DropItem ( ItemBase item)
inlineprotected

◆ EEDelete()

override void EEDelete ( EntityAI parent)
inlineprotected

◆ EEHealthLevelChanged()

override void EEHealthLevelChanged ( int oldLevel,
int newLevel,
string zone )
inlineprotected

◆ EEHitBy()

◆ EEHitByRemote()

override void EEHitByRemote ( int damageType,
EntityAI source,
int component,
string dmgZone,
string ammo,
vector modelPos )
inlineprotected

◆ EEItemAttached()

◆ EEItemDetached()

◆ EEItemIntoHands()

override void EEItemIntoHands ( EntityAI item)
inlineprotected

fixes situation where raise is canceling some manipulation with heavy item(ex. TakeItemToHands), forces normal stance

Definition at line 2930 of file playerbase.c.

References Class::CastTo(), HumanCommandMove::ForceStance(), GetEmoteManager(), OnItemInHandsChanged(), and HumanCommandMove::SetMeleeBlock().

◆ EEItemOutOfHands()

override void EEItemOutOfHands ( EntityAI item)
inlineprotected

◆ EEKilled()

◆ EndFighting()

void EndFighting ( )
inlineprotected

Definition at line 5420 of file playerbase.c.

References m_IsFighting.

◆ EndSurrenderRequest()

void EndSurrenderRequest ( SurrenderData data = null)
inlineprotected

ends surrender, originally intended for surrender->restrained transitioning

Definition at line 8605 of file playerbase.c.

References m_EmoteManager.

◆ EOnFrame()

override void EOnFrame ( IEntity other,
float timeSlice )
inlineprotected

◆ EOnPostFrame()

override void EOnPostFrame ( IEntity other,
int extra )
inlineprotected

◆ FindCargoByBaseType()

EntityAI FindCargoByBaseType ( string searched_item)
inlineprotected

◆ FindQuickBarEntityIndex()

int FindQuickBarEntityIndex ( EntityAI entity)
inlineprotected

Definition at line 2203 of file playerbase.c.

References m_QuickBarBase.

Referenced by UpdateQuickBarEntityVisibility().

◆ FixAllInventoryItems()

void FixAllInventoryItems ( )
inlineprotected

Definition at line 6001 of file playerbase.c.

References GameConstants::ITEM_TEMPERATURE_NEUTRAL_ZONE_MIDDLE.

Referenced by ResetPlayer().

◆ ForceUpdateInjuredState()

void ForceUpdateInjuredState ( )
inlineprotected

update injured state immediately


Injured stat

Definition at line 8001 of file playerbase.c.

References m_InjuryHandler.

Referenced by OnCommandMoveStart().

◆ FreezeCheck()

◆ GetActionManager()

ActionManagerBase GetActionManager ( )
inlineprotected

Definition at line 1829 of file playerbase.c.

References ActionManagerBase(), and m_ActionManager.

◆ GetActions()

override void GetActions ( typename action_input_type ,
out array< ActionBase_Basic > actions )
inlineprotected

◆ GetActivePrimarySymptomID()

SymptomIDs GetActivePrimarySymptomID ( )
inlineprivate

Definition at line 753 of file playerbase.c.

References m_ActivePrimarySymptomID.

◆ GetAgents()

override int GetAgents ( )
inlineprotected

Definition at line 7751 of file playerbase.c.

References m_AgentPool.

◆ GetAimPosition()

vector GetAimPosition ( )
inlineprotected

Definition at line 7814 of file playerbase.c.

References g_Game, and DayZPhysics::RaycastRV().

◆ GetArrowManager()

override ArrowManagerBase GetArrowManager ( )
inlineprotected

Definition at line 1994 of file playerbase.c.

References m_ArrowManager.

◆ GetBleedingBits()

int GetBleedingBits ( )
inlineprotected

Definition at line 1057 of file playerbase.c.

References m_BleedingBits.

Referenced by OnVariablesSynchronized().

◆ GetBleedingManagerRemote()

BleedingSourcesManagerRemote GetBleedingManagerRemote ( )
inlineprotected

Definition at line 2777 of file playerbase.c.

References m_BleedingManagerRemote.

Referenced by OnVariablesSynchronized().

◆ GetBleedingManagerServer()

BleedingSourcesManagerServer GetBleedingManagerServer ( )
inlineprotected

◆ GetBleedingSourceCount()

int GetBleedingSourceCount ( )
inlineprotected

Definition at line 7589 of file playerbase.c.

References m_BleedingSourceCount.

Referenced by OnBleedingSourceAdded(), and OnBleedingSourceRemoved().

◆ GetBloodType()

int GetBloodType ( )
inlineprivate

Definition at line 6967 of file playerbase.c.

References m_BloodType.

◆ GetBloodyHandsPenaltyAgents()

int GetBloodyHandsPenaltyAgents ( )
inlineprivate

◆ GetBloodyHandsPenaltyChancePerAgent()

float GetBloodyHandsPenaltyChancePerAgent ( eAgents type)
inlineprivate

◆ GetBordersImmunity()

◆ GetBreathVapourLevel()

int GetBreathVapourLevel ( )
inlineprotected

Definition at line 999 of file playerbase.c.

References m_BreathVapour.

◆ GetBrokenLegs()

◆ GetCachedID()

string GetCachedID ( )
inlineprotected

Definition at line 9674 of file playerbase.c.

References m_CachedPlayerID.

◆ GetCachedName()

string GetCachedName ( )
inlineprotected

Definition at line 9669 of file playerbase.c.

References m_CachedPlayerName.

◆ GetCenter()

override vector GetCenter ( )
inlineprotected

Definition at line 9534 of file playerbase.c.

References GetBoneIndexByName().

◆ GetConstructionActionData()

ConstructionActionData GetConstructionActionData ( )
inlineprotected

Definition at line 2142 of file playerbase.c.

References m_ConstructionActionData.

◆ GetCraftingManager()

CraftingManager GetCraftingManager ( )
inlineprotected

Definition at line 1979 of file playerbase.c.

References m_CraftingManager.

Referenced by GetCraftingRecipeID(), and SetCraftingRecipeID().

◆ GetCraftingRecipeID()

int GetCraftingRecipeID ( )
inlineprotected

Definition at line 2115 of file playerbase.c.

References GetCraftingManager(), GetInstanceType(), and m_RecipeID.

◆ GetCurrentPlayerCamera()

DayZPlayerCamera GetCurrentPlayerCamera ( )
inlineprotected

Definition at line 2759 of file playerbase.c.

References DayZPlayerCamera(), and m_CurrentCamera.

◆ GetCurrentRecipe()

int GetCurrentRecipe ( )
inlineprotected

Definition at line 1811 of file playerbase.c.

References m_RecipePick.

◆ GetDamageDealtEffect()

DamageDealtEffect GetDamageDealtEffect ( )
inlineprotected

Definition at line 1124 of file playerbase.c.

References m_DamageDealtEffect.

Referenced by EOnPostFrame(), and SetDeathDarknessLevel().

◆ GetDebugActions()

override void GetDebugActions ( out TSelectableActionInfoArrayEx outputList)
inlineprotected

Definition at line 8048 of file playerbase.c.

References GetInstanceType(), GetPlugin(), name, SAT_DEBUG_ACTION, and Colors::WHITE.

◆ GetDebugMonitorValues()

DebugMonitorValues GetDebugMonitorValues ( )
inlineprotected

Definition at line 2800 of file playerbase.c.

References m_DebugMonitorValues.

◆ GetDefaultHitComponent()

override string GetDefaultHitComponent ( )
inlineprotected

returns default hit component (fallback)

Definition at line 1431 of file playerbase.c.

References GetDayZPlayerType().

◆ GetDefaultHitPosition()

override vector GetDefaultHitPosition ( )
inlineprotected

Definition at line 1436 of file playerbase.c.

References m_DefaultHitPosition.

◆ GetDrowningWaterLevelCheck()

◆ GetEmoteManager()

EmoteManager GetEmoteManager ( )
inlineprotected

Definition at line 1834 of file playerbase.c.

References EmoteManager(), and m_EmoteManager.

Referenced by EEItemIntoHands(), EEItemOutOfHands(), and HeadingModel().

◆ GetFaceCoverageShaveValues()

set< int > GetFaceCoverageShaveValues ( )
inlinestaticprotected

returns a set of face covering values

Definition at line 6871 of file playerbase.c.

Referenced by HasCoveredFaceForShave().

◆ GetFeetDamageMoveModifier()

float GetFeetDamageMoveModifier ( )
inlineprotected

Definition at line 1922 of file playerbase.c.

References m_MovementState.

Referenced by ProcessFeetDamageServer().

◆ GetFlagTendencyRaise()

bool GetFlagTendencyRaise ( )
inlineprotected

DEPRECATED.

Definition at line 5023 of file playerbase.c.

References m_FlagRaisingTendency.

◆ GetFlashbangEffect()

FlashbangEffect GetFlashbangEffect ( )
inlineprotected

Definition at line 1152 of file playerbase.c.

References m_FlashbangEffect.

Referenced by EOnPostFrame(), and SetDeathDarknessLevel().

◆ GetHealthRegenSpeed()

◆ GetHeatBufferDynamicMax()

float GetHeatBufferDynamicMax ( )
inlineprotected

Definition at line 7952 of file playerbase.c.

References m_HeatBufferDynamicMax.

◆ GetHeatBufferStage()

int GetHeatBufferStage ( )
inlineprotected

Definition at line 9691 of file playerbase.c.

References m_HeatBufferStage.

◆ GetHitComponentForAI()

override string GetHitComponentForAI ( )
inlineprotected

Melee helpers.

select & return hit component for attacking AI

Definition at line 1425 of file playerbase.c.

References GetDayZPlayerType().

◆ GetHitPPEEnabled()

bool GetHitPPEEnabled ( )
inlineprotected

Definition at line 1600 of file playerbase.c.

References m_CanDisplayHitEffectPPE.

◆ GetHologramLocal()

Hologram GetHologramLocal ( )
inlineprotected

Definition at line 2472 of file playerbase.c.

References m_HologramLocal.

◆ GetHologramServer()

Hologram GetHologramServer ( )
inlineprotected

Definition at line 2467 of file playerbase.c.

References m_HologramServer.

◆ GetImmunity()

float GetImmunity ( )
inlineprotected

returns player's immunity strength between 0..1

Definition at line 5316 of file playerbase.c.

References Math::Clamp(), GetPlayerStats(), GetStatEnergy(), GetStatWater(), PlayerConstants::SL_ENERGY_MAX, and PlayerConstants::SL_WATER_MAX.

Referenced by GetBordersImmunity(), and GetImmunityLevel().

◆ GetImmunityLevel()

◆ GetInColdArea()

bool GetInColdArea ( )
inlineprotected

Definition at line 2732 of file playerbase.c.

References m_IsInColdArea.

◆ GetItemInHands()

◆ GetItemOnHead()

ItemBase GetItemOnHead ( )
inlineprotected

Returns item on player's head. For an example, a headtorch.

Definition at line 966 of file playerbase.c.

References GetItemOnSlot().

◆ GetItemOnSlot()

ItemBase GetItemOnSlot ( string slot_type)
inlineprotected

Returns item that's on this player's attachment slot. Parameter slot_type should be a string from config parameter 'itemInfo[]' like "Legs", "Headgear" and so on.

Definition at line 949 of file playerbase.c.

References Error(), InventorySlots::GetSlotIdFromString(), and GetType().

Referenced by BrokenLegForceProne(), GetItemOnHead(), and IsWearingSplint().

◆ GetLastFirePoint()

vector GetLastFirePoint ( )
inlineprotected

Definition at line 2158 of file playerbase.c.

References m_LastFirePoint.

◆ GetLastFirePointIndex()

int GetLastFirePointIndex ( )
inlineprotected

Definition at line 2166 of file playerbase.c.

References m_LastFirePointIndex.

◆ GetLastFirePointRot()

float GetLastFirePointRot ( )
inlineprotected

Definition at line 2162 of file playerbase.c.

References m_LastFirePointRot.

◆ GetLastMapInfo()

bool GetLastMapInfo ( out float scale,
out vector pos )
inlineprotected

Definition at line 9338 of file playerbase.c.

References m_LastMapPos, and m_LastMapScale.

◆ GetLastShavedSeconds()

int GetLastShavedSeconds ( )
inlineprotected

Definition at line 6855 of file playerbase.c.

References m_LastShavedSeconds.

◆ GetLastUAMessage()

string GetLastUAMessage ( )
inlineprotected

UA Last Message.

Definition at line 7970 of file playerbase.c.

References m_UALastMessage.

◆ GetLifeSpanState()

int GetLifeSpanState ( )
inlineprotected

Definition at line 6850 of file playerbase.c.

References m_LifeSpanState.

Referenced by CanShave(), and UpdateHairSelectionVisibility().

◆ GetLiquidTendencyDrain()

bool GetLiquidTendencyDrain ( )
inlineprotected

Definition at line 5010 of file playerbase.c.

References m_LiquidTendencyDrain.

◆ GetLocalProjectionOrientation()

vector GetLocalProjectionOrientation ( )
inlineprotected

Definition at line 2718 of file playerbase.c.

References m_LocalProjectionOrientation.

Referenced by PlacingStartServer().

◆ GetLocalProjectionPosition()

vector GetLocalProjectionPosition ( )
inlineprotected

Definition at line 2713 of file playerbase.c.

References m_LocalProjectionPosition.

Referenced by PlacingStartLocal(), and PlacingStartServer().

◆ GetMagazineToReload()

◆ GetMapClosingSyncSent()

bool GetMapClosingSyncSent ( )
inlineprotected

Definition at line 3372 of file playerbase.c.

References m_MapClosingSyncSent.

Referenced by CloseMapEx().

◆ GetMapNavigationBehaviour()

MapNavigationBehaviour GetMapNavigationBehaviour ( )
inlineprotected

◆ GetMixedSoundStates()

eMixedSoundStates GetMixedSoundStates ( )
inlineprotected

Definition at line 2333 of file playerbase.c.

References m_MixedSoundStates.

◆ GetModifiersManager()

◆ GetNoisePresenceInAI()

int GetNoisePresenceInAI ( )
inlineprivate

Return actual noise presence of player.

Definition at line 7003 of file playerbase.c.

References m_PresenceNotifier.

◆ GetNotifiersManager()

NotifiersManager GetNotifiersManager ( )
inlineprotected

Definition at line 2911 of file playerbase.c.

References m_NotifiersManager, and NotifiersManager().

◆ GetNVType()

int GetNVType ( )
inlineprotected

Definition at line 9097 of file playerbase.c.

References m_ActiveNVTypes.

◆ GetNVTypesArray()

array< int > GetNVTypesArray ( )
inlineprotected

Definition at line 9109 of file playerbase.c.

References m_ActiveNVTypes.

◆ GetOnUnconsciousStart()

ScriptInvoker GetOnUnconsciousStart ( )
inlineprivate

Definition at line 692 of file playerbase.c.

References m_OnUnconsciousStart.

◆ GetOnUnconsciousStop()

ScriptInvoker GetOnUnconsciousStop ( )
inlineprivate

Definition at line 700 of file playerbase.c.

References m_OnUnconsciousStop.

◆ GetPerformedActionID()

int GetPerformedActionID ( )
inlineprivate

Definition at line 742 of file playerbase.c.

References m_PerformedAnimActionID.

◆ GetPlayerClass()

string GetPlayerClass ( )
inlineprotected

Definition at line 6701 of file playerbase.c.

References g_Game.

◆ GetPlayerLoad()

float GetPlayerLoad ( )
inlineprotected

Definition at line 5039 of file playerbase.c.

Referenced by AddPlayerLoad().

◆ GetPlayerSoundEventHandler()

PlayerSoundEventHandler GetPlayerSoundEventHandler ( )
inlineprotected

Definition at line 7525 of file playerbase.c.

References PlayerSoundEventHandler().

◆ GetPlayerSoundManagerServer()

PlayerSoundManagerServer GetPlayerSoundManagerServer ( )
inlineprotected

Definition at line 1631 of file playerbase.c.

References m_PlayerSoundManagerServer.

Referenced by CommandHandler().

◆ GetPlayerStats()

PlayerStats GetPlayerStats ( )
inlineprotected

◆ GetPulseType()

EPulseType GetPulseType ( )
inlineprotected

Definition at line 1094 of file playerbase.c.

References m_PulseType.

Referenced by OnUnconsciousUpdate().

◆ GetQuickBarBonus()

override int GetQuickBarBonus ( )
inlineprotected

Definition at line 971 of file playerbase.c.

References m_QuickBarBonus.

◆ GetQuickBarEntity()

EntityAI GetQuickBarEntity ( int index)
inlineprotected

◆ GetQuickBarSize()

int GetQuickBarSize ( )
inlineprotected

Definition at line 2215 of file playerbase.c.

References m_QuickBarBase.

◆ GetRandomGeneratorSyncManager()

RandomGeneratorSyncManager GetRandomGeneratorSyncManager ( )
inlineprotected

Definition at line 1839 of file playerbase.c.

References m_RGSManager, and RandomGeneratorSyncManager().

◆ GetShakeLevel()

int GetShakeLevel ( )
inlineprotected

Definition at line 5176 of file playerbase.c.

References m_Shakes.

◆ GetShockEffect()

ShockDealtEffect GetShockEffect ( )
inlineprotected

Definition at line 1168 of file playerbase.c.

References m_ShockDealtEffect.

Referenced by EOnPostFrame().

◆ GetSimplifiedShockNormalized()

float GetSimplifiedShockNormalized ( )
inlineprotected

Definition at line 3649 of file playerbase.c.

References m_ShockSimplified, and SIMPLIFIED_SHOCK_CAP.

Referenced by OnUnconsciousUpdate().

◆ GetSingleAgentCount()

int GetSingleAgentCount ( int agent_id)
inlineprotected

Definition at line 7776 of file playerbase.c.

References m_AgentPool.

◆ GetSingleAgentCountNormalized()

float GetSingleAgentCountNormalized ( int agent_id)
inlineprotected

Definition at line 7782 of file playerbase.c.

References m_AgentPool.

◆ GetSoftSkillsManager()

SoftSkillsManager GetSoftSkillsManager ( )
inlineprivate

Definition at line 6982 of file playerbase.c.

References m_SoftSkillsManager.

Referenced by OnRPC(), and OnSelectPlayer().

◆ GetStaminaHandler()

◆ GetStaminaState()

int GetStaminaState ( )
inlineprotected

Definition at line 7702 of file playerbase.c.

References m_StaminaState.

◆ GetStatBloodType()

PlayerStat< int > GetStatBloodType ( )
inlineprotected

Definition at line 7928 of file playerbase.c.

References m_PlayerStats, and PlayerStat().

Referenced by EEHitBy(), and ResetPlayer().

◆ GetStatBordersBlood()

◆ GetStatBordersEnergy()

◆ GetStatBordersHealth()

◆ GetStatBordersToxicity()

◆ GetStatBordersWater()

◆ GetStatDiet()

PlayerStat< float > GetStatDiet ( )
inlineprotected

Definition at line 7901 of file playerbase.c.

References m_PlayerStats, and PlayerStat().

◆ GetStatEnergy()

PlayerStat< float > GetStatEnergy ( )
inlineprotected

◆ GetStatHeatBuffer()

PlayerStat< float > GetStatHeatBuffer ( )
inlineprotected

Definition at line 7937 of file playerbase.c.

References m_PlayerStats, and PlayerStat().

Referenced by EEHitBy().

◆ GetStatHeatComfort()

PlayerStat< float > GetStatHeatComfort ( )
inlineprotected

Definition at line 7874 of file playerbase.c.

References m_PlayerStats, m_StatHeatComfort, and PlayerStat().

Referenced by EEHitBy(), and FreezeCheck().

◆ GetStatLevel()

EStatLevels GetStatLevel ( float stat_value,
float critical,
float low,
float normal,
float high )
inlineprotected

◆ GetStatLevelBlood()

◆ GetStatLevelBorders()

float GetStatLevelBorders ( float stat_value,
float critical,
float low,
float normal,
float high,
float max )
inlineprotected

◆ GetStatLevelEnergy()

◆ GetStatLevelHealth()

◆ GetStatLevelToxicity()

◆ GetStatLevelWater()

◆ GetStatSpecialty()

PlayerStat< float > GetStatSpecialty ( )
inlineprotected

Definition at line 7919 of file playerbase.c.

References m_PlayerStats, and PlayerStat().

Referenced by OnSelectPlayer().

◆ GetStatStamina()

PlayerStat< float > GetStatStamina ( )
inlineprotected

Definition at line 7910 of file playerbase.c.

References m_PlayerStats, and PlayerStat().

◆ GetStatToxicity()

PlayerStat< float > GetStatToxicity ( )
inlineprotected

Definition at line 7856 of file playerbase.c.

References m_PlayerStats, m_StatToxicity, and PlayerStat().

Referenced by GetStatBordersToxicity(), and GetStatLevelToxicity().

◆ GetStatTremor()

PlayerStat< float > GetStatTremor ( )
inlineprotected

Definition at line 7883 of file playerbase.c.

References m_PlayerStats, m_StatTremor, and PlayerStat().

◆ GetStatWater()

PlayerStat< float > GetStatWater ( )
inlineprotected

◆ GetStatWet()

PlayerStat< int > GetStatWet ( )
inlineprotected

Definition at line 7892 of file playerbase.c.

References m_PlayerStats, and PlayerStat().

◆ GetStomach()

PlayerStomach GetStomach ( )
inlineprotected

Definition at line 2985 of file playerbase.c.

References m_PlayerStomach, and PlayerStomach().

Referenced by ResetPlayer().

◆ GetStoreLoadVersion()

int GetStoreLoadVersion ( )
inlineprivate

Definition at line 7031 of file playerbase.c.

References m_StoreLoadVersion.

◆ GetSuitableFinisherHitComponents()

override array< string > GetSuitableFinisherHitComponents ( )
inlineprotected

returns list of suitable finisher hit components (defined on base entity/entity type)

Definition at line 1442 of file playerbase.c.

References GetDayZPlayerType().

◆ GetSymptomManager()

SymptomManager GetSymptomManager ( )
inlineprotected

◆ GetTemporaryResistanceToAgent()

float GetTemporaryResistanceToAgent ( int agent)
inlineprotected

Definition at line 7808 of file playerbase.c.

References m_AgentPool.

◆ GetTotalAgentCount()

float GetTotalAgentCount ( )
inlineprotected

Definition at line 7788 of file playerbase.c.

References m_AgentPool.

◆ GetTransferValues()

TransferValues GetTransferValues ( )
inlineprotected

Definition at line 2795 of file playerbase.c.

References m_TrasferValues.

◆ GetUndergroundBunkerHandler()

UndergroundBunkerHandlerClient GetUndergroundBunkerHandler ( )
inlineprivate

Definition at line 9758 of file playerbase.c.

◆ GetUndergroundHandler()

UndergroundHandlerClient GetUndergroundHandler ( )
inlineprotected

Definition at line 1637 of file playerbase.c.

References m_UndergroundHandler, and UndergroundHandlerClient().

◆ GetVirtualHud()

VirtualHud GetVirtualHud ( )
inlineprotected

Definition at line 2786 of file playerbase.c.

References m_VirtualHud, and VirtualHud().

◆ GetVisibilityCoef()

float GetVisibilityCoef ( )
inlineprotected

Definition at line 5170 of file playerbase.c.

References m_VisibilityCoef.

◆ GetVoiceType()

int GetVoiceType ( )
inlineprotected

Definition at line 1619 of file playerbase.c.

◆ GetWeaponManager()

◆ GetWeaponObstruction()

override float GetWeaponObstruction ( )
inlineprotected

Definition at line 8358 of file playerbase.c.

◆ GetWeightSpecialized()

float GetWeightSpecialized ( bool forceRecalc = false)
inlineprotected

Definition at line 5112 of file playerbase.c.

References GetItemInHands(), and WeightDebugData::SetCalcDetails().

◆ GiveShock()

void GiveShock ( float shock)
inlineprotected

Definition at line 3676 of file playerbase.c.

◆ HandleBrokenLegsSync()

void HandleBrokenLegsSync ( )
inlineprotected

Definition at line 5988 of file playerbase.c.

References BreakLegSound(), GetBrokenLegs(), m_BrokenLegState, and m_LocalBrokenState.

Referenced by OnVariablesSynchronized().

◆ HandleGlassesEffect()

void HandleGlassesEffect ( )
inlineprotected

Definition at line 9581 of file playerbase.c.

References m_ProcessAddGlassesEffects, and m_ProcessRemoveGlassesEffects.

Referenced by OnCommandHandlerTick().

◆ HandleRemoteItemManipulation()

◆ HasBloodTypeVisible()

bool HasBloodTypeVisible ( )
inlineprivate

Definition at line 6956 of file playerbase.c.

References m_HasBloodTypeVisible.

◆ HasBloodyHands()

bool HasBloodyHands ( )
inlineprotected

Definition at line 6886 of file playerbase.c.

References m_HasBloodyHandsVisible.

Referenced by GetBloodyHandsPenaltyAgents().

◆ HasBloodyHandsEx()

eBloodyHandsTypes HasBloodyHandsEx ( )
inlineprotected

Definition at line 6881 of file playerbase.c.

References m_HasBloodyHandsVisible.

◆ HasCoveredFaceForShave()

bool HasCoveredFaceForShave ( )
inlineprotected

Definition at line 6865 of file playerbase.c.

References GetFaceCoverageShaveValues().

Referenced by CanShave().

◆ HasDisease()

bool HasDisease ( )
inlineprotected

Definition at line 1088 of file playerbase.c.

References m_DiseaseCount.

◆ HasHealings()

bool HasHealings ( )
inlineprotected

Definition at line 1083 of file playerbase.c.

References m_HealingsCount.

◆ HasHeatBuffer()

bool HasHeatBuffer ( )
inlineprotected

Definition at line 9686 of file playerbase.c.

References m_HasHeatBuffer.

◆ HasStaminaRemaining()

bool HasStaminaRemaining ( )
inlineprivate

Definition at line 9738 of file playerbase.c.

References GetStaminaHandler().

◆ HeadingModel()

◆ HideClothing()

override void HideClothing ( ItemOptics optic,
bool state )
inlineprotected

◆ HideHairSelections()

◆ ImmuneSystemTick()

void ImmuneSystemTick ( float value,
float deltaT )
inlineprotected

Definition at line 7798 of file playerbase.c.

References m_AgentPool.

◆ IncreaseAntibioticsCount()

void IncreaseAntibioticsCount ( )
inlineprivate

Definition at line 9717 of file playerbase.c.

References AddMedicalDrugsInUse().

◆ IncreaseContaminatedAreaCount()

void IncreaseContaminatedAreaCount ( )
inlineprivate

Definition at line 807 of file playerbase.c.

References m_ContaminatedAreaCount, and OnContaminatedAreaEnterServer().

◆ IncreaseDiseaseCount()

void IncreaseDiseaseCount ( )
inlineprotected

Definition at line 1062 of file playerbase.c.

References m_DiseaseCount.

◆ IncreaseEffectAreaCount()

void IncreaseEffectAreaCount ( )
inlineprivate

◆ IncreaseHealingsCount()

void IncreaseHealingsCount ( )
inlineprotected

Definition at line 1072 of file playerbase.c.

References m_HealingsCount.

◆ Init()

void Init ( )
inlineprivate

sets default hit position and cache it here (mainly for impact particles)

Definition at line 359 of file playerbase.c.

References ClientData::AddPlayerBase(), BREATH_VAPOUR_LEVEL_MAX, CALL_CATEGORY_SYSTEM, PlayerConstants::CORPSE_STATE_DECAYED, EmoteManager(), Environment(), g_Game, GetDayZGame(), GetDayZPlayerType(), GetDefaultHitPositionComponent(), EnumTools::GetEnumSize(), GetPlugin(), GetVirtualHud(), InjuryAnimationHandler(), m_ActionManager, m_ActionQBControl, m_ActionsInitialize, m_ActiveNVTypes, m_AdminLog, m_AgentPool, m_AnalyticsTimer, m_AnimCommandStarting, m_AreHandsLocked, m_ArrowManager, m_BleedingManagerRemote, m_BleedingManagerServer, m_BleedingSourcesLow, m_BleedingSourcesUp, m_BloodType, m_BloodyHandsPenaltyChancePerAgent, m_CanDisplayHitEffectPPE, m_CargoLoad, m_ConfigDebugProfile, m_ConfigEmotesProfile, m_CorpseState, m_CorpseStateLocal, m_DeathDarkeningParam, m_DebugMonitorValues, m_DecayedTexture, m_DefaultHitPosition, m_EmoteManager, m_EmptyGloves, m_Environment, m_FlagRaisingTendency, m_FliesIndex, m_HasBloodTypeVisible, m_HasBloodyHandsVisible, m_HCAnimHandler, m_HeadingRestrictData, m_HideHairAnimated, m_Hud, m_InjuryHandler, m_InventoryActionHandler, m_IsCraftingReady, m_ItemsToDelete, m_LastShavedSeconds, m_LifespanLevelLocal, m_LifeSpanState, m_LiquidTendencyDrain, m_LoweredNVGHeadset, m_MapNavigationBehaviour, m_MedicalDrugsActive, m_MeleeDebug, m_ModifiersManager, m_ModuleLifespan, m_ModulePlayerStatus, m_ModuleRecipesManager, m_NotifiersManager, m_OriginalSlidePoseAngle, m_PlayerLoaded, m_PlayerSoundManagerClient, m_PlayerSoundManagerServer, m_PlayerStats, m_PlayerStomach, m_ProcessAddEffectWidgets, m_ProcessAddGlassesEffects, m_ProcessRemoveEffectWidgets, m_ProcessRemoveGlassesEffects, m_ProcessUIWarning, m_QuickBarBase, m_QuickBarBonus, m_QuickBarHold, m_RecipePick, m_Recipes, m_RGSManager, m_ShockHandler, m_SoftSkillsManager, m_StaminaHandler, m_StanceIndicator, m_StoreLoadVersion, m_SymptomManager, m_TrasferValues, m_UALastMessage, m_UALastMessageTimer, m_UAParam, m_UAParamMessage, m_UAProgressParam, m_UnconParam, m_VirtualHud, m_VisibilityCoef, m_WeaponManager, m_WorkingNVGHeadset, MapNavigationBehaviour(), Math::Max(), ModifiersManager(), NotifiersManager(), HeatBufferMdfr::NUMBER_OF_STAGES, OnPlayerLoaded(), PlayerBase(), PlayerSoundManagerClient(), PlayerStats(), PlayerStomach(), PluginLifespan(), QuickBarBase(), RandomGeneratorSyncManager(), SetDefaultHitPosition(), SHAKE_LEVEL_MAX, and SIMPLIFIED_SHOCK_CAP.

◆ InitEditor()

void InitEditor ( )
inlineprotected

Definition at line 2375 of file playerbase.c.

References g_Game, and GetPlugin().

Referenced by OnPlayerLoaded().

◆ InitializeActions()

void InitializeActions ( )
inlineprotected

◆ InsertAgent()

override void InsertAgent ( int agent,
float count = 1 )
inlineprotected

Definition at line 7770 of file playerbase.c.

References m_AgentPool.

◆ IsAlreadyInFallingCommand()

override bool IsAlreadyInFallingCommand ( int pCurrentCommandID)
inlineprotected

Don't switch to falling command if unconscious Don't switch to falling command if being damaged

Definition at line 3489 of file playerbase.c.

◆ IsAntibioticsActive()

bool IsAntibioticsActive ( )
inlineprivate

Definition at line 725 of file playerbase.c.

References m_MedicalDrugsActive.

◆ IsBleeding()

bool IsBleeding ( )
inlineprotected

Definition at line 1035 of file playerbase.c.

References m_BleedingBits.

◆ IsChelationActive()

bool IsChelationActive ( )
inlineprivate

Definition at line 720 of file playerbase.c.

References m_MedicalDrugsActive.

◆ IsClimbing()

bool IsClimbing ( )
inlineprotected

◆ IsCurrentCameraAimedAtGround()

bool IsCurrentCameraAimedAtGround ( )
inlineprotected

Definition at line 2764 of file playerbase.c.

References PlayerConstants::CAMERA_THRESHOLD_PITCH, and m_CurrentCamera.

◆ IsEmotePlaying()

bool IsEmotePlaying ( )
inlineprotected

Definition at line 5391 of file playerbase.c.

References m_EmoteManager.

Referenced by OnQuickBarSingleUse().

◆ IsFacingTarget()

bool IsFacingTarget ( Object target)
inlineprotected

Definition at line 4633 of file playerbase.c.

References Math::AbsFloat(), GetPosition(), and vector::Normalize().

◆ IsFalling()

bool IsFalling ( )
inlineprotected

Definition at line 5382 of file playerbase.c.

References m_MovementState.

◆ IsFighting()

override bool IsFighting ( )
inlineprotected

Definition at line 5386 of file playerbase.c.

References m_IsFighting.

◆ IsHoldingBreath()

override bool IsHoldingBreath ( )
inlineprotected

Definition at line 2318 of file playerbase.c.

References m_IsHoldingBreath.

◆ IsIgnoredByConstruction()

override bool IsIgnoredByConstruction ( )
inlineprotected

Definition at line 5396 of file playerbase.c.

◆ IsInEffectArea()

bool IsInEffectArea ( EEffectAreaType area)
inlineprivate

Definition at line 871 of file playerbase.c.

References m_InEffectAreaType.

Referenced by OnUpdateEffectAreaServer().

◆ IsInFBEmoteState()

override bool IsInFBEmoteState ( )
inlineprotected

◆ IsInProne()

bool IsInProne ( )
inlineprotected

Definition at line 5357 of file playerbase.c.

References m_MovementState.

◆ IsInRasedProne()

bool IsInRasedProne ( )
inlineprotected

Definition at line 5362 of file playerbase.c.

References m_MovementState.

◆ IsInventorySoftLocked()

override bool IsInventorySoftLocked ( )
inlineprotected

Definition at line 8328 of file playerbase.c.

References m_InventorySoftLockCount.

Referenced by SetInventorySoftLock().

◆ IsInventoryVisible()

override bool IsInventoryVisible ( )
inlineprotected

Definition at line 2069 of file playerbase.c.

◆ IsInWater()

bool IsInWater ( )
inlineprotected

Definition at line 2746 of file playerbase.c.

References m_IsInWater.

◆ IsItemInInventory()

bool IsItemInInventory ( EntityAI entity)
inlineprotected

Definition at line 5066 of file playerbase.c.

◆ IsItemsToDelete()

bool IsItemsToDelete ( )
inlineprotected

Definition at line 8213 of file playerbase.c.

References m_ItemsToDelete.

Referenced by OnQuickBarSingleUse().

◆ IsJumpInProgress()

bool IsJumpInProgress ( )
inlineprotected

Definition at line 4578 of file playerbase.c.

◆ IsLanded()

override bool IsLanded ( int pCurrentCommandID)
inlineprotected

Handle fall damage for unconscious

No fall damage for players currently being damaged, animation is temporary

Definition at line 3456 of file playerbase.c.

◆ IsLeaning()

bool IsLeaning ( )
inlineprotected

Definition at line 5367 of file playerbase.c.

References m_MovementState.

◆ IsLiftWeapon()

override bool IsLiftWeapon ( )
inlineprotected

Definition at line 8353 of file playerbase.c.

◆ IsMale()

bool IsMale ( )
inlineprotected

Definition at line 1610 of file playerbase.c.

Referenced by UpdateHairSelectionVisibility().

◆ IsManagingArrows()

override bool IsManagingArrows ( )
inlineprotected

Definition at line 9664 of file playerbase.c.

◆ IsMapCallbackCancelInput()

bool IsMapCallbackCancelInput ( )
inlineprotected

Definition at line 3377 of file playerbase.c.

Referenced by CommandHandler().

◆ IsMapCallbackEndInput()

bool IsMapCallbackEndInput ( )
inlineprotected

Definition at line 3387 of file playerbase.c.

References GetUApi().

Referenced by CommandHandler().

◆ IsMapOpen()

bool IsMapOpen ( )
inlineprotected

Definition at line 3362 of file playerbase.c.

References m_MapOpen.

Referenced by CanBeRestrained(), and CommandHandler().

◆ IsNVGLowered()

bool IsNVGLowered ( )
inlineprotected

Definition at line 9092 of file playerbase.c.

References m_LoweredNVGHeadset.

◆ IsNVGWorking()

bool IsNVGWorking ( )
inlineprotected

Definition at line 9087 of file playerbase.c.

References m_ActiveNVTypes.

◆ IsOverloaded()

bool IsOverloaded ( )
inlineprotected

Definition at line 5044 of file playerbase.c.

References OVERLOAD_LIMIT.

◆ IsPersistentFlag()

bool IsPersistentFlag ( PersistentFlag bit)
inlineprivate

Definition at line 7014 of file playerbase.c.

References m_PersistentFlags.

◆ IsPlacingLocal()

bool IsPlacingLocal ( )
inlineprotected

Definition at line 2557 of file playerbase.c.

References m_HologramLocal.

Referenced by EEItemOutOfHands(), and TogglePlacingLocal().

◆ IsPlacingServer()

bool IsPlacingServer ( )
inlineprotected

Definition at line 2552 of file playerbase.c.

References m_HologramServer.

Referenced by PlacingCancelServer().

◆ IsPlayer()

override bool IsPlayer ( )
inlineprotected

Definition at line 1030 of file playerbase.c.

◆ IsPlayerDisconnected()

bool IsPlayerDisconnected ( )
inlineprotected

Definition at line 2457 of file playerbase.c.

References m_PlayerDisconnectProcessed.

◆ IsPlayerLoaded()

bool IsPlayerLoaded ( )
inlineprotected

Definition at line 8619 of file playerbase.c.

References m_PlayerLoaded.

Referenced by OnVariablesSynchronized().

◆ IsQBControl()

bool IsQBControl ( )
inlineprotected

Definition at line 4822 of file playerbase.c.

References m_ActionQBControl.

◆ IsQuickFishing()

bool IsQuickFishing ( )
inlineprotected

Definition at line 1969 of file playerbase.c.

References m_AllowQuickFishing.

◆ IsQuickRestrain()

bool IsQuickRestrain ( )
inlineprotected

Definition at line 1964 of file playerbase.c.

References m_AllowQuickRestrain.

◆ IsRefresherSignalingViable()

override bool IsRefresherSignalingViable ( )
inlineprotected

Definition at line 2323 of file playerbase.c.

◆ IsRestrained()

◆ IsRestrainPrelocked()

bool IsRestrainPrelocked ( )
inlineprotected

◆ IsRestrainStarted()

bool IsRestrainStarted ( )
inlineprotected

Definition at line 2018 of file playerbase.c.

References m_IsRestrainStarted.

Referenced by CanManipulateInventory().

◆ IsRolling()

bool IsRolling ( )
inlineprotected

Definition at line 5372 of file playerbase.c.

Referenced by CanChangeStance().

◆ IsSelfAdjustingTemperature()

override bool IsSelfAdjustingTemperature ( )
inlineprotected

Definition at line 2328 of file playerbase.c.

◆ IsSprinting()

bool IsSprinting ( )
inlineprotected

Definition at line 5334 of file playerbase.c.

References m_MovementState.

◆ IsStance()

bool IsStance ( int stance,
int stanceMask )
inlineprotected

Definition at line 4156 of file playerbase.c.

Referenced by OnStanceChange().

◆ IsSurrendered()

bool IsSurrendered ( )
inlineprotected

Definition at line 8611 of file playerbase.c.

References m_EmoteManager.

Referenced by OnUnconsciousStart().

◆ IsSwapBetweenHandsAndGroundLargeItem()

bool IsSwapBetweenHandsAndGroundLargeItem ( notnull EntityAI item1,
notnull EntityAI item2,
out EntityAI item_hands,
out EntityAI item_ground )
inlineprotected

Definition at line 8897 of file playerbase.c.

References InventoryLocation::GetType().

Referenced by PredictiveSwapEntities().

◆ IsSyncedModifierActive()

bool IsSyncedModifierActive ( eModifierSyncIDs modifier)
inlineprotected

Checks whether modifier (which has syncing enabled) is currently active, works on both Client and Server.

Definition at line 5983 of file playerbase.c.

References m_SyncedModifiers, and m_SyncedModifiersPrev.

◆ IsTargetInActiveRefresherRange()

bool IsTargetInActiveRefresherRange ( EntityAI target)
inlineprotected

Definition at line 4583 of file playerbase.c.

References vector::Distance(), g_Game, and GameConstants::REFRESHER_RADIUS.

◆ IsUnconscious()

override bool IsUnconscious ( )
inlineprotected

Definition at line 3654 of file playerbase.c.

References m_MovementState.

Referenced by CanBeTargetedByAI(), EEHitBy(), GetDrowningWaterLevelCheck(), and ResetPlayer().

◆ IsUnconsciousStateOnly()

override bool IsUnconsciousStateOnly ( )
inlineprotected

Definition at line 3659 of file playerbase.c.

◆ IsWeaponObstructionBlockingADS()

override bool IsWeaponObstructionBlockingADS ( )
inlineprotected

Definition at line 8363 of file playerbase.c.

References GetItemInHands(), and GetWeaponObstruction().

◆ IsWearingSplint()

bool IsWearingSplint ( )
inlineprotected

Definition at line 3913 of file playerbase.c.

References Class::CastTo(), and GetItemOnSlot().

◆ JunctureDeleteItem()

override void JunctureDeleteItem ( EntityAI item)
inlineprotected

Definition at line 8239 of file playerbase.c.

References DayZPlayerSyncJunctures::SendDeleteItem().

◆ KillUndergroundHandler()

void KillUndergroundHandler ( )
inlineprotected

Definition at line 1647 of file playerbase.c.

References m_UndergroundBunkerHandler, and m_UndergroundHandler.

◆ LockHandsUntilItemHeld()

void LockHandsUntilItemHeld ( )
inlineprotected

Definition at line 2523 of file playerbase.c.

References m_AreHandsLocked.

◆ MapNavigationItemInPossession()

void MapNavigationItemInPossession ( EntityAI item)
inlineprotected

Definition at line 3402 of file playerbase.c.

References GetMapNavigationBehaviour().

◆ MapNavigationItemNotInPossession()

void MapNavigationItemNotInPossession ( EntityAI item)
inlineprotected

Definition at line 3410 of file playerbase.c.

References GetMapNavigationBehaviour().

◆ Message()

void Message ( string text,
string style )
inlineprotected

colorStatusChannel colorAction colorFriendly colorImportant

Definition at line 6594 of file playerbase.c.

References g_Game, and GetInstanceType().

Referenced by MessageAction(), MessageFriendly(), MessageImportant(), and MessageStatus().

◆ MessageAction()

void MessageAction ( string text)
inlineprotected

Definition at line 6613 of file playerbase.c.

References Message().

Referenced by OnRPC().

◆ MessageFriendly()

void MessageFriendly ( string text)
inlineprotected

Definition at line 6619 of file playerbase.c.

References Message().

◆ MessageImportant()

void MessageImportant ( string text)
inlineprotected

Definition at line 6625 of file playerbase.c.

References Message().

◆ MessageStatus()

void MessageStatus ( string text)
inlineprotected

Definition at line 6607 of file playerbase.c.

References Message().

◆ MovingShock()

void MovingShock ( float legHealth,
float highShock,
float midShock,
float lowShock )
inlineprotected

◆ NeedInventoryJunctureFromServer()

override bool NeedInventoryJunctureFromServer ( notnull EntityAI item,
EntityAI currParent,
EntityAI newParent )
inlineprotected

◆ OnAction()

override bool OnAction ( int action_id,
Man player,
ParamsReadContext ctx )
inlineprotected

◆ OnBleedingBegin()

void OnBleedingBegin ( )
protected

Referenced by SetBleedingBits().

◆ OnBleedingEnd()

void OnBleedingEnd ( )
protected

Referenced by SetBleedingBits().

◆ OnBleedingSourceAdded()

void OnBleedingSourceAdded ( )
inlineprotected

◆ OnBleedingSourceRemoved()

◆ OnBleedingSourceRemovedEx()

void OnBleedingSourceRemovedEx ( ItemBase item)
inlineprotected

Definition at line 7584 of file playerbase.c.

References OnBleedingSourceRemoved().

◆ OnCameraChanged()

void OnCameraChanged ( DayZPlayerCameraBase new_camera)
inlineprotected

Definition at line 2753 of file playerbase.c.

References m_CameraSwayModifier, and m_CurrentCamera.

◆ OnCommandClimbFinish()

override void OnCommandClimbFinish ( )
inlineprotected

Definition at line 4043 of file playerbase.c.

References GetWeaponManager(), and GameInventory::UnlockInventory().

◆ OnCommandClimbStart()

override void OnCommandClimbStart ( )
inlineprotected

◆ OnCommandDeathStart()

override void OnCommandDeathStart ( )
inlineprotected

◆ OnCommandFallFinish()

override void OnCommandFallFinish ( )
inlineprotected

Definition at line 4016 of file playerbase.c.

References GetWeaponManager(), and GameInventory::UnlockInventory().

◆ OnCommandFallStart()

override void OnCommandFallStart ( )
inlineprotected

◆ OnCommandHandlerTick()

◆ OnCommandLadderFinish()

override void OnCommandLadderFinish ( )
inlineprotected

Definition at line 3990 of file playerbase.c.

References g_Game, TryHideItemInHands(), and GameInventory::UnlockInventory().

◆ OnCommandLadderStart()

override void OnCommandLadderStart ( )
inlineprotected

◆ OnCommandMelee2Finish()

override void OnCommandMelee2Finish ( )
inlineprotected

Definition at line 4107 of file playerbase.c.

References GetWeaponManager(), and RunFightBlendTimer().

◆ OnCommandMelee2Start()

override void OnCommandMelee2Start ( )
inlineprotected

◆ OnCommandMoveStart()

override void OnCommandMoveStart ( )
inlineprotected

Definition at line 4220 of file playerbase.c.

References ForceUpdateInjuredState(), g_Game, IsPlayerInStance(), and m_InjuryHandler.

◆ OnCommandSwimFinish()

override void OnCommandSwimFinish ( )
inlineprotected

◆ OnCommandSwimStart()

◆ OnCommandVehicleFinish()

override void OnCommandVehicleFinish ( )
inlineprotected

Definition at line 4085 of file playerbase.c.

References g_Game, TryHideItemInHands(), and GameInventory::UnlockInventory().

◆ OnCommandVehicleStart()

override void OnCommandVehicleStart ( )
inlineprotected

◆ OnConnect()

void OnConnect ( )
inlineprivate

◆ OnContaminatedAreaEnterServer()

void OnContaminatedAreaEnterServer ( )
inlineprotected

Definition at line 915 of file playerbase.c.

References GetModifiersManager().

Referenced by IncreaseContaminatedAreaCount().

◆ OnContaminatedAreaExitServer()

void OnContaminatedAreaExitServer ( )
inlineprotected

Definition at line 921 of file playerbase.c.

References GetModifiersManager().

Referenced by DecreaseContaminatedAreaCount().

◆ OnDisconnect()

◆ OnDrowningEnd()

void OnDrowningEnd ( )
inlineprotected

Definition at line 2588 of file playerbase.c.

References CALL_CATEGORY_SYSTEM, g_Game, and SpawnDrowningBubbles().

Referenced by SetDrowning().

◆ OnDrowningStart()

void OnDrowningStart ( )
inlineprotected

Definition at line 2575 of file playerbase.c.

References SpawnDrowningBubbles().

Referenced by SetDrowning().

◆ OnFreezeStateChangeClient()

override void OnFreezeStateChangeClient ( )
inlineprotected

Definition at line 9679 of file playerbase.c.

References UpdateCorpseState().

◆ OnGameplayDataHandlerSync()

override void OnGameplayDataHandlerSync ( )
inlineprotected

◆ OnHoldBreathEnd()

void OnHoldBreathEnd ( )
inlineprotected

Definition at line 2312 of file playerbase.c.

References RequestSoundEventEx().

Referenced by ProcessHoldBreath().

◆ OnHoldBreathExhausted()

void OnHoldBreathExhausted ( )
inlineprotected

Definition at line 2307 of file playerbase.c.

References RequestSoundEventEx().

◆ OnHoldBreathStart()

void OnHoldBreathStart ( )
inlineprotected

Definition at line 2301 of file playerbase.c.

References RequestSoundEventEx().

Referenced by ProcessHoldBreath().

◆ OnInputUserDataProcess()

◆ OnInventoryMenuClose()

void OnInventoryMenuClose ( )
protected

◆ OnInventoryMenuOpen()

void OnInventoryMenuOpen ( )
protected

◆ OnJumpEnd()

override void OnJumpEnd ( int pLandType = 0)
inlineprotected

Definition at line 4136 of file playerbase.c.

References GetWeaponManager(), HumanCommandFall(), and m_PresenceNotifier.

◆ OnJumpOutVehicleFinish()

void OnJumpOutVehicleFinish ( float carSpeed)
inlineprotected

Definition at line 4259 of file playerbase.c.

References g_Game.

◆ OnJumpStart()

override void OnJumpStart ( )
inlineprotected

◆ OnLadder()

override void OnLadder ( float delta_time,
HumanMovementState pState )
inlineprotected

called every command handler tick when player is on ladder

Definition at line 1845 of file playerbase.c.

References ProcessHandDamage().

◆ OnLand()

override bool OnLand ( int pCurrentCommandID,
FallDamageData fallDamageData )
inlineprotected

Nothing happens for unconscious Nothing happens for being damaged

Definition at line 3476 of file playerbase.c.

◆ OnParticleEvent()

override void OnParticleEvent ( string pEventType,
string pUserString,
int pUserInt )
inlineprotected

◆ OnPlayerIsNowInsideEffectAreaBeginClient()

void OnPlayerIsNowInsideEffectAreaBeginClient ( )
inlineprotected

Definition at line 937 of file playerbase.c.

Referenced by OnVariablesSynchronized().

◆ OnPlayerIsNowInsideEffectAreaBeginServer()

void OnPlayerIsNowInsideEffectAreaBeginServer ( )
inlineprotected

Definition at line 927 of file playerbase.c.

Referenced by IncreaseEffectAreaCount().

◆ OnPlayerIsNowInsideEffectAreaEndClient()

void OnPlayerIsNowInsideEffectAreaEndClient ( )
inlineprotected

Definition at line 942 of file playerbase.c.

References RemoveCurrentEffectTrigger().

Referenced by OnVariablesSynchronized().

◆ OnPlayerIsNowInsideEffectAreaEndServer()

void OnPlayerIsNowInsideEffectAreaEndServer ( )
inlineprotected

Definition at line 932 of file playerbase.c.

Referenced by DecreaseEffectAreaCount().

◆ OnPlayerLoaded()

◆ OnPlayerReceiveFlashbangHitEnd()

void OnPlayerReceiveFlashbangHitEnd ( )
inlineprotected

Definition at line 1418 of file playerbase.c.

◆ OnPlayerReceiveFlashbangHitStart()

void OnPlayerReceiveFlashbangHitStart ( bool visual)
inlineprotected

Definition at line 1413 of file playerbase.c.

References SpawnFlashbangEffect().

◆ OnPlayerRecievedHit()

◆ OnQuickBarContinuousUseEnd()

◆ OnQuickBarContinuousUseStart()

◆ OnQuickbarSetEntityRequest()

void OnQuickbarSetEntityRequest ( ParamsReadContext ctx)
inlineprotected

Definition at line 2237 of file playerbase.c.

References m_QuickBarBase.

Referenced by OnSyncJuncture().

◆ OnQuickBarSingleUse()

◆ OnReceivedHit()

override void OnReceivedHit ( ImpactEffectsData hitData)
inlineprotected

Call only on client or single player PlayerBase (as g_Game.GetPlayer()).

Definition at line 1380 of file playerbase.c.

References GetCurrentCamera(), GetInstanceType(), Math::InverseLerp(), and OnPlayerRecievedHit().

◆ OnReconnect()

void OnReconnect ( )
inlineprivate

Definition at line 7313 of file playerbase.c.

References Debug::Log(), ResetConstructionActionData(), and ToString().

◆ OnRestrainChangeClient()

void OnRestrainChangeClient ( )
inlineprotected

◆ OnRestrainStart()

void OnRestrainStart ( )
inlineprotected

Definition at line 3682 of file playerbase.c.

References CloseInventoryMenu(), and g_Game.

◆ OnRestrainStartedChangeClient()

void OnRestrainStartedChangeClient ( )
inlineprotected

◆ OnRollFinish()

override void OnRollFinish ( )
inlineprotected

Definition at line 4255 of file playerbase.c.

◆ OnRollStart()

override void OnRollStart ( bool isToTheRight)
inlineprotected

◆ OnRPC()

◆ OnScheduledTick()

void OnScheduledTick ( float deltaTime)
inlineprotected

◆ OnSelectPlayer()

◆ OnSpawnedFromConsole()

void OnSpawnedFromConsole ( )
inlineprotected

Definition at line 4991 of file playerbase.c.

References g_Game, GetInstanceType(), and OnSelectPlayer().

◆ OnStanceChange()

override void OnStanceChange ( int previousStance,
int newStance )
inlineprotected

◆ OnStoreLoad()

◆ OnStoreLoadLifespan()

bool OnStoreLoadLifespan ( ParamsReadContext ctx,
int version )
inlineprivate

◆ OnStoreSave()

◆ OnStoreSaveLifespan()

void OnStoreSaveLifespan ( ParamsWriteContext ctx)
inlineprivate

◆ OnSyncJuncture()

override void OnSyncJuncture ( int pJunctureID,
ParamsReadContext pCtx )
inlineprotected

SyncJunctures.

Definition at line 8128 of file playerbase.c.

References GetSymptomManager(), m_ActionManager, m_BrokenLegsJunctureReceived, m_BrokenLegState, m_CurrentShock, m_EmoteManager, m_InjuryHandler, m_StaminaHandler, m_WeaponManager, OnQuickbarSetEntityRequest(), DayZPlayerSyncJunctures::ReadBrokenLegsParamsEx(), DayZPlayerSyncJunctures::ReadInjuryParams(), DayZPlayerSyncJunctures::ReadKuruRequest(), DayZPlayerSyncJunctures::ReadPlayerUnconsciousnessParams(), DayZPlayerSyncJunctures::ReadShockParams(), SetLiftWeapon(), SetToDelete(), DayZPlayerSyncJunctures::SJ_ACTION_ACK_ACCEPT, DayZPlayerSyncJunctures::SJ_ACTION_ACK_REJECT, DayZPlayerSyncJunctures::SJ_ACTION_INTERRUPT, DayZPlayerSyncJunctures::SJ_ADS_RESET, DayZPlayerSyncJunctures::SJ_BROKEN_LEGS, DayZPlayerSyncJunctures::SJ_DELETE_ITEM, DayZPlayerSyncJunctures::SJ_GESTURE_REQUEST, DayZPlayerSyncJunctures::SJ_INJURY, DayZPlayerSyncJunctures::SJ_INVENTORY, DayZPlayerSyncJunctures::SJ_INVENTORY_FAILURE, DayZPlayerSyncJunctures::SJ_KURU_REQUEST, DayZPlayerSyncJunctures::SJ_PLAYER_ADD_MODIFIER, DayZPlayerSyncJunctures::SJ_PLAYER_STATES, DayZPlayerSyncJunctures::SJ_QUICKBAR_SET_SHORTCUT, DayZPlayerSyncJunctures::SJ_SHOCK, DayZPlayerSyncJunctures::SJ_STAMINA, DayZPlayerSyncJunctures::SJ_STAMINA_MISC, DayZPlayerSyncJunctures::SJ_UNCONSCIOUSNESS, DayZPlayerSyncJunctures::SJ_WEAPON_ACTION_ACK_ACCEPT, DayZPlayerSyncJunctures::SJ_WEAPON_ACTION_ACK_REJECT, DayZPlayerSyncJunctures::SJ_WEAPON_LIFT, and DayZPlayerSyncJunctures::SJ_WEAPON_SET_JAMMING_CHANCE.

◆ OnThrowingModeChange()

override void OnThrowingModeChange ( bool change_to_enabled)
inlineprotected

Definition at line 4306 of file playerbase.c.

References PlacingCancelLocal(), and PlacingCancelServer().

◆ OnTick()

void OnTick ( )
inlineprotected

Definition at line 2917 of file playerbase.c.

References g_Game, m_LastTick, and OnScheduledTick().

◆ OnUnconsciousStart()

◆ OnUnconsciousStop()

◆ OnUnconsciousUpdate()

◆ OnUpdateEffectAreaServer()

◆ OnVariablesSynchronized()

◆ OnVehicleSeatDriverEnter()

override void OnVehicleSeatDriverEnter ( )
inlineprotected

Definition at line 4270 of file playerbase.c.

References GetParent(), m_Hud, and m_IsVehicleSeatDriver.

◆ OnVehicleSeatDriverLeft()

override void OnVehicleSeatDriverLeft ( )
inlineprotected

Definition at line 4288 of file playerbase.c.

References m_Hud, and m_IsVehicleSeatDriver.

◆ OnVehicleSwitchSeat()

void OnVehicleSwitchSeat ( int seatIndex)
inlineprotected

Definition at line 4266 of file playerbase.c.

◆ OnVoiceEvent()

void OnVoiceEvent ( PlayerSoundEventBase voice_event)
inlineprotected

Definition at line 6224 of file playerbase.c.

References m_EffectWidgets, and UpdateMaskBreathWidget().

◆ OnVoiceEventPlayback()

void OnVoiceEventPlayback ( PlayerSoundEventBase voice_event,
AbstractWave callback,
float playback_time )
inlineprotected

called every cmd handler tick during a playback of PlayerSoundEvent, m_ProcessPlaybackEvent needs to be enabled on the PlayerSoundEvent

Definition at line 6239 of file playerbase.c.

References AbstractWave(), m_EffectWidgets, and UpdateMaskBreathWidget().

◆ PhysicalPredictiveDropItem()

override bool PhysicalPredictiveDropItem ( EntityAI entity,
bool heavy_item_only = true )
inlineprotected

◆ PlacingCancelLocal()

void PlacingCancelLocal ( )
inlineprotected

Definition at line 2528 of file playerbase.c.

References m_HologramLocal.

Referenced by OnThrowingModeChange(), and TogglePlacingLocal().

◆ PlacingCancelServer()

void PlacingCancelServer ( )
inlineprotected

Definition at line 2502 of file playerbase.c.

References IsPlacingServer(), and m_HologramServer.

Referenced by OnThrowingModeChange(), and TogglePlacingServer().

◆ PlacingCompleteLocal()

void PlacingCompleteLocal ( )
inlineprotected

Definition at line 2546 of file playerbase.c.

References m_HologramLocal, SetLocalProjectionPosition(), and vector::Zero.

◆ PlacingCompleteServer()

void PlacingCompleteServer ( )
inlineprotected

Definition at line 2540 of file playerbase.c.

References m_HologramServer, SetLocalProjectionPosition(), and vector::Zero.

◆ PlacingStartLocal()

void PlacingStartLocal ( ItemBase item)
inlineprotected

Definition at line 2490 of file playerbase.c.

References g_Game, GetLocalProjectionPosition(), and m_HologramLocal.

Referenced by TogglePlacingLocal().

◆ PlacingStartServer()

void PlacingStartServer ( ItemBase item)
inlineprotected

◆ PlayAttachmentDropSound()

void PlayAttachmentDropSound ( )
inlineprotected

Definition at line 5442 of file playerbase.c.

Referenced by CheckMeleeItemDamage().

◆ PlayerBase()

void PlayerBase ( )
inlineprivate

Definition at line 354 of file playerbase.c.

References Init().

Referenced by Init(), OnParticleEvent(), and SpawnFlashbangEffect().

◆ PlaySound()

override SoundOnVehicle PlaySound ( string sound_name,
float range,
bool create_local = false )
inlineprotected

Definition at line 5034 of file playerbase.c.

References BetaSound::SaySound().

◆ PlaySoundEvent()

override bool PlaySoundEvent ( EPlayerSoundEventID id,
bool from_anim_system = false,
bool is_from_server = false )
inlineprotected

Definition at line 7504 of file playerbase.c.

References PlaySoundEventEx().

◆ PlaySoundEventEx()

override bool PlaySoundEventEx ( EPlayerSoundEventID id,
bool from_anim_system = false,
bool is_from_server = false,
int param = 0 )
inlineprotected

Definition at line 7509 of file playerbase.c.

Referenced by CheckSoundEvent(), PlaySoundEvent(), and RequestSoundEventEx().

◆ PlaySoundEventType()

override bool PlaySoundEventType ( ESoundEventType soundType,
int soundEventID,
int param = 0 )
inlineprotected

Definition at line 7496 of file playerbase.c.

◆ PredictiveDropEntity()

override bool PredictiveDropEntity ( notnull EntityAI item)
inlineprotected

We don't care if a valid transform couldn't be found, we just want to preferably use it instead of placing on the player

Definition at line 8756 of file playerbase.c.

References CanRedirectToWeaponManager(), GetWeaponManager(), GameConstants::INVENTORY_ENTITY_DROP_OVERLAP_DEPTH, Math3D::MatrixIdentity4(), GameInventory::PrepareDropEntityPos(), and InventoryLocation::SetGround().

Referenced by CheckMeleeItemDamage(), DropItem(), and PhysicalPredictiveDropItem().

◆ PredictiveForceSwapEntities()

override bool PredictiveForceSwapEntities ( notnull EntityAI item1,
notnull EntityAI item2,
notnull InventoryLocation item2_dst )
inlineprotected

◆ PredictiveSwapEntities()

◆ PredictiveTakeEntityToHands()

override void PredictiveTakeEntityToHands ( EntityAI item)
inlineprotected

◆ PredictiveTakeEntityToInventory()

override bool PredictiveTakeEntityToInventory ( FindInventoryLocationType flags,
notnull EntityAI item )
inlineprotected

Definition at line 8681 of file playerbase.c.

References CanRedirectToWeaponManager(), and GetWeaponManager().

◆ PredictiveTakeEntityToTargetAttachment()

override bool PredictiveTakeEntityToTargetAttachment ( notnull EntityAI target,
notnull EntityAI item )
inlineprotected

Definition at line 8696 of file playerbase.c.

References GetWeaponManager().

◆ PredictiveTakeEntityToTargetAttachmentEx()

override bool PredictiveTakeEntityToTargetAttachmentEx ( notnull EntityAI target,
notnull EntityAI item,
int slot )
inlineprotected

Definition at line 8710 of file playerbase.c.

References GetWeaponManager().

◆ PredictiveTakeEntityToTargetCargo()

override bool PredictiveTakeEntityToTargetCargo ( notnull EntityAI target,
notnull EntityAI item )
inlineprotected

Definition at line 8724 of file playerbase.c.

References CanRedirectToWeaponManager(), and GetWeaponManager().

◆ PredictiveTakeEntityToTargetCargoEx()

override bool PredictiveTakeEntityToTargetCargoEx ( notnull CargoBase cargo,
notnull EntityAI item,
int row,
int col )
inlineprotected

◆ PredictiveTakeEntityToTargetInventory()

override bool PredictiveTakeEntityToTargetInventory ( notnull EntityAI target,
FindInventoryLocationType flags,
notnull EntityAI item )
inlineprotected

Definition at line 8666 of file playerbase.c.

References CanRedirectToWeaponManager(), and GetWeaponManager().

◆ PredictiveTakeToDst()

override bool PredictiveTakeToDst ( notnull InventoryLocation src,
notnull InventoryLocation dst )
inlineprotected

Definition at line 8877 of file playerbase.c.

References CanRedirectToWeaponManager(), and GetWeaponManager().

◆ PreloadDecayTexture()

void PreloadDecayTexture ( )
inlineprotected

Definition at line 9325 of file playerbase.c.

References m_DecayedTexture.

Referenced by OnPlayerLoaded().

◆ PrintAgents()

void PrintAgents ( )
inlineprotected

Definition at line 7793 of file playerbase.c.

References m_AgentPool.

◆ ProcessADDModifier()

void ProcessADDModifier ( )
inlineprotected

Definition at line 6777 of file playerbase.c.

References HumanCommandAdditives(), and m_AddModifier.

Referenced by CommandHandler().

◆ ProcessADSSyncResetRequest()

void ProcessADSSyncResetRequest ( )
inlineprotected

◆ ProcessDrowning()

void ProcessDrowning ( float dT)
inlineprotected

Definition at line 2257 of file playerbase.c.

References GetStaminaHandler().

Referenced by CommandHandler().

◆ ProcessFeetDamageServer()

◆ ProcessHandDamage()

◆ ProcessHoldBreath()

void ProcessHoldBreath ( float dT)
inlineprotected

◆ ProcessLiftWeapon()

override void ProcessLiftWeapon ( )
inlineprotected

Definition at line 8500 of file playerbase.c.

References GetWeaponManager().

◆ QueueAddEffectWidget()

void QueueAddEffectWidget ( array< int > effects)
inlineprotected

Definition at line 1104 of file playerbase.c.

References m_ProcessAddEffectWidgets.

Referenced by EEItemAttached().

◆ QueueAddGlassesEffect()

void QueueAddGlassesEffect ( int id)
inlineprotected

Definition at line 1114 of file playerbase.c.

References m_ProcessAddGlassesEffects.

Referenced by EEItemAttached().

◆ QueueRemoveEffectWidget()

void QueueRemoveEffectWidget ( array< int > effects)
inlineprotected

Definition at line 1109 of file playerbase.c.

References m_ProcessRemoveEffectWidgets.

Referenced by EEItemDetached().

◆ QueueRemoveGlassesEffect()

void QueueRemoveGlassesEffect ( int id)
inlineprotected

Definition at line 1119 of file playerbase.c.

References m_ProcessRemoveGlassesEffects.

Referenced by EEItemDetached().

◆ QuickReloadWeapon()

void QuickReloadWeapon ( EntityAI weapon)
inlineprotected

Definition at line 4850 of file playerbase.c.

References GetMagazineToReload(), and ReloadWeapon().

◆ RadialQuickBarCombine()

void RadialQuickBarCombine ( int slotClicked)
inlineprotected

Definition at line 4841 of file playerbase.c.

References GetQuickBarEntity(), and ReloadWeapon().

◆ RadialQuickBarSingleUse()

void RadialQuickBarSingleUse ( int slotClicked)
inlineprotected

Definition at line 4835 of file playerbase.c.

References OnQuickBarSingleUse().

◆ ReadLiftWeaponRequest()

bool ReadLiftWeaponRequest ( int userDataType,
ParamsReadContext ctx )
inlineprotected

Definition at line 8396 of file playerbase.c.

References Serializer::Read(), and SetLiftWeapon().

Referenced by OnInputUserDataProcess().

◆ RefreshHandAnimationState()

void RefreshHandAnimationState ( int delay = 0)
inlineprotected

◆ ReloadWeapon()

void ReloadWeapon ( EntityAI weapon,
EntityAI magazine )
inlineprotected

◆ RemoveAction() [1/2]

void RemoveAction ( typename actionName )
inlineprotected

Definition at line 1806 of file playerbase.c.

References m_InputActionMap, and RemoveAction().

◆ RemoveAction() [2/2]

void RemoveAction ( typename actionName ,
out TInputActionMap InputActionMap )
inlineprotected

Definition at line 1785 of file playerbase.c.

References GetActionManager(), and ActionBase::GetInputType().

◆ RemoveActiveNV()

void RemoveActiveNV ( int type)
inlineprotected

Definition at line 9134 of file playerbase.c.

References Error(), g_Game, and m_ActiveNVTypes.

◆ RemoveAgent()

override void RemoveAgent ( int agent_id)
inlineprotected

Definition at line 7757 of file playerbase.c.

References m_AgentPool.

◆ RemoveAllAgents()

override void RemoveAllAgents ( )
inlineprotected

Definition at line 7763 of file playerbase.c.

References m_AgentPool.

◆ RemoveAllItems()

void RemoveAllItems ( )
inlineprotected

◆ RemoveCurrentEffectTrigger()

void RemoveCurrentEffectTrigger ( )
inlineprivate

◆ RemoveMedicalDrugsInUse()

void RemoveMedicalDrugsInUse ( EMedicalDrugsType drugType)
inlineprivate

Definition at line 714 of file playerbase.c.

References m_MedicalDrugsActive.

Referenced by DecreaseAntibioticsCount().

◆ RemovePossibleCoverFaceForShave()

void RemovePossibleCoverFaceForShave ( )
inlineprotected

DEPRECATED!

Definition at line 1459 of file playerbase.c.

References m_FaceCoveredForShaveLayers.

◆ RemoveQuickBarEntityShortcut()

void RemoveQuickBarEntityShortcut ( EntityAI entity)
inlineprotected

Definition at line 2188 of file playerbase.c.

References m_QuickBarBase.

◆ RequestHandAnimationStateRefresh()

void RequestHandAnimationStateRefresh ( )
inlineprotected

◆ RequestResetADSSync()

void RequestResetADSSync ( )
inlineprotected

Definition at line 2611 of file playerbase.c.

References g_Game, GetInstanceType(), and ProcessADSSyncResetRequest().

◆ RequestSoundEvent()

override void RequestSoundEvent ( EPlayerSoundEventID id,
bool from_server_and_client = false )
inlineprivate

Definition at line 7438 of file playerbase.c.

References RequestSoundEventEx().

Referenced by TestSend().

◆ RequestSoundEventEx()

override void RequestSoundEventEx ( EPlayerSoundEventID id,
bool from_server_and_client = false,
int param = 0 )
inlineprivate

◆ RequestSoundEventStop()

override void RequestSoundEventStop ( EPlayerSoundEventID id,
bool from_server_and_client = false,
int param = EPlayerSoundEventParam.STOP_PLAYBACK )
inlineprivate

Definition at line 7443 of file playerbase.c.

References GetInstanceType(), SendSoundEventEx(), and StopSoundEvent().

Referenced by OnUnconsciousStart().

◆ RequestTriggerEffect()

void RequestTriggerEffect ( EffectTrigger trigger,
int ppeIdx = -1,
int aroundId = ParticleList.CONTAMINATED_AREA_GAS_AROUND,
int tinyId = ParticleList.CONTAMINATED_AREA_GAS_TINY,
string soundset = "",
bool partDynaUpdate = false,
int newBirthRate = 0,
bool forceUpdate = false )
inlineprivate

◆ RequestUnconsciousness()

void RequestUnconsciousness ( bool enable)
inlineprotected

◆ ResetActionEndInput()

void ResetActionEndInput ( )
inlineprotected

Definition at line 4826 of file playerbase.c.

References m_ActionQBControl.

◆ ResetActiveNV()

void ResetActiveNV ( )
inlineprotected

Definition at line 9149 of file playerbase.c.

References m_ActiveNVTypes.

◆ ResetADSPlayerSync()

bool ResetADSPlayerSync ( int userDataType,
ParamsReadContext ctx )
inlineprotected

server only

Definition at line 2637 of file playerbase.c.

References INPUT_UDT_RESET_ADS, SendSyncJuncture(), and DayZPlayerSyncJunctures::SJ_ADS_RESET.

Referenced by OnInputUserDataProcess().

◆ ResetConstructionActionData()

void ResetConstructionActionData ( )
inlineprotected

Definition at line 2147 of file playerbase.c.

References m_ConstructionActionData.

Referenced by OnConnect(), and OnReconnect().

◆ ResetPlayer()

◆ RPC()

override void RPC ( int rpc_type,
array< ref Param > params,
bool guaranteed,
PlayerIdentity recipient = NULL )
inlineprotected

Definition at line 5448 of file playerbase.c.

◆ RunFightBlendTimer()

void RunFightBlendTimer ( )
inlineprotected

Definition at line 5410 of file playerbase.c.

References PlayerConstants::MELEE2_MOVEMENT_BLEND_DELAY.

Referenced by OnCommandMelee2Finish().

◆ Save()

bool Save ( )
inlineprotected

Definition at line 7712 of file playerbase.c.

References Hive::CharacterSave(), GetHive(), IsRestrained(), Debug::Log(), and ToString().

◆ SaveAreaPersistenceFlag()

void SaveAreaPersistenceFlag ( ParamsWriteContext ctx)
inlineprivate

◆ SaySoundSet()

◆ SendLiftWeaponSync()

void SendLiftWeaponSync ( bool state,
float obstruct = 0 )
inlineprotected

◆ SendSoundEvent()

void SendSoundEvent ( EPlayerSoundEventID id)
inlineprotected

Definition at line 7454 of file playerbase.c.

References SendSoundEventEx().

Referenced by ProcessFeetDamageServer(), and ProcessHandDamage().

◆ SendSoundEventEx()

void SendSoundEventEx ( EPlayerSoundEventID id,
int param = 0 )
inlineprotected

◆ SetActionEndInput()

void SetActionEndInput ( ActionBase action)
inlineprotected

Definition at line 4817 of file playerbase.c.

References ActionBase::GetInput(), ActionInput::IsActive(), and m_ActionQBControl.

◆ SetActions() [1/2]

void SetActions ( )
inlineprotected

Definition at line 1689 of file playerbase.c.

◆ SetActions() [2/2]

◆ SetActionsRemoteTarget() [1/2]

void SetActionsRemoteTarget ( )
inlineprotected

Definition at line 1702 of file playerbase.c.

◆ SetActionsRemoteTarget() [2/2]

void SetActionsRemoteTarget ( out TInputActionMap InputActionMap)
inlineprotected

Definition at line 1693 of file playerbase.c.

References AddAction().

Referenced by InitializeActions().

◆ SetActivePrimarySymptomID()

void SetActivePrimarySymptomID ( SymptomIDs id)
inlineprivate

Definition at line 747 of file playerbase.c.

References m_ActivePrimarySymptomID.

◆ SetBleedingBits()

void SetBleedingBits ( int bits)
inlineprotected

Definition at line 1040 of file playerbase.c.

References m_BleedingBits, OnBleedingBegin(), and OnBleedingEnd().

◆ SetBloodType()

void SetBloodType ( int blood_type)
inlineprivate

Definition at line 6972 of file playerbase.c.

References m_BloodType.

◆ SetBloodTypeVisible()

void SetBloodTypeVisible ( bool show)
inlineprivate

Definition at line 6961 of file playerbase.c.

References m_HasBloodTypeVisible.

◆ SetBloodyHands()

void SetBloodyHands ( bool show)
inlineprotected

Definition at line 6891 of file playerbase.c.

References SetBloodyHandsBase().

◆ SetBloodyHandsBase()

void SetBloodyHandsBase ( int type)
inlineprivate

Definition at line 6901 of file playerbase.c.

References m_HasBloodyHandsVisible, and DiagMenu::SetValue().

Referenced by SetBloodyHands(), and SetBloodyHandsEx().

◆ SetBloodyHandsEx()

void SetBloodyHandsEx ( eBloodyHandsTypes type)
inlineprotected

Definition at line 6896 of file playerbase.c.

References SetBloodyHandsBase().

◆ SetBloodyHandsPenalty()

void SetBloodyHandsPenalty ( )
inlineprivate

Definition at line 9746 of file playerbase.c.

References InsertAgent().

◆ SetBloodyHandsPenaltyChancePerAgent()

void SetBloodyHandsPenaltyChancePerAgent ( eAgents type,
float amount )
inlineprivate

increments the chances per agents

Definition at line 6944 of file playerbase.c.

References Math::Clamp(), GetBloodyHandsPenaltyChancePerAgent(), and m_BloodyHandsPenaltyChancePerAgent.

◆ SetBrokenLegs()

void SetBrokenLegs ( int stateId)
inlineprotected

◆ SetCheckMeleeItem()

void SetCheckMeleeItem ( ItemBase item = null)
inlineprotected

Definition at line 3418 of file playerbase.c.

References m_CheckMeleeItem.

Referenced by CommandHandler().

◆ SetContaminatedEffect()

void SetContaminatedEffect ( bool enable,
int ppeIdx = -1,
int aroundId = ParticleList.CONTAMINATED_AREA_GAS_AROUND,
int tinyId = ParticleList.CONTAMINATED_AREA_GAS_TINY,
bool partDynaUpdate = false,
int newBirthRate = 0 )
inlineprotected

Definition at line 5847 of file playerbase.c.

References SetContaminatedEffectEx().

◆ SetContaminatedEffectEx()

◆ SetCraftingRecipeID()

void SetCraftingRecipeID ( int recipeID)
inlineprotected

Definition at line 2127 of file playerbase.c.

References GetCraftingManager(), GetInstanceType(), and m_RecipeID.

◆ SetDeathDarknessLevel()

override void SetDeathDarknessLevel ( float duration,
float tick_time )
inlineprotected

◆ SetDecayEffects()

◆ SetDefaultHitPosition()

vector SetDefaultHitPosition ( string pSelection)
inlineprotected

Definition at line 1447 of file playerbase.c.

Referenced by Init().

◆ SetDrowning()

void SetDrowning ( bool enable)
inlineprotected

Definition at line 2562 of file playerbase.c.

References m_IsDrowning, OnDrowningEnd(), and OnDrowningStart().

Referenced by OnVariablesSynchronized().

◆ SetEnableQuickBarEntityShortcut()

void SetEnableQuickBarEntityShortcut ( EntityAI entity,
bool value )
inlineprotected

Definition at line 2195 of file playerbase.c.

References m_QuickBarBase.

◆ SetEnergyManagerState()

void SetEnergyManagerState ( ItemBase itemInHands,
bool state )
inlineprivate

Definition at line 616 of file playerbase.c.

Referenced by TryHideItemInHands().

◆ SetFirstRecipe()

void SetFirstRecipe ( )
inlineprotected

Definition at line 1821 of file playerbase.c.

References m_RecipePick.

◆ SetFlagTendencyRaise()

void SetFlagTendencyRaise ( bool state)
inlineprotected

DEPRECATED.

Definition at line 5029 of file playerbase.c.

References m_FlagRaisingTendency.

◆ SetHairLevelToHide()

void SetHairLevelToHide ( int level,
bool state,
bool was_debug = false )
inlineprotected

◆ SetHeatBufferDynamicMax()

void SetHeatBufferDynamicMax ( float value)
inlineprotected

Definition at line 7946 of file playerbase.c.

References m_HeatBufferDynamicMax.

◆ SetHitPPEEnabled()

void SetHitPPEEnabled ( bool enabled)
inlineprotected

Definition at line 1605 of file playerbase.c.

References m_CanDisplayHitEffectPPE.

Referenced by OnGameplayDataHandlerSync().

◆ SetImmunityBoosted()

void SetImmunityBoosted ( bool boosted)
inlineprotected

Definition at line 5308 of file playerbase.c.

References m_ImmunityBoosted.

◆ SetInColdArea()

void SetInColdArea ( bool state)
inlineprotected

Definition at line 2723 of file playerbase.c.

References m_IsInColdArea.

◆ SetInEffectAreaTypeFlag()

void SetInEffectAreaTypeFlag ( EEffectAreaType flag)
inlineprivate

Definition at line 846 of file playerbase.c.

References m_EffectAreaOverlap, and m_InEffectAreaType.

◆ SetInventorySoftLock()

override void SetInventorySoftLock ( bool status)
inlineprotected

'soft lock' meaning inventory screen cannot be displayed, but mechanically, inventory operations are still possible

Definition at line 8334 of file playerbase.c.

References IsInventorySoftLocked(), m_InventorySoftLockCount, and m_InventorySoftLocked.

Referenced by OnUnconsciousStart(), and OnUnconsciousStop().

◆ SetInWater()

void SetInWater ( bool pState)
inlineprotected

water contact (driven by Environment)

Definition at line 2740 of file playerbase.c.

References m_IsInWater.

◆ SetLastFirePoint()

void SetLastFirePoint ( vector last_fire_point)
inlineprotected

Definition at line 2171 of file playerbase.c.

References m_LastFirePoint.

◆ SetLastFirePointIndex()

void SetLastFirePointIndex ( int last_fire_point_index)
inlineprotected

Definition at line 2179 of file playerbase.c.

References m_LastFirePointIndex.

◆ SetLastFirePointRot()

void SetLastFirePointRot ( float last_fire_point_rot)
inlineprotected

Definition at line 2175 of file playerbase.c.

References m_LastFirePointRot.

◆ SetLastMapInfo()

void SetLastMapInfo ( float scale,
vector pos )
inlineprotected

Definition at line 9332 of file playerbase.c.

References m_LastMapPos, and m_LastMapScale.

◆ SetLastShavedSeconds()

void SetLastShavedSeconds ( int last_shaved_seconds)
inlineprotected

Definition at line 6860 of file playerbase.c.

References m_LastShavedSeconds.

Referenced by ShavePlayer().

◆ SetLastUAMessage()

void SetLastUAMessage ( string pMsg)
inlineprotected

◆ SetLegHealth()

void SetLegHealth ( )
inlineprotected

Definition at line 3898 of file playerbase.c.

Referenced by SetBrokenLegs().

◆ SetLifeSpanStateVisible()

void SetLifeSpanStateVisible ( int show_state)
inlineprotected

Definition at line 6834 of file playerbase.c.

References m_LifeSpanState, and UpdateHairSelectionVisibility().

◆ SetLiftWeapon() [1/2]

void SetLiftWeapon ( bool state,
float obstruct = 0 )
inlineprotected

Definition at line 8419 of file playerbase.c.

◆ SetLiftWeapon() [2/2]

void SetLiftWeapon ( int pJunctureID,
ParamsReadContext ctx )
inlineprotected

Definition at line 8407 of file playerbase.c.

References Serializer::Read(), and SetLiftWeapon().

Referenced by OnSyncJuncture(), ReadLiftWeaponRequest(), and SetLiftWeapon().

◆ SetLiquidTendencyDrain()

void SetLiquidTendencyDrain ( bool state)
inlineprotected

Definition at line 5016 of file playerbase.c.

References m_LiquidTendencyDrain.

◆ SetLoadedQuickBarItemBind()

void SetLoadedQuickBarItemBind ( EntityAI entity,
int index )
inlineprotected

Definition at line 8347 of file playerbase.c.

References m_aQuickBarLoad.

◆ SetLocalProjectionOrientation()

void SetLocalProjectionOrientation ( vector local_orientation)
inlineprotected

Definition at line 2708 of file playerbase.c.

References m_LocalProjectionOrientation.

◆ SetLocalProjectionPosition()

void SetLocalProjectionPosition ( vector local_position)
inlineprotected

Definition at line 2696 of file playerbase.c.

References IsCLIParam(), Debug::Log(), and m_LocalProjectionPosition.

Referenced by PlacingCompleteLocal(), and PlacingCompleteServer().

◆ SetMapClosingSyncSet()

void SetMapClosingSyncSet ( bool state)
inlineprotected

Definition at line 3367 of file playerbase.c.

References m_MapClosingSyncSent.

Referenced by CloseMapEx().

◆ SetMapOpen()

void SetMapOpen ( bool state)
inlineprotected

Definition at line 3357 of file playerbase.c.

References m_MapOpen.

◆ SetMixedSoundState()

void SetMixedSoundState ( eMixedSoundStates state)
inlineprotected

Definition at line 1019 of file playerbase.c.

References m_MixedSoundStates.

◆ SetModifiers()

void SetModifiers ( bool enable)
inlineprivate

Definition at line 7343 of file playerbase.c.

References GetModifiersManager().

◆ SetNewCharName()

void SetNewCharName ( )
inlineprotected

◆ SetNextRecipe()

void SetNextRecipe ( )
inlineprotected

Definition at line 1816 of file playerbase.c.

References m_RecipePick.

◆ SetNVGLowered()

void SetNVGLowered ( bool state)
inlineprotected

Definition at line 9114 of file playerbase.c.

References m_LoweredNVGHeadset.

◆ SetNVGWorking()

void SetNVGWorking ( bool state)
inlineprivate

Definition at line 9764 of file playerbase.c.

References AddActiveNV().

◆ SetPerformedActionID()

void SetPerformedActionID ( int id)
inlineprivate

Definition at line 736 of file playerbase.c.

References m_PerformedAnimActionID.

◆ SetPersistentFlag()

void SetPersistentFlag ( PersistentFlag bit,
bool enable )
inlineprivate

Definition at line 7019 of file playerbase.c.

References m_PersistentFlags.

Referenced by SaveAreaPersistenceFlag().

◆ SetPlayerDisconnected()

void SetPlayerDisconnected ( bool state)
inlineprotected

Definition at line 2452 of file playerbase.c.

References m_PlayerDisconnectProcessed.

Referenced by OnDisconnect().

◆ SetPlayerLoad()

void SetPlayerLoad ( float load)
inlineprotected

Definition at line 5049 of file playerbase.c.

References m_CargoLoad.

Referenced by AddPlayerLoad().

◆ SetProcessUIWarning()

override void SetProcessUIWarning ( bool state)
inlineprotected

Definition at line 9375 of file playerbase.c.

References m_ProcessUIWarning.

◆ SetPulseType()

void SetPulseType ( EPulseType pulse_type)
inlineprotected

Definition at line 1099 of file playerbase.c.

References m_PulseType.

◆ SetQuickBarEntityShortcut()

void SetQuickBarEntityShortcut ( EntityAI entity,
int index,
bool force = false )
inlineprotected

Definition at line 2232 of file playerbase.c.

References m_QuickBarBase.

◆ SetQuickFishing()

void SetQuickFishing ( bool enable)
inlineprotected

Definition at line 1959 of file playerbase.c.

References m_AllowQuickFishing.

◆ SetQuickRestrain()

void SetQuickRestrain ( bool enable)
inlineprotected

Definition at line 1954 of file playerbase.c.

References m_AllowQuickRestrain.

◆ SetRestrained()

void SetRestrained ( bool is_restrained)
inlineprotected

Definition at line 2034 of file playerbase.c.

References m_IsRestrained.

◆ SetRestrainPrelocked()

void SetRestrainPrelocked ( bool restrain_prelock)
inlineprotected

Definition at line 2023 of file playerbase.c.

References m_IsRestrainPrelocked.

◆ SetRestrainStarted()

void SetRestrainStarted ( bool restrain_started)
inlineprotected

Definition at line 2012 of file playerbase.c.

References m_IsRestrainStarted.

◆ SetShakesForced()

void SetShakesForced ( int value)
inlineprotected

Definition at line 3423 of file playerbase.c.

References m_ShakesForced.

◆ SetSoundCategoryHash()

void SetSoundCategoryHash ( int hash)
inlineprivate

Definition at line 730 of file playerbase.c.

◆ SetStamina()

void SetStamina ( int value,
int range )
inlineprotected

Definition at line 1940 of file playerbase.c.

References m_ModulePlayerStatus.

◆ SetStaminaState()

void SetStaminaState ( eStaminaState state)
inlineprotected

Definition at line 7692 of file playerbase.c.

References m_StaminaState.

◆ SetTemporaryResistanceToAgent()

void SetTemporaryResistanceToAgent ( int agent,
float time )
inlineprotected

Definition at line 7803 of file playerbase.c.

References m_AgentPool.

◆ SetToDelete()

void SetToDelete ( ParamsReadContext pCtx)
inlineprotected

Definition at line 8218 of file playerbase.c.

References AddItemToDelete(), and Serializer::Read().

Referenced by OnSyncJuncture().

◆ SetUnderground()

void SetUnderground ( EUndergroundPresence presence)
inlineprotected

Definition at line 2663 of file playerbase.c.

References m_UndergroundPresence.

◆ SetVisibilityCoef()

void SetVisibilityCoef ( float pVisibility)
inlineprotected

Definition at line 5165 of file playerbase.c.

References m_VisibilityCoef.

Referenced by CalculateVisibilityForAI().

◆ ShavePlayer()

void ShavePlayer ( )
inlineprotected

◆ ShockRefill()

void ShockRefill ( float pDt)
protected

functionality moved to ShockMdfr::OnTick

Referenced by CommandHandler().

◆ ShowUnconsciousScreen()

void ShowUnconsciousScreen ( bool show)
inlineprivate

Definition at line 7411 of file playerbase.c.

References g_Game, and PrintString.

◆ SimplifyShock()

int SimplifyShock ( )
inlineprotected

Definition at line 3642 of file playerbase.c.

References Math::Clamp(), Math::Lerp(), and SIMPLIFIED_SHOCK_CAP.

Referenced by OnUnconsciousUpdate().

◆ SimulateDeath()

override void SimulateDeath ( bool state)
inlineprotected

Definition at line 6142 of file playerbase.c.

References m_EffectWidgets, m_UndergroundBunkerHandler, and m_UndergroundHandler.

Referenced by CheckDeath().

◆ SpawnAI()

EntityAI SpawnAI ( string object_name,
vector pos )
inlineprotected

Definition at line 6490 of file playerbase.c.

References ECE_EQUIP_ATTACHMENTS, ECE_INITAI, ECE_PLACE_ON_SURFACE, and g_Game.

Referenced by SpawnEntityOnGroundPos().

◆ SpawnBreathVaporEffect()

◆ SpawnDamageDealtEffect()

override void SpawnDamageDealtEffect ( )
inlineprotected

Definition at line 1129 of file playerbase.c.

References m_CanDisplayHitEffectPPE, and m_DamageDealtEffect.

Referenced by OnPlayerRecievedHit().

◆ SpawnDamageDealtEffect2()

void SpawnDamageDealtEffect2 ( Param param1 = null,
Param param2 = null )
inlineprotected

Definition at line 1142 of file playerbase.c.

References EffectRadial(), and m_EffectRadial.

Referenced by OnPlayerRecievedHit().

◆ SpawnDrowningBubbles()

◆ SpawnEntityOnGroundOnCursorDir()

EntityAI SpawnEntityOnGroundOnCursorDir ( string object_name,
float distance )
inlineprotected

Definition at line 6484 of file playerbase.c.

References GetPosition(), and SpawnEntityOnGroundPos().

◆ SpawnEntityOnGroundPos()

◆ SpawnEntityOnGroundRaycastDispersed()

EntityAI SpawnEntityOnGroundRaycastDispersed ( string object_name,
float raycastDistance = DEFAULT_SPAWN_DISTANCE,
float radius = UAItemsSpreadRadius.DEFAULT )
inlineprotected

Definition at line 6478 of file playerbase.c.

References DEFAULT_SPAWN_DISTANCE, and SpawnEntityOnGroundPos().

◆ SpawnFlashbangEffect()

void SpawnFlashbangEffect ( PlayerBase player,
bool visual )
inlineprotected

Definition at line 1157 of file playerbase.c.

References m_FlashbangEffect, and PlayerBase().

Referenced by OnPlayerReceiveFlashbangHitStart().

◆ SpawnShockEffect()

void SpawnShockEffect ( float intensity_max)
inlineprotected

Definition at line 1173 of file playerbase.c.

References m_ShockDealtEffect.

◆ SpreadAgents()

void SpreadAgents ( )
inlineprotected

Definition at line 7745 of file playerbase.c.

References SpreadAgentsEx().

◆ SpreadAgentsEx()

void SpreadAgentsEx ( float distance = 3,
float chance = 0.25 )
inlineprotected

chance between [0..1] , distance in meters

Definition at line 7727 of file playerbase.c.

References AGT_AIRBOURNE_BIOLOGICAL, vector::DistanceSq(), g_Game, GetPlugin(), m_ServerPlayers, and Math::RandomFloat01().

Referenced by SpreadAgents().

◆ StaminaHUDNotifier()

void StaminaHUDNotifier ( bool show)
inlineprotected

Definition at line 4497 of file playerbase.c.

References m_Hud.

Referenced by CanConsumeStamina(), and CanStartConsumingStamina().

◆ StopSoundEvent()

override bool StopSoundEvent ( EPlayerSoundEventID id,
bool is_from_server = false,
int param = 0 )
inlineprotected

Definition at line 7517 of file playerbase.c.

Referenced by CheckSoundEvent(), and RequestSoundEventStop().

◆ SwitchItemSelectionTexture()

override void SwitchItemSelectionTexture ( EntityAI item,
string slot_name )
inlineprotected

Definition at line 1572 of file playerbase.c.

Referenced by EEItemAttached(), and EEItemDetached().

◆ SwitchItemTypeAttach()

void SwitchItemTypeAttach ( EntityAI item,
string slot )
inlineprivate

Definition at line 9708 of file playerbase.c.

References g_Game.

◆ SwitchItemTypeDetach()

void SwitchItemTypeDetach ( EntityAI item,
string slot )
private

◆ TakeEntityAsAttachmentImpl()

bool TakeEntityAsAttachmentImpl ( InventoryMode mode,
notnull EntityAI item )
inlineprotected

◆ TakeEntityToCargoImpl()

bool TakeEntityToCargoImpl ( InventoryMode mode,
notnull EntityAI item )
inlineprotected

◆ TakeEntityToHandsImpl()

override void TakeEntityToHandsImpl ( InventoryMode mode,
EntityAI item )
inlineprotected

◆ TakeEntityToInventoryImpl()

bool TakeEntityToInventoryImpl ( InventoryMode mode,
FindInventoryLocationType flags,
notnull EntityAI item )
inlineprotected

◆ TakeEntityToTargetAttachmentImpl()

bool TakeEntityToTargetAttachmentImpl ( InventoryMode mode,
notnull EntityAI target,
notnull EntityAI item )
inlineprotected

◆ TakeEntityToTargetCargoImpl()

bool TakeEntityToTargetCargoImpl ( InventoryMode mode,
notnull EntityAI target,
notnull EntityAI item )
inlineprotected

◆ TakeEntityToTargetInventoryImpl()

bool TakeEntityToTargetInventoryImpl ( InventoryMode mode,
notnull EntityAI target,
FindInventoryLocationType flags,
notnull EntityAI item )
inlineprotected

◆ TakeToDstImpl()

bool TakeToDstImpl ( InventoryMode mode,
notnull InventoryLocation src,
notnull InventoryLocation dst )
inlineprotected

◆ TestSend()

void TestSend ( )
inlineprotected

Definition at line 7685 of file playerbase.c.

References g_Game, and RequestSoundEvent().

◆ ToggleHeatBufferVisibility() [1/2]

void ToggleHeatBufferVisibility ( bool show)
inlineprotected

Definition at line 7957 of file playerbase.c.

References m_HasHeatBuffer.

◆ ToggleHeatBufferVisibility() [2/2]

void ToggleHeatBufferVisibility ( int heatbufferStage)
inlineprotected

Definition at line 7963 of file playerbase.c.

References m_HeatBufferStage.

◆ TogglePlacingLocal()

◆ TogglePlacingServer()

bool TogglePlacingServer ( int userDataType,
ParamsReadContext ctx )
inlineprotected

Definition at line 2600 of file playerbase.c.

References INPUT_UDT_ADVANCED_PLACEMENT, and PlacingCancelServer().

Referenced by OnInputUserDataProcess().

◆ TryHideItemInHands()

void TryHideItemInHands ( bool hide,
bool force = false )
inlineprotected

tries to hide item in player's hands, some exceptions for various movement states

Definition at line 9403 of file playerbase.c.

References AnimCommandCheck(), GetItemInHands(), and SetEnergyManagerState().

Referenced by OnCommandLadderFinish(), OnCommandLadderStart(), OnCommandSwimFinish(), OnCommandSwimStart(), OnCommandVehicleFinish(), and OnCommandVehicleStart().

◆ UnsetInEffectAreaTypeFlag()

void UnsetInEffectAreaTypeFlag ( EEffectAreaType flag)
inlineprivate

Definition at line 858 of file playerbase.c.

References m_EffectAreaOverlap, and m_InEffectAreaType.

◆ UnsetMixedSoundState()

void UnsetMixedSoundState ( eMixedSoundStates state)
inlineprotected

Definition at line 1005 of file playerbase.c.

References m_MixedSoundStates.

◆ UpdateBrokenLegs()

void UpdateBrokenLegs ( int stateId)
inlineprotected

Definition at line 3726 of file playerbase.c.

References BrokenLegWalkShock(), GetBrokenLegs(), m_InjuryHandler, and m_MovementState.

◆ UpdateCorpseState()

◆ UpdateCorpseStateVisual()

◆ UpdateDelete()

void UpdateDelete ( )
inlineprotected

◆ UpdateHairSelectionVisibility()

◆ UpdateLighting()

void UpdateLighting ( )
inlineprotected

◆ UpdateMaskBreathWidget()

void UpdateMaskBreathWidget ( notnull MaskBase mask,
bool is_start = false )
inlineprotected

Definition at line 6208 of file playerbase.c.

References m_EffectWidgets.

Referenced by OnVoiceEvent(), and OnVoiceEventPlayback().

◆ UpdateMovementInertia()

void UpdateMovementInertia ( )
inlineprotected

◆ UpdatePlayerMeasures()

◆ UpdateQuickBarEntityVisibility()

void UpdateQuickBarEntityVisibility ( EntityAI entity)
inlineprotected

Definition at line 2225 of file playerbase.c.

References FindQuickBarEntityIndex(), and m_QuickBarBase.

◆ UpdateQuickBarExtraSlots()

void UpdateQuickBarExtraSlots ( )
inlineprotected

Definition at line 7707 of file playerbase.c.

References m_QuickBarBase.

◆ UpdateShoulderProxyVisibility()

void UpdateShoulderProxyVisibility ( EntityAI item,
string slot_name )
inlineprotected

◆ UpdateTranslatedSelections()

void UpdateTranslatedSelections ( SelectionTranslation stt)
inlineprotected

Field Documentation

◆ ACT_STORE_SAVE_VERSION

const int ACT_STORE_SAVE_VERSION = 4
private

Definition at line 72 of file playerbase.c.

Referenced by OnStoreSave().

◆ CONTAMINATED_AREA_AMBIENT

const string CONTAMINATED_AREA_AMBIENT = "ContaminatedArea_SoundSet"
protected

Definition at line 207 of file playerbase.c.

◆ DEBUG_INVENTORY_ACCESS

bool DEBUG_INVENTORY_ACCESS = false
staticprotected

Definition at line 198 of file playerbase.c.

◆ ItemToInventory

bool ItemToInventory
protected

Definition at line 277 of file playerbase.c.

◆ m_ActionManager

◆ m_ActionQBControl

bool m_ActionQBControl
protected

◆ m_ActionsInitialize

bool m_ActionsInitialize
protected

Definition at line 126 of file playerbase.c.

Referenced by AddAction(), GetActions(), and Init().

◆ m_ActiveNVTypes

ref array<int> m_ActiveNVTypes
protected

◆ m_ActivePrimarySymptomID

int m_ActivePrimarySymptomID = 0
protected

Definition at line 311 of file playerbase.c.

Referenced by GetActivePrimarySymptomID(), and SetActivePrimarySymptomID().

◆ m_AddModifier

int m_AddModifier = -1
protected

Definition at line 253 of file playerbase.c.

Referenced by ProcessADDModifier().

◆ m_AdminLog

PluginAdminLog m_AdminLog
protected

◆ m_AgentPool

◆ m_Agents

int m_Agents
protected

Definition at line 92 of file playerbase.c.

◆ m_AllowQuickFishing

bool m_AllowQuickFishing
protected

Definition at line 175 of file playerbase.c.

Referenced by IsQuickFishing(), and SetQuickFishing().

◆ m_AllowQuickRestrain

bool m_AllowQuickRestrain
protected

Definition at line 174 of file playerbase.c.

Referenced by IsQuickRestrain(), and SetQuickRestrain().

◆ m_AmbientContamination

EffectSound m_AmbientContamination
protected

Definition at line 208 of file playerbase.c.

Referenced by SetContaminatedEffectEx().

◆ m_AnalyticsTimer

ref Timer m_AnalyticsTimer
protected

Definition at line 300 of file playerbase.c.

Referenced by Init(), OnConnect(), OnDisconnect(), and UpdatePlayerMeasures().

◆ m_AnimCommandStarting

◆ m_AntibioticsActive

int m_AntibioticsActive
private

Definition at line 9706 of file playerbase.c.

◆ m_aQuickBarLoad

ref array<ref Param2<EntityAI,int> > m_aQuickBarLoad
protected

Definition at line 243 of file playerbase.c.

Referenced by OnSelectPlayer(), OnStoreLoad(), and SetLoadedQuickBarItemBind().

◆ m_AreHandsLocked

bool m_AreHandsLocked
protected

Definition at line 164 of file playerbase.c.

Referenced by CommandHandler(), Init(), LockHandsUntilItemHeld(), and OnQuickBarSingleUse().

◆ m_ArrowManager

ref ArrowManagerPlayer m_ArrowManager
protected

Definition at line 131 of file playerbase.c.

Referenced by GetArrowManager(), and Init().

◆ m_BleedingBits

int m_BleedingBits
protected

Definition at line 169 of file playerbase.c.

Referenced by GetBleedingBits(), IsBleeding(), and SetBleedingBits().

◆ m_BleedingManagerRemote

ref BleedingSourcesManagerRemote m_BleedingManagerRemote
protected

Definition at line 86 of file playerbase.c.

Referenced by GetBleedingManagerRemote(), and Init().

◆ m_BleedingManagerServer

ref BleedingSourcesManagerServer m_BleedingManagerServer
protected

Definition at line 85 of file playerbase.c.

Referenced by EEHitBy(), GetBleedingManagerServer(), Init(), and ResetPlayer().

◆ m_BleedingSourceCount

int m_BleedingSourceCount
protected

◆ m_BleedingSourcesLow

ref array<string> m_BleedingSourcesLow
staticprotected

Definition at line 199 of file playerbase.c.

Referenced by Init().

◆ m_BleedingSourcesUp

ref array<string> m_BleedingSourcesUp
staticprotected

Definition at line 200 of file playerbase.c.

Referenced by Init().

◆ m_BloodType

◆ m_BloodyHandsPenaltyChancePerAgent

ref map<eAgents, float> m_BloodyHandsPenaltyChancePerAgent
private

◆ m_BreathVapour

int m_BreathVapour
protected

Definition at line 178 of file playerbase.c.

Referenced by GetBreathVapourLevel(), and SpawnBreathVaporEffect().

◆ m_BrokenLegsJunctureReceived

bool m_BrokenLegsJunctureReceived
protected

Definition at line 194 of file playerbase.c.

Referenced by CommandHandler(), and OnSyncJuncture().

◆ m_BrokenLegSound

ref EffectSound m_BrokenLegSound
protected

Definition at line 195 of file playerbase.c.

Referenced by BreakLegSound().

◆ m_BrokenLegState

◆ m_CachedPlayerID

string m_CachedPlayerID
protected

Definition at line 223 of file playerbase.c.

Referenced by GetCachedID(), and OnSelectPlayer().

◆ m_CachedPlayerName

string m_CachedPlayerName
protected

Definition at line 222 of file playerbase.c.

Referenced by GetCachedName(), and OnSelectPlayer().

◆ m_CameraSwayModifier

float m_CameraSwayModifier = 0.2
protected

Definition at line 166 of file playerbase.c.

Referenced by OnCameraChanged().

◆ m_CanDisplayHitEffectPPE

bool m_CanDisplayHitEffectPPE
protected

Definition at line 220 of file playerbase.c.

Referenced by GetHitPPEEnabled(), Init(), SetHitPPEEnabled(), and SpawnDamageDealtEffect().

◆ m_CanPlayBrokenLegSound

bool m_CanPlayBrokenLegSound
protected

Definition at line 197 of file playerbase.c.

◆ m_CargoLoad

float m_CargoLoad
protected

Definition at line 105 of file playerbase.c.

Referenced by Init(), and SetPlayerLoad().

◆ m_CharactersHead

Head_Default m_CharactersHead
protected

◆ m_CheckMeleeItem

ItemBase m_CheckMeleeItem
protected

Definition at line 305 of file playerbase.c.

Referenced by CommandHandler(), and SetCheckMeleeItem().

◆ m_CheckPulseLastTarget

PlayerBase m_CheckPulseLastTarget
protected

Definition at line 187 of file playerbase.c.

Referenced by OnRPC().

◆ m_ConfigEmotesProfile

PluginConfigEmotesProfile m_ConfigEmotesProfile
private

Definition at line 78 of file playerbase.c.

Referenced by Init().

◆ m_ConstructionActionData

ref ConstructionActionData m_ConstructionActionData
protected

◆ m_ContaminatedAreaCount

int m_ContaminatedAreaCount
protected

Definition at line 209 of file playerbase.c.

Referenced by DecreaseContaminatedAreaCount(), and IncreaseContaminatedAreaCount().

◆ m_ContaminatedAreaEffectEnabled

bool m_ContaminatedAreaEffectEnabled
protected

Definition at line 206 of file playerbase.c.

Referenced by OnCommandHandlerTick(), and SetContaminatedEffectEx().

◆ m_ContaminatedAroundPlayer

Particle m_ContaminatedAroundPlayer
staticprotected

Definition at line 322 of file playerbase.c.

Referenced by ContaminatedParticleAdjustment(), and SetContaminatedEffectEx().

◆ m_ContaminatedAroundPlayerTiny

Particle m_ContaminatedAroundPlayerTiny
staticprotected

Definition at line 323 of file playerbase.c.

Referenced by ContaminatedParticleAdjustment(), and SetContaminatedEffectEx().

◆ m_CorpseProcessing

bool m_CorpseProcessing
protected

Definition at line 147 of file playerbase.c.

Referenced by EEKilled().

◆ m_CorpseState

int m_CorpseState
protected

◆ m_CorpseStateLocal

int m_CorpseStateLocal
protected

Definition at line 149 of file playerbase.c.

Referenced by Init(), OnVariablesSynchronized(), and UpdateCorpseState().

◆ m_CraftingInitialPos

vector m_CraftingInitialPos
protected

Definition at line 260 of file playerbase.c.

◆ m_CraftingManager

ref CraftingManager m_CraftingManager
protected

Definition at line 130 of file playerbase.c.

Referenced by GetCraftingManager(), and OnSelectPlayer().

◆ m_CurrentCamera

DayZPlayerCameraBase m_CurrentCamera
protected

◆ m_CurrentEffectTrigger

EffectTrigger m_CurrentEffectTrigger
protected

Definition at line 213 of file playerbase.c.

Referenced by RemoveCurrentEffectTrigger(), and RequestTriggerEffect().

◆ m_CurrentShock

float m_CurrentShock
protected

Definition at line 157 of file playerbase.c.

Referenced by OnSyncJuncture().

◆ m_DamageDealtEffect

ref DamageDealtEffect m_DamageDealtEffect
protected

◆ m_DatabaseID

string m_DatabaseID
protected

Definition at line 299 of file playerbase.c.

◆ m_DbgListSelection

int m_DbgListSelection = 0
protected

Definition at line 2907 of file playerbase.c.

◆ m_DbgOptions

ref array<string> m_DbgOptions = {"jedna", "dva", "tri"}
protected

Definition at line 2909 of file playerbase.c.

◆ m_DbgSliderValue

float m_DbgSliderValue = 0.0
protected

Definition at line 2908 of file playerbase.c.

◆ m_DeathCheckTimer

ref Timer m_DeathCheckTimer
protected

Definition at line 146 of file playerbase.c.

Referenced by CheckDeath(), and OnSelectPlayer().

◆ m_DeathDarkeningParam

ref Param1<float> m_DeathDarkeningParam
protected

Definition at line 117 of file playerbase.c.

Referenced by Init(), and SetDeathDarknessLevel().

◆ m_DebugMonitorEnabled

int m_DebugMonitorEnabled
protected

Definition at line 282 of file playerbase.c.

◆ m_DebugMonitorValues

ref DebugMonitorValues m_DebugMonitorValues
protected

Definition at line 103 of file playerbase.c.

Referenced by EEHitBy(), GetDebugMonitorValues(), Init(), OnCommandHandlerTick(), and OnRPC().

◆ m_DecayedTexture

string m_DecayedTexture
protected

Definition at line 190 of file playerbase.c.

Referenced by Init(), PreloadDecayTexture(), and UpdateCorpseStateVisual().

◆ m_DefaultHitPosition

vector m_DefaultHitPosition
protected

Definition at line 171 of file playerbase.c.

Referenced by GetDefaultHitPosition(), and Init().

◆ m_DirectionToCursor

vector m_DirectionToCursor
protected

Definition at line 170 of file playerbase.c.

Referenced by CommandHandler().

◆ m_DiseaseCount

int m_DiseaseCount
protected

Definition at line 172 of file playerbase.c.

Referenced by DecreaseDiseaseCount(), HasDisease(), and IncreaseDiseaseCount().

◆ m_EffectAreaCount

int m_EffectAreaCount
protected

Definition at line 210 of file playerbase.c.

Referenced by DecreaseEffectAreaCount(), and IncreaseEffectAreaCount().

◆ m_EffectAreaOverlap

ref map<EEffectAreaType, int> m_EffectAreaOverlap = new map<EEffectAreaType, int>()
protected

Definition at line 217 of file playerbase.c.

Referenced by SetInEffectAreaTypeFlag(), and UnsetInEffectAreaTypeFlag().

◆ m_EffectAreaTimeToTick

ref map<EEffectAreaType, float> m_EffectAreaTimeToTick = new map<EEffectAreaType, float>()
protected

Definition at line 218 of file playerbase.c.

Referenced by OnUpdateEffectAreaServer().

◆ m_EffectRadial

ref EffectRadial m_EffectRadial
protected

Definition at line 119 of file playerbase.c.

Referenced by EOnPostFrame(), and SpawnDamageDealtEffect2().

◆ m_EffectWidgets

◆ m_EmoteManager

◆ m_EmptyGloves

ref HiddenSelectionsData m_EmptyGloves
protected

Definition at line 128 of file playerbase.c.

Referenced by Init().

◆ m_Environment

ref Environment m_Environment
protected

Definition at line 93 of file playerbase.c.

Referenced by Init(), OnPlayerLoaded(), and OnScheduledTick().

◆ m_FaceCoveredForShaveLayers

int m_FaceCoveredForShaveLayers = 0
private

Definition at line 9705 of file playerbase.c.

Referenced by AddPossibleCoverFaceForShave(), and RemovePossibleCoverFaceForShave().

◆ m_FlagRaisingTendency

bool m_FlagRaisingTendency
private

Definition at line 58 of file playerbase.c.

Referenced by GetFlagTendencyRaise(), Init(), and SetFlagTendencyRaise().

◆ m_FlashbangEffect

ref FlashbangEffect m_FlashbangEffect
protected

Definition at line 120 of file playerbase.c.

Referenced by GetFlashbangEffect(), SetDeathDarknessLevel(), and SpawnFlashbangEffect().

◆ m_FliesEff

ref EffectParticle m_FliesEff
protected

Definition at line 122 of file playerbase.c.

Referenced by ~PlayerBase(), EEDelete(), and SetDecayEffects().

◆ m_FliesIndex

int m_FliesIndex
protected

Definition at line 110 of file playerbase.c.

Referenced by Init(), and SetDecayEffects().

◆ m_ForceInjuryAnimMask

int m_ForceInjuryAnimMask
protected

Definition at line 188 of file playerbase.c.

◆ m_hac

ActionUnfoldMapCB m_hac
protected

Definition at line 285 of file playerbase.c.

Referenced by CloseMapEx().

◆ m_HasBloodTypeVisible

◆ m_HasBloodyHandsVisible

◆ m_HasHeatBuffer

bool m_HasHeatBuffer
protected

Definition at line 61 of file playerbase.c.

Referenced by HasHeatBuffer(), and ToggleHeatBufferVisibility().

◆ m_HCAnimHandler

ref HeatComfortAnimHandler m_HCAnimHandler
protected

Definition at line 136 of file playerbase.c.

Referenced by CommandHandler(), and Init().

◆ m_HeadingRestrictData

ref HeadingRestrictData m_HeadingRestrictData
protected

Definition at line 151 of file playerbase.c.

Referenced by HeadingModel(), and Init().

◆ m_HealingsCount

int m_HealingsCount
protected

Definition at line 173 of file playerbase.c.

Referenced by DecreaseHealingsCount(), HasHealings(), and IncreaseHealingsCount().

◆ m_HealthLevel

int m_HealthLevel
protected

Definition at line 179 of file playerbase.c.

◆ m_HeatBufferDynamicMax

float m_HeatBufferDynamicMax
protected

Definition at line 63 of file playerbase.c.

Referenced by GetHeatBufferDynamicMax(), and SetHeatBufferDynamicMax().

◆ m_HeatBufferStage

int m_HeatBufferStage
protected

Definition at line 62 of file playerbase.c.

Referenced by GetHeatBufferStage(), and ToggleHeatBufferVisibility().

◆ m_HideHairAnimated

bool m_HideHairAnimated
protected

Definition at line 189 of file playerbase.c.

Referenced by Init(), and SetHairLevelToHide().

◆ m_HologramLocal

ref Hologram m_HologramLocal
protected

◆ m_HologramServer

ref Hologram m_HologramServer
protected

◆ m_Hud

◆ m_ImmunityBoosted

bool m_ImmunityBoosted
protected

Definition at line 163 of file playerbase.c.

Referenced by GetImmunityLevel(), and SetImmunityBoosted().

◆ m_InEffectAreaType

EEffectAreaType m_InEffectAreaType
protected

◆ m_InjuryHandler

◆ m_InputActionMap

ref TInputActionMap m_InputActionMap
protected

Definition at line 123 of file playerbase.c.

Referenced by AddAction(), GetActions(), InitializeActions(), and RemoveAction().

◆ m_InputActionMapAsTarget

ref TInputActionMap m_InputActionMapAsTarget
protected

Definition at line 125 of file playerbase.c.

Referenced by GetActions(), and InitializeActions().

◆ m_InputActionMapControled

ref TInputActionMap m_InputActionMapControled
protected

Definition at line 124 of file playerbase.c.

Referenced by GetActions(), and InitializeActions().

◆ m_InsideEffectArea

bool m_InsideEffectArea
protected

◆ m_InsideEffectAreaPrev

bool m_InsideEffectAreaPrev
protected

Definition at line 212 of file playerbase.c.

Referenced by OnVariablesSynchronized().

◆ m_InventoryActionHandler

ref InventoryActionHandler m_InventoryActionHandler
protected

Definition at line 132 of file playerbase.c.

Referenced by EOnPostFrame(), and Init().

◆ m_InventorySoftLockCount

int m_InventorySoftLockCount = 0
protected

Definition at line 295 of file playerbase.c.

Referenced by IsInventorySoftLocked(), and SetInventorySoftLock().

◆ m_InventorySoftLocked

bool m_InventorySoftLocked
protected

Definition at line 294 of file playerbase.c.

Referenced by SetInventorySoftLock().

◆ m_IsCraftingReady

bool m_IsCraftingReady
protected

Definition at line 258 of file playerbase.c.

Referenced by Init().

◆ m_IsDrowning

bool m_IsDrowning
protected

Definition at line 279 of file playerbase.c.

Referenced by CanSpawnBreathVaporEffect(), CommandHandler(), and SetDrowning().

◆ m_IsFighting

bool m_IsFighting = false
protected

Definition at line 278 of file playerbase.c.

Referenced by EndFighting(), IsFighting(), and OnCommandMelee2Start().

◆ m_IsHeadingRestricted

bool m_IsHeadingRestricted
protected

Definition at line 150 of file playerbase.c.

Referenced by HeadingModel().

◆ m_IsHoldingBreath

bool m_IsHoldingBreath
protected

Definition at line 142 of file playerbase.c.

Referenced by CommandHandler(), IsHoldingBreath(), and ProcessHoldBreath().

◆ m_IsInColdArea

bool m_IsInColdArea
protected

Definition at line 65 of file playerbase.c.

Referenced by GetInColdArea(), and SetInColdArea().

◆ m_IsInWater

bool m_IsInWater
protected

Definition at line 143 of file playerbase.c.

Referenced by IsInWater(), and SetInWater().

◆ m_IsRestrained

bool m_IsRestrained
protected

◆ m_IsRestrainedLocal

bool m_IsRestrainedLocal
protected

Definition at line 159 of file playerbase.c.

Referenced by OnVariablesSynchronized().

◆ m_IsRestrainPrelocked

bool m_IsRestrainPrelocked
protected

Definition at line 162 of file playerbase.c.

Referenced by IsRestrainPrelocked(), and SetRestrainPrelocked().

◆ m_IsRestrainStarted

bool m_IsRestrainStarted
protected

◆ m_IsRestrainStartedLocal

bool m_IsRestrainStartedLocal
protected

Definition at line 161 of file playerbase.c.

Referenced by OnVariablesSynchronized().

◆ m_IsVehicleSeatDriver

bool m_IsVehicleSeatDriver
protected

Definition at line 182 of file playerbase.c.

Referenced by OnVehicleSeatDriverEnter(), and OnVehicleSeatDriverLeft().

◆ m_Item1

EntityAI m_Item1
protected

Definition at line 256 of file playerbase.c.

◆ m_Item2

EntityAI m_Item2
protected

Definition at line 257 of file playerbase.c.

◆ m_ItemsToDelete

ref array<EntityAI> m_ItemsToDelete
protected

Definition at line 191 of file playerbase.c.

Referenced by AddItemToDelete(), Init(), IsItemsToDelete(), and UpdateDelete().

◆ m_LastFirePoint

vector m_LastFirePoint
protected

Definition at line 273 of file playerbase.c.

Referenced by GetLastFirePoint(), and SetLastFirePoint().

◆ m_LastFirePointIndex

int m_LastFirePointIndex
protected

Definition at line 275 of file playerbase.c.

Referenced by GetLastFirePointIndex(), and SetLastFirePointIndex().

◆ m_LastFirePointRot

float m_LastFirePointRot
protected

Definition at line 274 of file playerbase.c.

Referenced by GetLastFirePointRot(), and SetLastFirePointRot().

◆ m_LastMapPos

vector m_LastMapPos
protected

Definition at line 290 of file playerbase.c.

Referenced by GetLastMapInfo(), and SetLastMapInfo().

◆ m_LastMapScale

float m_LastMapScale = -1.0
protected

Definition at line 289 of file playerbase.c.

Referenced by GetLastMapInfo(), and SetLastMapInfo().

◆ m_LastPostFrameTickTime

float m_LastPostFrameTickTime
protected

Definition at line 144 of file playerbase.c.

Referenced by EOnPostFrame().

◆ m_LastShavedSeconds

int m_LastShavedSeconds
private

◆ m_LastShockHitTime

float m_LastShockHitTime
protected

Definition at line 167 of file playerbase.c.

Referenced by EEHitBy().

◆ m_LastTick

float m_LastTick = -1
protected

Definition at line 252 of file playerbase.c.

Referenced by OnTick().

◆ m_LifespanLevelLocal

int m_LifespanLevelLocal
protected

Definition at line 73 of file playerbase.c.

Referenced by Init(), and OnVariablesSynchronized().

◆ m_LifeSpanState

◆ m_LiquidTendencyDrain

bool m_LiquidTendencyDrain
private

Definition at line 57 of file playerbase.c.

Referenced by GetLiquidTendencyDrain(), Init(), and SetLiquidTendencyDrain().

◆ m_LocalBrokenState

int m_LocalBrokenState = eBrokenLegs.NO_BROKEN_LEGS
protected

Definition at line 193 of file playerbase.c.

Referenced by HandleBrokenLegsSync(), and OnStoreLoad().

◆ m_LocalProjectionOrientation

vector m_LocalProjectionOrientation = "0 0 0 "
protected

Definition at line 249 of file playerbase.c.

Referenced by GetLocalProjectionOrientation(), and SetLocalProjectionOrientation().

◆ m_LocalProjectionPosition

vector m_LocalProjectionPosition = "0 0 0 "
protected

Definition at line 248 of file playerbase.c.

Referenced by GetLocalProjectionPosition(), and SetLocalProjectionPosition().

◆ m_LocalRefreshAnimStateIdx

int m_LocalRefreshAnimStateIdx
protected

Definition at line 69 of file playerbase.c.

Referenced by OnVariablesSynchronized().

◆ m_LoweredNVGHeadset

bool m_LoweredNVGHeadset
protected

Definition at line 314 of file playerbase.c.

Referenced by Init(), IsNVGLowered(), and SetNVGLowered().

◆ m_MapCloseRequestProcessed

bool m_MapCloseRequestProcessed
protected

Definition at line 287 of file playerbase.c.

◆ m_MapClosingSyncSent

bool m_MapClosingSyncSent
protected

Definition at line 288 of file playerbase.c.

Referenced by GetMapClosingSyncSent(), and SetMapClosingSyncSet().

◆ m_MapNavigationBehaviour

ref MapNavigationBehaviour m_MapNavigationBehaviour
protected

Definition at line 291 of file playerbase.c.

Referenced by GetMapNavigationBehaviour(), and Init().

◆ m_MapOpen

bool m_MapOpen
protected

Definition at line 286 of file playerbase.c.

Referenced by IsMapOpen(), and SetMapOpen().

◆ m_MedicalDrugsActive

EMedicalDrugsType m_MedicalDrugsActive
protected

◆ m_MeleeDebug

bool m_MeleeDebug
protected

melee stats

Definition at line 303 of file playerbase.c.

Referenced by Init().

◆ m_MixedSoundStates

int m_MixedSoundStates
protected

Definition at line 180 of file playerbase.c.

Referenced by GetMixedSoundStates(), SetMixedSoundState(), and UnsetMixedSoundState().

◆ m_ModifiersManager

ref ModifiersManager m_ModifiersManager
protected

◆ m_ModuleLifespan

PluginLifespan m_ModuleLifespan
private

Definition at line 79 of file playerbase.c.

Referenced by Init(), OnPlayerLoaded(), OnVariablesSynchronized(), and ShavePlayer().

◆ m_ModulePlayerStatus

PluginPlayerStatus m_ModulePlayerStatus
private

Definition at line 77 of file playerbase.c.

Referenced by Init(), and SetStamina().

◆ m_ModuleRecipesManager

PluginRecipesManager m_ModuleRecipesManager
protected

Definition at line 84 of file playerbase.c.

Referenced by Init(), and OnSelectPlayer().

◆ m_NotifiersManager

ref NotifiersManager m_NotifiersManager
protected

Definition at line 89 of file playerbase.c.

Referenced by GetNotifiersManager(), Init(), and OnScheduledTick().

◆ m_OnUnconsciousStart

ref ScriptInvoker m_OnUnconsciousStart
protected

invokers

Definition at line 349 of file playerbase.c.

Referenced by GetOnUnconsciousStart(), and OnUnconsciousStart().

◆ m_OnUnconsciousStop

ref ScriptInvoker m_OnUnconsciousStop
protected

Definition at line 350 of file playerbase.c.

Referenced by GetOnUnconsciousStop(), and OnUnconsciousStop().

◆ m_OriginalSlidePoseAngle

float m_OriginalSlidePoseAngle
protected

Definition at line 107 of file playerbase.c.

Referenced by CheckAnimationOverrides(), and Init().

◆ m_PerformedAnimActionID

int m_PerformedAnimActionID = -1
protected

Definition at line 310 of file playerbase.c.

Referenced by CheckSoundEvent(), GetPerformedActionID(), and SetPerformedActionID().

◆ m_PersistentFlags

int m_PersistentFlags
protected

◆ m_PlayerDisconnectProcessed

bool m_PlayerDisconnectProcessed
protected

Definition at line 67 of file playerbase.c.

Referenced by IsPlayerDisconnected(), and SetPlayerDisconnected().

◆ m_PlayerLoaded

bool m_PlayerLoaded
protected

Definition at line 66 of file playerbase.c.

Referenced by Init(), IsPlayerLoaded(), and OnPlayerLoaded().

◆ m_PlayerOldPos

vector m_PlayerOldPos
private

Definition at line 7276 of file playerbase.c.

Referenced by OnConnect(), and UpdatePlayerMeasures().

◆ m_PlayerSoundManagerClient

ref PlayerSoundManagerClient m_PlayerSoundManagerClient
protected

Definition at line 135 of file playerbase.c.

Referenced by Init().

◆ m_PlayerSoundManagerServer

ref PlayerSoundManagerServer m_PlayerSoundManagerServer
protected

Definition at line 134 of file playerbase.c.

Referenced by GetPlayerSoundManagerServer(), and Init().

◆ m_PlayerStats

◆ m_PlayerStomach

ref PlayerStomach m_PlayerStomach
protected

Definition at line 320 of file playerbase.c.

Referenced by Consume(), GetStomach(), Init(), OnStoreLoad(), and OnStoreSave().

◆ m_PresenceNotifier

PluginPresenceNotifier m_PresenceNotifier
protected

Definition at line 80 of file playerbase.c.

Referenced by GetNoisePresenceInAI(), OnJumpEnd(), and OnSelectPlayer().

◆ m_ProcessAddEffectWidgets

ref array<int> m_ProcessAddEffectWidgets
protected

Definition at line 339 of file playerbase.c.

Referenced by Init(), OnCommandHandlerTick(), and QueueAddEffectWidget().

◆ m_ProcessAddGlassesEffects

ref array<int> m_ProcessAddGlassesEffects
protected

Definition at line 343 of file playerbase.c.

Referenced by HandleGlassesEffect(), Init(), and QueueAddGlassesEffect().

◆ m_ProcessRemoveEffectWidgets

ref array<int> m_ProcessRemoveEffectWidgets
protected

Definition at line 340 of file playerbase.c.

Referenced by Init(), OnCommandHandlerTick(), and QueueRemoveEffectWidget().

◆ m_ProcessRemoveGlassesEffects

ref array<int> m_ProcessRemoveGlassesEffects
protected

Definition at line 344 of file playerbase.c.

Referenced by HandleGlassesEffect(), Init(), and QueueRemoveGlassesEffect().

◆ m_ProcessUIWarning

bool m_ProcessUIWarning
protected

Definition at line 68 of file playerbase.c.

Referenced by Init(), OnSelectPlayer(), and SetProcessUIWarning().

◆ m_PulseType

EPulseType m_PulseType
protected

Definition at line 186 of file playerbase.c.

Referenced by GetPulseType(), and SetPulseType().

◆ m_QBarItems

ref TStringArray m_QBarItems
staticprotected

Definition at line 296 of file playerbase.c.

◆ m_QuickBarBase

◆ m_QuickBarBonus

int m_QuickBarBonus = 0
protected

Definition at line 181 of file playerbase.c.

Referenced by GetQuickBarBonus(), and Init().

◆ m_QuickBarFT

bool m_QuickBarFT = false
protected

Definition at line 139 of file playerbase.c.

Referenced by OnQuickBarContinuousUseEnd(), and OnQuickBarContinuousUseStart().

◆ m_QuickBarHold

bool m_QuickBarHold
protected

Definition at line 138 of file playerbase.c.

Referenced by Init(), OnQuickBarContinuousUseEnd(), and OnQuickBarContinuousUseStart().

◆ m_RecipeAnimLength

float m_RecipeAnimLength
protected

Definition at line 259 of file playerbase.c.

◆ m_RecipeID

int m_RecipeID = -1
protected

Definition at line 255 of file playerbase.c.

Referenced by GetCraftingRecipeID(), and SetCraftingRecipeID().

◆ m_RecipePick

int m_RecipePick
protected

Definition at line 141 of file playerbase.c.

Referenced by GetCurrentRecipe(), Init(), SetFirstRecipe(), and SetNextRecipe().

◆ m_Recipes

ref array<int> m_Recipes
protected

Definition at line 261 of file playerbase.c.

Referenced by Init().

◆ m_RefreshAnimStateIdx

int m_RefreshAnimStateIdx
protected

Definition at line 70 of file playerbase.c.

Referenced by OnVariablesSynchronized(), and RequestHandAnimationStateRefresh().

◆ m_RGSManager

RandomGeneratorSyncManager m_RGSManager
protected

Definition at line 202 of file playerbase.c.

Referenced by CommandHandler(), GetRandomGeneratorSyncManager(), and Init().

◆ m_SaySoundBuilder

ref SoundObjectBuilder m_SaySoundBuilder
protected

Definition at line 264 of file playerbase.c.

Referenced by SaySoundSet().

◆ m_SaySoundLastSetName

string m_SaySoundLastSetName
protected

Definition at line 266 of file playerbase.c.

Referenced by SaySoundSet().

◆ m_SaySoundObject

ref SoundObject m_SaySoundObject
protected

Definition at line 265 of file playerbase.c.

Referenced by SaySoundSet().

◆ m_SaySoundParams

ref SoundParams m_SaySoundParams
protected

Definition at line 263 of file playerbase.c.

Referenced by SaySoundSet().

◆ m_ServerPlayers

ref array<Man> m_ServerPlayers = new array<Man>
staticprotected

Definition at line 219 of file playerbase.c.

Referenced by SpreadAgentsEx().

◆ m_Shakes

int m_Shakes
protected

Definition at line 176 of file playerbase.c.

Referenced by FreezeCheck(), and GetShakeLevel().

◆ m_ShakesForced

int m_ShakesForced
protected

Definition at line 177 of file playerbase.c.

Referenced by FreezeCheck(), and SetShakesForced().

◆ m_ShockDealtEffect

ref ShockDealtEffect m_ShockDealtEffect
protected

Definition at line 121 of file playerbase.c.

Referenced by GetShockEffect(), and SpawnShockEffect().

◆ m_ShockHandler

ref ShockHandler m_ShockHandler
protected

◆ m_ShockSimplified

int m_ShockSimplified
protected

Definition at line 156 of file playerbase.c.

Referenced by GetSimplifiedShockNormalized(), and OnUnconsciousUpdate().

◆ m_ShowDbgUI

bool m_ShowDbgUI = true
protected

Definition at line 2906 of file playerbase.c.

◆ m_SoftSkillsManager

ref SoftSkillsManager m_SoftSkillsManager
protected

Definition at line 100 of file playerbase.c.

Referenced by GetSoftSkillsManager(), and Init().

◆ m_SoundEvent

int m_SoundEvent
protected

◆ m_SoundEventParam

int m_SoundEventParam
protected

Definition at line 109 of file playerbase.c.

Referenced by CheckSoundEvent(), CheckZeroSoundEvent(), and SendSoundEventEx().

◆ m_SoundEventSent

bool m_SoundEventSent
protected

Definition at line 111 of file playerbase.c.

Referenced by CheckSendSoundEvent(), and CheckZeroSoundEvent().

◆ m_SoundFliesEffect

ref EffectSound m_SoundFliesEffect
protected

Definition at line 137 of file playerbase.c.

Referenced by ~PlayerBase(), EEDelete(), and SetDecayEffects().

◆ m_StaminaHandler

ref StaminaHandler m_StaminaHandler
protected

◆ m_StaminaParam

ref Param3<float,float,bool> m_StaminaParam
protected

Definition at line 114 of file playerbase.c.

◆ m_StaminaState

int m_StaminaState
protected

Definition at line 154 of file playerbase.c.

Referenced by GetStaminaState(), and SetStaminaState().

◆ m_StanceIndicator

ref StanceIndicator m_StanceIndicator
protected

Definition at line 101 of file playerbase.c.

Referenced by CommandHandler(), and Init().

◆ m_StatEnergy

PlayerStat<float> m_StatEnergy
protected

Definition at line 327 of file playerbase.c.

Referenced by GetStatEnergy().

◆ m_StatHeatComfort

PlayerStat<float> m_StatHeatComfort
protected

Definition at line 328 of file playerbase.c.

Referenced by GetStatHeatComfort().

◆ m_StatToxicity

PlayerStat<float> m_StatToxicity
protected

Definition at line 326 of file playerbase.c.

Referenced by GetStatToxicity().

◆ m_StatTremor

PlayerStat<float> m_StatTremor
protected

Definition at line 329 of file playerbase.c.

Referenced by GetStatTremor().

◆ m_StatWater

PlayerStat<float> m_StatWater
protected

Definition at line 325 of file playerbase.c.

Referenced by GetStatWater().

◆ m_StoreLoadVersion

int m_StoreLoadVersion
private

Definition at line 71 of file playerbase.c.

Referenced by GetStoreLoadVersion(), Init(), and OnStoreLoad().

◆ m_SymptomManager

ref SymptomManager m_SymptomManager
protected

Definition at line 95 of file playerbase.c.

Referenced by GetSymptomManager(), and Init().

◆ m_SyncedModifiers

int m_SyncedModifiers
protected

Definition at line 317 of file playerbase.c.

Referenced by IsSyncedModifierActive(), OnParticleEvent(), and OnVariablesSynchronized().

◆ m_SyncedModifiersPrev

int m_SyncedModifiersPrev
protected

Definition at line 318 of file playerbase.c.

Referenced by IsSyncedModifierActive(), and OnVariablesSynchronized().

◆ m_TrasferValues

ref TransferValues m_TrasferValues
protected

Definition at line 102 of file playerbase.c.

Referenced by GetTransferValues(), Init(), OnRPC(), and OnScheduledTick().

◆ m_UALastMessage

string m_UALastMessage
protected

user actions & symptoms

Definition at line 308 of file playerbase.c.

Referenced by ClearLastUAMessage(), GetLastUAMessage(), Init(), and SetLastUAMessage().

◆ m_UALastMessageTimer

ref Timer m_UALastMessageTimer
protected

Definition at line 309 of file playerbase.c.

Referenced by ClearLastUAMessage(), Init(), and SetLastUAMessage().

◆ m_UAParam

ref Param2<int,int> m_UAParam
protected

Definition at line 113 of file playerbase.c.

Referenced by Init().

◆ m_UAParamMessage

ref Param1<string> m_UAParamMessage
protected

Definition at line 115 of file playerbase.c.

Referenced by Init(), and OnRPC().

◆ m_UAProgressParam

ref Param2<float,float> m_UAProgressParam
protected

Definition at line 112 of file playerbase.c.

Referenced by Init().

◆ m_UnconParam

ref Param1<float> m_UnconParam
protected

Definition at line 116 of file playerbase.c.

Referenced by Init(), and OnUnconsciousUpdate().

◆ m_UnconRefillModifier

float m_UnconRefillModifier = 1
protected

Definition at line 201 of file playerbase.c.

Referenced by EEHitBy(), and OnUnconsciousStop().

◆ m_UnconsciousEndTime

float m_UnconsciousEndTime = 0
protected

Definition at line 183 of file playerbase.c.

◆ m_UnconsciousTime

float m_UnconsciousTime
protected

Definition at line 155 of file playerbase.c.

Referenced by CommandHandler(), OnUnconsciousStop(), and OnUnconsciousUpdate().

◆ m_UnconsciousVignetteTarget

float m_UnconsciousVignetteTarget = 2
protected

Definition at line 165 of file playerbase.c.

Referenced by OnUnconsciousStop(), and OnUnconsciousUpdate().

◆ m_UndergroundBunkerHandler

ref UndergroundBunkerHandlerClient m_UndergroundBunkerHandler
protected

Definition at line 9703 of file playerbase.c.

Referenced by EOnFrame(), KillUndergroundHandler(), and SimulateDeath().

◆ m_UndergroundHandler

ref UndergroundHandlerClient m_UndergroundHandler
protected

◆ m_UndergroundPresence

EUndergroundPresence m_UndergroundPresence
protected

Definition at line 75 of file playerbase.c.

Referenced by CanPlaceItem(), and SetUnderground().

◆ m_VirtualHud

ref VirtualHud m_VirtualHud
protected

Definition at line 96 of file playerbase.c.

Referenced by GetVirtualHud(), Init(), OnPlayerLoaded(), and OnScheduledTick().

◆ m_VisibilityCoef

float m_VisibilityCoef
protected

Definition at line 106 of file playerbase.c.

Referenced by GetVisibilityCoef(), Init(), and SetVisibilityCoef().

◆ m_WeaponManager

ref WeaponManager m_WeaponManager
protected

◆ m_WorkingNVGHeadset

bool m_WorkingNVGHeadset
protected

Definition at line 313 of file playerbase.c.

Referenced by Init().

◆ OVERLOAD_LIMIT

const int OVERLOAD_LIMIT = 30000
protected

Definition at line 104 of file playerbase.c.

Referenced by IsOverloaded().

◆ SHAKE_LEVEL_MAX

const int SHAKE_LEVEL_MAX = 7
private

Definition at line 52 of file playerbase.c.

Referenced by Init().

◆ SIMPLIFIED_SHOCK_CAP

const int SIMPLIFIED_SHOCK_CAP = 63
private

Definition at line 51 of file playerbase.c.

Referenced by GetSimplifiedShockNormalized(), Init(), and SimplifyShock().

◆ SOUND_BREAK_LEG

const string SOUND_BREAK_LEG = "broken_leg_SoundSet"
protected

Definition at line 196 of file playerbase.c.

Referenced by BreakLegSound().

◆ SPREAD_AGENTS_OBJECTS

ref array<Object> SPREAD_AGENTS_OBJECTS = new array<Object>
staticprotected

DEPRECATED

Definition at line 9700 of file playerbase.c.

◆ SPREAD_AGENTS_PROXY_CARGOS

ref array<CargoBase> SPREAD_AGENTS_PROXY_CARGOS = new array<CargoBase>
staticprotected

Definition at line 9701 of file playerbase.c.


The documentation for this class was generated from the following file:
  • F:/Games/Dayz/scripts/4_world/entities/manbase/playerbase.c