![]() |
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_LocalPlayerPenaltyClass |
| class | SCR_LocalPlayerPenaltyData |
Functions | |
| void | OnPlayerConnected (int playerId) |
| void | OnControllableDestroyed (IEntity entity, IEntity killerEntity, Instigator instigator) |
| protected SCR_LocalPlayerPenaltyData | GetPlayerPenaltyData (int playerId) |
| protected void | EvaluatePlayerPenalties () |
| void | KickPlayer (int playerId, int duration, SCR_PlayerManagerKickReason reason) |
| int | GetPenaltySubtractionPeriod () |
| void | SCR_LocalPlayerPenalty (int friendlyPlayerKillPenalty, int friendlyAIKillPenalty, int penaltyLimit, int banDuration, int penaltySubtractionPeriod, int penaltySubtractionPoints) |
Variables | |
| SCR_LocalPlayerPenaltyClass | m_iFriendlyPlayerKillPenalty |
| protected int | m_iFriendlyAIKillPenalty |
| protected int | m_iKickPenaltyLimit |
| protected int | m_iBanDuration |
| protected int | m_iPenaltySubtractionPeriod |
| protected int | m_iPenaltySubtractionPoints |
| protected ref array< ref SCR_LocalPlayerPenaltyData > | m_aPlayerPenaltyData = {} |
| protected void EvaluatePlayerPenalties | ( | ) |
Definition at line 153 of file SCR_LocalPlayerPenalty.c.
| int GetPenaltySubtractionPeriod | ( | ) |
Definition at line 211 of file SCR_LocalPlayerPenalty.c.
| protected SCR_LocalPlayerPenaltyData GetPlayerPenaltyData | ( | int | playerId | ) |
Definition at line 113 of file SCR_LocalPlayerPenalty.c.
| [in] | playerId | |
| [in] | duration | |
| [in] | reason |
Definition at line 199 of file SCR_LocalPlayerPenalty.c.
| void OnControllableDestroyed | ( | IEntity | entity, |
| IEntity | killerEntity, | ||
| Instigator | instigator | ||
| ) |
| [in] | entity | |
| [in] | killerEntity | |
| [in] | instigator |
Definition at line 43 of file SCR_LocalPlayerPenalty.c.
| void SCR_LocalPlayerPenalty | ( | int | friendlyPlayerKillPenalty, |
| int | friendlyAIKillPenalty, | ||
| int | penaltyLimit, | ||
| int | banDuration, | ||
| int | penaltySubtractionPeriod, | ||
| int | penaltySubtractionPoints | ||
| ) |
| [in] | friendlyPlayerKillPenalty | |
| [in] | friendlyAIKillPenalty | |
| [in] | penaltyLimit | |
| [in] | banDuration | |
| [in] | penaltySubtractionPeriod | |
| [in] | penaltySubtractionPoints |
Definition at line 224 of file SCR_LocalPlayerPenalty.c.
| protected ref array<ref SCR_LocalPlayerPenaltyData> m_aPlayerPenaltyData = {} |
Definition at line 29 of file SCR_LocalPlayerPenalty.c.
| protected int m_iBanDuration |
Definition at line 18 of file SCR_LocalPlayerPenalty.c.
| protected int m_iFriendlyAIKillPenalty |
Definition at line 12 of file SCR_LocalPlayerPenalty.c.
| SCR_LocalPlayerPenaltyClass m_iFriendlyPlayerKillPenalty |
| protected int m_iKickPenaltyLimit |
Definition at line 15 of file SCR_LocalPlayerPenalty.c.
| protected int m_iPenaltySubtractionPeriod |
Definition at line 21 of file SCR_LocalPlayerPenalty.c.
| protected int m_iPenaltySubtractionPoints |
Definition at line 24 of file SCR_LocalPlayerPenalty.c.