PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
DayZPlayerSyncJunctures Class Reference

Static Private Member Functions

static void SendDeath (DayZPlayer pPlayer, int pType, float pHitDir)
 
static bool ReadDeathParams (ParamsReadContext pCtx, out int pType, out float pHitDir)
 
static void SendDamageHit (DayZPlayer pPlayer, int pType, float pHitDir, bool pFullbody)
 
static void SendDamageHitEx (DayZPlayer pPlayer, int pType, float pHitDir, bool pFullbody, TotalDamageResult pDamageResult, int pDamageType, EntityAI pSource, string pComponent, string pAmmoType, vector pModelPos)
 
static bool ReadDamageHitParams (ParamsReadContext pCtx, out int pType, out float pHitDir, out bool pFullbody)
 
static bool ReadDamageHitParamsEx (ParamsReadContext pCtx, out SyncHitInfo pData)
 
static void SendInjury (DayZPlayer pPlayer, bool pEnable, eInjuryHandlerLevels level)
 
static bool ReadInjuryParams (ParamsReadContext pCtx, out bool pEnable, out eInjuryHandlerLevels level)
 
static void SendPlayerUnconsciousness (DayZPlayer pPlayer, bool enable)
 
static bool ReadPlayerUnconsciousnessParams (ParamsReadContext pCtx, out bool enable)
 
static void SendPlayerFBModifier (PlayerBase pPlayer, int type)
 
static bool ReadPlayerFBModifier (ParamsReadContext pCtx, out int type)
 
static void SendPlayerSymptomADD (DayZPlayer pPlayer, int type, int state_type)
 
static bool ReadPlayerSymptomADDParams (ParamsReadContext pCtx, out int type)
 
static void SendPlayerSymptomFB (DayZPlayer pPlayer, DayZPlayerConstants anim_id, int state_type, int stance_mask, float duration)
 
static bool ReadPlayerSymptomFBParams (ParamsReadContext pCtx, out DayZPlayerConstants anim_id, out int stance_mask, out float duration)
 
static void SendActionInterrupt (DayZPlayer pPlayer)
 
static bool ReadActionInterruptParams (ParamsReadContext pCtx)
 
static void SendActionAcknowledgment (DayZPlayer pPlayer, int AckID, bool accept)
 
static void SendWeaponActionAcknowledgment (DayZPlayer pPlayer, int AckID, bool accept)
 
static bool ReadKuruRequest (ParamsReadContext pCtx, out float amount)
 
static void SendKuruRequest (DayZPlayer pPlayer, float amount)
 
static void SendQuickbarSetShortcut (DayZPlayer pPlayer, EntityAI item, int index, bool force=false)
 
static void SendWeaponJamChance (DayZPlayer pPlayer, float jamChance)
 
static void SendDeleteItem (DayZPlayer pPlayer, EntityAI item)
 
static void SendBrokenLegs (DayZPlayer pPlayer, bool canPlaySound, eBrokenLegs currentState, eBrokenLegs localState)
 
static bool ReadBrokenLegsParams (ParamsReadContext pCtx, out bool canPlaySound, out eBrokenLegs currentState, out eBrokenLegs localState)
 
static void SendBrokenLegsEx (DayZPlayer pPlayer, int currentState)
 
static bool ReadBrokenLegsParamsEx (ParamsReadContext pCtx, out int currentState)
 
static void SendShock (DayZPlayer pPlayer, float shockValue)
 
static bool ReadShockParams (ParamsReadContext pCtx, out float shockValue)
 

Static Private Attributes

static const int SJ_DAMAGE_HIT = 0
 
static const int SJ_INJURY = 1
 
static const int SJ_ACTION_INTERRUPT = 2
 
static const int SJ_PLAYER_STATES = 3
 
static const int SJ_QUICKBAR_SET_SHORTCUT = 4
 
static const int SJ_INVENTORY = 5
 
static const int SJ_ACTION_ACK_ACCEPT = 6
 
static const int SJ_ACTION_ACK_REJECT = 7
 
