Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
MainMenuUI Interface Reference
Inheritance diagram for MainMenuUI:
[legend]

Public Member Functions

void OnServicesStatus ()
 
- 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 int GetNewsEntries (out array< ref SCR_NewsEntry > entries=null)
 
static int GetNotificationEntries (out array< ref SCR_NewsEntry > entries=null)
 
static int GetUnreadNewsCount ()
 
static int GetUnreadNotificationCount ()
 
- Static Public Member Functions inherited from ChimeraMenuBase
static ChimeraMenuBase CurrentChimeraMenu ()
 
static ChimeraMenuBase GetOwnerMenu (Widget w)
 Returns parent menu of a widget.
 

Protected Member Functions

override void OnMenuOpen ()
 
override void OnMenuOpened ()
 
override void OnMenuFocusLost ()
 
override void OnMenuFocusGained ()
 
void OnBack ()
 
void OnCredits ()
 
void OnTileClick (notnull SCR_MenuTileComponent comp)
 
void OnTileFocus (SCR_MenuTileComponent comp)
 
void OnButtonSelect ()
 
void OnFeedback ()
 
void OnLogoClicked ()
 
void RestoreFocus ()
 
void CheckServicesStatusIfFocused ()
 Check Services Status only if the main menu is still focused (given the check is delayed by SERVICES_STATUS_CHECK_DELAY)
 

Static Protected Member Functions

static void TryExitGame ()
 Shows exit game dialog, or some other dialog if something should prevent user from exiting the game through the main menu.
 

Protected Attributes

SCR_MenuTileComponent m_FocusedTile
 
DialogUI m_BannedDetectionDialog
 
ref array< string > m_aBannedItems = {}
 
ref array< ref Widget > m_aTiles = {}
 
bool m_bFirstLoad
 
ref SCR_ScriptPlatformRequestCallback m_CallbackGetPrivilege
 
- Protected Attributes inherited from ChimeraMenuBase
bool m_bTextEditActive = false
 

Static Protected Attributes

static ref array< ref SCR_NewsEntrym_aNews = {}
 
static ref array< ref SCR_NewsEntrym_aNotifications = {}
 
static bool s_bDidCheckNetwork
 
static const int SERVICES_STATUS_CHECK_DELAY = 2000
 
- 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
 

Member Function Documentation

◆ CheckServicesStatusIfFocused()

void MainMenuUI.CheckServicesStatusIfFocused ( )
protected

Check Services Status only if the main menu is still focused (given the check is delayed by SERVICES_STATUS_CHECK_DELAY)

◆ GetNewsEntries()

static int MainMenuUI.GetNewsEntries ( out array< ref SCR_NewsEntry entries = null)
static

◆ GetNotificationEntries()

static int MainMenuUI.GetNotificationEntries ( out array< ref SCR_NewsEntry entries = null)
static

◆ GetUnreadNewsCount()

static int MainMenuUI.GetUnreadNewsCount ( )
static

◆ GetUnreadNotificationCount()

static int MainMenuUI.GetUnreadNotificationCount ( )
static

◆ OnBack()

void MainMenuUI.OnBack ( )
protected

◆ OnButtonSelect()

void MainMenuUI.OnButtonSelect ( )
protected

◆ OnCredits()

void MainMenuUI.OnCredits ( )
protected

◆ OnFeedback()

void MainMenuUI.OnFeedback ( )
protected

◆ OnLogoClicked()

void MainMenuUI.OnLogoClicked ( )
protected

◆ OnMenuFocusGained()

override void MainMenuUI.OnMenuFocusGained ( )
protected

Implements ChimeraMenuBase.

◆ OnMenuFocusLost()

override void MainMenuUI.OnMenuFocusLost ( )
protected

Implements ChimeraMenuBase.

◆ OnMenuOpen()

override void MainMenuUI.OnMenuOpen ( )
protected

Implements ChimeraMenuBase.

◆ OnMenuOpened()

override void MainMenuUI.OnMenuOpened ( )
protected

Implements ChimeraMenuBase.

◆ OnServicesStatus()

void MainMenuUI.OnServicesStatus ( )

◆ OnTileClick()

void MainMenuUI.OnTileClick ( notnull SCR_MenuTileComponent  comp)
protected

◆ OnTileFocus()

void MainMenuUI.OnTileFocus ( SCR_MenuTileComponent  comp)
protected

◆ RestoreFocus()

void MainMenuUI.RestoreFocus ( )
protected

◆ TryExitGame()

static void MainMenuUI.TryExitGame ( )
staticprotected

Shows exit game dialog, or some other dialog if something should prevent user from exiting the game through the main menu.

Member Data Documentation

◆ m_aBannedItems

ref array<string> MainMenuUI.m_aBannedItems = {}
protected

◆ m_aNews

ref array<ref SCR_NewsEntry> MainMenuUI.m_aNews = {}
staticprotected

◆ m_aNotifications

ref array<ref SCR_NewsEntry> MainMenuUI.m_aNotifications = {}
staticprotected

◆ m_aTiles

ref array<ref Widget> MainMenuUI.m_aTiles = {}
protected

◆ m_BannedDetectionDialog

DialogUI MainMenuUI.m_BannedDetectionDialog
protected

◆ m_bFirstLoad

bool MainMenuUI.m_bFirstLoad
protected

◆ m_CallbackGetPrivilege

ref SCR_ScriptPlatformRequestCallback MainMenuUI.m_CallbackGetPrivilege
protected

◆ m_FocusedTile

SCR_MenuTileComponent MainMenuUI.m_FocusedTile
protected

◆ s_bDidCheckNetwork

bool MainMenuUI.s_bDidCheckNetwork
staticprotected

◆ SERVICES_STATUS_CHECK_DELAY

const int MainMenuUI.SERVICES_STATUS_CHECK_DELAY = 2000
staticprotected

The documentation for this interface was generated from the following file: