Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_PlayerLoadoutInfo Class Reference

Protected Member Functions

int GetLoadoutIndex ()
void SetLoadoutIndex (int loadoutIndex)
int GetPlayerId ()

Static Protected Member Functions

static SCR_PlayerLoadoutInfo Create (int playerId)
static bool Extract (SCR_PlayerLoadoutInfo instance, ScriptCtx ctx, SSnapSerializerBase snapshot)
 Codec methods.
static bool Inject (SSnapSerializerBase snapshot, ScriptCtx ctx, SCR_PlayerLoadoutInfo instance)
static void Encode (SSnapSerializerBase snapshot, ScriptCtx ctx, ScriptBitSerializer packet)
static bool Decode (ScriptBitSerializer packet, ScriptCtx ctx, SSnapSerializerBase snapshot)
static bool SnapCompare (SSnapSerializerBase lhs, SSnapSerializerBase rhs, ScriptCtx ctx)
static bool PropCompare (SCR_PlayerLoadoutInfo instance, SSnapSerializerBase snapshot, ScriptCtx ctx)

Protected Attributes

int m_iPlayerId
int m_iLoadoutIndex = -1

Detailed Description

Definition at line 1 of file SCR_PlayerLoadoutInfo.c.

Member Function Documentation

◆ Create()

SCR_PlayerLoadoutInfo SCR_PlayerLoadoutInfo::Create ( int playerId)
inlinestaticprotected
Parameters
[in]playerId
Returns

Definition at line 31 of file SCR_PlayerLoadoutInfo.c.

◆ Decode()

bool SCR_PlayerLoadoutInfo::Decode ( ScriptBitSerializer packet,
ScriptCtx ctx,
SSnapSerializerBase snapshot )
inlinestaticprotected
Parameters
[in]packet
[in]ctx
[in]snapshot
Returns

Definition at line 84 of file SCR_PlayerLoadoutInfo.c.

◆ Encode()

void SCR_PlayerLoadoutInfo::Encode ( SSnapSerializerBase snapshot,
ScriptCtx ctx,
ScriptBitSerializer packet )
inlinestaticprotected
Parameters
[in]snapshot
[in]ctx
[in]packet

Definition at line 72 of file SCR_PlayerLoadoutInfo.c.

◆ Extract()

bool SCR_PlayerLoadoutInfo::Extract ( SCR_PlayerLoadoutInfo instance,
ScriptCtx ctx,
SSnapSerializerBase snapshot )
inlinestaticprotected

Codec methods.

Parameters
[in]instance
[in]ctx
[in]snapshot
Returns

Definition at line 47 of file SCR_PlayerLoadoutInfo.c.

◆ GetLoadoutIndex()

int SCR_PlayerLoadoutInfo::GetLoadoutIndex ( )
inlineprotected
Returns

Definition at line 8 of file SCR_PlayerLoadoutInfo.c.

◆ GetPlayerId()

int SCR_PlayerLoadoutInfo::GetPlayerId ( )
inlineprotected
Returns

Definition at line 22 of file SCR_PlayerLoadoutInfo.c.

◆ Inject()

bool SCR_PlayerLoadoutInfo::Inject ( SSnapSerializerBase snapshot,
ScriptCtx ctx,
SCR_PlayerLoadoutInfo instance )
inlinestaticprotected
Parameters
[in]snapshot
[in]ctx
[in]instance
Returns

Definition at line 60 of file SCR_PlayerLoadoutInfo.c.

◆ PropCompare()

bool SCR_PlayerLoadoutInfo::PropCompare ( SCR_PlayerLoadoutInfo instance,
SSnapSerializerBase snapshot,
ScriptCtx ctx )
inlinestaticprotected
Parameters
[in]instance
[in]snapshot
[in]ctx
Returns

Definition at line 108 of file SCR_PlayerLoadoutInfo.c.

◆ SetLoadoutIndex()

void SCR_PlayerLoadoutInfo::SetLoadoutIndex ( int loadoutIndex)
inlineprotected
Parameters
[in]loadoutIndex

Definition at line 15 of file SCR_PlayerLoadoutInfo.c.

◆ SnapCompare()

bool SCR_PlayerLoadoutInfo::SnapCompare ( SSnapSerializerBase lhs,
SSnapSerializerBase rhs,
ScriptCtx ctx )
inlinestaticprotected
Parameters
[in]lhs
[in]rhs
[in]ctx
Returns

Definition at line 97 of file SCR_PlayerLoadoutInfo.c.

Member Data Documentation

◆ m_iLoadoutIndex

int SCR_PlayerLoadoutInfo::m_iLoadoutIndex = -1
protected

Definition at line 4 of file SCR_PlayerLoadoutInfo.c.

◆ m_iPlayerId

int SCR_PlayerLoadoutInfo::m_iPlayerId
protected

Definition at line 3 of file SCR_PlayerLoadoutInfo.c.


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