Arma Reforger Script API
|
Public Member Functions | |
override bool | OnClick (Widget w, int x, int y, int button) |
void | InitiateGroupTile () |
void | SetupSelectGroupFlagButton (SCR_AIGroup group) |
void | OnSelectGroupFlagButtonClicked () |
void | RefreshPlayers () |
void | SetupJoinGroupButton () |
void | SetupPlayerTile (Widget playerTile, int playerID) |
void | SetIsPriority (bool isPriority) |
bool | IsPriority () |
void | SetGroupInfoColor (Color groupColor) |
int | GetGroupID () |
override bool | OnFocus (Widget w, int x, int y) |
void | SetGroupID (int id) |
Faction | GetGroupFaction () |
void | SetGroupFaction (Faction groupFaction) |
void | SetJoinGroupButton (SCR_InputButtonComponent joinGroupButton) |
void | SetupOptionsCombo (Widget playerTile) |
void | EnableConfirmButton () |
void | DisableConfirmButton () |
void | SetConfirmButtonStatus (bool status) |
void | SetBadgeColor (Widget badge, Color color) |
void | ShowAIsInGroup () |
Public Member Functions inherited from SCR_ButtonBaseComponent | |
override void | HandlerAttached (Widget w) |
override bool | OnClick (Widget w, int x, int y, int button) |
override bool | OnMouseEnter (Widget w, int x, int y) |
override bool | OnMouseLeave (Widget w, Widget enterW, int x, int y) |
override bool | OnFocus (Widget w, int x, int y) |
override bool | OnFocusLost (Widget w, int x, int y) |
void | SetToggled (bool toggled, bool animate=true, bool invokeChange=true, bool instant=false) |
bool | IsToggled () |
void | SetToggleable (bool togglable) |
bool | GetToggleable () |
void | ShowBorder (bool show, bool animate=true) |
bool | IsBorderShown () |
void | SetBackgroundColors (Color defColor=null, Color hoverColor=null, Color selectColor=null, Color selectHoverColor=null, Color clickColor=null) |
Alternate way of setting button background colors through script. | |
void | ColorizeBackground (bool animate=true) |
Public Member Functions inherited from SCR_WLibComponentBase | |
override void | HandlerAttached (Widget w) |
override bool | OnClick (Widget w, int x, int y, int button) |
override bool | OnMouseEnter (Widget w, int x, int y) |
override bool | OnFocus (Widget w, int x, int y) |
void | SetHoverSound (string soundHover) |
void | SetClickedSound (string soundClicked) |
string | GetHoverSound () |
string | GetClickedSound () |
void | SetEnabled (bool enabled, bool animate=true) |
void | SetVisible (bool visible, bool animate=true) |
bool | IsEnabled () |
void | SetMouseOverToFocus (bool mouseOverToFocus) |
void | SetDisabledOpacity (float newDisabledOpacity) |
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 () |
Static Public Member Functions | |
static ScriptInvoker | GetOnGroupTileClicked () |
static ScriptInvokerInt | GetOnPlayerTileFocus () |
static ScriptInvokerInt | GetOnPlayerTileFocusLost () |
Static Public Member Functions inherited from SCR_ButtonBaseComponent | |
static SCR_ButtonBaseComponent | GetButtonBase (string name, Widget parent, bool searchAllChildren=true) |
Static Public Member Functions inherited from SCR_WLibComponentBase | |
static bool | SetTexture (ImageWidget widget, ResourceName texture, string image="") |
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. | |
Protected Member Functions | |
void | OnPlayerTileFocus (int id) |
void | OnPlayerTileFocusLost (int id) |
void | OnComboBoxConfirm (SCR_ComboBoxComponent combo, int index) |
string | GetGroupNameFormated (SCR_AIGroup group) |
void | CheckLeaderOptions () |
Protected Member Functions inherited from SCR_ButtonBaseComponent | |
void | OnMenuSelect () |
void | MenuSelectBase () |
void | FindParentMenu () |
Finds the parent menu of this component. | |
bool | IsParentMenuFocused () |
Returns true if parent menu is focused, or if there is no parent menu. | |
Protected Member Functions inherited from SCR_WLibComponentBase | |
void | OnEnabled (bool animate) |
void | OnDisabled (bool animate) |
bool | IsChildWidget (Widget parent, Widget child) |
void | SetAnimationRate () |
void | PlaySound (string sound) |
Static Protected Attributes | |
const string | OPTIONS_COMBO_INVITE = "#AR-PlayerList_Invite" |
const string | OPTIONS_COMBO_KICK = "#AR-DeployMenu_Groups_Kick" |
const string | OPTIONS_COMBO_PROMOTE = "#AR-DeployMenu_Groups_Promote" |
const string | LOCK_GROUP = "#AR-Player_Groups_Lock" |
const string | UNLOCK_GROUP = "#AR-Player_Groups_Unlock" |
const string | PRIVATE_GROUP = "#AR-Player_Groups_Private" |
const string | PUBLIC_GROUP = "#AR-Player_Groups_Public" |
const string | JOIN_GROUP = "#AR-DeployMenu_JoinGroup" |
const string | REQUEST_JOIN_GROUP = "#AR-DeployMenu_RequestJoinGroup" |
const ResourceName | GROUP_FLAG_SELECTION = "{7340FE3C6872C6D3}UI/layouts/Menus/GroupSlection/GroupFlagSelection.layout" |
static ref ScriptInvoker | s_OnGroupButtonClicked = new ScriptInvoker() |
static ref ScriptInvokerInt | m_OnPlayerTileFocus |
static ref ScriptInvokerInt | m_OnPlayerTileFocusLost |
Additional Inherited Members | |
Public Attributes inherited from SCR_ButtonBaseComponent | |
bool | m_bCanBeToggled |
bool | m_bUseColorization |
ref Color | m_BackgroundDefault |
ref Color | m_BackgroundHovered |
ref Color | m_BackgroundSelected |
ref Color | m_BackgroundSelectedHovered |
ref Color | m_BackgroundClicked |
bool | m_bShowBorderOnFocus |
bool | m_bShowBackgroundOnFocus |
bool | m_bNoBorderAnimation |
bool | m_bNoBackgroundAnimation |
bool | m_bShowBorderOnHover |
Widget | m_wBackground |
Widget | m_wBorder |
ref ScriptInvoker | m_OnClicked = new ScriptInvoker() |
ref ScriptInvoker | m_OnToggled = new ScriptInvoker() |
ref ScriptInvoker< Widget > | m_OnFocus = new ScriptInvoker<Widget>() |
ref ScriptInvoker< Widget > | m_OnFocusLost = new ScriptInvoker<Widget>() |
ref ScriptInvoker | m_OnShowBorder = new ScriptInvoker() |
Public Attributes inherited from SCR_ScriptedWidgetComponent | |
ref ScriptInvoker | m_OnClick = new ScriptInvoker |
Static Public Attributes inherited from SCR_WLibComponentBase | |
static const float | START_ANIMATION_RATE = 10001 |
static const float | START_ANIMATION_PERIOD = 250 |
|
protected |
void SCR_GroupTileButton.DisableConfirmButton | ( | ) |
void SCR_GroupTileButton.EnableConfirmButton | ( | ) |
Faction SCR_GroupTileButton.GetGroupFaction | ( | ) |
int SCR_GroupTileButton.GetGroupID | ( | ) |
|
protected |
|
static |
|
static |
|
static |
void SCR_GroupTileButton.InitiateGroupTile | ( | ) |
bool SCR_GroupTileButton.IsPriority | ( | ) |
override bool SCR_GroupTileButton.OnClick | ( | Widget | w, |
int | x, | ||
int | y, | ||
int | button | ||
) |
Implements SCR_ButtonBaseComponent.
|
protected |
override bool SCR_GroupTileButton.OnFocus | ( | Widget | w, |
int | x, | ||
int | y | ||
) |
Implements SCR_ButtonBaseComponent.
|
protected |
|
protected |
void SCR_GroupTileButton.OnSelectGroupFlagButtonClicked | ( | ) |
void SCR_GroupTileButton.RefreshPlayers | ( | ) |
void SCR_GroupTileButton.SetBadgeColor | ( | Widget | badge, |
Color | color | ||
) |
void SCR_GroupTileButton.SetConfirmButtonStatus | ( | bool | status | ) |
void SCR_GroupTileButton.SetGroupFaction | ( | Faction | groupFaction | ) |
void SCR_GroupTileButton.SetGroupID | ( | int | id | ) |
void SCR_GroupTileButton.SetGroupInfoColor | ( | Color | groupColor | ) |
void SCR_GroupTileButton.SetIsPriority | ( | bool | isPriority | ) |
void SCR_GroupTileButton.SetJoinGroupButton | ( | SCR_InputButtonComponent | joinGroupButton | ) |
void SCR_GroupTileButton.SetupJoinGroupButton | ( | ) |
void SCR_GroupTileButton.SetupOptionsCombo | ( | Widget | playerTile | ) |
void SCR_GroupTileButton.SetupPlayerTile | ( | Widget | playerTile, |
int | playerID | ||
) |
void SCR_GroupTileButton.SetupSelectGroupFlagButton | ( | SCR_AIGroup | group | ) |
void SCR_GroupTileButton.ShowAIsInGroup | ( | ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |