Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_GroupsManagerComponent.c File Reference

Go to the source code of this file.

Classes

class  SCR_GroupsManagerComponentClass

Typedefs

typedef set< FactionFactionHolder

Functions

SCR_GroupsManagerComponentClass SCR_BaseGameModeComponentClass Attribute ()] protected ResourceName m_sDefaultGroupPrefab
void GetGroupFlags (notnull array< ResourceName > targetArray)
bool IsGroupLeaderVolunteeringAllowed ()
ScriptInvoker GetOnPlayableGroupCreated ()
bool IsProxy ()
int MovePlayerToGroup (int playerID, int previousGroupID, int newGroupID)
void ClearRequests (int groupID, int playerID)
int AddPlayerToGroup (int groupID, int playerID)
void AddDisconnectedPlayer (int playerID, int groupID)
void CreatePredefinedGroups ()
 Setup preset groups once.
void SetGroupLeader (int groupID, int playerID)
void SetNewGroupsAllowed (bool isAllowed)
 called on server only
void RPC_DoSetNewGroupsAllowed (bool isAllowed)
void SetCanPlayersChangeAttributes (bool isAllowed)
 called on server only
void RPC_SetCanPlayersChangeAttributes (bool isAllowed)
void SetPrivateGroup (int groupID, bool isPrivate)
SCR_AIGroup FindGroup (int groupID)
ScriptInvoker GetOnPlayableGroupRemoved ()
ScriptInvoker GetOnNewGroupsAllowedChanged ()
ScriptInvoker GetOnCanPlayersChangeAttributeChanged ()
SCR_AIGroup GetPlayerGroup (int playerID)
bool IsPlayerInAnyGroup (int playerID)
array< SCR_AIGroupGetPlayableGroupsByFaction (Faction faction)
array< SCR_AIGroupGetSortedPlayableGroupsByFaction (Faction faction)
void GetAllPlayableGroups (out array< SCR_AIGroup > outAllGroups)
SCR_ECharacterRank GetRequiredRank (SCR_EGroupRole groupRole, notnull SCR_Faction faction)
array< SCR_EGroupRoleGetConfiguredGroupRoles (notnull Faction faction, bool creatableByPlayerFilter=false)
array< SCR_EGroupRoleGetAvailableGroupRoles (notnull Faction faction, int playerId)
bool CanCreateGroupWithLocalPlayerRank (SCR_EGroupRole groupRole, notnull Faction faction)
bool AreAllGroupsMajorityFull (SCR_EGroupRole groupRole, notnull Faction faction)
void AssignGroupFrequency (notnull SCR_AIGroup group)
void DeleteGroupDelayed (SCR_AIGroup group)
void OnGroupPlayerRemoved (SCR_AIGroup group, int playerID)
void OnGroupPlayerAdded (SCR_AIGroup group, int playerID)
bool HasPlayerRequiredRank (SCR_GroupRolePresetConfig preset, int playerId, bool ignoreGroupRequiredRank)
SCR_GroupRolePresetConfig FindGroupRolePresetConfig (notnull Faction faction, SCR_EGroupRole role)
void RejoinPlayer (int playerID, notnull SCR_Faction faction)
void OnGroupCreated (SCR_AIGroup group)
 Called on clients (proxies) to notice a playable group has been created.
SCR_AIGroup FindGroupInFaction (SCR_EGroupRole role, notnull Faction faction)
SCR_AIGroup TryFindEmptyGroup (notnull Faction faction)
SCR_AIGroup CreateNewPlayableGroup (Faction faction, SCR_EGroupRole groupRole=SCR_EGroupRole.NONE)
SCR_AIGroup GetFirstNotFullForFaction (notnull Faction faction, SCR_AIGroup ownGroup=null, bool respectPrivate=false)
bool CanCreateNewGroup (notnull Faction newGroupFaction)
bool CanPlayersChangeAttributes ()
int GetFreeFrequency (Faction frequencyFaction)
void ClaimFrequency (int frequency, Faction faction)
bool IsFrequencyClaimed (int frequency, Faction faction)
void ReleaseFrequency (int frequency, Faction faction)
void RequestSetGroupSlave (RplId compID, RplId slaveID)
void RpcWrapper (RplId compID, RplId slaveID)
void RPC_DoSetGroupSlave (RplId masterGroupID, RplId slaveGroupID)
void RPC_DoRemoveAIMemberFromGroup (RplId groupRplCompID, RplId aiCharacterComponentID)
void GetAIMembers (RplId groupRplCompID, RplId aiCharacterComponentID, out array< SCR_ChimeraCharacter > members, out SCR_ChimeraCharacter AIMember)
void AskRemoveAiMemberFromGroup (RplId groupRplCompID, RplId aiCharacterComponentID)
void AskAddAiMemberToGroup (RplId groupRplCompID, RplId aiCharacterComponentID)
void RPC_DoAddAIMemberToGroup (RplId groupRplCompID, RplId aiCharacterComponentID)
void OnAIMemberRemoved (SCR_AIGroup group, AIAgent agent)
bool GetConfirmedByPlayer ()
bool IsGroupMenuAllowed ()
bool GetNewGroupsAllowed ()
void SetConfirmedByPlayer (bool isConfirmed)
void DeleteGroups ()
void TunePlayersFrequency (int playerId, IEntity player)
override void OnPlayerRegistered (int playerId)
override void OnPlayerDisconnected (int playerId, KickCauseCode cause, int timeout)
override void OnPostInit (IEntity owner)
 Editable Mine.
override void EOnInit (IEntity owner)
void SCR_GroupsManagerComponent (IEntityComponentSource src, IEntity ent, IEntity parent)
void ~SCR_GroupsManagerComponent ()

Variables

int m_iPlayableGroupFrequencyOffset
int m_iPlayableGroupFrequencyMin
int m_iPlayableGroupFrequencyMax
bool m_bTuneAgentsRadioToGroupFrequency
bool m_bTunePlayersRadioToGroupFrequency
bool m_bAllowGroupMenu
bool m_bAllowRejoinPlayerAfterReconnecting
bool m_bAllowGroupLeaderVolunteering
int m_iFreeGroupAmountBeforeRestriction
bool m_bConfirmedByPlayer
bool m_bNewGroupsAllowed = true
bool m_bCanPlayersChangeAttributes = true
ref ScriptInvoker m_OnPlayableGroupCreated = new ScriptInvoker()
ref ScriptInvoker m_OnPlayableGroupRemoved = new ScriptInvoker()
ref ScriptInvoker m_OnNewGroupsAllowedChanged = new ScriptInvoker()
ref ScriptInvoker m_OnCanPlayersChangeAttributeChanged = new ScriptInvoker()
int m_iLatestGroupID = 1000
ref map< Faction, ref array< SCR_AIGroup > > m_mPlayableGroups = new map<Faction, ref array<SCR_AIGroup>>()
ref map< Faction, intm_mPlayableGroupFrequencies = new map<Faction, int>()
ref map< int, ref FactionHolderm_mUsedFrequenciesMap = new map<int, ref FactionHolder>()
ref array< SCR_AIGroupm_aDeletionQueue = {}
int m_iMovingPlayerToGroupID = -1
ref map< int, intm_mDisconnectedPlayerIDs = new map<int, int>()
 <playerID, groupID>

Typedef Documentation

◆ FactionHolder

typedef set<Faction> FactionHolder

Definition at line 1 of file SCR_GroupsManagerComponent.c.

Function Documentation

◆ AddDisconnectedPlayer()

void AddDisconnectedPlayer ( int playerID,
int groupID )
protected

Add a disconnected player to be able to rejoin the group when he reconnects

Parameters
[in]playerID
[in]groupID

Definition at line 186 of file SCR_GroupsManagerComponent.c.

◆ AddPlayerToGroup()

int AddPlayerToGroup ( int groupID,
int playerID )
protected
Parameters
[in]groupID
[in]playerID
Returns

Definition at line 169 of file SCR_GroupsManagerComponent.c.

◆ AreAllGroupsMajorityFull()

bool AreAllGroupsMajorityFull ( SCR_EGroupRole groupRole,
notnull Faction faction )
protected
Parameters
[in]groupRole
[in]faction
Returns

Definition at line 689 of file SCR_GroupsManagerComponent.c.

◆ AskAddAiMemberToGroup()

void AskAddAiMemberToGroup ( RplId groupRplCompID,
RplId aiCharacterComponentID )
protected
Parameters
[in]groupRplCompID
[in]aiCharacterComponentID

Definition at line 1567 of file SCR_GroupsManagerComponent.c.

◆ AskRemoveAiMemberFromGroup()

void AskRemoveAiMemberFromGroup ( RplId groupRplCompID,
RplId aiCharacterComponentID )
protected
Parameters
[in]groupRplCompID
[in]aiCharacterComponentID

Definition at line 1557 of file SCR_GroupsManagerComponent.c.

◆ AssignGroupFrequency()

void AssignGroupFrequency ( notnull SCR_AIGroup group)
protected

Definition at line 705 of file SCR_GroupsManagerComponent.c.

◆ CanCreateGroupWithLocalPlayerRank()

bool CanCreateGroupWithLocalPlayerRank ( SCR_EGroupRole groupRole,
notnull Faction faction )
protected
Parameters
[in]groupRole
[in]faction
Returns

Definition at line 660 of file SCR_GroupsManagerComponent.c.

◆ CanCreateNewGroup()

bool CanCreateNewGroup ( notnull Faction newGroupFaction)
protected
Parameters
[in]newGroupFaction
Returns

Definition at line 1319 of file SCR_GroupsManagerComponent.c.

◆ CanPlayersChangeAttributes()

bool CanPlayersChangeAttributes ( )
protected
Returns

Definition at line 1357 of file SCR_GroupsManagerComponent.c.

◆ ClaimFrequency()

void ClaimFrequency ( int frequency,
Faction faction )
protected
Parameters
[in]frequency
[in]faction

Definition at line 1405 of file SCR_GroupsManagerComponent.c.

◆ ClearRequests()

void ClearRequests ( int groupID,
int playerID )
protected
Parameters
[in]groupID
[in]playerID

Definition at line 140 of file SCR_GroupsManagerComponent.c.

◆ CreateNewPlayableGroup()

SCR_AIGroup CreateNewPlayableGroup ( Faction faction,
SCR_EGroupRole groupRole = SCR_EGroupRole.NONE )
protected
Parameters
[in]faction
[in]groupRole
Returns

Definition at line 1228 of file SCR_GroupsManagerComponent.c.

◆ CreatePredefinedGroups()

void CreatePredefinedGroups ( )
protected

Setup preset groups once.

Definition at line 193 of file SCR_GroupsManagerComponent.c.

◆ DeleteGroupDelayed()

void DeleteGroupDelayed ( SCR_AIGroup group)
protected
Parameters
[in]group

Definition at line 721 of file SCR_GroupsManagerComponent.c.

◆ DeleteGroups()

void DeleteGroups ( )
protected

Definition at line 1647 of file SCR_GroupsManagerComponent.c.

◆ FindGroup()

SCR_AIGroup FindGroup ( int groupID)
protected
Parameters
[in]groupID
Returns

Definition at line 358 of file SCR_GroupsManagerComponent.c.

◆ FindGroupInFaction()

SCR_AIGroup FindGroupInFaction ( SCR_EGroupRole role,
notnull Faction faction )
protected

Finds the first instance of group with a specified role in a faction and returns it.

Parameters
[in]roleSpecified group role to be found in the faction.
[in]faction
Returns

Definition at line 1188 of file SCR_GroupsManagerComponent.c.

◆ FindGroupRolePresetConfig()

SCR_GroupRolePresetConfig FindGroupRolePresetConfig ( notnull Faction faction,
SCR_EGroupRole role )
protected

Definition at line 870 of file SCR_GroupsManagerComponent.c.

◆ GetAIMembers()

void GetAIMembers ( RplId groupRplCompID,
RplId aiCharacterComponentID,
out array< SCR_ChimeraCharacter > members,
out SCR_ChimeraCharacter AIMember )
protected
Parameters
[in]groupRplCompID
[in]aiCharacterComponentID
[out]members
[out]AIMember

Definition at line 1532 of file SCR_GroupsManagerComponent.c.

◆ GetAllPlayableGroups()

void GetAllPlayableGroups ( out array< SCR_AIGroup > outAllGroups)
protected
Parameters
[out]outAllGroups

Definition at line 530 of file SCR_GroupsManagerComponent.c.

◆ GetAvailableGroupRoles()

array< SCR_EGroupRole > GetAvailableGroupRoles ( notnull Faction faction,
int playerId )
protected
Parameters
[in]faction
[in]playerId
Returns
array of SCR_EGroupRole, available group roles

Definition at line 595 of file SCR_GroupsManagerComponent.c.

◆ GetConfiguredGroupRoles()

array< SCR_EGroupRole > GetConfiguredGroupRoles ( notnull Faction faction,
bool creatableByPlayerFilter = false )
protected
Parameters
[in]faction
[in]creatableByPlayerFilterWith this filter only returns groups that can be created by the player
Returns
group roles from config

Definition at line 570 of file SCR_GroupsManagerComponent.c.

◆ GetConfirmedByPlayer()

bool GetConfirmedByPlayer ( )
protected
Returns

Definition at line 1619 of file SCR_GroupsManagerComponent.c.

◆ GetFirstNotFullForFaction()

SCR_AIGroup GetFirstNotFullForFaction ( notnull Faction faction,
SCR_AIGroup ownGroup = null,
bool respectPrivate = false )
protected
Parameters
[in]faction
[in]ownGroup
[in]respectPrivate
Returns

Definition at line 1296 of file SCR_GroupsManagerComponent.c.

◆ GetFreeFrequency()

int GetFreeFrequency ( Faction frequencyFaction)
protected
Parameters
[in]frequencyFaction
Returns

Definition at line 1365 of file SCR_GroupsManagerComponent.c.

◆ GetGroupFlags()

void GetGroupFlags ( notnull array< ResourceName > targetArray)
protected
Parameters
[in]targetArray

Definition at line 76 of file SCR_GroupsManagerComponent.c.

◆ GetNewGroupsAllowed()

bool GetNewGroupsAllowed ( )
protected
Returns

Definition at line 1633 of file SCR_GroupsManagerComponent.c.

◆ GetOnCanPlayersChangeAttributeChanged()

ScriptInvoker GetOnCanPlayersChangeAttributeChanged ( )
protected
Returns

Definition at line 395 of file SCR_GroupsManagerComponent.c.

◆ GetOnNewGroupsAllowedChanged()

ScriptInvoker GetOnNewGroupsAllowedChanged ( )
protected
Returns

Definition at line 387 of file SCR_GroupsManagerComponent.c.

◆ GetOnPlayableGroupCreated()

ScriptInvoker GetOnPlayableGroupCreated ( )
protected
Returns

Definition at line 89 of file SCR_GroupsManagerComponent.c.

◆ GetOnPlayableGroupRemoved()

ScriptInvoker GetOnPlayableGroupRemoved ( )
protected
Returns

Definition at line 379 of file SCR_GroupsManagerComponent.c.

◆ GetPlayableGroupsByFaction()

array< SCR_AIGroup > GetPlayableGroupsByFaction ( Faction faction)
protected
Parameters
[in]faction
Returns

Definition at line 495 of file SCR_GroupsManagerComponent.c.

◆ GetPlayerGroup()

SCR_AIGroup GetPlayerGroup ( int playerID)
protected
Parameters
[in]playerID
Returns

Definition at line 405 of file SCR_GroupsManagerComponent.c.

◆ GetRequiredRank()

SCR_ECharacterRank GetRequiredRank ( SCR_EGroupRole groupRole,
notnull SCR_Faction faction )
protected
Parameters
[in]groupRole
[in]faction
Returns
Returns required character rank for given group role

Definition at line 552 of file SCR_GroupsManagerComponent.c.

◆ GetSortedPlayableGroupsByFaction()

array< SCR_AIGroup > GetSortedPlayableGroupsByFaction ( Faction faction)
protected
Parameters
[in]faction
Returns
Sorted playable group by faction, sorted by faction and groupID

Definition at line 503 of file SCR_GroupsManagerComponent.c.

◆ HasPlayerRequiredRank()

bool HasPlayerRequiredRank ( SCR_GroupRolePresetConfig preset,
int playerId,
bool ignoreGroupRequiredRank )
protected
Parameters
[in]Grouprole preset
[in]playerId
[in]ignoreGroupRequiredRank
Returns
whether player has required rank of group role preset (this is ignored if ignoreGroupRequiredRank is true) and required rank for any of the group role preset loadouts

Definition at line 819 of file SCR_GroupsManagerComponent.c.

◆ IsFrequencyClaimed()

bool IsFrequencyClaimed ( int frequency,
Faction faction )
protected
Parameters
[in]frequency
[in]faction
Returns

Definition at line 1427 of file SCR_GroupsManagerComponent.c.

◆ IsGroupLeaderVolunteeringAllowed()

bool IsGroupLeaderVolunteeringAllowed ( )
protected

Definition at line 82 of file SCR_GroupsManagerComponent.c.

◆ IsGroupMenuAllowed()

bool IsGroupMenuAllowed ( )
protected
Returns

Definition at line 1626 of file SCR_GroupsManagerComponent.c.

◆ IsPlayerInAnyGroup()

bool IsPlayerInAnyGroup ( int playerID)
protected
Parameters
[in]playerID
Returns

Definition at line 433 of file SCR_GroupsManagerComponent.c.

◆ MovePlayerToGroup()

int MovePlayerToGroup ( int playerID,
int previousGroupID,
int newGroupID )
protected
Parameters
[in]playerID
[in]previousGroupID
[in]newGroupID
Returns

Definition at line 109 of file SCR_GroupsManagerComponent.c.

◆ OnAIMemberRemoved()

void OnAIMemberRemoved ( SCR_AIGroup group,
AIAgent agent )
protected
Parameters
[in]group
[in]agent

Definition at line 1593 of file SCR_GroupsManagerComponent.c.

◆ OnGroupCreated()

void OnGroupCreated ( SCR_AIGroup group)
protected

Called on clients (proxies) to notice a playable group has been created.

Definition at line 1178 of file SCR_GroupsManagerComponent.c.

◆ OnGroupPlayerAdded()

void OnGroupPlayerAdded ( SCR_AIGroup group,
int playerID )
protected
Parameters
[in]group
[in]playerID

Definition at line 771 of file SCR_GroupsManagerComponent.c.

◆ OnGroupPlayerRemoved()

void OnGroupPlayerRemoved ( SCR_AIGroup group,
int playerID )
protected
Parameters
[in]group
[in]playerID

Definition at line 735 of file SCR_GroupsManagerComponent.c.

◆ OnPlayerDisconnected()

override void OnPlayerDisconnected ( int playerId,
KickCauseCode cause,
int timeout )
protected

Called after a player is disconnected.

Parameters
[in]playerIdPlayerId of disconnected player.
[in]causeReason player disconnected
[in]timeoutTimeout for when players are allowed to connect again. -1 means Ban without an assigned timeout

What happens when a player disconnects.

Parameters
[in]playerIDis a unique player identifier that defines which player has disconnected.
[in]cause
[in]timeout

Definition at line 1702 of file SCR_GroupsManagerComponent.c.

◆ OnPlayerRegistered()

override void OnPlayerRegistered ( int playerId)
protected

Called on every machine after a player is registered (identity, name etc.). Always called after OnPlayerConnected.

Parameters
[in]playerIdPlayerId of registered player.

Definition at line 1690 of file SCR_GroupsManagerComponent.c.

◆ RejoinPlayer()

void RejoinPlayer ( int playerID,
notnull SCR_Faction faction )
protected

Definition at line 1143 of file SCR_GroupsManagerComponent.c.

◆ ReleaseFrequency()

void ReleaseFrequency ( int frequency,
Faction faction )
protected
Parameters
[in]frequency
[in]faction

Definition at line 1443 of file SCR_GroupsManagerComponent.c.

◆ RequestSetGroupSlave()

void RequestSetGroupSlave ( RplId compID,
RplId slaveID )
protected
Parameters
[in]compID
[in]slaveID

Definition at line 1466 of file SCR_GroupsManagerComponent.c.

