Arma Reforger Script API
|
Class handling Factions that are present in the game. More...
Public Member Functions | |
override void | InitContent (SCR_WelcomeScreenMenu menu, string column, string columnButton) |
Initialises content for given column. | |
string | GetTitleText () |
string | GetBottomTitleText () |
![]() | |
void | ToggleInteractions (bool enabled) |
Toggles whether or not this content is interactive. | |
string | GetContentName () |
bool | GetIsInteractible () |
Get if it is interactible. | |
Protected Member Functions | |
void | AddFactionWidget () |
Adds new faction widget to the content. | |
void | FillFactionWidget (notnull SCR_Faction faction, notnull Widget content, Color color) |
Fills content widget with factions. | |
void | UpdateFactionPlayerCount (Faction faction, int playerCountParam) |
Updates faction player count when player count of said faction changes. | |
void | UpdateFactionPlayability (Faction faction, bool playable) |
Updates faction playability when playability of said faction changes. | |
Protected Attributes | |
string | m_sTitleText |
string | m_sBottomTitleText |
ResourceName | m_sFactionColumnLayout |
ResourceName | m_sFactionLayout |
Widget | m_wFactionContentWidget |
ref array< Widget > | m_aFactionWidgets = {} |
ref SCR_SortedArray< SCR_Faction > | m_SortedFactions = new SCR_SortedArray<SCR_Faction>() |
![]() | |
bool | m_bIsInteractible |
string | m_sContentName |
Class handling Factions that are present in the game.
|
protected |
Adds new faction widget to the content.
|
protected |
Fills content widget with factions.
[in] | faction | |
[in] | content | |
[in] | color |
string SCR_WelcomeScreenFactionContent.GetBottomTitleText | ( | ) |
string SCR_WelcomeScreenFactionContent.GetTitleText | ( | ) |
override void SCR_WelcomeScreenFactionContent.InitContent | ( | SCR_WelcomeScreenMenu | menu, |
string | column, | ||
string | columnButton ) |
Initialises content for given column.
[in] | menu | |
[in] | column | |
[in] | columnButton |
Implements SCR_WelcomeScreenBaseContent.
|
protected |
Updates faction playability when playability of said faction changes.
[in] | faction | |
[in] | playable |
|
protected |
Updates faction player count when player count of said faction changes.
[in] | faction | |
[in] | playerCountParam |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |