Arma Reforger Script API
Loading...
Searching...
No Matches
ScriptedSelectionMenu Interface Reference
Inheritance diagram for ScriptedSelectionMenu:
BaseSelectionMenu SCR_BaseSelectionMenu

Protected Member Functions

void OnOpen (IEntity owner)
 Callback when open is requested.
 
void OnClose (IEntity owner)
 Callback when close is requested.
 
void OnUpdate (IEntity owner, float timeSlice)
 Callback when menu update is requested Note that it is up to user to call Update to receive this event.
 

Additional Inherited Members

- Public Member Functions inherited from BaseSelectionMenu
proto external void Update (IEntity owner, float timeSlice)
 Request an update to this radial menu, ideally called during EOnFrame.
 
proto external void Open (IEntity owner)
 Request to open this radial menu.
 
proto external void Close (IEntity owner)
 Request to close this radial menu.
 
proto external bool IsOpen ()
 Is this radial menu currently open?
 
proto external void ClearEntries ()
 Clear the list of entries stored in this menu.
 
proto external void AddEntry (BaseSelectionMenuEntry entry)
 Add provided entry to the list of entries (if not contained already)
 
proto external void RemoveEntry (BaseSelectionMenuEntry entry)
 Remove provided entry from the list of entries.
 
proto external bool ContainsEntry (BaseSelectionMenuEntry entry)
 Returns true if this menu already contains provided entry.
 
proto external int GetEntriesCount ()
 Returns the number of entries stored in this menu.
 
proto external int GetEntryList (out notnull array< BaseSelectionMenuEntry > outActions)
 Fills the provided array with weak references to entries from this menu Returns the number of output elements.
 

Member Function Documentation

◆ OnClose()

void ScriptedSelectionMenu.OnClose ( IEntity owner)
protected

Callback when close is requested.

Implemented in SCR_BaseSelectionMenu.

◆ OnOpen()

void ScriptedSelectionMenu.OnOpen ( IEntity owner)
protected

Callback when open is requested.

Implemented in SCR_BaseSelectionMenu.

◆ OnUpdate()

void ScriptedSelectionMenu.OnUpdate ( IEntity owner,
float timeSlice )
protected

Callback when menu update is requested Note that it is up to user to call Update to receive this event.

Implemented in SCR_BaseSelectionMenu.


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