Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ServerBrowserEntryComponent Class Reference

This component handles server entry and visiualization of server data. More...

Inheritance diagram for SCR_ServerBrowserEntryComponent:
SCR_BrowserListMenuEntryComponent

Protected Member Functions

override void HandlerAttached (Widget w)
override void OnTooltipShow (SCR_ScriptedWidgetTooltip tooltip)
override void UpdateModularButtons ()
override bool OnFocus (Widget w, int x, int y)
override bool OnFocusLost (Widget w, int x, int y)
void OnJoinInteractionButtonClicked ()
void SetCellText (string cellName, string str, string widgetName="Content")
void DisplayPing (int ping)
void DisplayQueue ()
void CheckRoomProperties ()
 Check properties and assign state of room.
void DisplayServerProperties ()
 Create property images based on room setup.
string GetDownloadSizeMessage ()
void OnServerDetailModsLoaded (Room room)
void UpdateTooltipJoinDownloadSizeMessage ()
void SetRoomInfo (Room room)
void EmptyVisuals (bool enable)
void SetModsManager (SCR_RoomModsManager modsManager)
Room GetRoomInfo ()
bool GetIsModded ()
bool GetIsEnabled (out bool versionMismatch, out bool unjoinable)

Protected Attributes

int m_iPingLimit
string m_sTooltipDownloadIcon
float m_fTooltipDownloadIconScale
ref array< ref ServerBrowserEntryProperty > m_aPingStates
const string LAYOUT_CONTENT = "HorizontalLayout"
const string LAYOUT_LOADING = "Loading"
const string TEXT_WIDGET_QUEUE = "Queue"
const string BUTTON_JOIN = "JoinButton"
const string BUTTON_PASSWORD = "PasswordButton"
const string ICON_WARNING = "VersionWarningIcon"
const string ICON_UNJOINABLE = "JoinWarningIcon"
const string ICON_MODDED = "ImageModded"
const string ICON_PING = "ImgPing"
const string FRAME_NAME = "FrameName"
const string FRAME_SCENARIO = "FrameScenario"
const string TOOLTIP_JOIN = "Join"
const string TOOLTIP_VERSION_MISMATCH = "VersionMismatch"
Room m_RoomInfo
SCR_EServerEntryProperty m_iProperties
SCR_RoomModsManager m_ModsManager
string m_sPatchSize
bool m_bIsPatchSizeLoaded
int m_iHighestPing
TextWidget m_wQueue
Widget m_wHorizontalContent
Widget m_wLoading
Widget m_wUnjoinableIcon
ImageWidget m_wImgPing
Widget m_wImageModded
Widget m_wJoinButton
Widget m_wPasswordButton
Widget m_wVersionWarningIcon
SCR_ModularButtonComponent m_JoinButton
SCR_ModularButtonComponent m_PasswordButton

Detailed Description

This component handles server entry and visiualization of server data.

Definition at line 2 of file SCR_ServerBrowserEntryComponent.c.

Member Function Documentation

◆ CheckRoomProperties()

void SCR_ServerBrowserEntryComponent::CheckRoomProperties ( )
inlineprotected

Check properties and assign state of room.

Definition at line 330 of file SCR_ServerBrowserEntryComponent.c.

◆ DisplayPing()

void SCR_ServerBrowserEntryComponent::DisplayPing ( int ping)
inlineprotected

Display number of current ping and add icon and color

Parameters
[in]ping

Definition at line 233 of file SCR_ServerBrowserEntryComponent.c.

◆ DisplayQueue()

void SCR_ServerBrowserEntryComponent::DisplayQueue ( )
inlineprotected

Definition at line 284 of file SCR_ServerBrowserEntryComponent.c.

◆ DisplayServerProperties()

void SCR_ServerBrowserEntryComponent::DisplayServerProperties ( )
inlineprotected

Create property images based on room setup.

Definition at line 363 of file SCR_ServerBrowserEntryComponent.c.

◆ EmptyVisuals()

void SCR_ServerBrowserEntryComponent::EmptyVisuals ( bool enable)
inlineprotected

Set button visuals and behaviour

Parameters
[in]enable

Definition at line 470 of file SCR_ServerBrowserEntryComponent.c.

◆ GetDownloadSizeMessage()

string SCR_ServerBrowserEntryComponent::GetDownloadSizeMessage ( )
inlineprotected

Definition at line 389 of file SCR_ServerBrowserEntryComponent.c.

◆ GetIsEnabled()

bool SCR_ServerBrowserEntryComponent::GetIsEnabled ( out bool versionMismatch,
out bool unjoinable )
inlineprotected
Parameters
[out]versionMismatch
[out]unjoinable
Returns

Definition at line 507 of file SCR_ServerBrowserEntryComponent.c.

◆ GetIsModded()

bool SCR_ServerBrowserEntryComponent::GetIsModded ( )
inlineprotected
Returns

Definition at line 498 of file SCR_ServerBrowserEntryComponent.c.

◆ GetRoomInfo()

Room SCR_ServerBrowserEntryComponent::GetRoomInfo ( )
inlineprotected
Returns

Definition at line 491 of file SCR_ServerBrowserEntryComponent.c.

◆ HandlerAttached()

override void SCR_ServerBrowserEntryComponent::HandlerAttached ( Widget w)
inlineprotected

Definition at line 65 of file SCR_ServerBrowserEntryComponent.c.

◆ OnFocus()

override bool SCR_ServerBrowserEntryComponent::OnFocus ( Widget w,
int x,
int y )
inlineprotected

Definition at line 179 of file SCR_ServerBrowserEntryComponent.c.

◆ OnFocusLost()

override bool SCR_ServerBrowserEntryComponent::OnFocusLost ( Widget w,
int x,
int y )
inlineprotected

Definition at line 189 of file SCR_ServerBrowserEntryComponent.c.

◆ OnJoinInteractionButtonClicked()

void SCR_ServerBrowserEntryComponent::OnJoinInteractionButtonClicked ( )
inlineprotected

Definition at line 209 of file SCR_ServerBrowserEntryComponent.c.

◆ OnServerDetailModsLoaded()

void SCR_ServerBrowserEntryComponent::OnServerDetailModsLoaded ( Room room)
inlineprotected

Definition at line 399 of file SCR_ServerBrowserEntryComponent.c.

◆ OnTooltipShow()

override void SCR_ServerBrowserEntryComponent::OnTooltipShow ( SCR_ScriptedWidgetTooltip tooltip)
inlineprotected

Definition at line 138 of file SCR_ServerBrowserEntryComponent.c.

◆ SetCellText()

void SCR_ServerBrowserEntryComponent::SetCellText ( string cellName,
string str,
string widgetName = "Content" )
inlineprotected

Set text in cell by it's widget name

Parameters
[in]cellName
[in]str

Definition at line 219 of file SCR_ServerBrowserEntryComponent.c.

◆ SetModsManager()

void SCR_ServerBrowserEntryComponent::SetModsManager ( SCR_RoomModsManager modsManager)
inlineprotected
Parameters
[in]modsManager

Definition at line 478 of file SCR_ServerBrowserEntryComponent.c.

◆ SetRoomInfo()

void SCR_ServerBrowserEntryComponent::SetRoomInfo ( Room room)
inlineprotected

Set room and display room info in entry

Parameters
[in]room

Definition at line 435 of file SCR_ServerBrowserEntryComponent.c.

◆ UpdateModularButtons()

override void SCR_ServerBrowserEntryComponent::UpdateModularButtons ( )
inlineprotected

Definition at line 166 of file SCR_ServerBrowserEntryComponent.c.

◆ UpdateTooltipJoinDownloadSizeMessage()

void SCR_ServerBrowserEntryComponent::UpdateTooltipJoinDownloadSizeMessage ( )
inlineprotected

Definition at line 415 of file SCR_ServerBrowserEntryComponent.c.

Member Data Documentation

◆ BUTTON_JOIN

const string SCR_ServerBrowserEntryComponent::BUTTON_JOIN = "JoinButton"
protected

Definition at line 23 of file SCR_ServerBrowserEntryComponent.c.

◆ BUTTON_PASSWORD

const string SCR_ServerBrowserEntryComponent::BUTTON_PASSWORD = "PasswordButton"
protected

Definition at line 24 of file SCR_ServerBrowserEntryComponent.c.

◆ FRAME_NAME

const string SCR_ServerBrowserEntryComponent::FRAME_NAME = "FrameName"
protected

Definition at line 31 of file SCR_ServerBrowserEntryComponent.c.

◆ FRAME_SCENARIO

const string SCR_ServerBrowserEntryComponent::FRAME_SCENARIO = "FrameScenario"
protected

Definition at line 32 of file SCR_ServerBrowserEntryComponent.c.

◆ ICON_MODDED

const string SCR_ServerBrowserEntryComponent::ICON_MODDED = "ImageModded"
protected

Definition at line 28 of file SCR_ServerBrowserEntryComponent.c.

◆ ICON_PING

const string SCR_ServerBrowserEntryComponent::ICON_PING = "ImgPing"
protected

Definition at line 29 of file SCR_ServerBrowserEntryComponent.c.

◆ ICON_UNJOINABLE

const string SCR_ServerBrowserEntryComponent::ICON_UNJOINABLE = "JoinWarningIcon"
protected

Definition at line 27 of file SCR_ServerBrowserEntryComponent.c.

◆ ICON_WARNING

const string SCR_ServerBrowserEntryComponent::ICON_WARNING = "VersionWarningIcon"
protected

Definition at line 26 of file SCR_ServerBrowserEntryComponent.c.

◆ LAYOUT_CONTENT

const string SCR_ServerBrowserEntryComponent::LAYOUT_CONTENT = "HorizontalLayout"
protected

Definition at line 18 of file SCR_ServerBrowserEntryComponent.c.

◆ LAYOUT_LOADING

const string SCR_ServerBrowserEntryComponent::LAYOUT_LOADING = "Loading"
protected

Definition at line 19 of file SCR_ServerBrowserEntryComponent.c.

◆ m_aPingStates

ref array<ref ServerBrowserEntryProperty> SCR_ServerBrowserEntryComponent::m_aPingStates
protected

Definition at line 15 of file SCR_ServerBrowserEntryComponent.c.

◆ m_bIsPatchSizeLoaded

bool SCR_ServerBrowserEntryComponent::m_bIsPatchSizeLoaded
protected

Definition at line 43 of file SCR_ServerBrowserEntryComponent.c.

◆ m_fTooltipDownloadIconScale

float SCR_ServerBrowserEntryComponent::m_fTooltipDownloadIconScale
protected

Definition at line 12 of file SCR_ServerBrowserEntryComponent.c.

◆ m_iHighestPing

int SCR_ServerBrowserEntryComponent::m_iHighestPing
protected

Definition at line 44 of file SCR_ServerBrowserEntryComponent.c.

◆ m_iPingLimit

int SCR_ServerBrowserEntryComponent::m_iPingLimit
protected

Definition at line 6 of file SCR_ServerBrowserEntryComponent.c.

◆ m_iProperties

SCR_EServerEntryProperty SCR_ServerBrowserEntryComponent::m_iProperties
protected

Definition at line 39 of file SCR_ServerBrowserEntryComponent.c.

◆ m_JoinButton

SCR_ModularButtonComponent SCR_ServerBrowserEntryComponent::m_JoinButton
protected

Definition at line 57 of file SCR_ServerBrowserEntryComponent.c.

◆ m_ModsManager

SCR_RoomModsManager SCR_ServerBrowserEntryComponent::m_ModsManager
protected

Definition at line 41 of file SCR_ServerBrowserEntryComponent.c.

◆ m_PasswordButton

SCR_ModularButtonComponent SCR_ServerBrowserEntryComponent::m_PasswordButton
protected

Definition at line 58 of file SCR_ServerBrowserEntryComponent.c.

◆ m_RoomInfo

Room SCR_ServerBrowserEntryComponent::m_RoomInfo
protected

Definition at line 38 of file SCR_ServerBrowserEntryComponent.c.

◆ m_sPatchSize

string SCR_ServerBrowserEntryComponent::m_sPatchSize
protected

Definition at line 42 of file SCR_ServerBrowserEntryComponent.c.

◆ m_sTooltipDownloadIcon

string SCR_ServerBrowserEntryComponent::m_sTooltipDownloadIcon
protected

Definition at line 9 of file SCR_ServerBrowserEntryComponent.c.

◆ m_wHorizontalContent

Widget SCR_ServerBrowserEntryComponent::m_wHorizontalContent
protected

Definition at line 48 of file SCR_ServerBrowserEntryComponent.c.

◆ m_wImageModded

Widget SCR_ServerBrowserEntryComponent::m_wImageModded
protected

Definition at line 52 of file SCR_ServerBrowserEntryComponent.c.

◆ m_wImgPing

ImageWidget SCR_ServerBrowserEntryComponent::m_wImgPing
protected

Definition at line 51 of file SCR_ServerBrowserEntryComponent.c.

◆ m_wJoinButton

Widget SCR_ServerBrowserEntryComponent::m_wJoinButton
protected

Definition at line 53 of file SCR_ServerBrowserEntryComponent.c.

◆ m_wLoading

Widget SCR_ServerBrowserEntryComponent::m_wLoading
protected

Definition at line 49 of file SCR_ServerBrowserEntryComponent.c.

◆ m_wPasswordButton

Widget SCR_ServerBrowserEntryComponent::m_wPasswordButton
protected

Definition at line 54 of file SCR_ServerBrowserEntryComponent.c.

◆ m_wQueue

TextWidget SCR_ServerBrowserEntryComponent::m_wQueue
protected

Definition at line 47 of file SCR_ServerBrowserEntryComponent.c.

◆ m_wUnjoinableIcon

Widget SCR_ServerBrowserEntryComponent::m_wUnjoinableIcon
protected

Definition at line 50 of file SCR_ServerBrowserEntryComponent.c.

◆ m_wVersionWarningIcon

Widget SCR_ServerBrowserEntryComponent::m_wVersionWarningIcon
protected

Definition at line 55 of file SCR_ServerBrowserEntryComponent.c.

◆ TEXT_WIDGET_QUEUE

const string SCR_ServerBrowserEntryComponent::TEXT_WIDGET_QUEUE = "Queue"
protected

Definition at line 21 of file SCR_ServerBrowserEntryComponent.c.

◆ TOOLTIP_JOIN

const string SCR_ServerBrowserEntryComponent::TOOLTIP_JOIN = "Join"
protected

Definition at line 34 of file SCR_ServerBrowserEntryComponent.c.

◆ TOOLTIP_VERSION_MISMATCH

const string SCR_ServerBrowserEntryComponent::TOOLTIP_VERSION_MISMATCH = "VersionMismatch"
protected

Definition at line 35 of file SCR_ServerBrowserEntryComponent.c.


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