Arma Reforger Script API
|
Class handling mission objectives that are dynamically created during the mission. More...
Public Member Functions | |
override void | InitContent (SCR_WelcomeScreenMenu menu, string column, string columnButton) |
Initialises content for given column. | |
override void | ToggleInteractions (bool enabled) |
Toggles whether or not this content is interactive. | |
void | FillDynamicObjectivesWidget (Widget content) |
Fills content widget with dynamic mission objectives. | |
int | GetCurrentPage () |
void | SetCurrentPage (int page) |
Sets current page number which just changes the member variable and nothing more. | |
string | GetTitleText () |
Public Member Functions inherited from SCR_WelcomeScreenBaseContent | |
void | InitContent (SCR_WelcomeScreenMenu menu, string column, string columnButton) |
Initialises content for given column. | |
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 | AddTask (SCR_BaseTask task) |
Calls method with delay to add a task to the array of objectives to be displayed. | |
void | AddTaskCalledLater (SCR_BaseTask task) |
Adds task to the array of objectives to be displayed. | |
void | RemoveTask (SCR_BaseTask task) |
Removes task from the array of objectives to be displayed. | |
void | InitPagination () |
Initialises pagination by registering button actions. | |
void | ButtonClicked () |
Changes focus to the column from which that button originates. It is supposed to be invoked. | |
void | HandlePagination (bool enabled=false) |
Handles inputs of buttons. | |
void | PreviousButtonActivated () |
Flips page to the previous one. | |
void | NextButtonActivated () |
Flips page to the next one. | |
void | FlipPage (int currentPage) |
Changes the content of current page based on the provided number. | |
Protected Attributes | |
string | m_sTitleText |
ref array< ref SCR_WelcomeScreenDynamicTaskFaction > | m_aFactions |
ResourceName | m_sFinishedObjectivesTileLayout |
ResourceName | m_sFinishedObjectivesLayout |
Widget | m_wFinishedObjectivesWidget |
Widget | m_wPaginationWidget |
ButtonWidget | m_wColumnButton |
ref array< SCR_BaseTask > | m_aObjectivesToDisplay = {} |
ref array< Widget > | m_aDynamicObjectivesWidgets = {} |
int | m_iCurrentPage |
int | m_iDynamicObjectivesCount |
SCR_FactionManager | m_FactionManager |
Protected Attributes inherited from SCR_WelcomeScreenBaseContent | |
bool | m_bIsInteractible |
string | m_sContentName |
Class handling mission objectives that are dynamically created during the mission.
Currently not enabled for WB usage due to GM tasks not properly working in MP.
|
protected |
Calls method with delay to add a task to the array of objectives to be displayed.
[in] | task |
|
protected |
Adds task to the array of objectives to be displayed.
[in] | task |
|
protected |
Changes focus to the column from which that button originates. It is supposed to be invoked.
void SCR_WelcomeScreenDynamicObjectivesContent.FillDynamicObjectivesWidget | ( | Widget | content | ) |
Fills content widget with dynamic mission objectives.
[in] | content |
|
protected |
Changes the content of current page based on the provided number.
[in] | currentPage |
int SCR_WelcomeScreenDynamicObjectivesContent.GetCurrentPage | ( | ) |
string SCR_WelcomeScreenDynamicObjectivesContent.GetTitleText | ( | ) |
|
protected |
Handles inputs of buttons.
[in] | enabled |
override void SCR_WelcomeScreenDynamicObjectivesContent.InitContent | ( | SCR_WelcomeScreenMenu | menu, |
string | column, | ||
string | columnButton | ||
) |
Initialises content for given column.
[in] | menu | |
[in] | column | |
[in] | columnButton |
Implements SCR_WelcomeScreenBaseContent.
|
protected |
Initialises pagination by registering button actions.
|
protected |
Flips page to the next one.
|
protected |
Flips page to the previous one.
|
protected |
Removes task from the array of objectives to be displayed.
[in] | task |
void SCR_WelcomeScreenDynamicObjectivesContent.SetCurrentPage | ( | int | page | ) |
Sets current page number which just changes the member variable and nothing more.
Method FlipPage actually performs UI Changes based on this member variable.
[in] | page |
override void SCR_WelcomeScreenDynamicObjectivesContent.ToggleInteractions | ( | bool | enabled | ) |
Toggles whether or not this content is interactive.
[in] | enabled |
Implements SCR_WelcomeScreenBaseContent.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |