Loading...
Searching...
No Matches
SCR_MapCommandPostUI Interface Reference
Inheritance diagram for SCR_MapCommandPostUI:

Public Member Functions

override void HandlerAttached (Widget w)
 
override void HandlerDeattached (Widget w)
 

Public Attributes

ResourceName m_sWrapperImageset
 

Protected Member Functions

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
 

Static Protected Attributes

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"
 

Member Function Documentation

◆ CloseMenu()

void SCR_MapCommandPostUI.CloseMenu ( )
protected

◆ HandlerAttached()

override void SCR_MapCommandPostUI.HandlerAttached ( Widget w)

◆ HandlerDeattached()

override void SCR_MapCommandPostUI.HandlerDeattached ( Widget w)

◆ OnBaseClicked()

void SCR_MapCommandPostUI.OnBaseClicked ( bool selected)
protected

◆ OnBaseDisassembled()

void SCR_MapCommandPostUI.OnBaseDisassembled ( SCR_CampaignMilitaryBaseComponent base,
Faction faction )
protected

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

◆ OnBaseFactionChanged()

void SCR_MapCommandPostUI.OnBaseFactionChanged ( SCR_CampaignMilitaryBaseComponent base,
Faction defendingFaction,
Faction attackingFaction )
protected

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

◆ OnCloseButtonClicked()

void SCR_MapCommandPostUI.OnCloseButtonClicked ( )
protected

◆ OnFactionCommanderChanged()

void SCR_MapCommandPostUI.OnFactionCommanderChanged ( SCR_Faction faction,
int commanderPlayerId )
protected

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

◆ SetActiveBase()

void SCR_MapCommandPostUI.SetActiveBase ( )
protected

◆ SetCommanderNameWidget()

void SCR_MapCommandPostUI.SetCommanderNameWidget ( Widget w)
protected

◆ SetModeType()

void SCR_MapCommandPostUI.SetModeType ( Widget w)
protected

Member Data Documentation

◆ COMBAT_SUPPORT_ICON

const string SCR_MapCommandPostUI.COMBAT_SUPPORT_ICON = "characters"
staticprotected

◆ COMBAT_SUPPORT_LABEL_TEXT

const string SCR_MapCommandPostUI.COMBAT_SUPPORT_LABEL_TEXT = "#AR-FactionCommander_UserAction_RadioStation"
staticprotected

◆ CURRENT_COMMANDER_AI_TEXT

const string SCR_MapCommandPostUI.CURRENT_COMMANDER_AI_TEXT = "#AR-FactionCommander_CurrentCommander_AI"
staticprotected

◆ CURRENT_COMMANDER_PLAYER_TEXT

const string SCR_MapCommandPostUI.CURRENT_COMMANDER_PLAYER_TEXT = "#AR-FactionCommander_CurrentCommander"
staticprotected

◆ LOGISTICS_ICON

const string SCR_MapCommandPostUI.LOGISTICS_ICON = "veh_trunk"
staticprotected

◆ LOGISTICS_LABEL_TEXT

const string SCR_MapCommandPostUI.LOGISTICS_LABEL_TEXT = "#AR-FactionCommander_UserAction_LogisticsStation"
staticprotected

◆ m_ActiveBase

SCR_CampaignMilitaryBaseComponent SCR_MapCommandPostUI.m_ActiveBase
protected

◆ m_bCommanderRoleEnabled

bool SCR_MapCommandPostUI.m_bCommanderRoleEnabled
protected

◆ m_GameplaySettings

BaseContainer SCR_MapCommandPostUI.m_GameplaySettings
protected

◆ m_InputButton

SCR_InputButtonComponent SCR_MapCommandPostUI.m_InputButton
protected

◆ m_ModeColor

Color SCR_MapCommandPostUI.m_ModeColor
protected

◆ m_sIconName

string SCR_MapCommandPostUI.m_sIconName
protected

◆ m_sModeName

string SCR_MapCommandPostUI.m_sModeName
protected

◆ m_sWrapperImageset

ResourceName SCR_MapCommandPostUI.m_sWrapperImageset

◆ m_wCloseButtonWidget

ButtonWidget SCR_MapCommandPostUI.m_wCloseButtonWidget
protected

◆ m_wCommanderName

RichTextWidget SCR_MapCommandPostUI.m_wCommanderName
protected

◆ m_wModeIcon

ImageWidget SCR_MapCommandPostUI.m_wModeIcon
protected

◆ m_wModeText

TextWidget SCR_MapCommandPostUI.m_wModeText
protected

◆ m_wModeTopBar

ImageWidget SCR_MapCommandPostUI.m_wModeTopBar
protected

◆ m_wPlatformIcon

ImageWidget SCR_MapCommandPostUI.m_wPlatformIcon
protected

◆ m_wPlatformLayout

Widget SCR_MapCommandPostUI.m_wPlatformLayout
protected

◆ OPERATIONS_ICON

const string SCR_MapCommandPostUI.OPERATIONS_ICON = "scenarios"
staticprotected

◆ OPERATIONS_LABEL_TEXT

const string SCR_MapCommandPostUI.OPERATIONS_LABEL_TEXT = "#AR-FactionCommander_UserAction_EngineeringStation"
staticprotected

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