![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Classes | |
| class | SCR_BaseGameModeComponentClass |
Functions | |
| SCR_BaseGameMode | GetGameMode () |
| void | OnGameEnd () |
| Called on all machines when the world ends. | |
| void | OnGameStateChanged (SCR_EGameModeState state) |
| void | OnGameModeStart () |
| void | OnGameModeEnd (SCR_GameModeEndData data) |
| void | OnPlayerConnected (int playerId) |
| void | OnPlayerAuditSuccess (int playerId) |
| void | OnPlayerAuditFail (int playerId) |
| void | OnPlayerAuditTimeouted (int playerId) |
| void | OnPlayerAuditRevived (int playerId) |
| void | OnPlayerRegistered (int playerId) |
| void | OnPlayerDisconnected (int playerId, KickCauseCode cause, int timeout) |
| bool | PreparePlayerEntity_S (SCR_SpawnRequestComponent requestComponent, SCR_SpawnHandlerComponent handlerComponent, SCR_SpawnData data, IEntity entity) |
| void | OnSpawnPlayerEntityFailure_S (SCR_SpawnRequestComponent requestComponent, SCR_SpawnHandlerComponent handlerComponent, IEntity entity, SCR_SpawnData data, SCR_ESpawnResult reason) |
| void | OnPlayerSpawnFinalize_S (SCR_SpawnRequestComponent requestComponent, SCR_SpawnHandlerComponent handlerComponent, SCR_SpawnData data, IEntity entity) |
| bool | HandlePlayerKilled (int playerId, IEntity playerEntity, IEntity killerEntity, notnull Instigator instigator) |
| See SCR_BaseGameMode.HandlePlayerKilled. | |
| void | OnPlayerKilled (notnull SCR_InstigatorContextData instigatorContextData) |
| void | OnPlayerKilledHandled (int playerId, IEntity playerEntity, IEntity killerEntity, notnull Instigator instigator) |
| void | OnPlayerDeleted (int playerId, IEntity player) |
| void | OnPlayerRoleChange (int playerId, EPlayerRole roleFlags) |
| void | OnWorldPostProcess (World world) |
| void | OnControllableSpawned (IEntity entity) |
| void | OnControllableDestroyed (notnull SCR_InstigatorContextData instigatorContextData) |
| void | OnControllableDeleted (IEntity entity) |
| void | SCR_BaseGameModeComponent (IEntityComponentSource src, IEntity ent, IEntity parent) |
Variables | |
| SCR_BaseGameModeComponentClass | m_pGameMode |
| The game mode entity this component is attached to. | |
| SCR_BaseGameMode GetGameMode | ( | ) |
Definition at line 15 of file SCR_BaseGameModeComponent.c.
| bool HandlePlayerKilled | ( | int | playerId, |
| IEntity | playerEntity, | ||
| IEntity | killerEntity, | ||
| notnull Instigator | instigator ) |
See SCR_BaseGameMode.HandlePlayerKilled.
Definition at line 113 of file SCR_BaseGameModeComponent.c.
| void OnControllableDestroyed | ( | notnull SCR_InstigatorContextData | instigatorContextData | ) |
When a controllable entity is destroyed, this event is raised.
| [in] | instigatorContextData | Holds the data of the victim and killer |
Definition at line 163 of file SCR_XPHandlerComponent.c.
| void OnGameEnd | ( | ) |
Called on all machines when the world ends.
Definition at line 65 of file SCR_AnalyticsDataCollectionComponent.c.
| void OnGameModeEnd | ( | SCR_GameModeEndData | data | ) |
Called when game mode ends.
| [in] | data | End game data with game logic. |
Definition at line 50 of file SCR_AnalyticsDataCollectionComponent.c.
| void OnGameModeStart | ( | ) |
Called on every machine when game mode starts. This can be immediate (if no pre-game period is set) or can happen after a certain delay, as deemed appropriate by the authority.
Definition at line 36 of file SCR_CacheManagerComponent.c.
| void OnGameStateChanged | ( | SCR_EGameModeState | state | ) |
Called when game mode state changes called on all machines.
| [in] | state | New state game mode transitioned into. |
Definition at line 38 of file SCR_BaseGameModeStateComponent.c.
| void OnPlayerConnected | ( | int | playerId | ) |
Called after a player is connected. Server-only.
| [in] | playerId | PlayerId of connected player. |
| [in] | playerId |
Definition at line 33 of file SCR_LocalPlayerPenalty.c.
Called after a player gets deleted.
| [in] | playerId | Player ID |
| [in] | player | Player entity |
Definition at line 303 of file SCR_PlayerSupplyAllocationComponent.c.
| void OnPlayerDisconnected | ( | int | playerId, |
| KickCauseCode | cause, | ||
| int | timeout ) |
Called after a player is disconnected.
| [in] | playerId | PlayerId of disconnected player. |
| [in] | cause | Reason player disconnected |
| [in] | timeout | Timeout for when players are allowed to connect again. -1 means Ban without an assigned timeout |
What happens when a player disconnects.
| [in] | playerID | is a unique player identifier that defines which player has disconnected. |
| [in] | cause | |
| [in] | timeout |
Definition at line 87 of file SCR_PlayerProfileManagerComponent.c.
| void OnPlayerKilled | ( | notnull SCR_InstigatorContextData | instigatorContextData | ) |
Called after a player gets killed.
| [in] | instigatorContextData | Holds the data of the victim and killer |
| [in] | playerId | |
| [in] | playerEntity | |
| [in] | killerEntity | |
| [in] | killer |
Definition at line 1014 of file SCR_CampaignFeedbackComponent.c.
| void OnPlayerKilledHandled | ( | int | playerId, |
| IEntity | playerEntity, | ||
| IEntity | killerEntity, | ||
| notnull Instigator | instigator ) |
Called after player gets killed in cases where the kill was handled by the game mode, supressing the default OnPlayerKilled behaviour. See also SCR_BaseGameMode.HandlePlayerKilled().
| [in] | playerId | PlayerId of victim player. |
| [in] | playerEntity | Entity of victim player if any. |
| [in] | killerEntity | Entity of killer instigator if any. |
| [in] | instigator | Instigator of the kill |
| void OnPlayerRegistered | ( | int | playerId | ) |
Called on every machine after a player is registered (identity, name etc.). Always called after OnPlayerConnected.
| [in] | playerId | PlayerId of registered player. |
Definition at line 934 of file SCR_VotingManagerComponent.c.
| void OnPlayerSpawnFinalize_S | ( | SCR_SpawnRequestComponent | requestComponent, |
| SCR_SpawnHandlerComponent | handlerComponent, | ||
| SCR_SpawnData | data, | ||
| IEntity | entity ) |
| [in] | requestComponent | |
| [in] | handlerComponent | |
| [in] | data | |
| [in] | entity |
Definition at line 93 of file SCR_SpawnProtectionComponent.c.
| void OnSpawnPlayerEntityFailure_S | ( | SCR_SpawnRequestComponent | requestComponent, |
| SCR_SpawnHandlerComponent | handlerComponent, | ||
| IEntity | entity, | ||
| SCR_SpawnData | data, | ||
| SCR_ESpawnResult | reason ) |
| [in] | requestComponent | |
| [in] | handlerComponent | |
| [in] | entity | |
| [in] | data | |
| [in] | reason |
Definition at line 100 of file SCR_SpawnProtectionComponent.c.
| bool PreparePlayerEntity_S | ( | SCR_SpawnRequestComponent | requestComponent, |
| SCR_SpawnHandlerComponent | handlerComponent, | ||
| SCR_SpawnData | data, | ||
| IEntity | entity ) |
| [in] | requestComponent | |
| [in] | handlerComponent | |
| [in] | data | |
| [in] | entity |
Definition at line 91 of file SCR_BaseGameModeComponent.c.
| void SCR_BaseGameModeComponent | ( | IEntityComponentSource | src, |
| IEntity | ent, | ||
| IEntity | parent ) |
| [in] | src | |
| [in] | ent | |
| [in] | parent |
Definition at line 171 of file SCR_BaseGameModeComponent.c.
| SCR_BaseGameModeComponentClass m_pGameMode |
The game mode entity this component is attached to.
Interface for game mode extending components. Must be attached to a GameMode entity.