![]() |
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_PossessingManagerComponentClass |
Typedefs | |
| typedef func | ScriptInvokerOnPossessedProxyMethod |
| typedef ScriptInvokerBase< ScriptInvokerOnPossessedProxyMethod > | ScriptInvokerOnPossessedProxy |
| typedef ScriptInvokerBase<ScriptInvokerOnPossessedProxyMethod> ScriptInvokerOnPossessedProxy |
Definition at line 3 of file SCR_PossessingManagerComponent.c.
Definition at line 2 of file SCR_PossessingManagerComponent.c.
Get player ID from directly controlled or main entity.
| [in] | entity | Evaluated entity |
Definition at line 147 of file SCR_PossessingManagerComponent.c.
Get player ID from RplId of directly controlled or main entity.
| [in] | rplId | Evaluated entity's RplId |
Definition at line 160 of file SCR_PossessingManagerComponent.c.
Get player ID based on main entity, no matter if it's currently controlled or not.
| [in] | entity | Evaluated entity |
Definition at line 117 of file SCR_PossessingManagerComponent.c.
Get player ID based on main entity's RplId, no matter if it's currently controlled or not.
| [in] | rplId | Evaluated entity's RplId |
Definition at line 132 of file SCR_PossessingManagerComponent.c.
Get player's main entity. When not possessing, this will be the same as GetPlayerControlledEntity() When possessing, this will be player's main entity which was controlled before possessing started
| [in] | iPlayerId |
Definition at line 57 of file SCR_PossessingManagerComponent.c.
Get RplId of player's main entity. When not possessing, this will be RplId of GetPlayerControlledEntity() When possessing, this will be RplId of player's main entity which was controlled before possessing started
| [in] | iPlayerId |
Definition at line 80 of file SCR_PossessingManagerComponent.c.
|
protected |
Definition at line 33 of file SCR_PossessingManagerComponent.c.
|
protected |
Definition at line 43 of file SCR_PossessingManagerComponent.c.
Get the entity currently possessed by player.
| [in] | iPlayerId |
Definition at line 93 of file SCR_PossessingManagerComponent.c.
Get RplId of the entity currently possessed by player.
| [in] | iPlayerId |
Definition at line 105 of file SCR_PossessingManagerComponent.c.
Definition at line 324 of file SCR_PossessingManagerComponent.c.
|
protected |
Definition at line 349 of file SCR_PossessingManagerComponent.c.
| [in] | iPlayerId | Player ID |
Definition at line 172 of file SCR_PossessingManagerComponent.c.
|
protected |
Prior to a controllable entity being DELETED, this event is raised. Controllable entity is such that has BaseControllerComponent and can be possessed either by a player, an AI or stay unpossessed.
| [in] | entity | Entity about to be deleted |
Definition at line 307 of file SCR_PossessingManagerComponent.c.
|
protected |
When a controllable entity is destroyed, this event is raised.
| [in] | instigatorContextData | Holds the data of the victim and killer |
Definition at line 337 of file SCR_PossessingManagerComponent.c.
|
protected |
Definition at line 398 of file SCR_PossessingManagerComponent.c.
|
protected |
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 386 of file SCR_PossessingManagerComponent.c.
|
protected |
Definition at line 419 of file SCR_PossessingManagerComponent.c.
|
protected |
Definition at line 404 of file SCR_PossessingManagerComponent.c.
| void ScriptInvokerOnPossessedProxyMethod | ( | int | playerID, |
| bool | isPossessing, | ||
| RplId | mainEntityID ) |
|
protected |
| [in] | playerID | |
| [in] | controlledEntity | |
| [in] | mainEntity | |
| [in] | isPossessing |
Definition at line 182 of file SCR_PossessingManagerComponent.c.
Definition at line 205 of file SCR_PossessingManagerComponent.c.
|
protected |
Definition at line 13 of file SCR_PossessingManagerComponent.c.
|
protected |
Definition at line 14 of file SCR_PossessingManagerComponent.c.
| SCR_PossessingManagerComponentClass m_MainEntities = new map<int, RplId>() |