Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
BaseGameMode.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
11
12class BaseGameModeClass: GenericEntityClass
13{
14}
15
16class BaseGameMode: GenericEntity
17{
19 event protected void OnGameStart();
20 /*
21 Event is called when player connecting Session hosting current Game Mode where is required authentication verification via. platform services
22 AuditSuccess() call specifically mean this verification was successful
23 Basically audited player has access to persistency/ etc. related functionality provided by online services.
24 \param iPlayerID is index of player in game, equal to the one assigned at PlayerController
25 */
26 event protected void OnPlayerAuditSuccess( int iPlayerID ) {};
27 /*
28 Event is called when player connecting Session hosting current Game Mode
29 AuditFail() call may be called under two occassion:
30 1) verification is required but failed (account is not valid, player is banned, internet issues)
31 2) player cannot be verified as authentication is not required or possible - where it may be valid behavior (server online connectivity turned off for example)
32 Basically non-audited player cannot access persistency/ etc. related functionality provided by online services.
33 \param iPlayerID is index of player in game, equal to the one assigned at PlayerController
34 */
35 event protected void OnPlayerAuditFail( int iPlayerID) {};
36 /*
37 Event is called when player connected to Session was kicked and did not reconnected in time
38 This mean that slot reservation can be canceled.
39 \param iPlayerID is index of player in game, equal to the one assigned at PlayerController
40 */
41 event protected void OnPlayerAuditTimeouted( int iPlayerID) {};
42 /*
43 Event is called when player reconnected successfully back to Session after kick
44 This mean that slot reservation need to be finished (closed).
45 \param iPlayerID is index of player in game, equal to the one assigned at PlayerController
46 */
47 event protected void OnPlayerAuditRevived( int iPlayerID) {};
52 event protected void OnPlayerConnected(int playerId);
57 event protected void OnPlayerRegistered(int playerId);
64 event protected void OnPlayerDisconnected(int playerId, KickCauseCode cause, int timeout);
70 event protected void OnPlayerSpawned(int playerId, IEntity controlledEntity);
91 event protected bool HandlePlayerKilled(int playerId, IEntity playerEntity, IEntity killerEntity, notnull Instigator killer) { return true; };
99 event protected void OnPlayerKilled(int playerId, IEntity playerEntity, IEntity killerEntity, notnull Instigator killer);
106 event protected void OnControllableSpawned(IEntity entity) {};
107 /*
108 When a controllable entity is destroyed (damaged enough), this event is raised.
109 Controllable entity is such that has BaseControllerComponent and can be
110 possessed either by a player, an AI or stay unpossessed.
111 \param entity Destroyed entity that raised this event
112 \param killerEntity entity of the instigator. If killerEntity is null, you can use instigator.GetInstigatorEntity() if appropiate.
113 \param instigator Instigator that destroyed our victim
114 */
115 event protected void OnControllableDestroyed(IEntity entity, IEntity killerEntity, notnull Instigator instigator) {};
116 /*
117 Prior to a controllable entity being DELETED, this event is raised.
118 Controllable entity is such that has BaseControllerComponent and can be
119 possessed either by a player, an AI or stay unpossessed.
120 \param entity Entity about to be deleted
121 */
122 event protected void OnControllableDeleted(IEntity entity) {};
128 event protected void OnPlayerRoleChange(int playerId, EPlayerRole roleFlags) {};
130 event void OnWorldPostProcess(World world) {};
131}
132
EPlayerRole
Definition EPlayerRole.c:8
void OnPlayerKilled(notnull SCR_InstigatorContextData instigatorContextData)
override void OnPlayerAuditSuccess(int playerId)
void OnControllableDestroyed(IEntity entity, IEntity killerEntity, Instigator instigator, notnull SCR_InstigatorContextData instigatorContextData)
override bool HandlePlayerKilled(int playerId, IEntity playerEntity, IEntity killerEntity, notnull Instigator instigator)
override void OnControllableDeleted(IEntity entity)
override void OnWorldPostProcess(World world)
enum EVehicleType IEntity
Definition World.c:16
override bool OnGameStart()
Gets called after world is initialized but before first ticks.
Definition game.c:561
void OnPlayerAuditRevived(int playerId)
void OnPlayerAuditFail(int playerId)
override void OnPlayerRegistered(int playerId)
void OnPlayerSpawned(int playerId, IEntity controlledEntity)
void OnPlayerRoleChange(int playerId, EPlayerRole roleFlags)
void OnPlayerAuditTimeouted(int playerId)
override void OnPlayerDisconnected(int playerId, KickCauseCode cause, int timeout)
void OnControllableSpawned(IEntity entity)
void OnPlayerConnected(int playerId)