Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
SCR_PlayerLoadoutInfo Interface Reference

Public Member Functions

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

Static Public 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
 

Member Function Documentation

◆ Create()

static SCR_PlayerLoadoutInfo SCR_PlayerLoadoutInfo.Create ( int  playerId)
static
Parameters
[in]playerId
Returns

◆ Decode()

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

◆ Encode()

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

◆ Extract()

static bool SCR_PlayerLoadoutInfo.Extract ( SCR_PlayerLoadoutInfo  instance,
ScriptCtx  ctx,
SSnapSerializerBase  snapshot 
)
static

Codec methods.

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

◆ GetLoadoutIndex()

int SCR_PlayerLoadoutInfo.GetLoadoutIndex ( )
Returns

◆ GetPlayerId()

int SCR_PlayerLoadoutInfo.GetPlayerId ( )
Returns

◆ Inject()

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

◆ PropCompare()

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

◆ SetLoadoutIndex()

void SCR_PlayerLoadoutInfo.SetLoadoutIndex ( int  loadoutIndex)
Parameters
[in]loadoutIndex

◆ SnapCompare()

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

Member Data Documentation

◆ m_iLoadoutIndex

int SCR_PlayerLoadoutInfo.m_iLoadoutIndex = -1
protected

◆ m_iPlayerId

int SCR_PlayerLoadoutInfo.m_iPlayerId
protected

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