Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_MapCommandPostUI Class Reference
Inheritance diagram for SCR_MapCommandPostUI:
ScriptedWidgetComponent

Protected Member Functions

override void HandlerAttached (Widget w)
override void HandlerDeattached (Widget w)
void OnCloseButtonClicked ()
void OnBaseClicked (bool selected)
void OnFactionCommanderChanged (SCR_Faction faction, int commanderPlayerId)
 Closes the Command Post Menu when local player loses commander role.
void OnBaseDisassembled (SCR_CampaignMilitaryBaseComponent base, Faction faction)
 Closes the Command Post Menu when base where commander is using Command Post is disassembled.
void OnBaseFactionChanged (SCR_CampaignMilitaryBaseComponent base, Faction defendingFaction, Faction attackingFaction)
 Closes the Command Post Menu when base where commander is using Command Post is captured by other faction.
void CloseMenu ()
void SetCommanderNameWidget (Widget w)
void SetModeType (Widget w)
void SetActiveBase ()

Protected Attributes

ButtonWidget m_wCloseButtonWidget
SCR_InputButtonComponent m_InputButton
SCR_CampaignMilitaryBaseComponent m_ActiveBase
bool m_bCommanderRoleEnabled
string m_sModeName
string m_sIconName
Color m_ModeColor
RichTextWidget m_wCommanderName
Widget m_wPlatformLayout
ImageWidget m_wPlatformIcon
TextWidget m_wModeText
ImageWidget m_wModeTopBar
ImageWidget m_wModeIcon
BaseContainer m_GameplaySettings
const string CURRENT_COMMANDER_AI_TEXT = "#AR-FactionCommander_CurrentCommander_AI"
const string CURRENT_COMMANDER_PLAYER_TEXT = "#AR-FactionCommander_CurrentCommander"
const string LOGISTICS_LABEL_TEXT = "#AR-FactionCommander_UserAction_LogisticsStation"
const string COMBAT_SUPPORT_LABEL_TEXT = "#AR-FactionCommander_UserAction_RadioStation"
const string OPERATIONS_LABEL_TEXT = "#AR-FactionCommander_UserAction_EngineeringStation"
const string LOGISTICS_ICON = "veh_trunk"
const string COMBAT_SUPPORT_ICON = "characters"
const string OPERATIONS_ICON = "scenarios"

Detailed Description

Definition at line 1 of file SCR_MapCommandPostUI.c.

Member Function Documentation

◆ CloseMenu()

void SCR_MapCommandPostUI::CloseMenu ( )
inlineprotected

Definition at line 137 of file SCR_MapCommandPostUI.c.

◆ HandlerAttached()

override void SCR_MapCommandPostUI::HandlerAttached ( Widget w)
inlineprotected

Definition at line 36 of file SCR_MapCommandPostUI.c.

◆ HandlerDeattached()

override void SCR_MapCommandPostUI::HandlerDeattached ( Widget w)
inlineprotected

Definition at line 67 of file SCR_MapCommandPostUI.c.

◆ OnBaseClicked()

void SCR_MapCommandPostUI::OnBaseClicked ( bool selected)
inlineprotected

Definition at line 88 of file SCR_MapCommandPostUI.c.

◆ OnBaseDisassembled()

void SCR_MapCommandPostUI::OnBaseDisassembled ( SCR_CampaignMilitaryBaseComponent base,
Faction faction )
inlineprotected

Closes the Command Post Menu when base where commander is using Command Post is disassembled.

Definition at line 114 of file SCR_MapCommandPostUI.c.

◆ OnBaseFactionChanged()

void SCR_MapCommandPostUI::OnBaseFactionChanged ( SCR_CampaignMilitaryBaseComponent base,
Faction defendingFaction,
Faction attackingFaction )
inlineprotected

Closes the Command Post Menu when base where commander is using Command Post is captured by other faction.

Definition at line 124 of file SCR_MapCommandPostUI.c.

◆ OnCloseButtonClicked()

void SCR_MapCommandPostUI::OnCloseButtonClicked ( )
inlineprotected

Definition at line 82 of file SCR_MapCommandPostUI.c.

◆ OnFactionCommanderChanged()

void SCR_MapCommandPostUI::OnFactionCommanderChanged ( SCR_Faction faction,
int commanderPlayerId )
inlineprotected

Closes the Command Post Menu when local player loses commander role.

Definition at line 100 of file SCR_MapCommandPostUI.c.

◆ SetActiveBase()

void SCR_MapCommandPostUI::SetActiveBase ( )
inlineprotected

Definition at line 234 of file SCR_MapCommandPostUI.c.

◆ SetCommanderNameWidget()

void SCR_MapCommandPostUI::SetCommanderNameWidget ( Widget w)
inlineprotected

Definition at line 144 of file SCR_MapCommandPostUI.c.

◆ SetModeType()

void SCR_MapCommandPostUI::SetModeType ( Widget w)
inlineprotected

Definition at line 186 of file SCR_MapCommandPostUI.c.

Member Data Documentation

◆ COMBAT_SUPPORT_ICON

const string SCR_MapCommandPostUI::COMBAT_SUPPORT_ICON = "characters"
protected

Definition at line 32 of file SCR_MapCommandPostUI.c.

◆ COMBAT_SUPPORT_LABEL_TEXT

const string SCR_MapCommandPostUI::COMBAT_SUPPORT_LABEL_TEXT = "#AR-FactionCommander_UserAction_RadioStation"
protected

Definition at line 29 of file SCR_MapCommandPostUI.c.

◆ CURRENT_COMMANDER_AI_TEXT

const string SCR_MapCommandPostUI::CURRENT_COMMANDER_AI_TEXT = "#AR-FactionCommander_CurrentCommander_AI"
protected

Definition at line 26 of file SCR_MapCommandPostUI.c.

◆ CURRENT_COMMANDER_PLAYER_TEXT

const string SCR_MapCommandPostUI::CURRENT_COMMANDER_PLAYER_TEXT = "#AR-FactionCommander_CurrentCommander"
protected

Definition at line 27 of file SCR_MapCommandPostUI.c.

◆ LOGISTICS_ICON

const string SCR_MapCommandPostUI::LOGISTICS_ICON = "veh_trunk"
protected

Definition at line 31 of file SCR_MapCommandPostUI.c.

◆ LOGISTICS_LABEL_TEXT

const string SCR_MapCommandPostUI::LOGISTICS_LABEL_TEXT = "#AR-FactionCommander_UserAction_LogisticsStation"
protected

Definition at line 28 of file SCR_MapCommandPostUI.c.

◆ m_ActiveBase

SCR_CampaignMilitaryBaseComponent SCR_MapCommandPostUI::m_ActiveBase
protected

Definition at line 9 of file SCR_MapCommandPostUI.c.

◆ m_bCommanderRoleEnabled

bool SCR_MapCommandPostUI::m_bCommanderRoleEnabled
protected

Definition at line 11 of file SCR_MapCommandPostUI.c.

◆ m_GameplaySettings

BaseContainer SCR_MapCommandPostUI::m_GameplaySettings
protected

Definition at line 24 of file SCR_MapCommandPostUI.c.

◆ m_InputButton

SCR_InputButtonComponent SCR_MapCommandPostUI::m_InputButton
protected

Definition at line 7 of file SCR_MapCommandPostUI.c.

◆ m_ModeColor

Color SCR_MapCommandPostUI::m_ModeColor
protected

Definition at line 15 of file SCR_MapCommandPostUI.c.

◆ m_sIconName

string SCR_MapCommandPostUI::m_sIconName
protected

Definition at line 14 of file SCR_MapCommandPostUI.c.

◆ m_sModeName

string SCR_MapCommandPostUI::m_sModeName
protected

Definition at line 13 of file SCR_MapCommandPostUI.c.

◆ m_wCloseButtonWidget

ButtonWidget SCR_MapCommandPostUI::m_wCloseButtonWidget
protected

Definition at line 6 of file SCR_MapCommandPostUI.c.

◆ m_wCommanderName

RichTextWidget SCR_MapCommandPostUI::m_wCommanderName
protected

Definition at line 17 of file SCR_MapCommandPostUI.c.

◆ m_wModeIcon

ImageWidget SCR_MapCommandPostUI::m_wModeIcon
protected

Definition at line 22 of file SCR_MapCommandPostUI.c.

◆ m_wModeText

TextWidget SCR_MapCommandPostUI::m_wModeText
protected

Definition at line 20 of file SCR_MapCommandPostUI.c.

◆ m_wModeTopBar

ImageWidget SCR_MapCommandPostUI::m_wModeTopBar
protected

Definition at line 21 of file SCR_MapCommandPostUI.c.

◆ m_wPlatformIcon

ImageWidget SCR_MapCommandPostUI::m_wPlatformIcon
protected

Definition at line 19 of file SCR_MapCommandPostUI.c.

◆ m_wPlatformLayout

Widget SCR_MapCommandPostUI::m_wPlatformLayout
protected

Definition at line 18 of file SCR_MapCommandPostUI.c.

◆ OPERATIONS_ICON

const string SCR_MapCommandPostUI::OPERATIONS_ICON = "scenarios"
protected

Definition at line 33 of file SCR_MapCommandPostUI.c.

◆ OPERATIONS_LABEL_TEXT

const string SCR_MapCommandPostUI::OPERATIONS_LABEL_TEXT = "#AR-FactionCommander_UserAction_EngineeringStation"
protected

Definition at line 30 of file SCR_MapCommandPostUI.c.


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