Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
SCR_ServerScenarioDetailsPanelComponent Interface Reference
Inheritance diagram for SCR_ServerScenarioDetailsPanelComponent:
[legend]

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
 

Member Function Documentation

◆ DisplayDefaultScenarioImage()

void SCR_ServerScenarioDetailsPanelComponent.DisplayDefaultScenarioImage ( )

◆ DisplayMods()

void SCR_ServerScenarioDetailsPanelComponent.DisplayMods ( )

Set mods to display in panel.

◆ DisplayModsCount()

void SCR_ServerScenarioDetailsPanelComponent.DisplayModsCount ( int  count)

Quick display mods count.

◆ DisplayRoomData()

void SCR_ServerScenarioDetailsPanelComponent.DisplayRoomData ( Room  room,
bool  showMods = true 
)

◆ DisplayRoomDataScenario()

void SCR_ServerScenarioDetailsPanelComponent.DisplayRoomDataScenario ( Room  room)
protected

◆ HandlerAttached()

override void SCR_ServerScenarioDetailsPanelComponent.HandlerAttached ( Widget  w)

◆ HideModsWidgets()

void SCR_ServerScenarioDetailsPanelComponent.HideModsWidgets ( )
protected

Hide all widgets displaying info about mods Used mostly when server is not modded or not selected

◆ OnScenarioBackendImageSelected()

void SCR_ServerScenarioDetailsPanelComponent.OnScenarioBackendImageSelected ( )
protected

◆ SetDefaultScenario()

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

◆ SetHideScenarioImg()

void SCR_ServerScenarioDetailsPanelComponent.SetHideScenarioImg ( bool  hideContent)

◆ SetModsManager()

void SCR_ServerScenarioDetailsPanelComponent.SetModsManager ( SCR_RoomModsManager  manager)

◆ SetScenario()

override void SCR_ServerScenarioDetailsPanelComponent.SetScenario ( MissionWorkshopItem  scenario)

◆ UpdateAllWidgets()

override void SCR_ServerScenarioDetailsPanelComponent.UpdateAllWidgets ( )
protected

Change image behavior.

Implements SCR_ScenarioDetailsPanelComponent.

Member Data Documentation

◆ m_bHideScenarioImg

bool SCR_ServerScenarioDetailsPanelComponent.m_bHideScenarioImg
protected

◆ m_ModsLoading

SCR_LoadingOverlay SCR_ServerScenarioDetailsPanelComponent.m_ModsLoading
protected

◆ m_ModsManager

SCR_RoomModsManager SCR_ServerScenarioDetailsPanelComponent.m_ModsManager
protected

◆ m_Room

Room SCR_ServerScenarioDetailsPanelComponent.m_Room
protected

◆ m_sDefaultScenarioImg

string SCR_ServerScenarioDetailsPanelComponent.m_sDefaultScenarioImg
protected

◆ m_wImageCrossplay

Widget SCR_ServerScenarioDetailsPanelComponent.m_wImageCrossplay
protected

◆ m_wImgModsIcon

ImageWidget SCR_ServerScenarioDetailsPanelComponent.m_wImgModsIcon
protected

◆ m_wImgModsLocked

ImageWidget SCR_ServerScenarioDetailsPanelComponent.m_wImgModsLocked
protected

◆ m_wModsSizeText

TextWidget SCR_ServerScenarioDetailsPanelComponent.m_wModsSizeText
protected

◆ m_wTxtModsCount

TextWidget SCR_ServerScenarioDetailsPanelComponent.m_wTxtModsCount
protected

◆ STR_DEFAULT_VERSION

const string SCR_ServerScenarioDetailsPanelComponent.STR_DEFAULT_VERSION = "0.0.0.0"
staticprotected

◆ STR_UNJOINABLE

const string SCR_ServerScenarioDetailsPanelComponent.STR_UNJOINABLE = "#AR-ServerBrowser_NoneServers"
staticprotected

◆ STR_VERSION_MISMATCH

const string SCR_ServerScenarioDetailsPanelComponent.STR_VERSION_MISMATCH = "#AR-ServerBrowser_JoinModVersionMissmatch"
staticprotected

◆ WIDGET_MODS_COUNT

const string SCR_ServerScenarioDetailsPanelComponent.WIDGET_MODS_COUNT = "ModsCount"
staticprotected

◆ WIDGET_MODS_ICON

const string SCR_ServerScenarioDetailsPanelComponent.WIDGET_MODS_ICON = "ModsSizeIcon"
staticprotected

◆ WIDGET_MODS_LOADING

const string SCR_ServerScenarioDetailsPanelComponent.WIDGET_MODS_LOADING = "LoadingMods"
staticprotected

◆ WIDGET_MODS_LOCKED_ICON

const string SCR_ServerScenarioDetailsPanelComponent.WIDGET_MODS_LOCKED_ICON = "ModsLockedIcon"
staticprotected

◆ WIDGET_MODS_SIZE

const string SCR_ServerScenarioDetailsPanelComponent.WIDGET_MODS_SIZE = "ModsSizeText"
staticprotected

The documentation for this interface was generated from the following file: