|
Arma Reforger Script API
|
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 |
Holds scoring data of players.
| void SCR_PlayerScoreInfoFiringRange.Clear | ( | ) |
Resets the player score info.
|
static |
|
static |
Codec methods.
|
static |
| string SCR_PlayerScoreInfoFiringRange.GetName | ( | ) |
Dynamically returns the player name.
| int SCR_PlayerScoreInfoFiringRange.GetPlayerID | ( | ) |
| int SCR_PlayerScoreInfoFiringRange.GetScore | ( | ) |
| int SCR_PlayerScoreInfoFiringRange.GetScore | ( | SCR_FiringRangeScoringComponent | scoringSystemFiringRange | ) |
Dynamically calculates and returns the player score.
| int SCR_PlayerScoreInfoFiringRange.GetScoreMax | ( | ) |
Dynamically calculates and returns the player score.
|
static |
| void SCR_PlayerScoreInfoFiringRange.Insert | ( | SCR_PlayerScoreInfoFiringRange | playerScoreInfoFiringRange | ) |
Update data in this player info with data from another one.
| playerScoreInfoFiringRange | feeds the new info. |
|
static |
|
static |
| int SCR_PlayerScoreInfoFiringRange.m_iID = -1 |
| int SCR_PlayerScoreInfoFiringRange.m_iScore = 0 |
| int SCR_PlayerScoreInfoFiringRange.m_iScoreMax = 0 |