Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Data Structures | |
class | SCR_FiringRangeScoringComponentClass |
Functions | |
void | OnDisconnected (int playerID) |
void | OnKill (int playerId, IEntity playerEntity, IEntity killerEntity, notnull Instigator killer) |
SCR_PlayerScoreInfoFiringRange | AddPlayer (int playerID) |
void | RemovePlayer (int playerID) |
void | ClearScore (int playerID) |
void | AddScore (int playerID, int scorePoints) |
void | SetScoreMax (int playerID, int scorePointsMax) |
int | GetScore (int playerID) |
int | GetPlayersCount () |
private SCR_PlayerScoreInfoFiringRange | GetPlayerScoreInfo (int playerID) |
int | GetAllPlayersScoreInfo (notnull out array< SCR_PlayerScoreInfoFiringRange > output) |
override void | OnPostInit (IEntity owner) |
Editable Mine. More... | |
override void | EOnInit (IEntity owner) |
void | SCR_FiringRangeScoringComponent (IEntityComponentSource src, IEntity ent, IEntity parent) |
Variables | |
SCR_FiringRangeScoringComponentClass | s_Manager |
protected ref array< ref SCR_PlayerScoreInfoFiringRange > | m_aAllPlayersInfo = {} |
Contains score info of all the players. More... | |
SCR_PlayerScoreInfoFiringRange AddPlayer | ( | int | playerID | ) |
Add a player to the player array m_aAllPlayersInfo.
[in] | playerID,is | unique player identifier. |
Definition at line 49 of file SCR_FiringRangeScoringComponent.c.
[in] | playerID | |
[in] | scorePoints |
Definition at line 82 of file SCR_FiringRangeScoringComponent.c.
void ClearScore | ( | int | playerID | ) |
[in] | playerID |
Definition at line 71 of file SCR_FiringRangeScoringComponent.c.
int GetAllPlayersScoreInfo | ( | notnull out array< SCR_PlayerScoreInfoFiringRange > | output | ) |
[out] | output |
Definition at line 136 of file SCR_FiringRangeScoringComponent.c.
private SCR_PlayerScoreInfoFiringRange GetPlayerScoreInfo | ( | int | playerID | ) |
Finds a SCR_PlayerScoreInfoFiringRange by playerID from m_aAllPlayersInfo array.
[in] | playerID,is | unique player identifier. |
Definition at line 122 of file SCR_FiringRangeScoringComponent.c.
int GetPlayersCount | ( | ) |
Definition at line 114 of file SCR_FiringRangeScoringComponent.c.
Get the integer equal to the player's kill count.
[in] | playerID,is | unique player identifier. |
Definition at line 104 of file SCR_FiringRangeScoringComponent.c.
void OnDisconnected | ( | int | playerID | ) |
[in] | playerID |
Definition at line 15 of file SCR_FiringRangeScoringComponent.c.
void OnKill | ( | int | playerId, |
IEntity | playerEntity, | ||
IEntity | killerEntity, | ||
notnull Instigator | killer | ||
) |
What happens when a player is killed.
[in] | playerId | |
[in] | playerEntity | |
[in] | killerEntity | |
[in] | killer |
Definition at line 35 of file SCR_FiringRangeScoringComponent.c.
void RemovePlayer | ( | int | playerID | ) |
Remove a player from the player array m_aAllPlayersInfo.
[in] | playerID,is | unique player identifier. |
Definition at line 62 of file SCR_FiringRangeScoringComponent.c.
void SCR_FiringRangeScoringComponent | ( | IEntityComponentSource | src, |
IEntity | ent, | ||
IEntity | parent | ||
) |
[in] | src | |
[in] | ent | |
[in] | parent |
Definition at line 182 of file SCR_FiringRangeScoringComponent.c.
Set the maximal score of given firing line
[in] | playerID | |
[in] | scorePointsMax |
Definition at line 93 of file SCR_FiringRangeScoringComponent.c.
protected ref array<ref SCR_PlayerScoreInfoFiringRange> m_aAllPlayersInfo = {} |
Contains score info of all the players.
Definition at line 11 of file SCR_FiringRangeScoringComponent.c.
SCR_FiringRangeScoringComponentClass s_Manager |