![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| override void | OnPlayerAuditSuccess (int playerID) |
| override void | OnPlayerDisconnected (int playerID, IEntity controlledEntity=null) |
| override void | OnGameModeEnd () |
| override void | Update (float timeTick) |
| void | CheckPlayer (int playerId) |
| void | EvaluatePlayerCrimes (int playerId, bool evaluatePunishment=true) |
| void | KickPlayer (int playerId, notnull SCR_PlayerData playerData, SCR_PlayerManagerKickReason reason) |
| int | RequestBanIfNecessary (int playerId, notnull SCR_PlayerData playerData, SCR_PlayerManagerKickReason reason) |
| float | EvaluateHarmingFriendlies (notnull SCR_PlayerData playerData) |
| void | ExecutePunishment (int playerId, SCR_PlayerManagerKickReason reason, int durationInSeconds) |
| void | KickOrBanPlayer (int playerId, SCR_PlayerManagerKickReason reason, int minimmumDuration) |
| void | VoteForKickOrBan (int playerId, SCR_PlayerManagerKickReason reason, int minimmumDurationBackup) |
| void | SendHints (int playerId, float harmingFriendliesScore) |
| void | ProcessTemporalStats (notnull SCR_PlayerData playerData) |
| void | UpdateCriminalScore (notnull SCR_PlayerData playerData, float addToScore, float decreaseFromScore) |
| void | UpdateCriminalAcceleration (int playerId) |
Static Protected Attributes | |
| static const int | MIN_AUTO_BAN_DURATION = 300 |
Definition at line 2 of file SCR_DataCollectorCrimesModule.c.
|
inlineprotected |
Definition at line 158 of file SCR_DataCollectorCrimesModule.c.
|
inlineprotected |
Definition at line 365 of file SCR_DataCollectorCrimesModule.c.
|
inlineprotected |
First decrease the score up until now by doing Time * DecreasePerMinute Second add to the score given the current crimes: PointsOfCrime * CRIME_ACCELERATION_FACTOR
Definition at line 185 of file SCR_DataCollectorCrimesModule.c.
|
inlineprotected |
Definition at line 393 of file SCR_DataCollectorCrimesModule.c.
|
inlineprotected |
Definition at line 404 of file SCR_DataCollectorCrimesModule.c.
|
inlineprotected |
Definition at line 230 of file SCR_DataCollectorCrimesModule.c.
|
inlineprotected |
Definition at line 125 of file SCR_DataCollectorCrimesModule.c.
|
inlineprotected |
Definition at line 80 of file SCR_DataCollectorCrimesModule.c.
|
inlineprotected |
Definition at line 100 of file SCR_DataCollectorCrimesModule.c.
|
inlineprotected |
Definition at line 488 of file SCR_DataCollectorCrimesModule.c.
|
inlineprotected |
The difference between the types of kick or bans: heavy ban (requires backendapi ban), light ban or kick (duration difference). To choose the type of kick or ban:
Definition at line 256 of file SCR_DataCollectorCrimesModule.c.
|
inlineprotected |
Definition at line 468 of file SCR_DataCollectorCrimesModule.c.
|
inlineprotected |
Definition at line 135 of file SCR_DataCollectorCrimesModule.c.
|
inlineprotected |
Definition at line 513 of file SCR_DataCollectorCrimesModule.c.
|
inlineprotected |
Definition at line 504 of file SCR_DataCollectorCrimesModule.c.
|
inlineprotected |
Vote for kicking or banning a player
| punishment | Punishment type |
| playerId | id of the player |
| reason | reason for the kick |
| minimmumDurationBackup | minimmum duration for the ban. Used only if the voting fails |
Definition at line 443 of file SCR_DataCollectorCrimesModule.c.
|
protected |
Duration of HeavyBans. We use the index as the streak of heavyBans performed to this player
Definition at line 49 of file SCR_DataCollectorCrimesModule.c.
|
protected |
Duration of LightBan bans. We use the index as the streak of lightbans performed to this player
Definition at line 35 of file SCR_DataCollectorCrimesModule.c.
|
protected |
List of IDs from DataCollector
Definition at line 8 of file SCR_DataCollectorCrimesModule.c.
|
protected |
Definition at line 59 of file SCR_DataCollectorCrimesModule.c.
|
protected |
Definition at line 62 of file SCR_DataCollectorCrimesModule.c.
|
protected |
after LAST_ACTION_THRESHOLD have passed since last action, evaluate buffer
Definition at line 21 of file SCR_DataCollectorCrimesModule.c.
|
protected |
after TIME_ACCUMULATING_THRESHOLD seconds have passed, evaluate buffer
Definition at line 28 of file SCR_DataCollectorCrimesModule.c.
|
protected |
Next index of player to evaluate. We do them sequentially in order to split them in frames
Definition at line 14 of file SCR_DataCollectorCrimesModule.c.
|
protected |
How many minutes of playtime need to pass to consider this player not a reincident
Definition at line 56 of file SCR_DataCollectorCrimesModule.c.
|
protected |
How many minutes of playtime need to pass to consider this player not a reincident
Definition at line 42 of file SCR_DataCollectorCrimesModule.c.
|
staticprotected |
Definition at line 77 of file SCR_DataCollectorCrimesModule.c.
|
protected |
Definition at line 71 of file SCR_DataCollectorCrimesModule.c.
|
protected |
Definition at line 68 of file SCR_DataCollectorCrimesModule.c.
|
protected |
Definition at line 65 of file SCR_DataCollectorCrimesModule.c.
|
protected |
Definition at line 74 of file SCR_DataCollectorCrimesModule.c.