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

Static Private Member Functions

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

Static Private Attributes

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

Detailed Description

Definition at line 4 of file dayzplayersyncjunctures.c.

Member Function Documentation

◆ ReadActionInterruptParams()

bool ReadActionInterruptParams ( ParamsReadContext pCtx)
inlinestaticprivate

Definition at line 271 of file dayzplayersyncjunctures.c.

◆ ReadBrokenLegsParams()

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

Definition at line 380 of file dayzplayersyncjunctures.c.

References Serializer::Read().

◆ ReadBrokenLegsParamsEx()

bool ReadBrokenLegsParamsEx ( ParamsReadContext pCtx,
out int currentState )
inlinestaticprivate

Definition at line 400 of file dayzplayersyncjunctures.c.

References Serializer::Read().

Referenced by ManBase::OnSyncJuncture().

◆ ReadDamageHitParams()

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

Definition at line 121 of file dayzplayersyncjunctures.c.

References Serializer::Read().

◆ ReadDamageHitParamsEx()

bool ReadDamageHitParamsEx ( ParamsReadContext pCtx,
out SyncHitInfo pData )
inlinestaticprivate

Definition at line 132 of file dayzplayersyncjunctures.c.

References Serializer::Read().

Referenced by DayZPlayer::OnSyncJuncture().

◆ ReadDeathParams()

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

Definition at line 74 of file dayzplayersyncjunctures.c.

References Serializer::Read().

Referenced by DayZPlayer::OnSyncJuncture().

◆ ReadInjuryParams()

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

Definition at line 153 of file dayzplayersyncjunctures.c.

References Serializer::Read().

Referenced by ManBase::OnSyncJuncture().

◆ ReadKuruRequest()

bool ReadKuruRequest ( ParamsReadContext pCtx,
out float amount )
inlinestaticprivate

Kuru Disease Shake.

Definition at line 306 of file dayzplayersyncjunctures.c.

References Serializer::Read().

Referenced by ManBase::OnSyncJuncture().

◆ ReadPlayerFBModifier()

bool ReadPlayerFBModifier ( ParamsReadContext pCtx,
out int type )
inlinestaticprivate

Definition at line 199 of file dayzplayersyncjunctures.c.

References Serializer::Read().

◆ ReadPlayerSymptomADDParams()

bool ReadPlayerSymptomADDParams ( ParamsReadContext pCtx,
out int type )
inlinestaticprivate

Definition at line 221 of file dayzplayersyncjunctures.c.

References Serializer::Read().

◆ ReadPlayerSymptomFBParams()

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

Definition at line 246 of file dayzplayersyncjunctures.c.

References Serializer::Read().

Referenced by SmptAnimMetaBase::Init().

◆ ReadPlayerUnconsciousnessParams()

bool ReadPlayerUnconsciousnessParams ( ParamsReadContext pCtx,
out bool enable )
inlinestaticprivate

Definition at line 177 of file dayzplayersyncjunctures.c.

References Serializer::Read().

Referenced by ManBase::OnSyncJuncture().

◆ ReadShockParams()

bool ReadShockParams ( ParamsReadContext pCtx,
out float shockValue )
inlinestaticprivate

Definition at line 421 of file dayzplayersyncjunctures.c.

References Serializer::Read().

Referenced by ManBase::OnSyncJuncture().

◆ SendActionAcknowledgment()

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

◆ SendActionInterrupt()

void SendActionInterrupt ( DayZPlayer pPlayer)
inlinestaticprivate

Action interrupt.

Definition at line 265 of file dayzplayersyncjunctures.c.

References SJ_ACTION_INTERRUPT.

Referenced by ActionBaseCB::Interrupt(), and ActionManagerServer::RequestInterruptAction().

◆ SendBrokenLegs()

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

BrokenLegs.

Definition at line 370 of file dayzplayersyncjunctures.c.

References SJ_BROKEN_LEGS, and Serializer::Write().

◆ SendBrokenLegsEx()

void SendBrokenLegsEx ( DayZPlayer pPlayer,
int currentState )
inlinestaticprivate

Definition at line 392 of file dayzplayersyncjunctures.c.

References SJ_BROKEN_LEGS, and Serializer::Write().

Referenced by ManBase::SetBrokenLegs().

◆ SendDamageHit()

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

DamageHit.

Definition at line 89 of file dayzplayersyncjunctures.c.

References SJ_DAMAGE_HIT, and Serializer::Write().

◆ SendDamageHitEx()

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

◆ SendDeath()

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

Death.

Definition at line 65 of file dayzplayersyncjunctures.c.

References SJ_DEATH, and Serializer::Write().

Referenced by DayZPlayer::SendDeathJuncture().

◆ SendDeleteItem()

void SendDeleteItem ( DayZPlayer pPlayer,
EntityAI item )
inlinestaticprivate

Definition at line 356 of file dayzplayersyncjunctures.c.

References SJ_DELETE_ITEM, and Serializer::Write().

Referenced by ManBase::JunctureDeleteItem().

◆ SendInjury()

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

Injury.

Definition at line 144 of file dayzplayersyncjunctures.c.

References SJ_INJURY, and Serializer::Write().

Referenced by SendValue().

◆ SendKuruRequest()

void SendKuruRequest ( DayZPlayer pPlayer,
float amount )
inlinestaticprivate

Definition at line 313 of file dayzplayersyncjunctures.c.

References SJ_KURU_REQUEST, and Serializer::Write().

Referenced by BrainDiseaseMdfr::OnTick().

◆ SendPlayerFBModifier()

void SendPlayerFBModifier ( PlayerBase pPlayer,
int type )
inlinestaticprivate

Full body.

Definition at line 191 of file dayzplayersyncjunctures.c.

References SJ_PLAYER_FB_MODIFIER, and Serializer::Write().

◆ SendPlayerSymptomADD()

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

Additive Symptoms.

Definition at line 211 of file dayzplayersyncjunctures.c.

References SJ_PLAYER_ADD_MODIFIER, and Serializer::Write().

Referenced by SymptomBase::PlayAnimationADD().

◆ SendPlayerSymptomFB()

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

Full body Symptoms.

Definition at line 234 of file dayzplayersyncjunctures.c.

References SJ_PLAYER_STATES, and Serializer::Write().

Referenced by SymptomBase::PlayAnimationFB().

◆ SendPlayerUnconsciousness()

void SendPlayerUnconsciousness ( DayZPlayer pPlayer,
bool enable )
inlinestaticprivate

◆ SendQuickbarSetShortcut()

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

Quickbar.

Definition at line 325 of file dayzplayersyncjunctures.c.

References SJ_QUICKBAR_SET_SHORTCUT, and Serializer::Write().

Referenced by SetEntityShortcut().

◆ SendShock()

void SendShock ( DayZPlayer pPlayer,
float shockValue )
inlinestaticprivate

Shock.

Definition at line 413 of file dayzplayersyncjunctures.c.

References SJ_SHOCK, and Serializer::Write().

Referenced by ShockHandler::Synchronize().

◆ SendWeaponActionAcknowledgment()

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

◆ SendWeaponJamChance()

void SendWeaponJamChance ( DayZPlayer pPlayer,
float jamChance )
inlinestaticprivate

Definition at line 335 of file dayzplayersyncjunctures.c.

References SJ_WEAPON_SET_JAMMING_CHANCE, and Serializer::Write().

Referenced by WeaponManager::Update().

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

Definition at line 18 of file dayzplayersyncjunctures.c.

Referenced by DayZPlayer::OnSyncJuncture(), and SendDeath().

◆ SJ_DELETE_ITEM

const int SJ_DELETE_ITEM = 20
staticprivate

Definition at line 26 of file dayzplayersyncjunctures.c.

Referenced by ManBase::OnSyncJuncture(), and SendDeleteItem().

◆ SJ_GESTURE_REQUEST

const int SJ_GESTURE_REQUEST = 16
staticprivate

◆ SJ_INJURY

const int SJ_INJURY = 1
staticprivate

Definition at line 7 of file dayzplayersyncjunctures.c.

Referenced by ManBase::OnSyncJuncture(), and SendInjury().

◆ SJ_INVENTORY

const int SJ_INVENTORY = 5
staticprivate

◆ SJ_INVENTORY_FAILURE

const int SJ_INVENTORY_FAILURE = 26
staticprivate

Definition at line 32 of file dayzplayersyncjunctures.c.

Referenced by HandEvent(), ManBase::OnSyncJuncture(), and ProcessInputData().

◆ SJ_INVENTORY_REPAIR

const int SJ_INVENTORY_REPAIR = 17
staticprivate

Definition at line 23 of file dayzplayersyncjunctures.c.

◆ SJ_KURU_REQUEST

const int SJ_KURU_REQUEST = 15
staticprivate

Definition at line 21 of file dayzplayersyncjunctures.c.

Referenced by ManBase::OnSyncJuncture(), and SendKuruRequest().

◆ SJ_PLAYER_ADD_MODIFIER

const int SJ_PLAYER_ADD_MODIFIER = 14
staticprivate

Definition at line 20 of file dayzplayersyncjunctures.c.

Referenced by ManBase::OnSyncJuncture(), and SendPlayerSymptomADD().

◆ SJ_PLAYER_FB_MODIFIER

const int SJ_PLAYER_FB_MODIFIER = 13
staticprivate

Definition at line 19 of file dayzplayersyncjunctures.c.

Referenced by SendPlayerFBModifier().

◆ SJ_PLAYER_STATES

const int SJ_PLAYER_STATES = 3
staticprivate

Definition at line 9 of file dayzplayersyncjunctures.c.

Referenced by ManBase::OnSyncJuncture(), and SendPlayerSymptomFB().

◆ SJ_QUICKBAR_SET_SHORTCUT

const int SJ_QUICKBAR_SET_SHORTCUT = 4
staticprivate

Definition at line 10 of file dayzplayersyncjunctures.c.

Referenced by ManBase::OnSyncJuncture(), and SendQuickbarSetShortcut().

◆ SJ_SHOCK

const int SJ_SHOCK = 22
staticprivate

Definition at line 28 of file dayzplayersyncjunctures.c.

Referenced by ManBase::OnSyncJuncture(), and SendShock().

◆ SJ_STAMINA

const int SJ_STAMINA = 23
staticprivate

◆ SJ_STAMINA_MISC

const int SJ_STAMINA_MISC = 24
staticprivate

◆ SJ_UNCONSCIOUSNESS

const int SJ_UNCONSCIOUSNESS = 11
staticprivate

Definition at line 17 of file dayzplayersyncjunctures.c.

Referenced by ManBase::OnSyncJuncture(), and SendPlayerUnconsciousness().

◆ 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

Definition at line 24 of file dayzplayersyncjunctures.c.

Referenced by ManBase::OnSyncJuncture().

◆ SJ_WEAPON_RAISE_COMPLETED

const int SJ_WEAPON_RAISE_COMPLETED = 19
staticprivate

Definition at line 25 of file dayzplayersyncjunctures.c.

◆ 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: