Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_ServerBrowserEntryComponent.c File Reference

Go to the source code of this file.

Data Structures

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_ListMenuEntryComponent BaseContainerProps ()] class ServerBrowserEntryProperty
 
override void HandlerAttached (Widget w)
 
override void OnTooltipShow (SCR_ScriptedWidgetTooltip tooltipClass, Widget tooltipWidget, Widget hoverWidget, SCR_ScriptedWidgetTooltipPreset preset, string tag)
 
override void UpdateModularButtons ()
 
override bool OnFocusLost (Widget w, int x, int y)
 
protected void OnJoinInteractionButtonClicked ()
 
protected void SetCellText (string cellName, string str)
 
protected void DisplayPing (int ping)
 
protected void CheckRoomProperties ()
 Check properties and assign state of room. More...
 
protected void DisplayServerProperties ()
 Create property images based on room setup. More...
 
protected string GetDownloadSizeMessage ()
 
protected void OnServerDetailModsLoaded ()
 
protected 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

protected int m_iPingLimit
 
protected string m_sTooltipDownloadIcon
 
protected float m_fTooltipDownloadIconScale
 
protected Room m_RoomInfo
 
protected SCR_EServerEntryProperty m_iProperties
 
protected ref array< ref ServerBrowserEntryProperty > m_aPingStates
 
protected Widget m_wHorizontalContent
 
protected Widget m_wLoading
 
protected Widget m_wUnjoinableIcon
 
protected ImageWidget m_wImgPing
 
protected int m_iHighestPing = 0
 
protected Widget m_wImageModded
 
protected Widget m_wJoinButton
 
protected Widget m_wPasswordButton
 
protected SCR_RoomModsManager m_ModsManager
 
protected string m_sPatchSize
 
protected bool m_bIsPatchSizeLoaded
 
protected Widget m_wVersionWarningIcon
 

Enumeration Type Documentation

◆ SCR_EServerEntryProperty

Enumerator
VERSION_MISMATCH 
PASSWORD_PROTECTED 
CROSS_PLATFORM 
LAN 
MODDED 
UNJOINABLE 

Definition at line 477 of file SCR_ServerBrowserEntryComponent.c.

Function Documentation

◆ BaseContainerProps()

◆ CheckRoomProperties()

protected void BaseContainerProps::CheckRoomProperties ( )

Check properties and assign state of room.

Definition at line 270 of file SCR_ServerBrowserEntryComponent.c.

◆ DisplayPing()

protected void BaseContainerProps::DisplayPing ( int  ping)

Display number of current ping and add icon and color

Parameters
[in]ping

Definition at line 218 of file SCR_ServerBrowserEntryComponent.c.

◆ DisplayServerProperties()

protected void BaseContainerProps::DisplayServerProperties ( )

Create property images based on room setup.

Definition at line 303 of file SCR_ServerBrowserEntryComponent.c.

◆ EmptyVisuals()

void BaseContainerProps::EmptyVisuals ( bool  enable)

Set button visuals and behaviour

Parameters
[in]enable

Definition at line 414 of file SCR_ServerBrowserEntryComponent.c.

◆ GetDownloadSizeMessage()

protected string BaseContainerProps::GetDownloadSizeMessage ( )

Definition at line 329 of file SCR_ServerBrowserEntryComponent.c.

◆ GetIsEnabled()

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

Definition at line 451 of file SCR_ServerBrowserEntryComponent.c.

◆ GetIsModded()

bool BaseContainerProps::GetIsModded ( )
Returns

Definition at line 442 of file SCR_ServerBrowserEntryComponent.c.

◆ GetRoomInfo()

Room BaseContainerProps::GetRoomInfo ( )
Returns

Definition at line 435 of file SCR_ServerBrowserEntryComponent.c.

◆ HandlerAttached()

override void BaseContainerProps::HandlerAttached ( Widget  w)

Definition at line 63 of file SCR_ServerBrowserEntryComponent.c.

◆ OnFocusLost()

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

Definition at line 178 of file SCR_ServerBrowserEntryComponent.c.

◆ OnJoinInteractionButtonClicked()

protected void BaseContainerProps::OnJoinInteractionButtonClicked ( )

Definition at line 194 of file SCR_ServerBrowserEntryComponent.c.

◆ OnServerDetailModsLoaded()

protected void BaseContainerProps::OnServerDetailModsLoaded ( )

Definition at line 341 of file SCR_ServerBrowserEntryComponent.c.

◆ OnTooltipShow()

override void BaseContainerProps::OnTooltipShow ( SCR_ScriptedWidgetTooltip  tooltipClass,
Widget  tooltipWidget,
Widget  hoverWidget,
SCR_ScriptedWidgetTooltipPreset  preset,
string  tag 
)

Definition at line 144 of file SCR_ServerBrowserEntryComponent.c.

◆ SetCellText()

protected void BaseContainerProps::SetCellText ( string  cellName,
string  str 
)

Set text in cell by it's widget name

Parameters
[in]cellName
[in]str

Definition at line 204 of file SCR_ServerBrowserEntryComponent.c.

◆ SetModsManager()

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

Definition at line 422 of file SCR_ServerBrowserEntryComponent.c.

◆ SetRoomInfo()

void BaseContainerProps::SetRoomInfo ( Room  room)

Set room and display room info in entry

Parameters
[in]room

Definition at line 379 of file SCR_ServerBrowserEntryComponent.c.

◆ UpdateModularButtons()

override void BaseContainerProps::UpdateModularButtons ( )

Definition at line 168 of file SCR_ServerBrowserEntryComponent.c.

◆ UpdateTooltipJoinDownloadSizeMessage()

protected void BaseContainerProps::UpdateTooltipJoinDownloadSizeMessage ( )

Definition at line 357 of file SCR_ServerBrowserEntryComponent.c.

Variable Documentation

◆ m_aPingStates

protected ref array<ref ServerBrowserEntryProperty> m_aPingStates

Definition at line 36 of file SCR_ServerBrowserEntryComponent.c.

◆ m_bIsPatchSizeLoaded

protected bool m_bIsPatchSizeLoaded

Definition at line 54 of file SCR_ServerBrowserEntryComponent.c.

◆ m_fTooltipDownloadIconScale

protected float m_fTooltipDownloadIconScale

Definition at line 10 of file SCR_ServerBrowserEntryComponent.c.

◆ m_iHighestPing

protected int m_iHighestPing = 0

Definition at line 46 of file SCR_ServerBrowserEntryComponent.c.

◆ m_iPingLimit

protected int m_iPingLimit

Definition at line 4 of file SCR_ServerBrowserEntryComponent.c.

◆ m_iProperties

protected SCR_EServerEntryProperty m_iProperties

Definition at line 32 of file SCR_ServerBrowserEntryComponent.c.

◆ m_ModsManager

protected SCR_RoomModsManager m_ModsManager

Definition at line 52 of file SCR_ServerBrowserEntryComponent.c.

◆ m_RoomInfo

protected Room m_RoomInfo

Definition at line 31 of file SCR_ServerBrowserEntryComponent.c.

◆ m_sPatchSize

protected string m_sPatchSize

Definition at line 53 of file SCR_ServerBrowserEntryComponent.c.

◆ m_sTooltipDownloadIcon

protected string m_sTooltipDownloadIcon

Definition at line 7 of file SCR_ServerBrowserEntryComponent.c.

◆ m_wHorizontalContent

protected Widget m_wHorizontalContent

Definition at line 39 of file SCR_ServerBrowserEntryComponent.c.

◆ m_wImageModded

protected Widget m_wImageModded

Definition at line 48 of file SCR_ServerBrowserEntryComponent.c.

◆ m_wImgPing

protected ImageWidget m_wImgPing

Definition at line 45 of file SCR_ServerBrowserEntryComponent.c.

◆ m_wJoinButton

protected Widget m_wJoinButton

Definition at line 49 of file SCR_ServerBrowserEntryComponent.c.

◆ m_wLoading

protected Widget m_wLoading

Definition at line 40 of file SCR_ServerBrowserEntryComponent.c.

◆ m_wPasswordButton

protected Widget m_wPasswordButton

Definition at line 50 of file SCR_ServerBrowserEntryComponent.c.

◆ m_wUnjoinableIcon

protected Widget m_wUnjoinableIcon

Definition at line 43 of file SCR_ServerBrowserEntryComponent.c.

◆ m_wVersionWarningIcon

protected Widget m_wVersionWarningIcon

Definition at line 56 of file SCR_ServerBrowserEntryComponent.c.