Arma Reforger Script API
|
Public Member Functions | |
override void | HandlerAttached (Widget w) |
override void | SetScenario (MissionWorkshopItem scenario) |
void | SetHideScenarioImg (bool hideContent) |
void | SetDefaultScenario (string contentTag) |
Find default scenario content by given tag Should display fallback text when no scenario is selected for various reasons | |
void | DisplayRoomData (Room room, bool showMods=true) |
void | DisplayDefaultScenarioImage () |
void | DisplayMods () |
Set mods to display in panel. | |
void | DisplayModsCount (int count) |
Quick display mods count. | |
void | SetModsManager (SCR_RoomModsManager manager) |
override void | HandlerAttached (Widget w) |
void | SetScenario (MissionWorkshopItem scenario) |
Public Member Functions inherited from SCR_ContentDetailsPanelBase | |
override void | HandlerAttached (Widget w) |
override bool | OnUpdate (Widget w) |
Public Member Functions inherited from SCR_ScriptedWidgetComponent | |
override void | HandlerAttached (Widget w) |
override bool | OnClick (Widget w, int x, int y, int button) |
Widget | GetRootWidget () |
bool | IsVisible () |
Protected Member Functions | |
void | OnScenarioBackendImageSelected () |
override void | UpdateAllWidgets () |
Change image behavior. | |
void | DisplayRoomDataScenario (Room room) |
void | HideModsWidgets () |
Hide all widgets displaying info about mods Used mostly when server is not modded or not selected | |
Protected Member Functions inherited from SCR_ScenarioDetailsPanelComponent | |
void | UpdateAllWidgets () |
void | UpdateAuthorNameText () |
Protected Member Functions inherited from SCR_ContentDetailsPanelBase | |
void | UpdateSize () |
DetailsPanelContentPreset | FallbackContentByTag (string contentTag) |
Get fallback content by tag. | |
void | SetDescriptionText (string text) |
Set description text with enforced text lenght limit. | |
Widget | AddTypeDisplay (string image, ResourceName imageset, ResourceName glowImageset) |
void | ClearTypeDisplays () |
Protected Attributes | |
string | m_sDefaultScenarioImg |
ImageWidget | m_wImgModsIcon |
ImageWidget | m_wImgModsLocked |
TextWidget | m_wTxtModsCount |
TextWidget | m_wModsSizeText |
Widget | m_wImageCrossplay |
SCR_LoadingOverlay | m_ModsLoading |
Room | m_Room |
SCR_RoomModsManager | m_ModsManager |
bool | m_bHideScenarioImg |
Protected Attributes inherited from SCR_ScenarioDetailsPanelComponent | |
ref MissionWorkshopItem | m_Scenario |
SCR_MissionHeader | m_Header |
SCR_ScenarioBackendImageComponent | m_BackendImageComponent |
Protected Attributes inherited from SCR_ContentDetailsPanelBase | |
ref SCR_ContentDetailsPanelBaseWidgets | m_CommonWidgets = new SCR_ContentDetailsPanelBaseWidgets |
ref DetailsPanelContentPresetConfig | m_FallbackContent |
int | m_iMaxDescriptionLenght |
bool | m_bDisplayAdditionalInfo |
ResourceName | m_sTypeDisplayLayout |
int | m_iMaxTypeImages |
SCR_SimpleWarningOverlayComponent | m_WarningOverlay |
ref array< Widget > | m_aTypeImages = {} |
Protected Attributes inherited from SCR_ScriptedWidgetComponent | |
Widget | m_wRoot |
Static Protected Attributes | |
const string | WIDGET_MODS_COUNT = "ModsCount" |
const string | WIDGET_MODS_LOADING = "LoadingMods" |
const string | WIDGET_MODS_ICON = "ModsSizeIcon" |
const string | WIDGET_MODS_SIZE = "ModsSizeText" |
const string | WIDGET_MODS_LOCKED_ICON = "ModsLockedIcon" |
const string | STR_VERSION_MISMATCH = "#AR-ServerBrowser_JoinModVersionMissmatch" |
const string | STR_UNJOINABLE = "#AR-ServerBrowser_NoneServers" |
const string | STR_DEFAULT_VERSION = "0.0.0.0" |
Static Protected Attributes inherited from SCR_ContentDetailsPanelBase | |
const int | DESCRIPTION_LENGHT_OFFSET = 10 |
Additional Inherited Members | |
Static Public Member Functions inherited from SCR_ScriptedWidgetComponent | |
static SCR_ScriptedWidgetComponent | GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true) |
Base method for component lookup through the widget library. | |
Public Attributes inherited from SCR_ScriptedWidgetComponent | |
ref ScriptInvoker | m_OnClick = new ScriptInvoker |
void SCR_ServerScenarioDetailsPanelComponent.DisplayDefaultScenarioImage | ( | ) |
void SCR_ServerScenarioDetailsPanelComponent.DisplayMods | ( | ) |
Set mods to display in panel.
void SCR_ServerScenarioDetailsPanelComponent.DisplayModsCount | ( | int | count | ) |
Quick display mods count.
void SCR_ServerScenarioDetailsPanelComponent.DisplayRoomData | ( | Room | room, |
bool | showMods = true |
||
) |
|
protected |
override void SCR_ServerScenarioDetailsPanelComponent.HandlerAttached | ( | Widget | w | ) |
Implements SCR_ScenarioDetailsPanelComponent.
|
protected |
Hide all widgets displaying info about mods Used mostly when server is not modded or not selected
|
protected |
void SCR_ServerScenarioDetailsPanelComponent.SetDefaultScenario | ( | string | contentTag | ) |
Find default scenario content by given tag Should display fallback text when no scenario is selected for various reasons
void SCR_ServerScenarioDetailsPanelComponent.SetHideScenarioImg | ( | bool | hideContent | ) |
void SCR_ServerScenarioDetailsPanelComponent.SetModsManager | ( | SCR_RoomModsManager | manager | ) |
override void SCR_ServerScenarioDetailsPanelComponent.SetScenario | ( | MissionWorkshopItem | scenario | ) |
Implements SCR_ScenarioDetailsPanelComponent.
|
protected |
Change image behavior.
Implements SCR_ScenarioDetailsPanelComponent.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |