Arma Reforger Script API
|
Role selection menu for setting up player faction, group and loadout. More...
Public Member Functions | |
override void | OnMenuOpen () |
override void | OnMenuOpened () |
override void | OnMenuUpdate (float tDelta) |
override void | OnMenuFocusGained () |
override void | OnMenuFocusLost () |
override void | OnMenuClose () |
Public Member Functions inherited from SCR_DeployMenuBase | |
override void | OnMenuOpen () |
override void | OnMenuOpened () |
override void | OnMenuClose () |
override void | OnMenuHide () |
void | MuteSounds (bool mute=true) |
Public Member Functions inherited from ChimeraMenuBase | |
override void | OnMenuInit () |
override void | OnMenuUpdate (float tDelta) |
override void | OnMenuOpen () |
override void | OnMenuOpened () |
override void | OnMenuClose () |
override void | OnMenuFocusGained () |
override void | OnMenuFocusLost () |
override void | OnMenuShow () |
override void | OnMenuHide () |
Static Public Member Functions | |
static SCR_RoleSelectionMenu | OpenRoleSelectionMenu () |
Open role selection menu. | |
static void | CloseRoleSelectionMenu () |
Close role selection menu. | |
static SCR_RoleSelectionMenu | GetRoleSelectionMenu () |
Get opened role selection menu. | |
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 | FindRequestHandlers () |
Find request handlers based on the layout configuration. | |
void | HookEvents () |
Initialize event listeners. | |
void | UpdateElapsedTime () |
Update elapsed time. | |
void | InitMapPlain () |
Initialize empty map in the background. | |
void | OnMouseLeft () |
void | ShowFactionPlayerList (Faction faction=null) |
Show player list for a faction. | |
void | ShowLoadoutList () |
Shows the loadout selector on the right side of role selection screen. | |
void | UpdatePlayerCount () |
Updates the session's player count. | |
bool | CanContinue () |
Check if role selection screen can be closed. | |
bool | CanOpenGroupMenu () |
Check if group menu can be opened. | |
void | OpenGroupMenu () |
void | OnPlayerFactionRequest (SCR_PlayerFactionAffiliationComponent component, int factionIndex) |
void | OnPlayerFactionResponse (SCR_PlayerFactionAffiliationComponent component, int factionIndex, bool response) |
Callback when player receives a response to afaction request. | |
void | OnPlayerGroupJoined (SCR_AIGroup group, int pid=-1) |
Callback when a player joins a group. | |
void | OnLocalGroupJoined (SCR_AIGroup group) |
Callback when local player joins a group. | |
void | OnPlayerLoadoutRequest (SCR_PlayerLoadoutComponent component, int loadoutIndex) |
void | OnPlayerLoadoutResponse (SCR_PlayerLoadoutComponent component, int loadoutIndex, bool response) |
Callback when local player receives a response to a loadout request. | |
void | OnChatToggle () |
void | OnPauseMenu () |
void | OnPlayerEntryFocused (int id) |
void | OnPlayerEntryFocusLost (Widget w) |
void | OnViewProfile () |
void | UpdateViewProfileButton (bool forceHidden=false) |
Protected Member Functions inherited from SCR_DeployMenuBase | |
void | OnLanguageChanged (SCR_GameplaySettingsSubMenu menu) |
Hack used to refresh the map after language is changed in order to force reload fonts used by location descriptors. | |
void | OpenPlayerList () |
void | OnEditorLimitedChanged (bool limited) |
If limited, don't show the game master switch button. | |
Additional Inherited Members | |
Public Attributes inherited from ChimeraMenuBase | |
ref ScriptInvoker | m_OnTextEditContextChange = new ScriptInvoker |
ref ScriptInvoker | m_OnUpdate = new ScriptInvoker |
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 |
Role selection menu for setting up player faction, group and loadout.
|
protected |
Check if role selection screen can be closed.
|
protected |
Check if group menu can be opened.
|
static |
Close role selection menu.
|
protected |
Find request handlers based on the layout configuration.
|
static |
Get opened role selection menu.
|
protected |
Initialize event listeners.
|
protected |
Initialize empty map in the background.
|
protected |
|
protected |
Callback when local player joins a group.
override void SCR_RoleSelectionMenu.OnMenuClose | ( | ) |
Implements SCR_DeployMenuBase.
override void SCR_RoleSelectionMenu.OnMenuFocusGained | ( | ) |
Implements ChimeraMenuBase.
override void SCR_RoleSelectionMenu.OnMenuFocusLost | ( | ) |
Implements ChimeraMenuBase.
override void SCR_RoleSelectionMenu.OnMenuOpen | ( | ) |
Implements SCR_DeployMenuBase.
override void SCR_RoleSelectionMenu.OnMenuOpened | ( | ) |
Implements SCR_DeployMenuBase.
override void SCR_RoleSelectionMenu.OnMenuUpdate | ( | float | tDelta | ) |
Implements ChimeraMenuBase.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Callback when player receives a response to afaction request.
|
protected |
Callback when a player joins a group.
|
protected |
|
protected |
Callback when local player receives a response to a loadout request.
|
protected |
|
protected |
|
static |
Open role selection menu.
|
protected |
Show player list for a faction.
|
protected |
Shows the loadout selector on the right side of role selection screen.
|
protected |
Update elapsed time.
|
protected |
Updates the session's player count.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |