Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_MapUIElementContainer Class Reference
Inheritance diagram for SCR_MapUIElementContainer:
SCR_MapUIBaseComponent SCR_MapCampaignUI SCR_MapLogisticUI SCR_TutorialMapUI

Protected Member Functions

override void Init ()
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)
override void OnMapOpen (MapConfiguration config)
override void OnMapClose (MapConfiguration config)
void OnMapPan (float panX, float panY, bool adjustedPan)
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)
void OnTaskAdded (SCR_Task task)
void OnTaskRemoved (notnull SCR_Task task)
void RemoveAllIcons ()
void RemoveIcon (SCR_MapUIElement icon)
SCR_MapUIElement FindSpawnPointIconById (RplId id)
void OnSpawnPointSelectedExt (RplId id)
void OnElementSelected (notnull SCR_MapUIElement element)
void OnSpawnPointSelected (RplId spId=RplId.Invalid())
void OnPlayerGroupChanged (SCR_AIGroup group)
SCR_MapUISpawnPoint FindSpawnPoint (RplId id)
ScriptInvoker GetOnSpawnPointSelected ()
ScriptInvoker GetOnElementSelected ()
SCR_TaskMapUIComponent GetTaskFromID (string taskID)

Protected Attributes

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< stringm_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< RplIdm_OnSpawnPointSelected

Detailed Description

Definition at line 1 of file SCR_MapUIElementContainer.c.

Member Function Documentation

◆ AddSpawnPoint()

void SCR_MapUIElementContainer::AddSpawnPoint ( SCR_SpawnPoint spawnPoint)
inlineprotected

Definition at line 56 of file SCR_MapUIElementContainer.c.

◆ FindSpawnPoint()

SCR_MapUISpawnPoint SCR_MapUIElementContainer::FindSpawnPoint ( RplId id)
inlineprotected
Parameters
[in]id
Returns

Definition at line 516 of file SCR_MapUIElementContainer.c.

◆ FindSpawnPointIconById()

SCR_MapUIElement SCR_MapUIElementContainer::FindSpawnPointIconById ( RplId id)
inlineprotected

Definition at line 447 of file SCR_MapUIElementContainer.c.

◆ GetOnElementSelected()

ScriptInvoker SCR_MapUIElementContainer::GetOnElementSelected ( )
inlineprotected
Returns

Definition at line 543 of file SCR_MapUIElementContainer.c.

◆ GetOnSpawnPointSelected()

ScriptInvoker SCR_MapUIElementContainer::GetOnSpawnPointSelected ( )
inlineprotected
Returns

Definition at line 533 of file SCR_MapUIElementContainer.c.

◆ GetTaskFromID()

SCR_TaskMapUIComponent SCR_MapUIElementContainer::GetTaskFromID ( string taskID)
inlineprotected
Parameters
[in]taskID
Returns
ui component of task from provided ID

Definition at line 554 of file SCR_MapUIElementContainer.c.

◆ HideSpawnPoint()

void SCR_MapUIElementContainer::HideSpawnPoint ( RplId spawnPointId)
inlineprotected

Definition at line 100 of file SCR_MapUIElementContainer.c.

◆ Init()

override void SCR_MapUIElementContainer::Init ( )
inlineprotected

Definition at line 49 of file SCR_MapUIElementContainer.c.

◆ InitSpawnPoints()

void SCR_MapUIElementContainer::InitSpawnPoints ( )
inlineprotected

Definition at line 270 of file SCR_MapUIElementContainer.c.

◆ InitTaskIcon()

void SCR_MapUIElementContainer::InitTaskIcon ( SCR_Task task)
inlineprotected

Creates map icon for task.

Parameters
[in]taskto be initialized.

Definition at line 349 of file SCR_MapUIElementContainer.c.

◆ InitTaskMarkers()

void SCR_MapUIElementContainer::InitTaskMarkers ( )
inlineprotected

Creates task icon for every task which is visible on map for player.

Definition at line 318 of file SCR_MapUIElementContainer.c.

◆ OnElementSelected()

void SCR_MapUIElementContainer::OnElementSelected ( notnull SCR_MapUIElement element)
inlineprotected
Parameters
[in]element

Definition at line 469 of file SCR_MapUIElementContainer.c.

◆ OnMapClose()

override void SCR_MapUIElementContainer::OnMapClose ( MapConfiguration config)
inlineprotected

Definition at line 177 of file SCR_MapUIElementContainer.c.

◆ OnMapOpen()

override void SCR_MapUIElementContainer::OnMapOpen ( MapConfiguration config)
inlineprotected

Definition at line 128 of file SCR_MapUIElementContainer.c.

◆ OnMapPan()

void SCR_MapUIElementContainer::OnMapPan ( float panX,
float panY,
bool adjustedPan )
inlineprotected
Parameters
[in]panX
[in]panY
[in]adjustedPan

Definition at line 212 of file SCR_MapUIElementContainer.c.

◆ OnPlayerFactionResponse()

void SCR_MapUIElementContainer::OnPlayerFactionResponse ( SCR_PlayerFactionAffiliationComponent component,
int factionIndex,
bool response )
inlineprotected

Definition at line 113 of file SCR_MapUIElementContainer.c.

◆ OnPlayerGroupChanged()

void SCR_MapUIElementContainer::OnPlayerGroupChanged ( SCR_AIGroup group)
inlineprotected

Definition at line 483 of file SCR_MapUIElementContainer.c.

◆ OnSpawnPointFactionChange()

void SCR_MapUIElementContainer::OnSpawnPointFactionChange ( SCR_SpawnPoint spawnPoint)
inlineprotected

Definition at line 78 of file SCR_MapUIElementContainer.c.

◆ OnSpawnPointSelected()

void SCR_MapUIElementContainer::OnSpawnPointSelected ( RplId spId = RplId.Invalid())
inlineprotected
Parameters
[in]spId

Definition at line 477 of file SCR_MapUIElementContainer.c.

◆ OnSpawnPointSelectedExt()

void SCR_MapUIElementContainer::OnSpawnPointSelectedExt ( RplId id)
inlineprotected
Parameters
[in]id

Definition at line 460 of file SCR_MapUIElementContainer.c.

◆ OnTaskAdded()

void SCR_MapUIElementContainer::OnTaskAdded ( SCR_Task task)
inlineprotected

Creates task icon when task is added.

Parameters
[in]task.

Definition at line 382 of file SCR_MapUIElementContainer.c.

◆ OnTaskRemoved()

void SCR_MapUIElementContainer::OnTaskRemoved ( notnull SCR_Task task)
inlineprotected

Remove task icon from map when task is removed from system.

Parameters
[in]task.

Definition at line 410 of file SCR_MapUIElementContainer.c.

◆ RemoveAllIcons()

void SCR_MapUIElementContainer::RemoveAllIcons ( )
inlineprotected

Definition at line 425 of file SCR_MapUIElementContainer.c.

◆ RemoveIcon()

void SCR_MapUIElementContainer::RemoveIcon ( SCR_MapUIElement icon)
inlineprotected
Parameters
[in]icon

Definition at line 441 of file SCR_MapUIElementContainer.c.

◆ RemoveSpawnPoint()

void SCR_MapUIElementContainer::RemoveSpawnPoint ( SCR_SpawnPoint spawnPoint)
inlineprotected

Definition at line 70 of file SCR_MapUIElementContainer.c.

◆ ShowSpawnPoint()

void SCR_MapUIElementContainer::ShowSpawnPoint ( notnull SCR_SpawnPoint spawnPoint)
inlineprotected

Definition at line 295 of file SCR_MapUIElementContainer.c.

◆ UpdateIconPosition()

void SCR_MapUIElementContainer::UpdateIconPosition ( Widget widget,
SCR_MapUIElement icon,
float x,
float y )
inlineprotected

Definition at line 264 of file SCR_MapUIElementContainer.c.

◆ UpdateIcons()

void SCR_MapUIElementContainer::UpdateIcons ( )
inlineprotected

Definition at line 218 of file SCR_MapUIElementContainer.c.

◆ UpdateSpawnPointName()

void SCR_MapUIElementContainer::UpdateSpawnPointName ( RplId id,
string name )
inlineprotected

Definition at line 87 of file SCR_MapUIElementContainer.c.

Member Data Documentation

◆ m_aAllowedTaskTypenames

ref array<string> SCR_MapUIElementContainer::m_aAllowedTaskTypenames
protected

Definition at line 32 of file SCR_MapUIElementContainer.c.

◆ m_bIsDeployMap

bool SCR_MapUIElementContainer::m_bIsDeployMap
protected

Definition at line 35 of file SCR_MapUIElementContainer.c.

◆ m_bIsEditor

bool SCR_MapUIElementContainer::m_bIsEditor
protected

Definition at line 34 of file SCR_MapUIElementContainer.c.

◆ m_bShowAllTaskTypenames

bool SCR_MapUIElementContainer::m_bShowAllTaskTypenames
protected

Definition at line 29 of file SCR_MapUIElementContainer.c.

◆ m_bShowSpawnPoints

bool SCR_MapUIElementContainer::m_bShowSpawnPoints
protected

Definition at line 23 of file SCR_MapUIElementContainer.c.

◆ m_bShowSpawnPointsHint

bool SCR_MapUIElementContainer::m_bShowSpawnPointsHint
protected

Definition at line 20 of file SCR_MapUIElementContainer.c.

◆ m_bShowTasks

bool SCR_MapUIElementContainer::m_bShowTasks
protected

Definition at line 26 of file SCR_MapUIElementContainer.c.

◆ m_GameMode

SCR_BaseGameMode SCR_MapUIElementContainer::m_GameMode
protected

Definition at line 41 of file SCR_MapUIElementContainer.c.

◆ m_mIcons

ref map<Widget, SCR_MapUIElement> SCR_MapUIElementContainer::m_mIcons = new map<Widget, SCR_MapUIElement>()
protected

Definition at line 37 of file SCR_MapUIElementContainer.c.

◆ m_OnElementSelected

ref ScriptInvoker<SCR_MapUIElement> SCR_MapUIElementContainer::m_OnElementSelected
protected

Definition at line 45 of file SCR_MapUIElementContainer.c.

◆ m_OnSpawnPointSelected

ref ScriptInvoker<RplId> SCR_MapUIElementContainer::m_OnSpawnPointSelected
protected

Definition at line 46 of file SCR_MapUIElementContainer.c.

◆ m_PlyFactionAffilComp

SCR_PlayerFactionAffiliationComponent SCR_MapUIElementContainer::m_PlyFactionAffilComp
protected

Definition at line 39 of file SCR_MapUIElementContainer.c.

◆ m_PlyGroupComp

SCR_PlayerControllerGroupComponent SCR_MapUIElementContainer::m_PlyGroupComp
protected

Definition at line 40 of file SCR_MapUIElementContainer.c.

◆ m_sIconsContainer

string SCR_MapUIElementContainer::m_sIconsContainer
protected

Definition at line 4 of file SCR_MapUIElementContainer.c.

◆ m_sSpawnPointElement

ResourceName SCR_MapUIElementContainer::m_sSpawnPointElement
protected

Definition at line 9 of file SCR_MapUIElementContainer.c.

◆ m_sTaskElement

ResourceName SCR_MapUIElementContainer::m_sTaskElement
protected

Definition at line 12 of file SCR_MapUIElementContainer.c.

◆ m_sWarningWidget

ResourceName SCR_MapUIElementContainer::m_sWarningWidget
protected

Definition at line 15 of file SCR_MapUIElementContainer.c.

◆ m_TaskSystem

SCR_TaskSystem SCR_MapUIElementContainer::m_TaskSystem
protected

Definition at line 43 of file SCR_MapUIElementContainer.c.

◆ m_wIconsContainer

Widget SCR_MapUIElementContainer::m_wIconsContainer
protected

Definition at line 6 of file SCR_MapUIElementContainer.c.

◆ m_wWarningWidget

Widget SCR_MapUIElementContainer::m_wWarningWidget
protected

Definition at line 17 of file SCR_MapUIElementContainer.c.


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