static const int SJ_WEAPON_ACTION_ACK_ACCEPT = 8
 
static const int SJ_WEAPON_ACTION_ACK_REJECT = 9
 
static const int SJ_WEAPON_SET_JAMMING_CHANCE = 10
 
static const int SJ_UNCONSCIOUSNESS = 11
 
static const int SJ_DEATH = 12
 
static const int SJ_PLAYER_FB_MODIFIER = 13
 
static const int SJ_PLAYER_ADD_MODIFIER = 14
 
static const int SJ_KURU_REQUEST = 15
 
static const int SJ_GESTURE_REQUEST = 16
 
static const int SJ_INVENTORY_REPAIR = 17
 
static const int SJ_WEAPON_LIFT = 18
 
static const int SJ_WEAPON_RAISE_COMPLETED = 19
 
static const int SJ_DELETE_ITEM = 20
 
static const int SJ_BROKEN_LEGS = 21
 
static const int SJ_SHOCK = 22
 
static const int SJ_STAMINA = 23
 
static const int SJ_STAMINA_MISC = 24
 
static const int SJ_ADS_RESET = 25
 
static const int SJ_INVENTORY_FAILURE = 26
 

Member Function Documentation

◆ ReadActionInterruptParams()

static bool ReadActionInterruptParams ( ParamsReadContext  pCtx)
inlinestaticprivate

◆ ReadBrokenLegsParams()

static bool ReadBrokenLegsParams ( ParamsReadContext  pCtx,
out bool  canPlaySound,
out eBrokenLegs  currentState,
out eBrokenLegs  localState 
)
inlinestaticprivate

References Serializer::Read().

◆ ReadBrokenLegsParamsEx()

static bool ReadBrokenLegsParamsEx ( ParamsReadContext  pCtx,
out int  currentState 
)
inlinestaticprivate

References Serializer::Read().

Referenced by ManBase::OnSyncJuncture().

◆ ReadDamageHitParams()

static bool ReadDamageHitParams ( ParamsReadContext  pCtx,
out int  pType,
out float  pHitDir,
out bool  pFullbody 
)
inlinestaticprivate

References Serializer::Read().

◆ ReadDamageHitParamsEx()

static bool ReadDamageHitParamsEx ( ParamsReadContext  pCtx,
out SyncHitInfo  pData 
)
inlinestaticprivate

◆ ReadDeathParams()

static bool ReadDeathParams ( ParamsReadContext  pCtx,
out int  pType,
out float  pHitDir 
)
inlinestaticprivate

◆ ReadInjuryParams()

static bool ReadInjuryParams ( ParamsReadContext  pCtx,
out bool  pEnable,
out eInjuryHandlerLevels  level 
)
inlinestaticprivate

References Serializer::Read().

Referenced by ManBase::OnSyncJuncture().

◆ ReadKuruRequest()

static bool ReadKuruRequest ( ParamsReadContext  pCtx,
out float  amount 
)
inlinestaticprivate

Kuru Disease Shake

References Serializer::Read().

Referenced by ManBase::OnSyncJuncture().

◆ ReadPlayerFBModifier()

static bool ReadPlayerFBModifier ( ParamsReadContext  pCtx,
out int  type 
)
inlinestaticprivate

References Serializer::Read().

◆ ReadPlayerSymptomADDParams()

static bool ReadPlayerSymptomADDParams ( ParamsReadContext  pCtx,
out int  type 
)
inlinestaticprivate

References Serializer::Read().

◆ ReadPlayerSymptomFBParams()

static bool ReadPlayerSymptomFBParams ( ParamsReadContext  pCtx,
out DayZPlayerConstants  anim_id,
out int  stance_mask,
out float  duration 
)
inlinestaticprivate

References Serializer::Read().

Referenced by SmptAnimMetaBase::Init().

◆ ReadPlayerUnconsciousnessParams()

static bool ReadPlayerUnconsciousnessParams ( ParamsReadContext  pCtx,
out bool  enable 
)
inlinestaticprivate

