|
Arma Reforger Script API
|
Component responsible for handling group requests and visualization in deploy menu. More...
Public Member Functions | |
| override void | HandlerAttached (Widget w) |
| override void | SetExpanded (bool expanded) |
| override void | HandlerDeattached (Widget w) |
| void | SetPlayerGroup (SCR_AIGroup group) |
| Update the expandable button name. | |
| void | ShowAvailableGroups (notnull Faction faction) |
| Show groups available for given faction. | |
| void | ShowGroupSelector (bool show) |
| void | JoinGroupAutomatically () |
| Joins an automatically selected group. | |
| SCR_GroupButton | GetGroupButton (SCR_AIGroup group) |
| Gets relevant group button. | |
| Widget | GetGroupList () |
| Return current group list. | |
| SCR_AIGroup | GetPlayerGroup () |
| Return local player's group. | |
| override void | SetListWidget (Widget list) |
| Set current group list. | |
| int | GetShownGroupId () |
| Gets id of a currently displayed group. | |
| void | SetShownGroupId (int groupId) |
| Set id of a currently displayed group. | |
| ScriptInvoker | GetOnPlayerGroupJoined () |
| ScriptInvoker | GetOnLocalPlayerGroupJoined () |
Public Member Functions inherited from SCR_DeployRequestUIBaseComponent | |
| void | Update (float dt) |
| void | Unlock () |
| Unlock this component's buttons. | |
| bool | IsEnabled () |
| SCR_DeployButtonBase | GetFirstValidButton () |
| Gets first available button from the m_aButtons list. | |
| Widget | GetListWidget () |
| Gets current list widget. | |
| ScriptInvoker | GetOnButtonFocused () |
| ScriptInvoker | GetOnMouseLeft () |
Protected Member Functions | |
| override void | ToggleCollapsed () |
| override bool | IsExpanded () |
| void | SetGroupFlags () |
| void | UpdateGroupPlayers (SCR_AIGroup group, int pid) |
| Update the group widget when player joins/leaves group. | |
| void | UpdateLocalPlayerGroup (int groupId) |
| Update the group widget relevant to local player. | |
| void | UpdateGroupPrivacy (int groupId, bool isPrivate) |
| Set group private. | |
| void | UpdateGroupNames () |
| Set group name. | |
| void | UpdateGroupFrequency () |
| Set group frequency. | |
| void | UpdateGroupFlag () |
| Set group flag. | |
| void | RemoveGroup (SCR_AIGroup group) |
| Removes the group button from the list. | |
| void | CreateNewGroupButton () |
| Creates a button which handles creating of a new group. | |
| void | UpdateNewGroupButton () |
| Updates visibility of the button for creating a new group. | |
| void | RequestNewGroup () |
| Requests creation of a new group. | |
| void | AddGroup (SCR_AIGroup group) |
| Adds a new group button into the list. | |
| void | OnButtonFocused (Widget w) |
| Called when the group button is focused. | |
| void | OnNewGroupButtonClicked () |
| void | RequestJoinGroup (notnull SCR_GroupButton groupBtn) |
| Sends a request for joining a group. | |
| void | ClearGroupList () |
| Clear the group list. | |
Protected Member Functions inherited from SCR_DeployRequestUIBaseComponent | |
| void | Lock (SCR_DeployButtonBase btn) |
| Lock this component's buttons from processing any further requests. Unlock() should be called once you receive a response. | |
| void | OnListExpand (SCR_DeployRequestUIBaseComponent component, bool expanded) |
| void | OnMouseLeft () |
Additional Inherited Members | |
Static Public Member Functions inherited from SCR_DeployRequestUIBaseComponent | |
| static ScriptInvoker | GetOnListCollapse () |
Static Protected Attributes inherited from SCR_DeployRequestUIBaseComponent | |
| static ref ScriptInvoker< SCR_DeployRequestUIBaseComponent, bool > | s_OnListExpand |
Component responsible for handling group requests and visualization in deploy menu.
|
protected |
Adds a new group button into the list.
|
protected |
Clear the group list.
|
protected |
Creates a button which handles creating of a new group.
| SCR_GroupButton SCR_GroupRequestUIComponent.GetGroupButton | ( | SCR_AIGroup | group | ) |
Gets relevant group button.
| Widget SCR_GroupRequestUIComponent.GetGroupList | ( | ) |
Return current group list.
| ScriptInvoker SCR_GroupRequestUIComponent.GetOnLocalPlayerGroupJoined | ( | ) |
| ScriptInvoker SCR_GroupRequestUIComponent.GetOnPlayerGroupJoined | ( | ) |
| SCR_AIGroup SCR_GroupRequestUIComponent.GetPlayerGroup | ( | ) |
Return local player's group.
| int SCR_GroupRequestUIComponent.GetShownGroupId | ( | ) |
Gets id of a currently displayed group.
| override void SCR_GroupRequestUIComponent.HandlerAttached | ( | Widget | w | ) |
Implements SCR_DeployRequestUIBaseComponent.
| override void SCR_GroupRequestUIComponent.HandlerDeattached | ( | Widget | w | ) |
|
protected |
Implements SCR_DeployRequestUIBaseComponent.
| void SCR_GroupRequestUIComponent.JoinGroupAutomatically | ( | ) |
Joins an automatically selected group.
|
protected |
Called when the group button is focused.
|
protected |
|
protected |
Removes the group button from the list.
|
protected |
Sends a request for joining a group.
|
protected |
Requests creation of a new group.
| override void SCR_GroupRequestUIComponent.SetExpanded | ( | bool | expanded | ) |
Implements SCR_DeployRequestUIBaseComponent.
|
protected |
| override void SCR_GroupRequestUIComponent.SetListWidget | ( | Widget | list | ) |
Set current group list.
Implements SCR_DeployRequestUIBaseComponent.
| void SCR_GroupRequestUIComponent.SetPlayerGroup | ( | SCR_AIGroup | group | ) |
Update the expandable button name.
| void SCR_GroupRequestUIComponent.SetShownGroupId | ( | int | groupId | ) |
Set id of a currently displayed group.
| void SCR_GroupRequestUIComponent.ShowAvailableGroups | ( | notnull Faction | faction | ) |
Show groups available for given faction.
| void SCR_GroupRequestUIComponent.ShowGroupSelector | ( | bool | show | ) |
|
protected |
Implements SCR_DeployRequestUIBaseComponent.
|
protected |
Set group flag.
|
protected |
Set group frequency.
|
protected |
Set group name.
|
protected |
Update the group widget when player joins/leaves group.
|
protected |
Set group private.
|
protected |
Update the group widget relevant to local player.
|
protected |
Updates visibility of the button for creating a new group.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |