Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_MapLogisticUI Interface Reference
Inheritance diagram for SCR_MapLogisticUI:
SCR_MapUIElementContainer SCR_MapUIBaseComponent

Public Member Functions

override void OnMapOpen (MapConfiguration config)
 SCR_MapEntity event.
 
override void OnMapClose (MapConfiguration config)
 SCR_MapEntity event.
 
override void Update (float timeSlice)
 Update method for frame operations.
 
void ~SCR_MapLogisticUI ()
 
- Public Member Functions inherited from SCR_MapUIElementContainer
override void Init ()
 Init method for cases where all modules and components should be loaded already so constructor cannot be used, called once after creation.
 
void OnMapPan (float panX, float panY, bool adjustedPan)
 
void RemoveIcon (SCR_MapUIElement icon)
 
void OnSpawnPointSelectedExt (RplId id)
 
void OnElementSelected (notnull SCR_MapUIElement element)
 
void OnSpawnPointSelected (RplId spId=RplId.Invalid())
 
SCR_MapUISpawnPoint FindSpawnPoint (RplId id)
 
ScriptInvoker GetOnSpawnPointSelected ()
 
ScriptInvoker GetOnElementSelected ()
 
SCR_TaskMapUIComponent GetTaskFromID (string taskID)
 
- Public Member Functions inherited from SCR_MapUIBaseComponent
bool IsConfigDisabled ()
 
bool IsExclusive ()
 
void SetActive (bool active, bool isCleanup=false)
 Enable open/close events, called every time component is activated, usually on map open.
 
bool IsToolMenuFocused ()
 
void SCR_MapUIBaseComponent ()
 

Protected Member Functions

void InitBases ()
 
- Protected Member Functions inherited from SCR_MapUIElementContainer
void AddSpawnPoint (SCR_SpawnPoint spawnPoint)
 
void RemoveSpawnPoint (SCR_SpawnPoint spawnPoint)
 
void OnSpawnPointFactionChange (SCR_SpawnPoint spawnPoint)
 
void UpdateSpawnPointName (RplId id, string name)
 
void HideSpawnPoint (RplId spawnPointId)
 
void OnPlayerFactionResponse (SCR_PlayerFactionAffiliationComponent component, int factionIndex, bool response)
 
void UpdateIcons ()
 
void UpdateIconPosition (Widget widget, SCR_MapUIElement icon, float x, float y)
 
void InitSpawnPoints ()
 
void ShowSpawnPoint (notnull SCR_SpawnPoint spawnPoint)
 
void InitTaskMarkers ()
 Creates task icon for every task which is visible on map for player.
 
void InitTaskIcon (SCR_Task task)
 Creates map icon for task.
 
void OnTaskAdded (SCR_Task task)
 Creates task icon when task is added.
 
void OnTaskRemoved (notnull SCR_Task task)
 Remove task icon from map when task is removed from system.
 
void RemoveAllIcons ()
 
SCR_MapUIElement FindSpawnPointIconById (RplId id)
 
void OnPlayerGroupChanged (SCR_AIGroup group)
 

Protected Attributes

ResourceName m_sBaseElement
 
ResourceName m_sServiceHint
 
- Protected Attributes inherited from SCR_MapUIElementContainer
string m_sIconsContainer
 
Widget m_wIconsContainer
 
ResourceName m_sSpawnPointElement
 
ResourceName m_sTaskElement
 
ResourceName m_sWarningWidget
 
Widget m_wWarningWidget
 
bool m_bShowSpawnPointsHint
 
bool m_bShowSpawnPoints
 
bool m_bShowTasks
 
bool m_bShowAllTaskTypenames
 
ref array< string > m_aAllowedTaskTypenames
 
bool m_bIsEditor
 
bool m_bIsDeployMap
 
ref map< Widget, SCR_MapUIElementm_mIcons = new map<Widget, SCR_MapUIElement>()
 
SCR_PlayerFactionAffiliationComponent m_PlyFactionAffilComp
 
SCR_PlayerControllerGroupComponent m_PlyGroupComp
 
SCR_BaseGameMode m_GameMode
 
SCR_TaskSystem m_TaskSystem
 
ref ScriptInvoker< SCR_MapUIElementm_OnElementSelected
 
ref ScriptInvoker< RplId > m_OnSpawnPointSelected
 
- Protected Attributes inherited from SCR_MapUIBaseComponent
bool m_bDisableComponent
 
bool m_bIsExclusive
 
bool m_bHookToRoot = false
 
Widget m_RootWidget
 
SCR_MapEntity m_MapEntity
 

Constructor & Destructor Documentation

◆ ~SCR_MapLogisticUI()

void SCR_MapLogisticUI.~SCR_MapLogisticUI ( )

Member Function Documentation

◆ InitBases()

void SCR_MapLogisticUI.InitBases ( )
protected

◆ OnMapClose()

override void SCR_MapLogisticUI.OnMapClose ( MapConfiguration config)

SCR_MapEntity event.

Parameters
[in]config

Implements SCR_MapUIElementContainer.

◆ OnMapOpen()

override void SCR_MapLogisticUI.OnMapOpen ( MapConfiguration config)

SCR_MapEntity event.

Parameters
[in]config

Implements SCR_MapUIElementContainer.

◆ Update()

override void SCR_MapLogisticUI.Update ( float timeSlice)

Update method for frame operations.

Implements SCR_MapUIBaseComponent.

Member Data Documentation

◆ m_sBaseElement

ResourceName SCR_MapLogisticUI.m_sBaseElement
protected

◆ m_sServiceHint

ResourceName SCR_MapLogisticUI.m_sServiceHint
protected

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