|
void | OnPlayerConnected (int playerId) |
|
void | OnControllableDestroyed (IEntity entity, IEntity killerEntity, Instigator instigator, notnull SCR_InstigatorContextData instigatorContextData) |
|
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) |
|
◆ SCR_LocalPlayerPenalty()
void SCR_LocalPlayerPenalty.SCR_LocalPlayerPenalty |
( |
int |
friendlyPlayerKillPenalty, |
|
|
int |
friendlyAIKillPenalty, |
|
|
int |
penaltyLimit, |
|
|
int |
banDuration, |
|
|
int |
penaltySubtractionPeriod, |
|
|
int |
penaltySubtractionPoints |
|
) |
| |
- Parameters
-
[in] | friendlyPlayerKillPenalty | |
[in] | friendlyAIKillPenalty | |
[in] | penaltyLimit | |
[in] | banDuration | |
[in] | penaltySubtractionPeriod | |
[in] | penaltySubtractionPoints | |
◆ EvaluatePlayerPenalties()
void SCR_LocalPlayerPenalty.EvaluatePlayerPenalties |
( |
| ) |
|
|
protected |
◆ GetInstance()
◆ GetInstigatorFromVehicle()
static SCR_ChimeraCharacter SCR_LocalPlayerPenalty.GetInstigatorFromVehicle |
( |
IEntity |
veh, |
|
|
bool |
gunner = false |
|
) |
| |
|
static |
◆ GetPenaltySubtractionPeriod()
int SCR_LocalPlayerPenalty.GetPenaltySubtractionPeriod |
( |
| ) |
|
◆ GetPlayerPenaltyData()
◆ KickPlayer()
void SCR_LocalPlayerPenalty.KickPlayer |
( |
int |
playerId, |
|
|
int |
duration, |
|
|
SCR_PlayerManagerKickReason |
reason |
|
) |
| |
- Parameters
-
[in] | playerId | |
[in] | duration | |
[in] | reason | |
◆ OnControllableDestroyed()
- Parameters
-
[in] | entity | |
[in] | killerEntity | |
[in] | instigator | |
[in] | instigatorContextData | Holds data of victim and killer |
◆ OnPlayerConnected()
void SCR_LocalPlayerPenalty.OnPlayerConnected |
( |
int |
playerId | ) |
|
◆ EVALUATION_PERIOD
const int SCR_LocalPlayerPenalty.EVALUATION_PERIOD = 1000 |
|
staticprotected |
◆ m_aPlayerPenaltyData
◆ m_iBanDuration
int SCR_LocalPlayerPenalty.m_iBanDuration |
|
protected |
◆ m_iFriendlyAIKillPenalty
int SCR_LocalPlayerPenalty.m_iFriendlyAIKillPenalty |
|
protected |
◆ m_iFriendlyPlayerKillPenalty
int SCR_LocalPlayerPenalty.m_iFriendlyPlayerKillPenalty |
|
protected |
◆ m_iKickPenaltyLimit
int SCR_LocalPlayerPenalty.m_iKickPenaltyLimit |
|
protected |
◆ m_iPenaltySubtractionPeriod
int SCR_LocalPlayerPenalty.m_iPenaltySubtractionPeriod |
|
protected |
◆ m_iPenaltySubtractionPoints
int SCR_LocalPlayerPenalty.m_iPenaltySubtractionPoints |
|
protected |
◆ s_Instance
The documentation for this interface was generated from the following file:
- Game/Components/SCR_LocalPlayerPenalty.c