Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Data Structures | |
class | SCR_DeployMenuBase |
Base deploy menu class. More... | |
class | SCR_DeployButton |
Component that handles the request respawn button. More... | |
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. More... | |
override void | OnMenuOpen () |
override void | OnMenuHide () |
override void | OnMenuFocusLost () |
override void | OnMenuFocusGained () |
protected void | NextSpawn () |
Select next available spawn point. More... | |
protected void | PrevSpawn () |
Select previous available spawn point. More... | |
override void | OnMenuOpened () |
override void | OnMenuClose () |
override void | OnMenuUpdate (float tDelta) |
protected void | ResetRespawnResultVars () |
protected void | OnCanRespawnRequestResponse (SCR_SpawnRequestComponent requestComponent, SCR_ESpawnResult response, SCR_SpawnData data) |
protected void | FindRequestHandlers () |
Find all components in the layout that are needed in order for deploy menu to function correctly. More... | |
protected void | HookEvents () |
Initialize necessary callbacks. More... | |
protected void | OnMapOpen (MapConfiguration config) |
protected void | OnLocalPlayerGroupJoined (SCR_AIGroup group) |
Callback when player joins a group. More... | |
protected void | InitMapDeploy () |
Initializes the map with deploy menu config. More... | |
protected void | SetSpawnPointExt (RplId id) |
Sets spawn point from an external source (ie. by clicking the spawn point icon). More... | |
protected void | SetInitialSpawnPoint (RplId spawnPointId) |
Sets initial spawn point when the deploy map is open for the first time. More... | |
protected void | SetSpawnPoint (RplId id, bool smoothPan=true) |
Sets the currently selected spawn point. More... | |
protected void | FocusOnPoint (notnull SCR_SpawnPoint spawnPoint, bool smooth=true) |
Centers map to a specific spawn point. More... | |
protected void | HideLoading () |
Hides loading spinner widget. More... | |
protected void | RequestRespawn () |
Sends a respawn request based on assigned loadout and selected spawn point. More... | |
protected void | OnPlayerFactionRequest (SCR_PlayerFactionAffiliationComponent component, int factionIndex) |
Callback when player requests a faction. More... | |
protected void | OnPlayerFactionResponse (SCR_PlayerFactionAffiliationComponent component, int factionIndex, bool response) |
Callback when faction request receives a response. More... | |
protected void | OnPlayerLoadoutRequest (SCR_PlayerLoadoutComponent component, int loadoutIndex) |
Callback when player requests a loadout. More... | |
protected void | OnPlayerLoadoutResponse (SCR_PlayerLoadoutComponent component, int loadoutIndex, bool response) |
Callback when loadout request receives a response. More... | |
protected void | OnPlayerFactionSet (Faction assignedFaction) |
protected void | OnChatToggle () |
Toggle chat. More... | |
protected void | OnPauseMenu () |
Opens pause menu. More... | |
protected void | OnRespawnRequest (SCR_SpawnRequestComponent requestComponent) |
Callback when respawn request was sent for the player. More... | |
protected void | OnRespawnResponse (SCR_SpawnRequestComponent requestComponent, SCR_ESpawnResult response) |
Callback when player respawn request received a response. More... | |
protected void | UpdateRespawnButton () |
Sets respawn button enabled based on certain conditions. More... | |
protected void | OpenGroupMenu () |
void AllowMapContext | ( | bool | allow | ) |
Sets map context active based on whether or not any of the selectors are focused with a gamepad.
Definition at line 197 of file SCR_DeployMenuBase.c.
protected void FindRequestHandlers | ( | ) |
Find all components in the layout that are needed in order for deploy menu to function correctly.
Definition at line 543 of file SCR_DeployMenuBase.c.
protected void FocusOnPoint | ( | notnull SCR_SpawnPoint | spawnPoint, |
bool | smooth = true |
||
) |
Centers map to a specific spawn point.
Definition at line 668 of file SCR_DeployMenuBase.c.
int GetLoadoutCost | ( | SCR_PlayerLoadoutComponent | component | ) |
Definition at line 157 of file SCR_DeployMenuBase.c.
protected void HideLoading | ( | ) |
Hides loading spinner widget.
Definition at line 688 of file SCR_DeployMenuBase.c.
protected void HookEvents | ( | ) |
Initialize necessary callbacks.
Definition at line 565 of file SCR_DeployMenuBase.c.
protected void InitMapDeploy | ( | ) |
Initializes the map with deploy menu config.
Definition at line 615 of file SCR_DeployMenuBase.c.
protected void NextSpawn | ( | ) |
Select next available spawn point.
Definition at line 329 of file SCR_DeployMenuBase.c.
protected void OnCanRespawnRequestResponse | ( | SCR_SpawnRequestComponent | requestComponent, |
SCR_ESpawnResult | response, | ||
SCR_SpawnData | data | ||
) |
Definition at line 472 of file SCR_DeployMenuBase.c.
protected void OnChatToggle | ( | ) |
Toggle chat.
Definition at line 779 of file SCR_DeployMenuBase.c.
protected void OnLocalPlayerGroupJoined | ( | SCR_AIGroup | group | ) |
Callback when player joins a group.
Definition at line 608 of file SCR_DeployMenuBase.c.
protected void OnMapOpen | ( | MapConfiguration | config | ) |
Definition at line 584 of file SCR_DeployMenuBase.c.
override void OnMenuClose | ( | ) |
Definition at line 359 of file SCR_DeployMenuBase.c.
override void OnMenuFocusGained | ( | ) |
Definition at line 313 of file SCR_DeployMenuBase.c.
override void OnMenuFocusLost | ( | ) |
Definition at line 301 of file SCR_DeployMenuBase.c.
override void OnMenuHide | ( | ) |
Definition at line 289 of file SCR_DeployMenuBase.c.
override void OnMenuOpen | ( | ) |
Definition at line 203 of file SCR_DeployMenuBase.c.
override void OnMenuOpened | ( | ) |
Definition at line 343 of file SCR_DeployMenuBase.c.
override void OnMenuUpdate | ( | float | tDelta | ) |
Definition at line 370 of file SCR_DeployMenuBase.c.
protected void OnPauseMenu | ( | ) |
Opens pause menu.
Definition at line 795 of file SCR_DeployMenuBase.c.
protected void OnPlayerFactionRequest | ( | SCR_PlayerFactionAffiliationComponent | component, |
int | factionIndex | ||
) |
Callback when player requests a faction.
Definition at line 723 of file SCR_DeployMenuBase.c.
protected void OnPlayerFactionResponse | ( | SCR_PlayerFactionAffiliationComponent | component, |
int | factionIndex, | ||
bool | response | ||
) |
Callback when faction request receives a response.
Definition at line 729 of file SCR_DeployMenuBase.c.
protected void OnPlayerFactionSet | ( | Faction | assignedFaction | ) |
Definition at line 762 of file SCR_DeployMenuBase.c.
protected void OnPlayerLoadoutRequest | ( | SCR_PlayerLoadoutComponent | component, |
int | loadoutIndex | ||
) |
Callback when player requests a loadout.
Definition at line 741 of file SCR_DeployMenuBase.c.
protected void OnPlayerLoadoutResponse | ( | SCR_PlayerLoadoutComponent | component, |
int | loadoutIndex, | ||
bool | response | ||
) |
Callback when loadout request receives a response.
Definition at line 747 of file SCR_DeployMenuBase.c.
protected void OnRespawnRequest | ( | SCR_SpawnRequestComponent | requestComponent | ) |
Callback when respawn request was sent for the player.
Definition at line 801 of file SCR_DeployMenuBase.c.
protected void OnRespawnResponse | ( | SCR_SpawnRequestComponent | requestComponent, |
SCR_ESpawnResult | response | ||
) |
Callback when player respawn request received a response.
Definition at line 813 of file SCR_DeployMenuBase.c.
protected void OpenGroupMenu | ( | ) |
Definition at line 839 of file SCR_DeployMenuBase.c.
protected void PrevSpawn | ( | ) |
Select previous available spawn point.
Definition at line 336 of file SCR_DeployMenuBase.c.
protected void ResetRespawnResultVars | ( | ) |
Definition at line 463 of file SCR_DeployMenuBase.c.
protected void SetInitialSpawnPoint | ( | RplId | spawnPointId | ) |
Sets initial spawn point when the deploy map is open for the first time.
Definition at line 635 of file SCR_DeployMenuBase.c.
protected void SetSpawnPoint | ( | RplId | id, |
bool | smoothPan = true |
||
) |
Sets the currently selected spawn point.
Definition at line 642 of file SCR_DeployMenuBase.c.
protected void SetSpawnPointExt | ( | RplId | id | ) |
Sets spawn point from an external source (ie. by clicking the spawn point icon).
Definition at line 629 of file SCR_DeployMenuBase.c.
protected void UpdateRespawnButton | ( | ) |
Sets respawn button enabled based on certain conditions.
Definition at line 826 of file SCR_DeployMenuBase.c.
const protected float CHECK_CAN_SPAWN_SPAWNPOINT_TIME = 1 |
Definition at line 147 of file SCR_DeployMenuBase.c.
const protected float DEPLOY_TIME_OUT = 0.5 |
Definition at line 154 of file SCR_DeployMenuBase.c.
const protected string FALLBACK_DEPLOY_STRING = "#AR-ButtonSelectDeploy" |
Definition at line 148 of file SCR_DeployMenuBase.c.
protected SCR_RespawnTimerComponent m_ActiveRespawnTimer |
Definition at line 128 of file SCR_DeployMenuBase.c.
protected bool m_bCanRespawnAtSpawnPoint |
Definition at line 141 of file SCR_DeployMenuBase.c.
protected bool m_bDisplayTime |
Definition at line 144 of file SCR_DeployMenuBase.c.
protected bool m_bMapContextAllowed = true |
Definition at line 139 of file SCR_DeployMenuBase.c.
protected bool m_bRespawnRequested = false |
Definition at line 132 of file SCR_DeployMenuBase.c.
protected bool m_bSuppliesEnabled |
Definition at line 133 of file SCR_DeployMenuBase.c.
protected FactionManager m_FactionManager |
Definition at line 118 of file SCR_DeployMenuBase.c.
protected float m_fCurrentCanSpawnUpdateTime |
Definition at line 146 of file SCR_DeployMenuBase.c.
protected float m_fCurrentDeployTimeOut |
Definition at line 153 of file SCR_DeployMenuBase.c.
protected SCR_BaseGameMode m_GameMode |
Definition at line 111 of file SCR_DeployMenuBase.c.
protected SCR_InputButtonComponent m_GroupOpenButton |
Definition at line 150 of file SCR_DeployMenuBase.c.
protected SCR_GroupRequestUIComponent m_GroupRequestUIHandler |
Definition at line 105 of file SCR_DeployMenuBase.c.
protected int m_iPlayerId |
Definition at line 137 of file SCR_DeployMenuBase.c.
protected int m_iPreviousTime = 0 |
Definition at line 131 of file SCR_DeployMenuBase.c.
protected RplId m_iSelectedSpawnPointId = RplId.Invalid() |
Definition at line 113 of file SCR_DeployMenuBase.c.
protected SCR_LoadingSpinner m_LoadingSpinner |
Definition at line 116 of file SCR_DeployMenuBase.c.
protected SCR_LoadoutRequestUIComponent m_LoadoutRequestUIHandler |
Definition at line 104 of file SCR_DeployMenuBase.c.
protected ref MapConfiguration m_MapConfigDeploy = new MapConfiguration() |
Definition at line 108 of file SCR_DeployMenuBase.c.
SCR_DeployMenuBase m_MenuHandler |
Main deploy menu with the map present.
protected SCR_RespawnTimerComponent m_PlayerRespawnTimer |
Definition at line 129 of file SCR_DeployMenuBase.c.
protected SCR_PlayerFactionAffiliationComponent m_PlyFactionAffilComp |
Definition at line 119 of file SCR_DeployMenuBase.c.
protected SCR_PlayerLoadoutComponent m_PlyLoadoutComp |
Definition at line 121 of file SCR_DeployMenuBase.c.
protected SCR_DeployButton m_RespawnButton |
Definition at line 124 of file SCR_DeployMenuBase.c.
protected SCR_RespawnComponent m_RespawnComponent |
Definition at line 135 of file SCR_DeployMenuBase.c.
protected SCR_RespawnSystemComponent m_RespawnSystemComp |
Definition at line 134 of file SCR_DeployMenuBase.c.
protected SCR_SpawnPointRequestUIComponent m_SpawnPointRequestUIHandler |
Definition at line 106 of file SCR_DeployMenuBase.c.
protected SCR_RespawnComponent m_SpawnRequestManager |
Definition at line 112 of file SCR_DeployMenuBase.c.
protected SCR_TimedSpawnPointComponent m_TimedSpawnPointTimer |
Definition at line 130 of file SCR_DeployMenuBase.c.
protected SCR_MapUIElementContainer m_UIElementContainer |
Definition at line 109 of file SCR_DeployMenuBase.c.
protected SCR_UIInfoSpawnRequestResult m_UIInfoSpawnRequestResult |
Definition at line 143 of file SCR_DeployMenuBase.c.
protected Widget m_wLoadingSpinner |
Definition at line 115 of file SCR_DeployMenuBase.c.
protected Widget m_wMenuFrame |
Definition at line 126 of file SCR_DeployMenuBase.c.
protected Widget m_wRespawnButton |
Definition at line 123 of file SCR_DeployMenuBase.c.