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

Holds scoring data of players. More...

Public Member Functions

string GetName ()
 Dynamically returns the player name.
 
void Clear ()
 Resets the player score info.
 
void Insert (SCR_PlayerScoreInfoFiringRange playerScoreInfoFiringRange)
 Update data in this player info with data from another one.
 
int GetScore (SCR_FiringRangeScoringComponent scoringSystemFiringRange)
 Dynamically calculates and returns the player score.
 
int GetScoreMax ()
 Dynamically calculates and returns the player score.
 
int GetScore ()
 
int GetPlayerID ()
 

Static Public Member Functions

static void Encode (SSnapSerializerBase snapshot, ScriptCtx ctx, ScriptBitSerializer packet)
 Codec methods.
 
static bool Decode (ScriptBitSerializer packet, ScriptCtx ctx, SSnapSerializerBase snapshot)
 
static bool SnapCompare (SSnapSerializerBase lhs, SSnapSerializerBase rhs, ScriptCtx ctx)
 
static bool PropCompare (SCR_PlayerScoreInfoFiringRange prop, SSnapSerializerBase snapshot, ScriptCtx ctx)
 
static bool Extract (SCR_PlayerScoreInfoFiringRange prop, ScriptCtx ctx, SSnapSerializerBase snapshot)
 
static bool Inject (SSnapSerializerBase snapshot, ScriptCtx ctx, SCR_PlayerScoreInfoFiringRange prop)
 

Public Attributes

int m_iID = -1
 
int m_iScore = 0
 
int m_iScoreMax = 0
 

Detailed Description

Holds scoring data of players.

Member Function Documentation

◆ Clear()

void SCR_PlayerScoreInfoFiringRange.Clear ( )

Resets the player score info.

◆ Decode()

static bool SCR_PlayerScoreInfoFiringRange.Decode ( ScriptBitSerializer  packet,
ScriptCtx  ctx,
SSnapSerializerBase  snapshot 
)
static

◆ Encode()

static void SCR_PlayerScoreInfoFiringRange.Encode ( SSnapSerializerBase  snapshot,
ScriptCtx  ctx,
ScriptBitSerializer  packet 
)
static

Codec methods.

◆ Extract()

static bool SCR_PlayerScoreInfoFiringRange.Extract ( SCR_PlayerScoreInfoFiringRange  prop,
ScriptCtx  ctx,
SSnapSerializerBase  snapshot 
)
static

◆ GetName()

string SCR_PlayerScoreInfoFiringRange.GetName ( )

Dynamically returns the player name.

◆ GetPlayerID()

int SCR_PlayerScoreInfoFiringRange.GetPlayerID ( )

◆ GetScore() [1/2]

int SCR_PlayerScoreInfoFiringRange.GetScore ( )

◆ GetScore() [2/2]

int SCR_PlayerScoreInfoFiringRange.GetScore ( SCR_FiringRangeScoringComponent  scoringSystemFiringRange)

Dynamically calculates and returns the player score.

◆ GetScoreMax()

int SCR_PlayerScoreInfoFiringRange.GetScoreMax ( )

Dynamically calculates and returns the player score.

◆ Inject()

static bool SCR_PlayerScoreInfoFiringRange.Inject ( SSnapSerializerBase  snapshot,
ScriptCtx  ctx,
SCR_PlayerScoreInfoFiringRange  prop 
)
static

◆ Insert()

void SCR_PlayerScoreInfoFiringRange.Insert ( SCR_PlayerScoreInfoFiringRange  playerScoreInfoFiringRange)

Update data in this player info with data from another one.

Parameters
playerScoreInfoFiringRangefeeds the new info.

◆ PropCompare()

static bool SCR_PlayerScoreInfoFiringRange.PropCompare ( SCR_PlayerScoreInfoFiringRange  prop,
SSnapSerializerBase  snapshot,
ScriptCtx  ctx 
)
static

◆ SnapCompare()

static bool SCR_PlayerScoreInfoFiringRange.SnapCompare ( SSnapSerializerBase  lhs,
SSnapSerializerBase  rhs,
ScriptCtx  ctx 
)
static

Member Data Documentation

◆ m_iID

int SCR_PlayerScoreInfoFiringRange.m_iID = -1

◆ m_iScore

int SCR_PlayerScoreInfoFiringRange.m_iScore = 0

◆ m_iScoreMax

int SCR_PlayerScoreInfoFiringRange.m_iScoreMax = 0

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