34 static const int SJ_DEBUG_GET_IN_VEHICLE = 200;
48 pPlayer.SendSyncJuncture(SJ_DEBUG_GET_IN_VEHICLE, ctx);
53 if (!pCtx.
Read(vehicle))
71 pPlayer.SendSyncJuncture(
SJ_DEATH, ctx);
76 if (!pCtx.
Read(pType))
78 if (!pCtx.
Read(pHitDir))
102 SyncHitInfo data =
new SyncHitInfo;
105 data.m_HitDir = pHitDir;
106 data.m_Fullbody = pFullbody;
107 data.m_HasSource = pSource != null;
108 if ( !pDamageResult )
110 data.m_HealthDamage = -1.0;
123 if (!pCtx.
Read(pType))
125 if (!pCtx.
Read(pHitDir))
127 if (!pCtx.
Read(pFullbody))
134 if (!pCtx.
Read(pData))
150 pPlayer.SendSyncJuncture(
SJ_INJURY, ctx);
155 if ( !pCtx.
Read(pEnable) )
157 if ( !pCtx.
Read(level) )
179 if ( !pCtx.
Read(enable) )
201 if ( !pCtx.
Read(type) )
214 ctx.
Write(state_type);
223 if ( !pCtx.
Read(type) )
237 ctx.
Write(state_type);
239 ctx.
Write(stance_mask);
248 if ( !pCtx.
Read(anim_id) )
250 if ( !pCtx.
Read(stance_mask) )
252 if ( !pCtx.
Read(duration) )
308 if ( !pCtx.
Read(amount) )
338 ctx.
Write(jamChance);
373 ctx.
Write(canPlaySound);
374 ctx.
Write(currentState);
375 ctx.
Write(localState);
382 if ( !pCtx.
Read(canPlaySound) )
384 if ( !pCtx.
Read(currentState) )
386 if ( !pCtx.
Read(localState) )
395 ctx.
Write(currentState);
402 if ( !pCtx.
Read(currentState) )
416 ctx.
Write(shockValue);
418 pPlayer.SendSyncJuncture(
SJ_SHOCK, ctx);
423 if ( !pCtx.
Read(shockValue) )
static void SendDamageHitEx(DayZPlayer pPlayer, int pType, float pHitDir, bool pFullbody, TotalDamageResult pDamageResult, int pDamageType, EntityAI pSource, string pComponent, string pAmmoType, vector pModelPos)
static const int SJ_BROKEN_LEGS
static void SendWeaponJamChance(DayZPlayer pPlayer, float jamChance)
static const int SJ_DEATH
static void SendActionInterrupt(DayZPlayer pPlayer)
static const int SJ_ACTION_INTERRUPT
static void SendActionAcknowledgment(DayZPlayer pPlayer, int AckID, bool accept)
static const int SJ_PLAYER_STATES
static void SendKuruRequest(DayZPlayer pPlayer, float amount)
static void SendBrokenLegs(DayZPlayer pPlayer, bool canPlaySound, eBrokenLegs currentState, eBrokenLegs localState)
static bool ReadPlayerSymptomADDParams(ParamsReadContext pCtx, out int type)
static const int SJ_ACTION_ACK_REJECT
static const int SJ_WEAPON_LIFT
static const int SJ_PLAYER_FB_MODIFIER
static const int SJ_STAMINA
static const int SJ_INVENTORY_REPAIR
static void SendPlayerSymptomFB(DayZPlayer pPlayer, DayZPlayerConstants anim_id, int state_type, int stance_mask, float duration)
static bool ReadShockParams(ParamsReadContext pCtx, out float shockValue)
static bool ReadDamageHitParamsEx(ParamsReadContext pCtx, out SyncHitInfo pData)
static const int SJ_KURU_REQUEST
static void SendInjury(DayZPlayer pPlayer, bool pEnable, eInjuryHandlerLevels level)
static const int SJ_PLAYER_ADD_MODIFIER
static const int SJ_WEAPON_ACTION_ACK_REJECT
static const int SJ_SHOCK
static void SendDeleteItem(DayZPlayer pPlayer, EntityAI item)
static bool ReadKuruRequest(ParamsReadContext pCtx, out float amount)
static const int SJ_GESTURE_REQUEST
static bool ReadBrokenLegsParams(ParamsReadContext pCtx, out bool canPlaySound, out eBrokenLegs currentState, out eBrokenLegs localState)
static const int SJ_QUICKBAR_SET_SHORTCUT
static bool ReadBrokenLegsParamsEx(ParamsReadContext pCtx, out int currentState)
static void SendPlayerFBModifier(PlayerBase pPlayer, int type)
static const int SJ_INVENTORY_FAILURE
static void SendShock(DayZPlayer pPlayer, float shockValue)
static const int SJ_WEAPON_ACTION_ACK_ACCEPT
static const int SJ_UNCONSCIOUSNESS
static void SendDeath(DayZPlayer pPlayer, int pType, float pHitDir)
static const int SJ_DELETE_ITEM
static const int SJ_ADS_RESET
static void SendQuickbarSetShortcut(DayZPlayer pPlayer, EntityAI item, int index, bool force=false)
static void SendPlayerSymptomADD(DayZPlayer pPlayer, int type, int state_type)
static bool ReadDamageHitParams(ParamsReadContext pCtx, out int pType, out float pHitDir, out bool pFullbody)
static void SendDamageHit(DayZPlayer pPlayer, int pType, float pHitDir, bool pFullbody)
static const int SJ_WEAPON_SET_JAMMING_CHANCE
static bool ReadPlayerFBModifier(ParamsReadContext pCtx, out int type)
static bool ReadInjuryParams(ParamsReadContext pCtx, out bool pEnable, out eInjuryHandlerLevels level)
static void SendPlayerUnconsciousness(DayZPlayer pPlayer, bool enable)
static const int SJ_ACTION_ACK_ACCEPT
static const int SJ_DAMAGE_HIT
static bool ReadDeathParams(ParamsReadContext pCtx, out int pType, out float pHitDir)
static void SendWeaponActionAcknowledgment(DayZPlayer pPlayer, int AckID, bool accept)
static bool ReadActionInterruptParams(ParamsReadContext pCtx)
static bool ReadPlayerSymptomFBParams(ParamsReadContext pCtx, out DayZPlayerConstants anim_id, out int stance_mask, out float duration)
static const int SJ_WEAPON_RAISE_COMPLETED
static bool ReadPlayerUnconsciousnessParams(ParamsReadContext pCtx, out bool enable)
static void SendBrokenLegsEx(DayZPlayer pPlayer, int currentState)
static const int SJ_INJURY
static const int SJ_STAMINA_MISC
static const int SJ_INVENTORY
proto bool Write(void value_out)
proto bool Read(void value_in)
proto native float GetHighestDamage(string healthType)
DayZPlayerConstants
defined in C++
Serializer ParamsReadContext