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

Static Public Member Functions

static bool Extract (SCR_PlayerLoadoutData instance, ScriptCtx ctx, SSnapSerializerBase snapshot)
 
static bool Inject (SSnapSerializerBase snapshot, ScriptCtx ctx, SCR_PlayerLoadoutData 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_PlayerLoadoutData instance, SSnapSerializerBase snapshot, ScriptCtx ctx)
 

Public Attributes

ref array< ref SCR_ClothingLoadoutDataClothings = {}
 
ref array< ref SCR_WeaponLoadoutDataWeapons = {}
 
float LoadoutCost
 
int FactionIndex
 

Member Function Documentation

◆ Decode()

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

◆ Encode()

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

◆ Extract()

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

◆ Inject()

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

◆ PropCompare()

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

◆ SnapCompare()

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

Member Data Documentation

◆ Clothings

ref array<ref SCR_ClothingLoadoutData> SCR_PlayerLoadoutData.Clothings = {}

◆ FactionIndex

int SCR_PlayerLoadoutData.FactionIndex

◆ LoadoutCost

float SCR_PlayerLoadoutData.LoadoutCost

◆ Weapons

ref array<ref SCR_WeaponLoadoutData> SCR_PlayerLoadoutData.Weapons = {}

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