Arma Reforger Script API
|
Public Member Functions | |
void | OnSubCategoryClicked (Widget w) |
void | OnTileClicked (Widget w) |
void | OpenEntry (EFieldManualEntryId entryId) |
Opens an entry "from outside", e.g a hint. | |
void | SCR_FieldManualUI () |
void | ~SCR_FieldManualUI () |
Public Member Functions inherited from MenuRootBase | |
ScriptInvoker | GetOnMenuFocusGained () |
ScriptInvoker | GetOnMenuFocusLost () |
ScriptInvoker | GetOnMenuShow () |
ScriptInvoker | GetOnMenuHide () |
ScriptInvoker | GetOnMenuItem () |
ScriptInvoker | GetOnMenuUpdate () |
ScriptInvoker | GetOnMenuOpen () |
ScriptInvoker | GetOnMenuInit () |
ScriptInvoker | GetOnMenuClose () |
void | OnMenuClosed () |
void | InitChat () |
void | ShowChat () |
MenuRootComponent | GetRootComponent () |
SCR_DynamicFooterComponent | GetFooterComponent () |
override void | OnMenuFocusGained () |
override void | OnMenuFocusLost () |
override void | OnMenuShow () |
override void | OnMenuHide () |
override void | OnMenuItem (string menuItemName, bool changed, bool finished) |
override void | OnMenuUpdate (float tDelta) |
override void | OnMenuOpen () |
override void | OnMenuInit () |
override void | OnMenuClose () |
Public Member Functions inherited from ChimeraMenuBase | |
override void | OnMenuInit () |
override void | OnMenuUpdate (float tDelta) |
override void | OnMenuOpen () |
override void | OnMenuOpened () |
override void | OnMenuClose () |
override void | OnMenuFocusGained () |
override void | OnMenuFocusLost () |
override void | OnMenuShow () |
override void | OnMenuHide () |
Static Public Member Functions | |
static SCR_FieldManualUI | Open (EFieldManualEntryId entryId) |
opens the first entry matching the EFieldManualEntryId enum value | |
Static Public Member Functions inherited from ChimeraMenuBase | |
static ChimeraMenuBase | CurrentChimeraMenu () |
static ChimeraMenuBase | GetOwnerMenu (Widget w) |
Returns parent menu of a widget. | |
Protected Member Functions | |
override void | OnMenuOpen () |
override void | OnMenuShow () |
override void | OnMenuClose () |
Widget | CreateTileWidget (notnull SCR_FieldManualConfigEntry entry, notnull Widget parent) |
creates a tile and sets its image, background & text | |
void | SetTilesByWidget (Widget widget) |
sets entry tiles from a sub-category's widget | |
void | SetTiles (array< ref SCR_FieldManualConfigEntry > entries) |
sets main Field Manual grid tiles from entries | |
void | SetCurrentEntry (SCR_FieldManualConfigEntry entry) |
Sets the current entry to read - can be null (leave reading mode) or any SCR_FieldManualConfigEntry. | |
void | QueueRefreshCurrentEntry () |
Add current entry's refresh to callqueue (used by KBM/Gamepad switching event) | |
void | RefreshCurrentEntry () |
Re-creates the current entry (called by callqueue added in QueueRefreshCurrentEntry) | |
void | SetScrollAfterRefresh (notnull ScrollLayoutWidget scroll, float x, float y) |
void | SetCurrentEntryByWidget (Widget widget) |
sets the read entry linked from that widget | |
void | FillEntry_Weapon (notnull Widget widget, notnull SCR_FieldManualConfigEntry_Weapon entry) |
bool | FillEntry_Weapon_Render (RenderTargetWidget renderTarget, ResourceName weaponResourceName) |
void | FillEntry_Weapon_Statistics (Widget statsLayout, SCR_FieldManualConfigEntry_Weapon entry) |
void | FillEntry_Weapon_Statistics_Mass (notnull Widget statsLayout, notnull SCR_FieldManualUI_WeaponStatsHelper weaponStatsHelper) |
void | FillEntry_Weapon_Statistics_SightAdjustments (notnull Widget statsLayout, notnull SCR_FieldManualUI_WeaponStatsHelper weaponStatsHelper) |
void | FillEntry_Weapon_Statistics_DefaultSightAdjustment (notnull Widget statsLayout, notnull SCR_FieldManualUI_WeaponStatsHelper weaponStatsHelper) |
void | FillEntry_Weapon_Statistics_RateOfFire (notnull Widget statsLayout, notnull SCR_FieldManualUI_WeaponStatsHelper weaponStatsHelper) |
void | FillEntry_Weapon_Statistics_MuzzleVelocity (notnull Widget statsLayout, notnull SCR_FieldManualUI_WeaponStatsHelper weaponStatsHelper) |
void | FillEntry_Weapon_Statistics_FireModes (notnull Widget statsLayout, notnull SCR_FieldManualUI_WeaponStatsHelper weaponStatsHelper) |
void | SetAllEntriesAndParents () |
one-time call that goes through all categories and entries and adds enabled entries to a one-level array | |
void | CreateCategoryMenuWidgets () |
Create main categories buttons list. | |
void | OpenFirstSubCategory () |
Open the first sub-category, showing its entries. | |
void | ResetLastSearch () |
resets last search value | |
void | ProcessSearch (SCR_EditBoxSearchComponent searchbox, string search) |
the search process itself - finds entries and set tiles | |
void | CloseReadingPanel () |
closes the reading panel (sets the current entry to null) | |
void | CloseMenuOrReadingPanel () |
determines what happens when ESC is pressed | |
Static Protected Member Functions | |
static string | ArrayJoin (notnull array< string > entries) |
joins strings with a stringtable separator - from 0 to 5 entries | |
Static Protected Attributes | |
static const int | TILES_GRID_WIDTH = 5 |
static const string | SEARCH_RESULT_KEY = "#AR-FieldManual_SearchResult" |
static const string | SEARCH_NO_RESULT_KEY = "#AR-FieldManual_SearchResult_None" |
static const string | SCROLL_NAME = "mainScroll" |
static const int | ENTRY_INPUT_REFRESH_DELAY = 500 |
static const int | ENTRY_SCROLL_INPUT_REFRESH_DELAY = 1000 / 60 |
Static Protected Attributes inherited from ChimeraMenuBase | |
const string | INPUT_CONTEXT_EDIT = "MenuTextEditContext" |
static ChimeraMenuBase | m_ThisMenu |
Additional Inherited Members | |
Public Attributes inherited from ChimeraMenuBase | |
ref ScriptInvoker | m_OnTextEditContextChange = new ScriptInvoker |
ref ScriptInvoker | m_OnUpdate = new ScriptInvoker |
void SCR_FieldManualUI.SCR_FieldManualUI | ( | ) |
void SCR_FieldManualUI.~SCR_FieldManualUI | ( | ) |
|
staticprotected |
joins strings with a stringtable separator - from 0 to 5 entries
|
protected |
determines what happens when ESC is pressed
|
protected |
closes the reading panel (sets the current entry to null)
|
protected |
Create main categories buttons list.
|
protected |
creates a tile and sets its image, background & text
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Implements MenuRootBase.
|
protected |
Implements MenuRootBase.
|
protected |
Implements MenuRootBase.
void SCR_FieldManualUI.OnSubCategoryClicked | ( | Widget | w | ) |
[in] | w |
void SCR_FieldManualUI.OnTileClicked | ( | Widget | w | ) |
[in] | w |
|
static |
opens the first entry matching the EFieldManualEntryId enum value
void SCR_FieldManualUI.OpenEntry | ( | EFieldManualEntryId | entryId | ) |
Opens an entry "from outside", e.g a hint.
[in] | entryId | if EFieldManualEntryId.NONE is used or if the entry is not found, the Field Manual is normally opened |
|
protected |
Open the first sub-category, showing its entries.
|
protected |
the search process itself - finds entries and set tiles
|
protected |
Add current entry's refresh to callqueue (used by KBM/Gamepad switching event)
|
protected |
Re-creates the current entry (called by callqueue added in QueueRefreshCurrentEntry)
|
protected |
resets last search value
|
protected |
one-time call that goes through all categories and entries and adds enabled entries to a one-level array
|
protected |
Sets the current entry to read - can be null (leave reading mode) or any SCR_FieldManualConfigEntry.
|
protected |
sets the read entry linked from that widget
|
protected |
|
protected |
sets main Field Manual grid tiles from entries
|
protected |
sets entry tiles from a sub-category's widget
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |