|
Arma Reforger Script API
|
Class handling introduction content. 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. | |
| int | GetIntroduction (out array< ref SCR_WelcomeScreenIntroduction > introduction) |
| Get Introduction which can be separated into several pages. | |
| string | GetTitleText () |
| int | GetCurrentPage () |
| void | SetCurrentPage (int page) |
| Sets current page number which just changes the member variable and nothing more. | |
Public Member Functions inherited from SCR_WelcomeScreenBaseContent | |
| string | GetContentName () |
| bool | GetIsInteractible () |
| Get if it is interactible. | |
Protected Member Functions | |
| void | FillIntroductionWidget (Widget column) |
| Fills content widget with dynamic introductions. | |
| 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_WelcomeScreenIntroduction > | m_aIntroduction |
| int | m_iCurrentPage |
| int | m_iIntroductionCount |
| ResourceName | m_sIntroductionColumnLayout |
| Widget | m_wIntroductionContentWidget |
| ButtonWidget | m_wColumnButton |
Protected Attributes inherited from SCR_WelcomeScreenBaseContent | |
| bool | m_bIsInteractible |
| string | m_sContentName |
Class handling introduction content.
|
protected |
Changes focus to the column from which that button originates. It is supposed to be invoked.
|
protected |
Fills content widget with dynamic introductions.
| [in] | column |
|
protected |
Changes the content of current page based on the provided number.
| [in] | currentPage |
| int SCR_WelcomeScreenIntroductionContent.GetCurrentPage | ( | ) |
| int SCR_WelcomeScreenIntroductionContent.GetIntroduction | ( | out array< ref SCR_WelcomeScreenIntroduction > | introduction | ) |
Get Introduction which can be separated into several pages.
| [out] | introduction | array of introductions |
| string SCR_WelcomeScreenIntroductionContent.GetTitleText | ( | ) |
|
protected |
Handles inputs of buttons.
| [in] | enabled |
| override void SCR_WelcomeScreenIntroductionContent.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.
| void SCR_WelcomeScreenIntroductionContent.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_WelcomeScreenIntroductionContent.ToggleInteractions | ( | bool | enabled | ) |
Toggles whether or not this content is interactive.
| [in] | enabled |
Implements SCR_WelcomeScreenBaseContent.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |