![]() |
Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Data Structures | |
| class | SCR_PlayerControllerGroupComponentClass |
Functions | |
| int | GetGroupID () |
| void | RequestCreateGroup () |
| void | RequestKickPlayer (int playerID) |
| void | RequestPromoteLeader (int playerID) |
| void | RequestPrivateGroupChange (int playerID, bool isPrivate) |
| void | PlayerRequestToJoinPrivateGroup (int playerID, RplId groupID) |
| void | ClearAllRequesters (RplId groupID) |
| int | GetPlayerID () |
| bool | CanPlayerJoinGroup (int playerID, notnull SCR_AIGroup group) |
| bool | IsPlayerLeader (int playerID, notnull SCR_AIGroup group) |
| bool | IsPlayerLeaderOwnGroup () |
| bool | CanInvitePlayer (int playerID) |
| bool | WasAlreadyInvited (int playerID) |
| void | AcceptJoinPrivateGroup (int playerID, bool accept) |
| void | InvitePlayer (int playerID) |
| void | InviteThisPlayer (int groupID, int fromPlayerID) |
| void | AcceptInvite () |
| ScriptInvoker | GetOnInviteReceived () |
| void | OnGroupDeleted (SCR_AIGroup group) |
| void | RPC_PlayerRequestToJoinPrivateGroup (int playerID, RplId groupID) |
| void | RPC_ConfirmJoinPrivateGroup (int playerID, int groupID) |
| void | RPC_CancelJoinPrivateGroup (int playerID, int groupID) |
| void | RPC_DoInvitePlayer (int groupID, int fromPlayerID) |
| void | RPC_AskInvitePlayer (int playerID) |
| void | RPC_AskCreateGroup () |
| void | RPC_AskKickPlayer (int playerID) |
| void | RPC_AskPromoteLeader (int playerID) |
| void | RPC_ChangePrivateGroup (int playerID, bool isPrivate) |
| void | RequestJoinGroup (int groupID) |
| void | RPC_DoChangeGroupID (int groupID) |
| protected void | OnGroupChangedDelayed (int groupId) |
| void | RPC_AskJoinGroup (int groupID) |
| bool | InitiateComponents (int playerID, out SCR_GroupsManagerComponent groupsManager, out SCR_PlayerControllerGroupComponent playerGroupController, out SCR_AIGroup group) |
| int | GetSelectedGroupID () |
| ScriptInvoker | GetOnInviteAccepted () |
| ScriptInvoker | GetOnGroupChanged () |
| ScriptInvoker | GetOnInviteCancelled () |
| int | GetGroupInviteID () |
| void | SetGroupInviteID (int value) |
| int | GetGroupInviteFromPlayerID () |
| string | GetGroupInviteFromPlayerName () |
| void | SetSelectedGroupID (int groupID) |
| void | RequestSetCustomGroupDescription (int groupID, string desc) |
| void | RPC_AskSetCustomDescription (int groupID, string desc, int authorID) |
| void | RequestSetGroupMaxMembers (int groupID, int maxMembers) |
| void | RPC_AskSetGroupMaxMembers (int groupID, int maxMembers) |
| void | RequestSetCustomFrequency (int groupID, int frequency) |
| Sets custom frequency (KHz) for a group. Can set frequency that is already claimed. Claims set frequency if not already claimed. Frequency set by this method will not be used by automatically created groups. More... | |
| void | RequestSetNewGroupsAllowed (bool isAllowed) |
| void | RequestSetCanPlayersChangeAttributes (bool isAllowed) |
| void | RequestSetCustomGroupName (int groupID, string name) |
| void | RPC_AskSetCustomName (int groupID, string name, int authorID) |
| void | RPC_AskSetNewGroupsAllowed (bool isAllowed) |
| void | RPC_AskSetCanPlayersChangeAttributes (bool isAllowed) |
| void | RPC_AskSetFrequency (int groupID, int frequency) |
| void | RequestSetGroupFlag (int groupID, int flagIndex, bool isFromImageset) |
| void | RPC_AskSetGroupFlag (int groupID, int flagIndex, bool isFromImageset) |
| void | RPC_ClearAllRequesters (RplId groupID) |
| void | RequestCreateSlaveGroup (RplId rplCompID) |
| void | RPC_AskCreateSlaveGroup (RplId rplCompID) |
| bool | IsAICharacterInAnyGroup (SCR_ChimeraCharacter character, SCR_Faction faction) |
| void | RequestAddAIAgent (SCR_ChimeraCharacter character, int playerID) |
| void | RPC_AskAddAIAgent (RplId characterID, int playerID) |
| void | AddAIToSlaveGroup (notnull IEntity controlledEntity, SCR_AIGroup group) |
| Should be only called on the server. More... | |
| void | RPC_AskRemoveAIAgent (RplId characterID, int playerID) |
| void | RemoveAiFromSlaveGroup (notnull IEntity controlledEntity, SCR_AIGroup group) |
| Should be only called on the server. More... | |
| void | RequestRemoveAgent (SCR_ChimeraCharacter character, int playerID) |
| override void | OnPostInit (IEntity owner) |
| Editable Mine. More... | |
| override void | OnDelete (IEntity owner) |
| SCR_AIGroup | GetPlayersGroup () |
| int | GetActualGroupFrequency () |
| override void | EOnDiag (IEntity owner, float timeSlice) |
| void | ListGroupsFromFaction (Faction faction) |
| void | CreateAndJoinGroup (Faction faction) |
Variables | |
| SCR_PlayerControllerGroupComponentClass | m_iGroupID = -1 |
| protected ref map< int, ref array< int > > | m_mPlayerInvitesToGroups |
| protected ref ScriptInvoker< int, int > | m_OnInviteReceived |
| protected ref ScriptInvoker< int > | m_OnInviteAccepted |
| protected ref ScriptInvoker< int > | m_OnInviteCancelled |
| protected ref ScriptInvoker< int > | m_OnGroupChanged |
| protected int | m_iUISelectedGroupID = -1 |
| protected int | m_iGroupInviteID = -1 |
| protected int | m_iGroupInviteFromPlayerID = -1 |
| protected string | m_sGroupInviteFromPlayerName |
| const protected ref Color | DEFAULT_COLOR = new Color(0, 0, 0, 0.4) |
| void AcceptInvite | ( | ) |
Definition at line 378 of file SCR_PlayerControllerGroupComponent.c.
| void AcceptJoinPrivateGroup | ( | int | playerID, |
| bool | accept | ||
| ) |
| [in] | playerID | |
| [in] | accept |
Definition at line 321 of file SCR_PlayerControllerGroupComponent.c.
| void AddAIToSlaveGroup | ( | notnull IEntity | controlledEntity, |
| SCR_AIGroup | group | ||
| ) |
Should be only called on the server.
| [in] | controlledEntity | |
| [in] | group |
Definition at line 1141 of file SCR_PlayerControllerGroupComponent.c.
| bool CanInvitePlayer | ( | int | playerID | ) |
| [in] | playerID |
Definition at line 271 of file SCR_PlayerControllerGroupComponent.c.
| bool CanPlayerJoinGroup | ( | int | playerID, |
| notnull SCR_AIGroup | group | ||
| ) |
| [in] | playerID | |
| [in] | group |
Definition at line 119 of file SCR_PlayerControllerGroupComponent.c.
| void ClearAllRequesters | ( | RplId | groupID | ) |
| [in] | groupID |
Definition at line 97 of file SCR_PlayerControllerGroupComponent.c.
| void CreateAndJoinGroup | ( | Faction | faction | ) |
| [in] | faction |
Definition at line 1361 of file SCR_PlayerControllerGroupComponent.c.
| int GetActualGroupFrequency | ( | ) |
Definition at line 1280 of file SCR_PlayerControllerGroupComponent.c.
| int GetGroupID | ( | ) |
Definition at line 48 of file SCR_PlayerControllerGroupComponent.c.
| int GetGroupInviteFromPlayerID | ( | ) |
Definition at line 756 of file SCR_PlayerControllerGroupComponent.c.
| string GetGroupInviteFromPlayerName | ( | ) |
Definition at line 763 of file SCR_PlayerControllerGroupComponent.c.
| int GetGroupInviteID | ( | ) |
Definition at line 742 of file SCR_PlayerControllerGroupComponent.c.
| ScriptInvoker GetOnGroupChanged | ( | ) |
Definition at line 722 of file SCR_PlayerControllerGroupComponent.c.
| ScriptInvoker GetOnInviteAccepted | ( | ) |
Definition at line 712 of file SCR_PlayerControllerGroupComponent.c.
| ScriptInvoker GetOnInviteCancelled | ( | ) |
Definition at line 732 of file SCR_PlayerControllerGroupComponent.c.
| ScriptInvoker GetOnInviteReceived | ( | ) |
Definition at line 401 of file SCR_PlayerControllerGroupComponent.c.
| int GetPlayerID | ( | ) |
Definition at line 105 of file SCR_PlayerControllerGroupComponent.c.
| SCR_AIGroup GetPlayersGroup | ( | ) |
Definition at line 1269 of file SCR_PlayerControllerGroupComponent.c.
| int GetSelectedGroupID | ( | ) |
Definition at line 705 of file SCR_PlayerControllerGroupComponent.c.
| bool InitiateComponents | ( | int | playerID, |
| out SCR_GroupsManagerComponent | groupsManager, | ||
| out SCR_PlayerControllerGroupComponent | playerGroupController, | ||
| out SCR_AIGroup | group | ||
| ) |
| [in] | playerID | |
| [out] | groupsManager | |
| [out] | playerGroupController | |
| [out] | group |
Definition at line 687 of file SCR_PlayerControllerGroupComponent.c.
| void InvitePlayer | ( | int | playerID | ) |
| [in] | playerID |
Definition at line 340 of file SCR_PlayerControllerGroupComponent.c.
| [in] | groupID | |
| [in] | fromPlayerID |
Definition at line 371 of file SCR_PlayerControllerGroupComponent.c.
| bool IsAICharacterInAnyGroup | ( | SCR_ChimeraCharacter | character, |
| SCR_Faction | faction | ||
| ) |
| [in] | character | |
| [in] | faction |
Definition at line 1078 of file SCR_PlayerControllerGroupComponent.c.
| bool IsPlayerLeader | ( | int | playerID, |
| notnull SCR_AIGroup | group | ||
| ) |
| [in] | playerID | |
| [in] | group |
Definition at line 240 of file SCR_PlayerControllerGroupComponent.c.
| bool IsPlayerLeaderOwnGroup | ( | ) |
Definition at line 248 of file SCR_PlayerControllerGroupComponent.c.
| void ListGroupsFromFaction | ( | Faction | faction | ) |
| [in] | faction |
Definition at line 1342 of file SCR_PlayerControllerGroupComponent.c.
| protected void OnGroupChangedDelayed | ( | int | groupId | ) |
Definition at line 648 of file SCR_PlayerControllerGroupComponent.c.
| void OnGroupDeleted | ( | SCR_AIGroup | group | ) |
| [in] | group |
Definition at line 411 of file SCR_PlayerControllerGroupComponent.c.
| void PlayerRequestToJoinPrivateGroup | ( | int | playerID, |
| RplId | groupID | ||
| ) |
| [in] | playerID | |
| [in] | groupID |
Definition at line 89 of file SCR_PlayerControllerGroupComponent.c.
| void RemoveAiFromSlaveGroup | ( | notnull IEntity | controlledEntity, |
| SCR_AIGroup | group | ||
| ) |
Should be only called on the server.
| [in] | controlledEntity | |
| [in] | group |
Definition at line 1199 of file SCR_PlayerControllerGroupComponent.c.
| void RequestAddAIAgent | ( | SCR_ChimeraCharacter | character, |
| int | playerID | ||
| ) |
| [in] | character | |
| [in] | playerID |
Definition at line 1101 of file SCR_PlayerControllerGroupComponent.c.
| void RequestCreateGroup | ( | ) |
Definition at line 55 of file SCR_PlayerControllerGroupComponent.c.
| void RequestCreateSlaveGroup | ( | RplId | rplCompID | ) |
| [in] | rplCompID |
Definition at line 1039 of file SCR_PlayerControllerGroupComponent.c.
| void RequestJoinGroup | ( | int | groupID | ) |
| [in] | groupID |
Definition at line 624 of file SCR_PlayerControllerGroupComponent.c.
| void RequestKickPlayer | ( | int | playerID | ) |
| [in] | playerID |
Definition at line 63 of file SCR_PlayerControllerGroupComponent.c.
| void RequestPrivateGroupChange | ( | int | playerID, |
| bool | isPrivate | ||
| ) |
| [in] | playerID | |
| [in] | isPrivate |
Definition at line 80 of file SCR_PlayerControllerGroupComponent.c.
| void RequestPromoteLeader | ( | int | playerID | ) |
| [in] | playerID |
Definition at line 71 of file SCR_PlayerControllerGroupComponent.c.
| void RequestRemoveAgent | ( | SCR_ChimeraCharacter | character, |
| int | playerID | ||
| ) |
| [in] | character | |
| [in] | playerID |
Definition at line 1231 of file SCR_PlayerControllerGroupComponent.c.
| void RequestSetCanPlayersChangeAttributes | ( | bool | isAllowed | ) |
| [in] | isAllowed |
Definition at line 881 of file SCR_PlayerControllerGroupComponent.c.
Sets custom frequency (KHz) for a group. Can set frequency that is already claimed. Claims set frequency if not already claimed. Frequency set by this method will not be used by automatically created groups.
| [in] | groupID | |
| [in] | frequency |
Definition at line 850 of file SCR_PlayerControllerGroupComponent.c.
| void RequestSetCustomGroupDescription | ( | int | groupID, |
| string | desc | ||
| ) |
| [in] | groupID | |
| [in] | desc |
Definition at line 779 of file SCR_PlayerControllerGroupComponent.c.
| void RequestSetCustomGroupName | ( | int | groupID, |
| string | name | ||
| ) |
| [in] | groupID | |
| [in] | name |
Definition at line 894 of file SCR_PlayerControllerGroupComponent.c.
| [in] | groupID | |
| [in] | flagIndex | |
| [in] | isFromImageset |
Definition at line 994 of file SCR_PlayerControllerGroupComponent.c.
| [in] | groupID | |
| [in] | maxMembers |
Definition at line 807 of file SCR_PlayerControllerGroupComponent.c.
| void RequestSetNewGroupsAllowed | ( | bool | isAllowed | ) |
| [in] | isAllowed |
Definition at line 869 of file SCR_PlayerControllerGroupComponent.c.
| void RPC_AskAddAIAgent | ( | RplId | characterID, |
| int | playerID | ||
| ) |
| [in] | characterID | |
| [in] | playerID |
Definition at line 1115 of file SCR_PlayerControllerGroupComponent.c.
| void RPC_AskCreateGroup | ( | ) |
Definition at line 524 of file SCR_PlayerControllerGroupComponent.c.
| void RPC_AskCreateSlaveGroup | ( | RplId | rplCompID | ) |
| [in] | rplCompID |
Definition at line 1048 of file SCR_PlayerControllerGroupComponent.c.
| void RPC_AskInvitePlayer | ( | int | playerID | ) |
| [in] | playerID |
Definition at line 508 of file SCR_PlayerControllerGroupComponent.c.
| void RPC_AskJoinGroup | ( | int | groupID | ) |
| [in] | groupID |
Definition at line 657 of file SCR_PlayerControllerGroupComponent.c.
| void RPC_AskKickPlayer | ( | int | playerID | ) |
| [in] | playerID |
Definition at line 566 of file SCR_PlayerControllerGroupComponent.c.
| void RPC_AskPromoteLeader | ( | int | playerID | ) |
| [in] | playerID |
Definition at line 591 of file SCR_PlayerControllerGroupComponent.c.
| void RPC_AskRemoveAIAgent | ( | RplId | characterID, |
| int | playerID | ||
| ) |
| [in] | characterID | |
| [in] | playerID |
Definition at line 1173 of file SCR_PlayerControllerGroupComponent.c.
| void RPC_AskSetCanPlayersChangeAttributes | ( | bool | isAllowed | ) |
| [in] | isAllowed |
Definition at line 935 of file SCR_PlayerControllerGroupComponent.c.
| [in] | groupID | |
| [in] | desc | |
| [in] | authorID |
Definition at line 790 of file SCR_PlayerControllerGroupComponent.c.
| [in] | groupID | |
| [in] | name | |
| [in] | authorID |
Definition at line 905 of file SCR_PlayerControllerGroupComponent.c.
| [in] | groupID | |
| [in] | frequency |
Definition at line 949 of file SCR_PlayerControllerGroupComponent.c.
| [in] | groupID | |
| [in] | flagIndex | |
| [in] | isFromImageset |
Definition at line 1005 of file SCR_PlayerControllerGroupComponent.c.
| [in] | groupID | |
| [in] | maxMembers |
Definition at line 828 of file SCR_PlayerControllerGroupComponent.c.
| void RPC_AskSetNewGroupsAllowed | ( | bool | isAllowed | ) |
| [in] | isAllowed |
Definition at line 922 of file SCR_PlayerControllerGroupComponent.c.
| [in] | playerID | |
| [in] | groupID |
Definition at line 469 of file SCR_PlayerControllerGroupComponent.c.
| void RPC_ChangePrivateGroup | ( | int | playerID, |
| bool | isPrivate | ||
| ) |
| [in] | playerID | |
| [in] | isPrivate |
Definition at line 610 of file SCR_PlayerControllerGroupComponent.c.
| void RPC_ClearAllRequesters | ( | RplId | groupID | ) |
| [in] | groupID |
Definition at line 1022 of file SCR_PlayerControllerGroupComponent.c.
| [in] | playerID | |
| [in] | groupID |
Definition at line 441 of file SCR_PlayerControllerGroupComponent.c.
| void RPC_DoChangeGroupID | ( | int | groupID | ) |
| [in] | groupID |
Definition at line 633 of file SCR_PlayerControllerGroupComponent.c.
| [in] | groupID | |
| [in] | fromPlayerID |
Definition at line 490 of file SCR_PlayerControllerGroupComponent.c.
| void RPC_PlayerRequestToJoinPrivateGroup | ( | int | playerID, |
| RplId | groupID | ||
| ) |
| [in] | playerID | |
| [in] | groupID |
Definition at line 426 of file SCR_PlayerControllerGroupComponent.c.
| void SetGroupInviteID | ( | int | value | ) |
| [in] | value |
Definition at line 749 of file SCR_PlayerControllerGroupComponent.c.
| void SetSelectedGroupID | ( | int | groupID | ) |
| [in] | groupID |
Definition at line 770 of file SCR_PlayerControllerGroupComponent.c.
| bool WasAlreadyInvited | ( | int | playerID | ) |
| [in] | playerID |
Definition at line 302 of file SCR_PlayerControllerGroupComponent.c.
| const protected ref Color DEFAULT_COLOR = new Color(0, 0, 0, 0.4) |
Definition at line 21 of file SCR_PlayerControllerGroupComponent.c.
| SCR_PlayerControllerGroupComponentClass m_iGroupID = -1 |
| protected int m_iGroupInviteFromPlayerID = -1 |
Definition at line 18 of file SCR_PlayerControllerGroupComponent.c.
| protected int m_iGroupInviteID = -1 |
Definition at line 17 of file SCR_PlayerControllerGroupComponent.c.
| protected int m_iUISelectedGroupID = -1 |
Definition at line 16 of file SCR_PlayerControllerGroupComponent.c.
Definition at line 10 of file SCR_PlayerControllerGroupComponent.c.
| protected ref ScriptInvoker<int> m_OnGroupChanged |
Definition at line 14 of file SCR_PlayerControllerGroupComponent.c.
| protected ref ScriptInvoker<int> m_OnInviteAccepted |
Definition at line 12 of file SCR_PlayerControllerGroupComponent.c.
| protected ref ScriptInvoker<int> m_OnInviteCancelled |
Definition at line 13 of file SCR_PlayerControllerGroupComponent.c.
Definition at line 11 of file SCR_PlayerControllerGroupComponent.c.
| protected string m_sGroupInviteFromPlayerName |
Definition at line 19 of file SCR_PlayerControllerGroupComponent.c.