References Serializer::Read().

Referenced by ManBase::OnSyncJuncture().

◆ ReadShockParams()

static bool ReadShockParams ( ParamsReadContext  pCtx,
out float  shockValue 
)
inlinestaticprivate

References Serializer::Read().

Referenced by ManBase::OnSyncJuncture().

◆ SendActionAcknowledgment()

static void SendActionAcknowledgment ( DayZPlayer  pPlayer,
int  AckID,
bool  accept 
)
inlinestaticprivate

◆ SendActionInterrupt()

static void SendActionInterrupt ( DayZPlayer  pPlayer)
inlinestaticprivate

◆ SendBrokenLegs()

static void SendBrokenLegs ( DayZPlayer  pPlayer,
bool  canPlaySound,
eBrokenLegs  currentState,
eBrokenLegs  localState 
)
inlinestaticprivate

BrokenLegs

References SJ_BROKEN_LEGS, and Serializer::Write().

◆ SendBrokenLegsEx()

static void SendBrokenLegsEx ( DayZPlayer  pPlayer,
int  currentState 
)
inlinestaticprivate

◆ SendDamageHit()

static void SendDamageHit ( DayZPlayer  pPlayer,
int  pType,
float  pHitDir,
bool  pFullbody 
)
inlinestaticprivate

DamageHit

References SJ_DAMAGE_HIT, and Serializer::Write().

◆ SendDamageHitEx()

static void SendDamageHitEx ( DayZPlayer  pPlayer,
int  pType,
float  pHitDir,
bool  pFullbody,
TotalDamageResult  pDamageResult,
int  pDamageType,
EntityAI  pSource,
string  pComponent,
string  pAmmoType,
vector  pModelPos 
)
inlinestaticprivate

◆ SendDeath()

static void SendDeath ( DayZPlayer  pPlayer,
int  pType,
float  pHitDir 
)
inlinestaticprivate

Death

References SJ_DEATH, and Serializer::Write().

Referenced by DayZPlayer::SendDeathJuncture().

◆ SendDeleteItem()

static void SendDeleteItem ( DayZPlayer  pPlayer,
EntityAI  item 
)
inlinestaticprivate

◆ SendInjury()

static void SendInjury ( DayZPlayer  pPlayer,
bool  pEnable,
eInjuryHandlerLevels  level 
)
inlinestaticprivate

Injury

References SJ_INJURY, and Serializer::Write().

Referenced by SendValue().

◆ SendKuruRequest()

static void SendKuruRequest ( DayZPlayer  pPlayer,
float  amount 
)
inlinestaticprivate

◆ SendPlayerFBModifier()

static void SendPlayerFBModifier ( PlayerBase  pPlayer,
int  type 
)
inlinestaticprivate

Full body

References SJ_PLAYER_FB_MODIFIER, and Serializer::Write().

◆ SendPlayerSymptomADD()

static void SendPlayerSymptomADD ( DayZPlayer  pPlayer,
int  type,
int  state_type 
)
inlinestaticprivate

Additive Symptoms

References SJ_PLAYER_ADD_MODIFIER, and Serializer::Write().

Referenced by SymptomBase::PlayAnimationADD().

◆ SendPlayerSymptomFB()

static void SendPlayerSymptomFB ( DayZPlayer  pPlayer,
DayZPlayerConstants  anim_id,
int  state_type,
int  stance_mask,
float  duration 
)
inlinestaticprivate

Full body Symptoms

References SJ_PLAYER_STATES, and Serializer::Write().

Referenced by SymptomBase::PlayAnimationFB().

◆ SendPlayerUnconsciousness()

static void SendPlayerUnconsciousness ( DayZPlayer  pPlayer,
bool  enable 
)
inlinestaticprivate

◆ SendQuickbarSetShortcut()

static void SendQuickbarSetShortcut ( DayZPlayer  pPlayer,
EntityAI  item,
int  index,
bool  force = false 
)
inlinestaticprivate

Quickbar

References SJ_QUICKBAR_SET_SHORTCUT, and Serializer::Write().

Referenced by SetEntityShortcut().

◆ SendShock()

static void SendShock ( DayZPlayer  pPlayer,
float  shockValue 
)
inlinestaticprivate

Shock

References SJ_SHOCK, and Serializer::Write().

Referenced by ShockHandler::Synchronize().

◆ SendWeaponActionAcknowledgment()

static void SendWeaponActionAcknowledgment ( DayZPlayer  pPlayer,
int  AckID,
bool  accept 
)
inlinestaticprivate

◆ SendWeaponJamChance()

static void SendWeaponJamChance ( DayZPlayer  pPlayer,
float  jamChance 
)
inlinestaticprivate

Field Documentation

◆ SJ_ACTION_ACK_ACCEPT

const int SJ_ACTION_ACK_ACCEPT = 6
staticprivate

◆ SJ_ACTION_ACK_REJECT

const int SJ_ACTION_ACK_REJECT = 7
staticprivate

◆ SJ_ACTION_INTERRUPT

const int SJ_ACTION_INTERRUPT = 2
staticprivate

◆ SJ_ADS_RESET

const int SJ_ADS_RESET = 25
staticprivate

◆ SJ_BROKEN_LEGS

const int SJ_BROKEN_LEGS = 21
staticprivate

◆ SJ_DAMAGE_HIT

const int SJ_DAMAGE_HIT = 0
staticprivate

◆ SJ_DEATH

const int SJ_DEATH = 12
staticprivate

◆ SJ_DELETE_ITEM

const int SJ_DELETE_ITEM = 20
staticprivate

◆ SJ_GESTURE_REQUEST

const int SJ_GESTURE_REQUEST = 16
staticprivate

◆ SJ_INJURY

const int SJ_INJURY = 1
staticprivate

◆ SJ_INVENTORY

const int SJ_INVENTORY = 5
staticprivate

◆ SJ_INVENTORY_FAILURE

const int SJ_INVENTORY_FAILURE = 26
staticprivate

◆ SJ_INVENTORY_REPAIR

const int SJ_INVENTORY_REPAIR = 17
staticprivate

Referenced by ManBase::OnSyncJuncture().

◆ SJ_KURU_REQUEST

const int SJ_KURU_REQUEST = 15
staticprivate

◆ SJ_PLAYER_ADD_MODIFIER

const int SJ_PLAYER_ADD_MODIFIER = 14
staticprivate

◆ SJ_PLAYER_FB_MODIFIER

const int SJ_PLAYER_FB_MODIFIER = 13
staticprivate

Referenced by SendPlayerFBModifier().

◆ SJ_PLAYER_STATES

const int SJ_PLAYER_STATES = 3
staticprivate

◆ SJ_QUICKBAR_SET_SHORTCUT

const int SJ_QUICKBAR_SET_SHORTCUT = 4
staticprivate

◆ SJ_SHOCK

const int SJ_SHOCK = 22
staticprivate

◆ SJ_STAMINA

const int SJ_STAMINA = 23
staticprivate

◆ SJ_STAMINA_MISC

◆ SJ_UNCONSCIOUSNESS

const int SJ_UNCONSCIOUSNESS = 11
staticprivate

◆ SJ_WEAPON_ACTION_ACK_ACCEPT

const int SJ_WEAPON_ACTION_ACK_ACCEPT = 8
staticprivate

◆ SJ_WEAPON_ACTION_ACK_REJECT

const int SJ_WEAPON_ACTION_ACK_REJECT = 9
staticprivate

◆ SJ_WEAPON_LIFT

const int SJ_WEAPON_LIFT = 18
staticprivate

Referenced by ManBase::OnSyncJuncture().

◆ SJ_WEAPON_RAISE_COMPLETED

const int SJ_WEAPON_RAISE_COMPLETED = 19
staticprivate

◆ SJ_WEAPON_SET_JAMMING_CHANCE

const int SJ_WEAPON_SET_JAMMING_CHANCE = 10
staticprivate

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