|
Arma Reforger Script API
|
Main deploy menu with the map present. More...
Public Member Functions | |
| int | GetLoadoutCost (SCR_PlayerLoadoutComponent component) |
| void | AllowMapContext (bool allow) |
| Sets map context active based on whether or not any of the selectors are focused with a gamepad. | |
| bool | GetAllowMapContext () |
| Returns true if map context is allowed. | |
| override void | OnMenuOpen () |
| override void | OnMenuHide () |
| override void | OnMenuFocusLost () |
| override void | OnMenuFocusGained () |
| override void | OnMenuOpened () |
| override void | OnMenuClose () |
| override void | OnMenuUpdate (float tDelta) |
| SCR_SpawnPointRequestUIComponent | GetSpawnPointRequestHandler () |
| OnSpawnPointRplIdSetInvoker | GetOnSpawnPointRplIdSet () |
Public Member Functions inherited from SCR_DeployMenuBase | |
| void | MuteSounds (bool mute=true) |
Public Member Functions inherited from ChimeraMenuBase | |
| override void | OnMenuInit () |
| override void | OnMenuShow () |
Static Public Member Functions | |
| static SCR_DeployMenuMain | OpenDeployMenu () |
| Opens deploy menu. | |
| static void | CloseDeployMenu () |
| As the name suggests, this method closes the deploy menu instance. | |
| static SCR_DeployMenuMain | GetDeployMenu () |
| Returns the deploy menu instance. | |
Static Public Member Functions inherited from SCR_DeployMenuBase | |
| static OnDeployMenuOpenInvoker | SGetOnMenuOpen () |
Static Public Member Functions inherited from ChimeraMenuBase | |
| static ChimeraMenuBase | CurrentChimeraMenu () |
| static ChimeraMenuBase | GetOwnerMenu (Widget w) |
| Returns parent menu of a widget. | |
Protected Member Functions | |
| void | NextSpawn () |
| Select next available spawn point. | |
| void | PrevSpawn () |
| Select previous available spawn point. | |
| void | ResetRespawnResultVars () |
| void | OnCanRespawnRequestResponse (SCR_SpawnRequestComponent requestComponent, SCR_ESpawnResult response, SCR_SpawnData data) |
| void | FindRequestHandlers () |
| Find all components in the layout that are needed in order for deploy menu to function correctly. | |
| void | HookEvents () |
| Initialize necessary callbacks. | |
| void | OnMapOpen (MapConfiguration config) |
| void | OnLocalPlayerGroupJoined (SCR_AIGroup group) |
| Callback when player joins a group. | |
| void | InitMapDeploy () |
| Initializes the map with deploy menu config. | |
| void | SetSpawnPointExt (RplId id) |
| Sets spawn point from an external source (ie. by clicking the spawn point icon). | |
| void | SetInitialSpawnPoint (RplId spawnPointId) |
| Sets initial spawn point when the deploy map is open for the first time. | |
| void | OnSpawnPointSelected (RplId id) |
| void | SetSpawnPoint (RplId id, bool smoothPan=true) |
| Sets the currently selected spawn point. | |
| void | FocusOnPoint (notnull SCR_SpawnPoint spawnPoint, bool smooth=true) |
| Centers map to a specific spawn point. | |
| void | HideLoading () |
| Hides loading spinner widget. | |
| void | RequestRespawn () |
| Sends a respawn request based on assigned loadout and selected spawn point. | |
| void | OnPlayerFactionRequest (SCR_PlayerFactionAffiliationComponent component, int factionIndex) |
| Callback when player requests a faction. | |
| void | OnPlayerFactionResponse (SCR_PlayerFactionAffiliationComponent component, int factionIndex, bool response) |
| Callback when faction request receives a response. | |
| void | OnPlayerLoadoutRequest (SCR_PlayerLoadoutComponent component, int loadoutIndex) |
| Callback when player requests a loadout. | |
| void | OnPlayerLoadoutResponse (SCR_PlayerLoadoutComponent component, int loadoutIndex, bool response) |
| Callback when loadout request receives a response. | |
| void | OnPlayerFactionSet (Faction assignedFaction) |
| void | OnChatToggle () |
| Toggle chat. | |
| void | OnPauseMenu () |
| Opens pause menu. | |
| void | OnRespawnRequest (SCR_SpawnRequestComponent requestComponent) |
| Callback when respawn request was sent for the player. | |
| void | OnRespawnResponse (SCR_SpawnRequestComponent requestComponent, SCR_ESpawnResult response) |
| Callback when player respawn request received a response. | |
| void | UpdateRespawnButton () |
| Sets respawn button enabled based on certain conditions. | |
| void | OpenGroupMenu () |
Protected Member Functions inherited from SCR_DeployMenuBase | |
| void | OpenPlayerList () |
| void | OnEditorLimitedChanged (bool limited) |
| If limited, don't show the game master switch button. | |
Static Protected Attributes | |
| const float | CHECK_CAN_SPAWN_SPAWNPOINT_TIME = 1 |
| const string | FALLBACK_DEPLOY_STRING = "#AR-ButtonSelectDeploy" |
| const float | DEPLOY_TIME_OUT = 0.5 |
Static Protected Attributes inherited from SCR_DeployMenuBase | |
| static ref OnDeployMenuOpenInvoker | s_OnMenuOpen |
Static Protected Attributes inherited from ChimeraMenuBase | |
| const string | INPUT_CONTEXT_EDIT = "MenuTextEditContext" |
| static ChimeraMenuBase | m_ThisMenu |
Additional Inherited Members | |
Public Attributes inherited from ChimeraMenuBase | |
| ref ScriptInvoker | m_OnTextEditContextChange = new ScriptInvoker |
| ref ScriptInvoker | m_OnUpdate = new ScriptInvoker |
Main deploy menu with the map present.
| void SCR_DeployMenuMain.AllowMapContext | ( | bool | allow | ) |
Sets map context active based on whether or not any of the selectors are focused with a gamepad.
|
static |
As the name suggests, this method closes the deploy menu instance.
|
protected |
Find all components in the layout that are needed in order for deploy menu to function correctly.
|
protected |
Centers map to a specific spawn point.
| bool SCR_DeployMenuMain.GetAllowMapContext | ( | ) |
Returns true if map context is allowed.
|
static |
Returns the deploy menu instance.
| int SCR_DeployMenuMain.GetLoadoutCost | ( | SCR_PlayerLoadoutComponent | component | ) |
| [in] | component |
| OnSpawnPointRplIdSetInvoker SCR_DeployMenuMain.GetOnSpawnPointRplIdSet | ( | ) |
| SCR_SpawnPointRequestUIComponent SCR_DeployMenuMain.GetSpawnPointRequestHandler | ( | ) |
|
protected |
Hides loading spinner widget.
|
protected |
Initialize necessary callbacks.
|
protected |
Initializes the map with deploy menu config.
|
protected |
Select next available spawn point.
|
protected |
|
protected |
Toggle chat.
|
protected |
Callback when player joins a group.
|
protected |
| override void SCR_DeployMenuMain.OnMenuClose | ( | ) |
Implements SCR_DeployMenuBase.
| override void SCR_DeployMenuMain.OnMenuFocusGained | ( | ) |
Implements ChimeraMenuBase.
| override void SCR_DeployMenuMain.OnMenuFocusLost | ( | ) |
Implements ChimeraMenuBase.
| override void SCR_DeployMenuMain.OnMenuHide | ( | ) |
Implements SCR_DeployMenuBase.
| override void SCR_DeployMenuMain.OnMenuOpen | ( | ) |
Implements SCR_DeployMenuBase.
| override void SCR_DeployMenuMain.OnMenuOpened | ( | ) |
Implements SCR_DeployMenuBase.
| override void SCR_DeployMenuMain.OnMenuUpdate | ( | float | tDelta | ) |
Implements ChimeraMenuBase.
|
protected |
Opens pause menu.
|
protected |
Callback when player requests a faction.
|
protected |
Callback when faction request receives a response.
|
protected |
|
protected |
Callback when player requests a loadout.
|
protected |
Callback when loadout request receives a response.
|
protected |
Callback when respawn request was sent for the player.
|
protected |
Callback when player respawn request received a response.
|
protected |
|
static |
Opens deploy menu.
|
protected |
|
protected |
Select previous available spawn point.
|
protected |
Sends a respawn request based on assigned loadout and selected spawn point.
|
protected |
|
protected |
Sets initial spawn point when the deploy map is open for the first time.
|
protected |
Sets the currently selected spawn point.
|
protected |
Sets spawn point from an external source (ie. by clicking the spawn point icon).
|
protected |
Sets respawn button enabled based on certain conditions.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |