![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Attributes | |
| ref map< int, ref SCR_ScoreInfo > | m_mPlayerScores = new map<int, ref SCR_ScoreInfo>() |
| ref map< Faction, ref SCR_ScoreInfo > | m_mFactionScores = new map<Faction, ref SCR_ScoreInfo>() |
| Map of scores per faction. | |
| ref OnPlayerScoreChangedInvoker | m_OnPlayerScoreChangedInvoker |
| This invoker is invoked when score of provided player changes. | |
| ref OnFactionScoreChangedInvoker | m_OnFactionScoreChangedInvoker |
| This invoker is invoked when score of provided faction changes. | |
| ref OnPlayerEventInvoker | m_OnPlayerAdded |
| This invoker is invoked when a player is registered to the scoreboard. | |
| ref OnPlayerEventInvoker | m_OnPlayerRemoved |
| This invoker is invoked when a player is registered to the scoreboard. | |
This component serves as a base and interface for game mode scoring system.
It keeps track of individual player scores and manages replication of such values to all clients when necessary.
Scoring is implemented in authoritative way, ie. only the server can update score.
This component only keeps track of scores, but does not react or change the game flow in any way. For specialised logic inherit this component and implement custom logic.
Definition at line 26 of file SCR_BaseScoringSystemComponent.c.
|
inlineprotected |
Calculate score for provided score info. Different kinds of score multipliers and evaluation can be calculated by overriding this method.
| [in] | info |
Definition at line 471 of file SCR_BaseScoringSystemComponent.c.
|
inlineprotected |
Definition at line 550 of file SCR_BaseScoringSystemComponent.c.
|
inlineprotected |
Definition at line 615 of file SCR_BaseScoringSystemComponent.c.
Definition at line 503 of file SCR_BaseScoringSystemComponent.c.
|
inlineprotected |
Definition at line 514 of file SCR_BaseScoringSystemComponent.c.
|
inlineprotected |
Definition at line 53 of file SCR_BaseScoringSystemComponent.c.
|
inlineprotected |
Definition at line 66 of file SCR_BaseScoringSystemComponent.c.
|
inlineprotected |
Definition at line 79 of file SCR_BaseScoringSystemComponent.c.
|
inlineprotected |
Definition at line 40 of file SCR_BaseScoringSystemComponent.c.
Definition at line 482 of file SCR_BaseScoringSystemComponent.c.
|
inlineprotected |
Definition at line 493 of file SCR_BaseScoringSystemComponent.c.
|
inlineprotected |
Definition at line 609 of file SCR_BaseScoringSystemComponent.c.
|
inlineprotected |
Definition at line 648 of file SCR_BaseScoringSystemComponent.c.
|
inlineprotected |
Called on all machines when faction score changes.
| [in] | faction | |
| [in] | scoreInfo |
Definition at line 460 of file SCR_BaseScoringSystemComponent.c.
|
inlineprotected |
Definition at line 541 of file SCR_BaseScoringSystemComponent.c.
|
inlineprotected |
Definition at line 523 of file SCR_BaseScoringSystemComponent.c.
|
inlineprotected |
Called on all machines when player score changes.
| [in] | playerId | |
| [in] | scoreInfo |
Definition at line 446 of file SCR_BaseScoringSystemComponent.c.
|
inlineprotected |
Definition at line 637 of file SCR_BaseScoringSystemComponent.c.
|
inlineprotected |
Deserialise state of scoring into buffer via provided reader.
| [in] | reader |
Definition at line 128 of file SCR_BaseScoringSystemComponent.c.
|
inlineprotected |
Serialise current state of scoring into buffer via provided writer.
| [in] | writer |
Definition at line 91 of file SCR_BaseScoringSystemComponent.c.
|
protected |
Map of scores per faction.
Definition at line 33 of file SCR_BaseScoringSystemComponent.c.
|
protected |
Map of scores per player. key: playerId
Definition at line 30 of file SCR_BaseScoringSystemComponent.c.
|
protected |
This invoker is invoked when score of provided faction changes.
Definition at line 49 of file SCR_BaseScoringSystemComponent.c.
|
protected |
This invoker is invoked when a player is registered to the scoreboard.
Definition at line 62 of file SCR_BaseScoringSystemComponent.c.
|
protected |
This invoker is invoked when a player is registered to the scoreboard.
Definition at line 75 of file SCR_BaseScoringSystemComponent.c.
|
protected |
This invoker is invoked when score of provided player changes.
Definition at line 36 of file SCR_BaseScoringSystemComponent.c.