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

Go to the source code of this file.

Classes

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

Enumerations

enum  SCR_EServerEntryProperty {
  VERSION_MISMATCH = 1 << 0 , PASSWORD_PROTECTED = 1 << 1 , CROSS_PLATFORM = 1 << 2 , LAN = 1 << 3 ,
  MODDED = 1 << 4 , UNJOINABLE = 1 << 5
}

Functions

SCR_ServerBrowserEntryComponent SCR_BrowserListMenuEntryComponent BaseContainerProps ()] class ServerBrowserEntryProperty
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)

Variables

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

Enumeration Type Documentation

◆ SCR_EServerEntryProperty

Enumerator
VERSION_MISMATCH 
PASSWORD_PROTECTED 
CROSS_PLATFORM 
LAN 
MODDED 
UNJOINABLE 

Definition at line 531 of file SCR_ServerBrowserEntryComponent.c.

Function Documentation

◆ BaseContainerProps()

◆ CheckRoomProperties()

void BaseContainerProps::CheckRoomProperties ( )
protected

Check properties and assign state of room.

Definition at line 842 of file SCR_ServerBrowserEntryComponent.c.

◆ DisplayPing()

void BaseContainerProps::DisplayPing ( int ping)
protected

Display number of current ping and add icon and color

Parameters
[in]ping

Definition at line 745 of file SCR_ServerBrowserEntryComponent.c.

◆ DisplayQueue()

void BaseContainerProps::DisplayQueue ( )
protected

Definition at line 796 of file SCR_ServerBrowserEntryComponent.c.

◆ DisplayServerProperties()

void BaseContainerProps::DisplayServerProperties ( )
protected

Create property images based on room setup.

Definition at line 875 of file SCR_ServerBrowserEntryComponent.c.

◆ EmptyVisuals()

void BaseContainerProps::EmptyVisuals ( bool enable)
protected

Set button visuals and behaviour

Parameters
[in]enable

Definition at line 982 of file SCR_ServerBrowserEntryComponent.c.

◆ GetDownloadSizeMessage()

string BaseContainerProps::GetDownloadSizeMessage ( )
protected

Definition at line 901 of file SCR_ServerBrowserEntryComponent.c.

◆ GetIsEnabled()

bool BaseContainerProps::GetIsEnabled ( out bool versionMismatch,
out bool unjoinable )
protected
Parameters
[out]versionMismatch
[out]unjoinable
Returns

Definition at line 1019 of file SCR_ServerBrowserEntryComponent.c.

◆ GetIsModded()

bool BaseContainerProps::GetIsModded ( )
protected
Returns

Definition at line 1010 of file SCR_ServerBrowserEntryComponent.c.

◆ GetRoomInfo()

Room BaseContainerProps::GetRoomInfo ( )
protected
Returns

Definition at line 1003 of file SCR_ServerBrowserEntryComponent.c.

◆ HandlerAttached()

override void BaseContainerProps::HandlerAttached ( Widget w)
protected

Definition at line 577 of file SCR_ServerBrowserEntryComponent.c.

◆ OnFocus()

override bool BaseContainerProps::OnFocus ( Widget w,
int x,
int y )
protected

Definition at line 691 of file SCR_ServerBrowserEntryComponent.c.

◆ OnFocusLost()

override bool BaseContainerProps::OnFocusLost ( Widget w,
int x,
int y )
protected

Definition at line 701 of file SCR_ServerBrowserEntryComponent.c.

◆ OnJoinInteractionButtonClicked()

void BaseContainerProps::OnJoinInteractionButtonClicked ( )
protected

Definition at line 721 of file SCR_ServerBrowserEntryComponent.c.

◆ OnServerDetailModsLoaded()

void BaseContainerProps::OnServerDetailModsLoaded ( Room room)
protected

Definition at line 911 of file SCR_ServerBrowserEntryComponent.c.

◆ OnTooltipShow()

override void BaseContainerProps::OnTooltipShow ( SCR_ScriptedWidgetTooltip tooltip)
protected

Definition at line 650 of file SCR_ServerBrowserEntryComponent.c.

◆ SetCellText()

void BaseContainerProps::SetCellText ( string cellName,
string str,
string widgetName = "Content" )
protected

Set text in cell by it's widget name

Parameters
[in]cellName
[in]str

Definition at line 731 of file SCR_ServerBrowserEntryComponent.c.

◆ SetModsManager()

void BaseContainerProps::SetModsManager ( SCR_RoomModsManager modsManager)
protected
Parameters
[in]modsManager

Definition at line 990 of file SCR_ServerBrowserEntryComponent.c.

◆ SetRoomInfo()

void BaseContainerProps::SetRoomInfo ( Room room)
protected

Set room and display room info in entry

Parameters
[in]room

Definition at line 947 of file SCR_ServerBrowserEntryComponent.c.

◆ UpdateModularButtons()

override void BaseContainerProps::UpdateModularButtons ( )
protected

Definition at line 678 of file SCR_ServerBrowserEntryComponent.c.

◆ UpdateTooltipJoinDownloadSizeMessage()

void BaseContainerProps::UpdateTooltipJoinDownloadSizeMessage ( )
protected

Definition at line 927 of file SCR_ServerBrowserEntryComponent.c.

Variable Documentation

◆ BUTTON_JOIN

const string BUTTON_JOIN = "JoinButton"
protected

Definition at line 535 of file SCR_ServerBrowserEntryComponent.c.

◆ BUTTON_PASSWORD

const string BUTTON_PASSWORD = "PasswordButton"
protected

Definition at line 536 of file SCR_ServerBrowserEntryComponent.c.

◆ FRAME_NAME

const string FRAME_NAME = "FrameName"
protected

Definition at line 543 of file SCR_ServerBrowserEntryComponent.c.

◆ FRAME_SCENARIO

const string FRAME_SCENARIO = "FrameScenario"
protected

Definition at line 544 of file SCR_ServerBrowserEntryComponent.c.

◆ ICON_MODDED

const string ICON_MODDED = "ImageModded"
protected

Definition at line 540 of file SCR_ServerBrowserEntryComponent.c.

◆ ICON_PING

const string ICON_PING = "ImgPing"
protected

Definition at line 541 of file SCR_ServerBrowserEntryComponent.c.

◆ ICON_UNJOINABLE

const string ICON_UNJOINABLE = "JoinWarningIcon"
protected

Definition at line 539 of file SCR_ServerBrowserEntryComponent.c.

◆ ICON_WARNING

const string ICON_WARNING = "VersionWarningIcon"
protected

Definition at line 538 of file SCR_ServerBrowserEntryComponent.c.

◆ LAYOUT_CONTENT

const string LAYOUT_CONTENT = "HorizontalLayout"
protected

Definition at line 530 of file SCR_ServerBrowserEntryComponent.c.

◆ LAYOUT_LOADING

const string LAYOUT_LOADING = "Loading"
protected

Definition at line 531 of file SCR_ServerBrowserEntryComponent.c.

◆ m_aPingStates

ref array<ref ServerBrowserEntryProperty> m_aPingStates
protected

Definition at line 527 of file SCR_ServerBrowserEntryComponent.c.

◆ m_bIsPatchSizeLoaded

bool m_bIsPatchSizeLoaded
protected

Definition at line 555 of file SCR_ServerBrowserEntryComponent.c.

◆ m_fTooltipDownloadIconScale

float m_fTooltipDownloadIconScale
protected

Definition at line 524 of file SCR_ServerBrowserEntryComponent.c.

◆ m_iHighestPing

int m_iHighestPing
protected

Definition at line 556 of file SCR_ServerBrowserEntryComponent.c.

◆ m_iPingLimit

int m_iPingLimit
protected

Definition at line 518 of file SCR_ServerBrowserEntryComponent.c.

◆ m_iProperties

SCR_EServerEntryProperty m_iProperties
protected

Definition at line 551 of file SCR_ServerBrowserEntryComponent.c.

◆ m_JoinButton

SCR_ModularButtonComponent m_JoinButton
protected

Definition at line 569 of file SCR_ServerBrowserEntryComponent.c.

◆ m_ModsManager

SCR_RoomModsManager m_ModsManager
protected

Definition at line 553 of file SCR_ServerBrowserEntryComponent.c.

◆ m_PasswordButton

SCR_ModularButtonComponent m_PasswordButton
protected

Definition at line 570 of file SCR_ServerBrowserEntryComponent.c.

◆ m_RoomInfo

Room m_RoomInfo
protected

Definition at line 550 of file SCR_ServerBrowserEntryComponent.c.

◆ m_sPatchSize

string m_sPatchSize
protected

Definition at line 554 of file SCR_ServerBrowserEntryComponent.c.

◆ m_sTooltipDownloadIcon

string m_sTooltipDownloadIcon
protected

Definition at line 521 of file SCR_ServerBrowserEntryComponent.c.

◆ m_wHorizontalContent

Widget m_wHorizontalContent
protected

Definition at line 560 of file SCR_ServerBrowserEntryComponent.c.

◆ m_wImageModded

Widget m_wImageModded
protected

Definition at line 564 of file SCR_ServerBrowserEntryComponent.c.

◆ m_wImgPing

ImageWidget m_wImgPing
protected

Definition at line 563 of file SCR_ServerBrowserEntryComponent.c.

◆ m_wJoinButton

Widget m_wJoinButton
protected

Definition at line 565 of file SCR_ServerBrowserEntryComponent.c.

◆ m_wLoading

Widget m_wLoading
protected

Definition at line 561 of file SCR_ServerBrowserEntryComponent.c.

◆ m_wPasswordButton

Widget m_wPasswordButton
protected

Definition at line 566 of file SCR_ServerBrowserEntryComponent.c.

◆ m_wQueue

TextWidget m_wQueue
protected

Definition at line 559 of file SCR_ServerBrowserEntryComponent.c.

◆ m_wUnjoinableIcon

Widget m_wUnjoinableIcon
protected

Definition at line 562 of file SCR_ServerBrowserEntryComponent.c.

◆ m_wVersionWarningIcon

Widget m_wVersionWarningIcon
protected

Definition at line 567 of file SCR_ServerBrowserEntryComponent.c.

◆ TEXT_WIDGET_QUEUE

const string TEXT_WIDGET_QUEUE = "Queue"
protected

Definition at line 533 of file SCR_ServerBrowserEntryComponent.c.

◆ TOOLTIP_JOIN

const string TOOLTIP_JOIN = "Join"
protected

Definition at line 546 of file SCR_ServerBrowserEntryComponent.c.

◆ TOOLTIP_VERSION_MISMATCH

const string TOOLTIP_VERSION_MISMATCH = "VersionMismatch"
protected

Definition at line 547 of file SCR_ServerBrowserEntryComponent.c.