Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_SpawnPointRequestUIComponent Interface Reference
Inheritance diagram for SCR_SpawnPointRequestUIComponent:
SCR_DeployRequestUIBaseComponent

Public Member Functions

override void HandlerAttached (Widget w)
 
override void HandlerDeattached (Widget w)
 
void CycleSpawnPoints (bool next=true)
 
void ShowAvailableSpawnPoints (Faction faction)
 
void UpdateRelevantSpawnPoints ()
 
void SelectSpawnPointExt (RplId id)
 
ScriptInvoker GetOnSpawnPointSelected ()
 
RplId GetCurrentRplId ()
 
bool IsSelectorFocused ()
 
- Public Member Functions inherited from SCR_DeployRequestUIBaseComponent
void Update (float dt)
 
void Unlock ()
 Unlock this component's buttons.
 
bool IsEnabled ()
 
SCR_DeployButtonBase GetFirstValidButton ()
 Gets first available button from the m_aButtons list.
 
void SetExpanded (bool expanded)
 
bool IsExpanded ()
 
void SetListWidget (Widget list)
 Marks which widget should be used as a root for creating buttons.
 
Widget GetListWidget ()
 Gets current list widget.
 
ScriptInvoker GetOnButtonFocused ()
 
ScriptInvoker GetOnMouseLeft ()
 

Static Public Member Functions

static ScriptInvoker SGetOnSpawnPointSelected ()
 
- Static Public Member Functions inherited from SCR_DeployRequestUIBaseComponent
static ScriptInvoker GetOnListCollapse ()
 

Static Public Attributes

static ref ScriptInvoker< RplId > s_OnSpawnPointSelected
 

Protected Member Functions

void SelectSpawnPoint (SCR_SpawnPointSpinBox spinbox, int itemId)
 
void SetSpawnPoint (RplId spawnPointId)
 
void AddSpawnPoint (SCR_SpawnPoint spawnPoint)
 
void RemoveSpawnPoint (SCR_SpawnPoint spawnPoint)
 
void UpdateSpawnPointName (RplId id, string name)
 
void OnSpawnPointAdded (SCR_SpawnPoint spawnPoint)
 
void OnSpawnPointFactionChange (SCR_SpawnPoint spawnPoint)
 
void ClearSpawnPoints ()
 
void SetLastUsedSpawnPointSelected ()
 Sets the last used spawned point by player as default selected option in spawn selector Does not affect selection if there is no last used spawn point, or it is unavailable.
 
void SetRallyPointSpawnSelected ()
 Sets the player group Rally Point as default selected option in spawn selector.
 
- Protected Member Functions inherited from SCR_DeployRequestUIBaseComponent
void Lock (SCR_DeployButtonBase btn)
 Lock this component's buttons from processing any further requests. Unlock() should be called once you receive a response.
 
void ToggleCollapsed ()
 
void OnListExpand (SCR_DeployRequestUIBaseComponent component, bool expanded)
 
void OnMouseLeft ()
 

Protected Attributes

string m_sSpawnPointSelector
 
Widget m_wSpawnPointSelector
 
RplId m_SelectedSpawnPointId = RplId.Invalid()
 
SCR_SpawnPointSpinBox m_SpawnPointSelector
 
ref ScriptInvoker< RplId > m_OnSpawnPointSelected
 
- Protected Attributes inherited from SCR_DeployRequestUIBaseComponent
string m_sExpandButton
 
Widget m_wExpandButton
 
string m_sExpandButtonName
 
TextWidget m_wExpandButtonName
 
string m_sExpandButtonNameFreq
 
TextWidget m_wExpandButtonNameFreq
 
string m_sExpandButtonIcon
 
ImageWidget m_wExpandButtonIcon
 
bool m_bUseListFromButton
 
bool m_bEnabled = true
 
bool m_bLocked = false
 
ref array< SCR_DeployButtonBasem_aButtons = {}
 
Widget m_wRoot
 
ref ScriptInvoker m_OnButtonFocused = new ScriptInvoker()
 
ref ScriptInvoker m_OnMouseLeft = new ScriptInvoker()
 

Additional Inherited Members

- Static Protected Attributes inherited from SCR_DeployRequestUIBaseComponent
static ref ScriptInvoker< SCR_DeployRequestUIBaseComponent, bool > s_OnListExpand
 

Member Function Documentation

◆ AddSpawnPoint()

void SCR_SpawnPointRequestUIComponent.AddSpawnPoint ( SCR_SpawnPoint spawnPoint)
protected

◆ ClearSpawnPoints()

void SCR_SpawnPointRequestUIComponent.ClearSpawnPoints ( )
protected

◆ CycleSpawnPoints()

void SCR_SpawnPointRequestUIComponent.CycleSpawnPoints ( bool next = true)

◆ GetCurrentRplId()

RplId SCR_SpawnPointRequestUIComponent.GetCurrentRplId ( )

◆ GetOnSpawnPointSelected()

ScriptInvoker SCR_SpawnPointRequestUIComponent.GetOnSpawnPointSelected ( )

◆ HandlerAttached()

override void SCR_SpawnPointRequestUIComponent.HandlerAttached ( Widget w)

◆ HandlerDeattached()

override void SCR_SpawnPointRequestUIComponent.HandlerDeattached ( Widget w)

◆ IsSelectorFocused()

bool SCR_SpawnPointRequestUIComponent.IsSelectorFocused ( )

◆ OnSpawnPointAdded()

void SCR_SpawnPointRequestUIComponent.OnSpawnPointAdded ( SCR_SpawnPoint spawnPoint)
protected

◆ OnSpawnPointFactionChange()

void SCR_SpawnPointRequestUIComponent.OnSpawnPointFactionChange ( SCR_SpawnPoint spawnPoint)
protected

◆ RemoveSpawnPoint()

void SCR_SpawnPointRequestUIComponent.RemoveSpawnPoint ( SCR_SpawnPoint spawnPoint)
protected

◆ SelectSpawnPoint()

void SCR_SpawnPointRequestUIComponent.SelectSpawnPoint ( SCR_SpawnPointSpinBox spinbox,
int itemId )
protected

◆ SelectSpawnPointExt()

void SCR_SpawnPointRequestUIComponent.SelectSpawnPointExt ( RplId id)

◆ SetLastUsedSpawnPointSelected()

void SCR_SpawnPointRequestUIComponent.SetLastUsedSpawnPointSelected ( )
protected

Sets the last used spawned point by player as default selected option in spawn selector Does not affect selection if there is no last used spawn point, or it is unavailable.

◆ SetRallyPointSpawnSelected()

void SCR_SpawnPointRequestUIComponent.SetRallyPointSpawnSelected ( )
protected

Sets the player group Rally Point as default selected option in spawn selector.

◆ SetSpawnPoint()

void SCR_SpawnPointRequestUIComponent.SetSpawnPoint ( RplId spawnPointId)
protected

◆ SGetOnSpawnPointSelected()

static ScriptInvoker SCR_SpawnPointRequestUIComponent.SGetOnSpawnPointSelected ( )
static

◆ ShowAvailableSpawnPoints()

void SCR_SpawnPointRequestUIComponent.ShowAvailableSpawnPoints ( Faction faction)

◆ UpdateRelevantSpawnPoints()

void SCR_SpawnPointRequestUIComponent.UpdateRelevantSpawnPoints ( )

◆ UpdateSpawnPointName()

void SCR_SpawnPointRequestUIComponent.UpdateSpawnPointName ( RplId id,
string name )
protected

Member Data Documentation

◆ m_OnSpawnPointSelected

ref ScriptInvoker<RplId> SCR_SpawnPointRequestUIComponent.m_OnSpawnPointSelected
protected

◆ m_SelectedSpawnPointId

RplId SCR_SpawnPointRequestUIComponent.m_SelectedSpawnPointId = RplId.Invalid()
protected

◆ m_SpawnPointSelector

SCR_SpawnPointSpinBox SCR_SpawnPointRequestUIComponent.m_SpawnPointSelector
protected

◆ m_sSpawnPointSelector

string SCR_SpawnPointRequestUIComponent.m_sSpawnPointSelector
protected

◆ m_wSpawnPointSelector

Widget SCR_SpawnPointRequestUIComponent.m_wSpawnPointSelector
protected

◆ s_OnSpawnPointSelected

ref ScriptInvoker<RplId> SCR_SpawnPointRequestUIComponent.s_OnSpawnPointSelected
static

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