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

Private Member Functions

void RemotePlayerDamageDebug (PlayerBase player)
void AddDamage (float value_global, float value_blood, float value_shock)
void Debug ()
void Get (array< ref DamageData > damage_list)
PlayerBase GetPlayer ()
void GetReversed (array< ref DamageData > damage_list)
void InsertDamageObject (DamageData damage_object)
void Serialize (array< ref RemotePlayerDamageDebug > list)

Private Attributes

bool m_ChangedSinceSerialization
ref array< ref DamageDatam_DamageList = new array<ref DamageData>
PlayerBase m_Player
const int MAX_DAMAGE_RECORDS = 5

Detailed Description

Definition at line 1 of file remoteplayerdamagedebug.c.

Constructor & Destructor Documentation

◆ RemotePlayerDamageDebug()

void RemotePlayerDamageDebug ( PlayerBase player)
inlineprivate

Definition at line 9 of file remoteplayerdamagedebug.c.

References m_Player.

Member Function Documentation

◆ AddDamage()

void AddDamage ( float value_global,
float value_blood,
float value_shock )
inlineprivate

◆ Debug()

void Debug ( )
inlineprivate

Definition at line 63 of file remoteplayerdamagedebug.c.

References m_DamageList, m_Player, and PrintString.

Referenced by DebugDamage(), and OnRPC().

◆ Get()

void Get ( array< ref DamageData > damage_list)
inlineprivate

Definition at line 37 of file remoteplayerdamagedebug.c.

References m_DamageList.

◆ GetPlayer()

PlayerBase GetPlayer ( )
inlineprivate

Definition at line 31 of file remoteplayerdamagedebug.c.

References m_Player.

Referenced by OnRPC().

◆ GetReversed()

void GetReversed ( array< ref DamageData > damage_list)
inlineprivate

Definition at line 45 of file remoteplayerdamagedebug.c.

References m_DamageList.

Referenced by UpdateDamageWidget().

◆ InsertDamageObject()

void InsertDamageObject ( DamageData damage_object)
inlineprivate

Definition at line 25 of file remoteplayerdamagedebug.c.

References m_DamageList.

Referenced by MergeDamage().

◆ Serialize()

void Serialize ( array< ref RemotePlayerDamageDebug > list)
inlineprivate

Definition at line 54 of file remoteplayerdamagedebug.c.

References m_ChangedSinceSerialization.

Field Documentation

◆ m_ChangedSinceSerialization

bool m_ChangedSinceSerialization
private

Definition at line 5 of file remoteplayerdamagedebug.c.

Referenced by AddDamage(), and Serialize().

◆ m_DamageList

ref array<ref DamageData> m_DamageList = new array<ref DamageData>
private

Definition at line 7 of file remoteplayerdamagedebug.c.

Referenced by AddDamage(), Debug(), Get(), GetReversed(), and InsertDamageObject().

◆ m_Player

Definition at line 4 of file remoteplayerdamagedebug.c.

Referenced by RemotePlayerDamageDebug(), Debug(), and GetPlayer().

◆ MAX_DAMAGE_RECORDS

const int MAX_DAMAGE_RECORDS = 5
private

Definition at line 3 of file remoteplayerdamagedebug.c.

Referenced by AddDamage().


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