◆ RPC_DoAddAIMemberToGroup()

void RPC_DoAddAIMemberToGroup ( RplId groupRplCompID,
RplId aiCharacterComponentID )
protected
Parameters
[in]groupRplCompID
[in]aiCharacterComponentID

Definition at line 1578 of file SCR_GroupsManagerComponent.c.

◆ RPC_DoRemoveAIMemberFromGroup()

void RPC_DoRemoveAIMemberFromGroup ( RplId groupRplCompID,
RplId aiCharacterComponentID )
protected
Parameters
[in]groupRplCompID
[in]aiCharacterComponentID

Definition at line 1515 of file SCR_GroupsManagerComponent.c.

◆ RPC_DoSetGroupSlave()

void RPC_DoSetGroupSlave ( RplId masterGroupID,
RplId slaveGroupID )
protected
Parameters
[in]masterGroupID
[in]slaveGroupID

Definition at line 1487 of file SCR_GroupsManagerComponent.c.

◆ RPC_DoSetNewGroupsAllowed()

void RPC_DoSetNewGroupsAllowed ( bool isAllowed)
protected
Parameters
[in]isAllowed

Definition at line 308 of file SCR_GroupsManagerComponent.c.

◆ RPC_SetCanPlayersChangeAttributes()

void RPC_SetCanPlayersChangeAttributes ( bool isAllowed)
protected
Parameters
[in]isAllowed

Definition at line 332 of file SCR_GroupsManagerComponent.c.

◆ RpcWrapper()

void RpcWrapper ( RplId compID,
RplId slaveID )
protected
Parameters
[in]compID
[in]slaveID

Definition at line 1477 of file SCR_GroupsManagerComponent.c.

◆ SCR_GroupsManagerComponent()

void SCR_GroupsManagerComponent ( IEntityComponentSource src,
IEntity ent,
IEntity parent )
protected
Parameters
[in]src
[in]ent
[in]parent

Definition at line 1747 of file SCR_GroupsManagerComponent.c.

◆ SetCanPlayersChangeAttributes()

void SetCanPlayersChangeAttributes ( bool isAllowed)
protected

called on server only

Definition at line 319 of file SCR_GroupsManagerComponent.c.

◆ SetConfirmedByPlayer()

void SetConfirmedByPlayer ( bool isConfirmed)
protected
Parameters
[in]isConfirmed

Definition at line 1640 of file SCR_GroupsManagerComponent.c.

◆ SetGroupLeader()

void SetGroupLeader ( int groupID,
int playerID )
protected
Parameters
[in]groupID
[in]playerID

Definition at line 285 of file SCR_GroupsManagerComponent.c.

◆ SetNewGroupsAllowed()

void SetNewGroupsAllowed ( bool isAllowed)
protected

called on server only

Definition at line 295 of file SCR_GroupsManagerComponent.c.

◆ SetPrivateGroup()

void SetPrivateGroup ( int groupID,
bool isPrivate )
protected
Parameters
[in]groupID
[in]isPrivate

Definition at line 345 of file SCR_GroupsManagerComponent.c.

◆ TryFindEmptyGroup()

SCR_AIGroup TryFindEmptyGroup ( notnull Faction faction)
protected
Parameters
[in]faction
Returns

Definition at line 1205 of file SCR_GroupsManagerComponent.c.

◆ TunePlayersFrequency()

void TunePlayersFrequency ( int playerId,
IEntity player )
protected
Parameters
[in]playerId
[in]player

Definition at line 1660 of file SCR_GroupsManagerComponent.c.

◆ ~SCR_GroupsManagerComponent()

void ~SCR_GroupsManagerComponent ( )
protected

Definition at line 1755 of file SCR_GroupsManagerComponent.c.

Variable Documentation

◆ m_aDeletionQueue

ref array<SCR_AIGroup> m_aDeletionQueue = {}
protected

Definition at line 63 of file SCR_GroupsManagerComponent.c.

◆ m_bAllowGroupLeaderVolunteering

bool m_bAllowGroupLeaderVolunteering
protected

Definition at line 38 of file SCR_GroupsManagerComponent.c.

◆ m_bAllowGroupMenu

bool m_bAllowGroupMenu
protected

Definition at line 32 of file SCR_GroupsManagerComponent.c.

◆ m_bAllowRejoinPlayerAfterReconnecting

bool m_bAllowRejoinPlayerAfterReconnecting
protected

Definition at line 35 of file SCR_GroupsManagerComponent.c.

◆ m_bCanPlayersChangeAttributes

bool m_bCanPlayersChangeAttributes = true
protected

Definition at line 47 of file SCR_GroupsManagerComponent.c.

◆ m_bConfirmedByPlayer

bool m_bConfirmedByPlayer
protected

Definition at line 44 of file SCR_GroupsManagerComponent.c.

◆ m_bNewGroupsAllowed

bool m_bNewGroupsAllowed = true
protected

Definition at line 46 of file SCR_GroupsManagerComponent.c.

◆ m_bTuneAgentsRadioToGroupFrequency

bool m_bTuneAgentsRadioToGroupFrequency
protected

Definition at line 23 of file SCR_GroupsManagerComponent.c.

◆ m_bTunePlayersRadioToGroupFrequency

bool m_bTunePlayersRadioToGroupFrequency
protected

Definition at line 26 of file SCR_GroupsManagerComponent.c.

◆ m_iFreeGroupAmountBeforeRestriction

int m_iFreeGroupAmountBeforeRestriction
protected

Definition at line 41 of file SCR_GroupsManagerComponent.c.

◆ m_iLatestGroupID

int m_iLatestGroupID = 1000
protected

Definition at line 59 of file SCR_GroupsManagerComponent.c.

◆ m_iMovingPlayerToGroupID

int m_iMovingPlayerToGroupID = -1
protected

Definition at line 64 of file SCR_GroupsManagerComponent.c.

◆ m_iPlayableGroupFrequencyMax

int m_iPlayableGroupFrequencyMax
protected

Definition at line 20 of file SCR_GroupsManagerComponent.c.

◆ m_iPlayableGroupFrequencyMin

int m_iPlayableGroupFrequencyMin
protected

Definition at line 17 of file SCR_GroupsManagerComponent.c.

◆ m_iPlayableGroupFrequencyOffset

int m_iPlayableGroupFrequencyOffset
protected

Definition at line 14 of file SCR_GroupsManagerComponent.c.

◆ m_mDisconnectedPlayerIDs

ref map<int, int> m_mDisconnectedPlayerIDs = new map<int, int>()
protected

<playerID, groupID>

Definition at line 65 of file SCR_GroupsManagerComponent.c.

◆ m_mPlayableGroupFrequencies

ref map<Faction, int> m_mPlayableGroupFrequencies = new map<Faction, int>()
protected

Definition at line 61 of file SCR_GroupsManagerComponent.c.

◆ m_mPlayableGroups

ref map<Faction, ref array<SCR_AIGroup> > m_mPlayableGroups = new map<Faction, ref array<SCR_AIGroup>>()
protected

Definition at line 60 of file SCR_GroupsManagerComponent.c.

◆ m_mUsedFrequenciesMap

ref map<int, ref FactionHolder> m_mUsedFrequenciesMap = new map<int, ref FactionHolder>()
protected

Definition at line 62 of file SCR_GroupsManagerComponent.c.

◆ m_OnCanPlayersChangeAttributeChanged

ref ScriptInvoker m_OnCanPlayersChangeAttributeChanged = new ScriptInvoker()
protected

Definition at line 58 of file SCR_GroupsManagerComponent.c.

◆ m_OnNewGroupsAllowedChanged

ref ScriptInvoker m_OnNewGroupsAllowedChanged = new ScriptInvoker()
protected

Definition at line 57 of file SCR_GroupsManagerComponent.c.

◆ m_OnPlayableGroupCreated

ref ScriptInvoker m_OnPlayableGroupCreated = new ScriptInvoker()
protected

Definition at line 55 of file SCR_GroupsManagerComponent.c.

◆ m_OnPlayableGroupRemoved

ref ScriptInvoker m_OnPlayableGroupRemoved = new ScriptInvoker()
protected

Definition at line 56 of file SCR_GroupsManagerComponent.c.