Arma Reforger Script API
|
This component handles server entry and visiualization of server data. More...
Public 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 | SetRoomInfo (Room room) |
Set room and display room info in entry. | |
void | EmptyVisuals (bool enable) |
Set button visuals and behaviour. | |
void | SetModsManager (SCR_RoomModsManager modsManager) |
Room | GetRoomInfo () |
bool | GetIsModded () |
bool | GetIsEnabled (out bool versionMismatch, out bool unjoinable) |
Public Member Functions inherited from SCR_BrowserListMenuEntryComponent | |
override void | HandlerAttached (Widget w) |
override void | UpdateModularButtons () |
bool | SetFavorite (bool favorite) |
bool | IsFavorite () |
ScriptInvokerBrowserListMenuEntry | GetOnFavorite () |
Public Member Functions inherited from SCR_ListMenuEntryComponent | |
override void | HandlerAttached (Widget w) |
override void | HandlerDeattached (Widget w) |
override bool | OnClick (Widget w, int x, int y, int button) |
override bool | OnDoubleClick (Widget w, int x, int y, int button) |
override bool | OnFocus (Widget w, int x, int y) |
override bool | OnFocusLost (Widget w, int x, int y) |
override bool | OnMouseEnter (Widget w, int x, int y) |
void | AnimateOpacity (int delay, float animationTime, float opacityEnd, float opacityStart=-1) |
Animate whole widget opacity. | |
bool | IsInnerButtonInteraction () |
bool | IsFocused () |
bool | IsAvailable () |
ScriptInvokerString | GetOnMouseInteractionButtonClicked () |
ScriptInvokerScriptedWidgetComponent | GetOnFocus () |
ScriptInvokerScriptedWidgetComponent | GetOnFocusLost () |
ScriptInvokerScriptedWidgetComponent | GetOnMouseEnter () |
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 | OnJoinInteractionButtonClicked () |
void | SetCellText (string cellName, string str, string widgetName="Content") |
Set text in cell by it's widget name. | |
void | DisplayPing (int ping) |
Display number of current ping and add icon and color. | |
void | DisplayQueue () |
void | CheckRoomProperties () |
Check properties and assign state of room. | |
void | DisplayServerProperties () |
Create property images based on room setup. | |
string | GetDownloadSizeMessage () |
void | OnServerDetailModsLoaded () |
void | UpdateTooltipJoinDownloadSizeMessage () |
Protected Member Functions inherited from SCR_BrowserListMenuEntryComponent | |
void | OnFavoriteClicked (SCR_ModularButtonComponent comp) |
Protected Member Functions inherited from SCR_ListMenuEntryComponent | |
void | OnTooltipShow (SCR_ScriptedWidgetTooltip tooltip) |
void | OnInnerButtonHover () |
void | OnInnerButtonLeave () |
void | EnableTextAnimations (bool enable) |
Apply behavior on all potentially longer entry text. | |
void | HandleTextAnimation (SCR_HorizontalScrollAnimationComponent anim, bool enable) |
Handle animation enabled-disabling enable = false restarts positions. | |
void | UpdateModularButtons () |
void | OpacityAnimation (int time, float opacityEnd) |
Static Protected Attributes | |
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" |
Static Protected Attributes inherited from SCR_BrowserListMenuEntryComponent | |
static const string | BUTTON_FAVORITE = "FavoriteButton" |
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 |
This component handles server entry and visiualization of server data.
|
protected |
Check properties and assign state of room.
|
protected |
Display number of current ping and add icon and color.
[in] | ping |
|
protected |
|
protected |
Create property images based on room setup.
void SCR_ServerBrowserEntryComponent.EmptyVisuals | ( | bool | enable | ) |
Set button visuals and behaviour.
[in] | enable |
|
protected |
bool SCR_ServerBrowserEntryComponent.GetIsEnabled | ( | out bool | versionMismatch, |
out bool | unjoinable | ||
) |
[out] | versionMismatch | |
[out] | unjoinable |
bool SCR_ServerBrowserEntryComponent.GetIsModded | ( | ) |
Room SCR_ServerBrowserEntryComponent.GetRoomInfo | ( | ) |
override void SCR_ServerBrowserEntryComponent.HandlerAttached | ( | Widget | w | ) |
Implements SCR_BrowserListMenuEntryComponent.
override bool SCR_ServerBrowserEntryComponent.OnFocus | ( | Widget | w, |
int | x, | ||
int | y | ||
) |
Implements SCR_ListMenuEntryComponent.
override bool SCR_ServerBrowserEntryComponent.OnFocusLost | ( | Widget | w, |
int | x, | ||
int | y | ||
) |
Implements SCR_ListMenuEntryComponent.
|
protected |
|
protected |
override void SCR_ServerBrowserEntryComponent.OnTooltipShow | ( | SCR_ScriptedWidgetTooltip | tooltip | ) |
Implements SCR_ListMenuEntryComponent.
|
protected |
Set text in cell by it's widget name.
[in] | cellName | |
[in] | str |
void SCR_ServerBrowserEntryComponent.SetModsManager | ( | SCR_RoomModsManager | modsManager | ) |
[in] | modsManager |
void SCR_ServerBrowserEntryComponent.SetRoomInfo | ( | Room | room | ) |
Set room and display room info in entry.
[in] | room |
override void SCR_ServerBrowserEntryComponent.UpdateModularButtons | ( | ) |
Implements SCR_BrowserListMenuEntryComponent.
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |