Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
SCR_GroupTileButton Interface Reference
Inheritance diagram for SCR_GroupTileButton:
[legend]

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)
 

Protected Attributes

int m_iGroupID
 
Faction m_GroupFaction
 
ResourceName m_textLayout
 
ref SCR_UIInfo m_LeaderInfo
 
SCR_GroupsManagerComponent m_GroupManager
 
SCR_BaseTaskManager m_BaseTaskManager
 
SCR_InputButtonComponent m_JoinGroupButton
 
SCR_PlayerControllerGroupComponent m_GroupComponent
 
SCR_PlayerFactionAffiliationComponent m_sPlyFactionAffilComp
 
ref Color m_PlayerNameSelfColor
 
ref Color m_PlayerNameDeadColor
 
ref Color m_GroupFullColor
 
RichTextWidget wGroupTaskName
 
ref array< SCR_PlayerTileButtonComponentm_aPlayerComponentsList = {}
 
SCR_PlayerTileButtonComponent m_PlayerTileComponent
 
bool m_bIsPriority
 
- Protected Attributes inherited from SCR_ButtonBaseComponent
bool m_bIsToggled
 
MenuBase m_ParentMenu
 
SCR_SubMenuBase m_ParentSubMenu
 
- Protected Attributes inherited from SCR_WLibComponentBase
string m_sSoundHovered
 
string m_sSoundClicked
 
float m_fAnimationTime
 
bool m_bMouseOverToFocus
 
float m_fDisabledOpacity
 
float m_fAnimationRate
 
- Protected Attributes inherited from SCR_ScriptedWidgetComponent
Widget m_wRoot
 

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
 

Member Function Documentation

◆ CheckLeaderOptions()

void SCR_GroupTileButton.CheckLeaderOptions ( )
protected

◆ DisableConfirmButton()

void SCR_GroupTileButton.DisableConfirmButton ( )

◆ EnableConfirmButton()

void SCR_GroupTileButton.EnableConfirmButton ( )

◆ GetGroupFaction()

Faction SCR_GroupTileButton.GetGroupFaction ( )

◆ GetGroupID()

int SCR_GroupTileButton.GetGroupID ( )

◆ GetGroupNameFormated()

string SCR_GroupTileButton.GetGroupNameFormated ( SCR_AIGroup  group)
protected

◆ GetOnGroupTileClicked()

static ScriptInvoker SCR_GroupTileButton.GetOnGroupTileClicked ( )
static

◆ GetOnPlayerTileFocus()

static ScriptInvokerInt SCR_GroupTileButton.GetOnPlayerTileFocus ( )
static

◆ GetOnPlayerTileFocusLost()

static ScriptInvokerInt SCR_GroupTileButton.GetOnPlayerTileFocusLost ( )
static

◆ InitiateGroupTile()

void SCR_GroupTileButton.InitiateGroupTile ( )

◆ IsPriority()

bool SCR_GroupTileButton.IsPriority ( )

◆ OnClick()

override bool SCR_GroupTileButton.OnClick ( Widget  w,
int  x,
int  y,
int  button 
)

◆ OnComboBoxConfirm()

void SCR_GroupTileButton.OnComboBoxConfirm ( SCR_ComboBoxComponent  combo,
int  index 
)
protected

◆ OnFocus()

override bool SCR_GroupTileButton.OnFocus ( Widget  w,
int  x,
int  y 
)

◆ OnPlayerTileFocus()

void SCR_GroupTileButton.OnPlayerTileFocus ( int  id)
protected

◆ OnPlayerTileFocusLost()

void SCR_GroupTileButton.OnPlayerTileFocusLost ( int  id)
protected

◆ OnSelectGroupFlagButtonClicked()

void SCR_GroupTileButton.OnSelectGroupFlagButtonClicked ( )

◆ RefreshPlayers()

void SCR_GroupTileButton.RefreshPlayers ( )

◆ SetBadgeColor()

void SCR_GroupTileButton.SetBadgeColor ( Widget  badge,
Color  color 
)

◆ SetConfirmButtonStatus()

void SCR_GroupTileButton.SetConfirmButtonStatus ( bool  status)

◆ SetGroupFaction()

void SCR_GroupTileButton.SetGroupFaction ( Faction  groupFaction)

◆ SetGroupID()

void SCR_GroupTileButton.SetGroupID ( int  id)

◆ SetGroupInfoColor()

void SCR_GroupTileButton.SetGroupInfoColor ( Color  groupColor)

◆ SetIsPriority()

void SCR_GroupTileButton.SetIsPriority ( bool  isPriority)

◆ SetJoinGroupButton()

void SCR_GroupTileButton.SetJoinGroupButton ( SCR_InputButtonComponent  joinGroupButton)

◆ SetupJoinGroupButton()

void SCR_GroupTileButton.SetupJoinGroupButton ( )

◆ SetupOptionsCombo()

void SCR_GroupTileButton.SetupOptionsCombo ( Widget  playerTile)

◆ SetupPlayerTile()

void SCR_GroupTileButton.SetupPlayerTile ( Widget  playerTile,
int  playerID 
)

◆ SetupSelectGroupFlagButton()

void SCR_GroupTileButton.SetupSelectGroupFlagButton ( SCR_AIGroup  group)

◆ ShowAIsInGroup()

void SCR_GroupTileButton.ShowAIsInGroup ( )

Member Data Documentation

◆ GROUP_FLAG_SELECTION

const ResourceName SCR_GroupTileButton.GROUP_FLAG_SELECTION = "{7340FE3C6872C6D3}UI/layouts/Menus/GroupSlection/GroupFlagSelection.layout"
staticprotected

◆ JOIN_GROUP

const string SCR_GroupTileButton.JOIN_GROUP = "#AR-DeployMenu_JoinGroup"
staticprotected

◆ LOCK_GROUP

const string SCR_GroupTileButton.LOCK_GROUP = "#AR-Player_Groups_Lock"
staticprotected

◆ m_aPlayerComponentsList

ref array<SCR_PlayerTileButtonComponent> SCR_GroupTileButton.m_aPlayerComponentsList = {}
protected

◆ m_BaseTaskManager

SCR_BaseTaskManager SCR_GroupTileButton.m_BaseTaskManager
protected

◆ m_bIsPriority

bool SCR_GroupTileButton.m_bIsPriority
protected

◆ m_GroupComponent

SCR_PlayerControllerGroupComponent SCR_GroupTileButton.m_GroupComponent
protected

◆ m_GroupFaction

Faction SCR_GroupTileButton.m_GroupFaction
protected

◆ m_GroupFullColor

ref Color SCR_GroupTileButton.m_GroupFullColor
protected

◆ m_GroupManager

SCR_GroupsManagerComponent SCR_GroupTileButton.m_GroupManager
protected

◆ m_iGroupID

int SCR_GroupTileButton.m_iGroupID
protected

◆ m_JoinGroupButton

SCR_InputButtonComponent SCR_GroupTileButton.m_JoinGroupButton
protected

◆ m_LeaderInfo

ref SCR_UIInfo SCR_GroupTileButton.m_LeaderInfo
protected

◆ m_OnPlayerTileFocus

ref ScriptInvokerInt SCR_GroupTileButton.m_OnPlayerTileFocus
staticprotected

◆ m_OnPlayerTileFocusLost

ref ScriptInvokerInt SCR_GroupTileButton.m_OnPlayerTileFocusLost
staticprotected

◆ m_PlayerNameDeadColor

ref Color SCR_GroupTileButton.m_PlayerNameDeadColor
protected

◆ m_PlayerNameSelfColor

ref Color SCR_GroupTileButton.m_PlayerNameSelfColor
protected

◆ m_PlayerTileComponent

SCR_PlayerTileButtonComponent SCR_GroupTileButton.m_PlayerTileComponent
protected

◆ m_sPlyFactionAffilComp

SCR_PlayerFactionAffiliationComponent SCR_GroupTileButton.m_sPlyFactionAffilComp
protected

◆ m_textLayout

ResourceName SCR_GroupTileButton.m_textLayout
protected

◆ OPTIONS_COMBO_INVITE

const string SCR_GroupTileButton.OPTIONS_COMBO_INVITE = "#AR-PlayerList_Invite"
staticprotected

◆ OPTIONS_COMBO_KICK

const string SCR_GroupTileButton.OPTIONS_COMBO_KICK = "#AR-DeployMenu_Groups_Kick"
staticprotected

◆ OPTIONS_COMBO_PROMOTE

const string SCR_GroupTileButton.OPTIONS_COMBO_PROMOTE = "#AR-DeployMenu_Groups_Promote"
staticprotected

◆ PRIVATE_GROUP

const string SCR_GroupTileButton.PRIVATE_GROUP = "#AR-Player_Groups_Private"
staticprotected

◆ PUBLIC_GROUP

const string SCR_GroupTileButton.PUBLIC_GROUP = "#AR-Player_Groups_Public"
staticprotected

◆ REQUEST_JOIN_GROUP

const string SCR_GroupTileButton.REQUEST_JOIN_GROUP = "#AR-DeployMenu_RequestJoinGroup"
staticprotected

◆ s_OnGroupButtonClicked

ref ScriptInvoker SCR_GroupTileButton.s_OnGroupButtonClicked = new ScriptInvoker()
staticprotected

◆ UNLOCK_GROUP

const string SCR_GroupTileButton.UNLOCK_GROUP = "#AR-Player_Groups_Unlock"
staticprotected

◆ wGroupTaskName

RichTextWidget SCR_GroupTileButton.wGroupTaskName
protected

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