Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_GameModeCampaign.c File Reference

Go to the source code of this file.

Data Structures

class  SCR_GameModeCampaignClass
 

Functions

SCR_GameModeCampaignClass SCR_BaseGameModeClass Attribute ("1", desc:"Run Conflict automatically at scenario start. If disabled, use RequestStart() method on server.", category:"Campaign")] protected bool m_bAutostart
 
ScriptInvoker GetOnFactionAssignedLocalPlayer ()
 Triggered when the local player picks a faction. More...
 
ScriptInvoker GetOnStarted ()
 Triggered when Conflict gamemode has started. More...
 
ScriptInvoker GetOnMatchSituationChanged ()
 Triggered when an event happened which should be communicated to players (i.e. amount of control points held etc.) More...
 
ScriptInvoker GetOnCallsignOffsetChanged ()
 
int GetSuppliesReplenishThreshold ()
 
int GetQuickSuppliesReplenishThreshold ()
 
float GetQuickSuppliesReplenishMultiplier ()
 
int GetSuppliesArrivalInterval ()
 
int GetRegularSuppliesIncome ()
 
int GetRegularSuppliesIncomeBase ()
 
int GetRegularSuppliesIncomeExtra ()
 
int GetSupplyDepotIconThreshold ()
 
SCR_CampaignMilitaryBaseManager GetBaseManager ()
 
float GetVictoryTimer ()
 
int GetControlPointTreshold ()
 
int GetMinStartingSupplies ()
 
int GetMaxStartingSupplies ()
 
int GetStartingSuppliesInterval ()
 
int GetSpawnCost ()
 
bool WasRemnantsStateLoaded ()
 
bool IsSessionLoadInProgress ()
 
ResourceName GetSeekDestroyWaypointPrefab ()
 
int GetWinningFactionId ()
 
WorldTimestamp GetVictoryTimestamp ()
 
WorldTimestamp GetVictoryPauseTimestamp ()
 
bool IsTutorial ()
 
bool GetIsMatchOver ()
 
bool HasStarted ()
 
int GetCallsignOffset ()
 
void OnMatchSituationChanged ()
 
override bool RplSave (ScriptBitWriter writer)
 
override bool RplLoad (ScriptBitReader reader)
 
void SetControlPointsHeld (SCR_CampaignFaction faction, int newCount)
 
protected void RPC_DoSetControlPointsHeld (int factionIndex, int count)
 
void SetPrimaryTarget (notnull SCR_CampaignFaction faction, SCR_CampaignMilitaryBaseComponent target)
 
protected void RPC_DoSetPrimaryTarget (int factionIndex, int targetId)
 
void BroadcastMHQFeedback (SCR_EMobileAssemblyStatus msgID, int playerID, int factionID)
 
void RpcDo_BroadcastMHQFeedback (SCR_EMobileAssemblyStatus msgID, int playerID, int factionID)
 
void RequestStart ()
 
protected void Start ()
 
void OnStarted ()
 
void OnCallsignOffsetChanged ()
 
protected void DisableExtraSpawnpoint (SCR_SpawnPoint spawnpoint)
 
protected void CheckForWinner ()
 Find out if any faction has won and it's time to end the match. More...
 
protected void RPC_DoEndMatch (int winningFactionId)
 
override void OnWorldPostProcess (World world)
 
FactionKey GetFactionKeyByEnum (SCR_ECampaignFaction faction)
 
SCR_CampaignFaction GetFactionByEnum (SCR_ECampaignFaction faction)
 
bool IsProxy ()
 
bool CanRequestVehicleWithoutRank ()
 Getter for "Rank required" parameter for spawning vehicles. More...
 
void StoreLoadedData (notnull SCR_CampaignStruct struct)
 Handle the loaded struct; we want to apply it after gamemode has initialized. More...
 
protected void ApplyLoadedData ()
 
protected void EndSessionLoadProgress ()
 
void StoreRemnantsStates (out notnull array< ref SCR_CampaignRemnantInfoStruct > outEntries)
 
void LoadRemnantsStates (notnull array< ref SCR_CampaignRemnantInfoStruct > entries)
 
void OnStructureBuilt (SCR_CampaignMilitaryBaseComponent base, SCR_EditableEntityComponent entity, bool add)
 
void SetIsTutorial (bool isTutorial)
 
protected void ApplyClientData (int playerId)
 
void LoadClientData (notnull array< ref SCR_CampaignPlayerStruct > data)
 
void WriteAllClientsData ()
 
protected void WriteClientData (int playerID, bool disconnecting=false, PlayerController pc=null)
 Save object with player's current data. More...
 
void SpawnMobileHQ (notnull SCR_CampaignFaction faction, vector pos, vector rot)
 
int GetClientsData (notnull out array< ref SCR_CampaignClientData > dataArray)
 
SCR_CampaignClientData GetClientData (int playerId)
 Get corresponding client data, create new object if not found. More...
 
protected void OnAmbientVehicleSpawned (SCR_AmbientVehicleSpawnPointComponent spawnpoint, Vehicle vehicle)
 
protected void OnRankChanged (SCR_ECharacterRank oldRank, SCR_ECharacterRank newRank, notnull IEntity owner, bool silent)
 
override void OnPlayerRegistered (int playerId)
 Register provided client's respawn timer. More...
 
override void OnPlayerAuditSuccess (int iPlayerID)
 
override void OnPlayerDisconnected (int playerId, KickCauseCode cause, int timeout)
 
override bool CanPlayerSpawn_S (SCR_SpawnRequestComponent requestComponent, SCR_SpawnHandlerComponent handlerComponent, SCR_SpawnData data, out SCR_ESpawnResult result=SCR_ESpawnResult.SPAWN_NOT_ALLOWED)
 
override void OnPlayerSpawnFinalize_S (SCR_SpawnRequestComponent requestComponent, SCR_SpawnHandlerComponent handlerComponent, SCR_SpawnData data, IEntity entity)
 
override void OnPlayerSpawnOnPoint_S (SCR_SpawnRequestComponent requestComponent, SCR_SpawnHandlerComponent handlerComponent, IEntity entity, SCR_SpawnPointSpawnData spawnPointData)
 
void OnSpawnPointFactionAssigned (SCR_SpawnPoint spawnpoint)
 
override void OnPlayerKilled (int playerId, IEntity playerEntity, IEntity killerEntity, notnull Instigator killer)
 
protected void UpdateRespawnPenalty (int playerId)
 Handles forgiving of post-suicide deploy timer penalties. More...
 
protected void OnSuicide (int playerId)
 
override void OnControllableDestroyed (IEntity entity, IEntity killerEntity, notnull Instigator instigator)
 Award additional XP for enemies killed in friendly bases. More...
 
protected void OnPlayerFactionResponse_S (SCR_PlayerFactionAffiliationComponent component, int factionIndex, bool response)
 
protected void OnPlayerFactionResponse_O (SCR_PlayerFactionAffiliationComponent component, int factionIndex, bool response)
 
protected void ProcessFactionAssignment (Faction assignedFaction)
 See HandleOnFactionAssigned. More...
 
void OnEntityRequested (notnull IEntity spawnedEntity, IEntity user, SCR_Faction faction, SCR_MilitaryBaseLogicComponent service)
 Called when an entity is spawned by Free Roam Building. More...
 
void SCR_GameModeCampaign (IEntitySource src, IEntity parent)
 
void ~SCR_GameModeCampaign ()
 

Variables

protected bool m_bTerminateScenario
 
protected int m_iControlPointsThreshold
 
protected float m_fVictoryTimer
 
protected int m_iSuppliesReplenishThreshold
 
protected int m_iQuickSuppliesReplenishThreshold
 
protected float m_fQuickSuppliesReplenishMultiplier
 
protected int m_iSuppliesArrivalInterval
 
protected int m_iRegularSuppliesIncome
 
protected int m_iRegularSuppliesIncomeBase
 
protected int m_iRegularSuppliesIncomeExtra
 
protected int m_iHQStartingSupplies
 
protected int m_iMinStartingSupplies
 
protected int m_iMaxStartingSupplies
 
protected int m_iStartingSuppliesInterval
 
protected FactionKey m_sBLUFORFactionKey
 
protected FactionKey m_sOPFORFactionKey
 
protected FactionKey m_sINDFORFactionKey
 
protected bool m_bRandomizeSupplies
 
protected int m_iSpawnCost
 
protected int m_iSupplyDepotIconThreshold
 
protected ResourceName m_sSeekDestroyWaypointPrefab
 
protected int m_iSuicidePenaltyCooldown
 
protected int m_iSuicideRespawnDelay
 
protected int m_iSuicideForgiveCooldown
 
protected ref ScriptInvoker m_OnFactionAssignedLocalPlayer
 
protected ref ScriptInvoker m_OnStarted
 
protected ref ScriptInvoker m_OnMatchSituationChanged
 
protected ref ScriptInvoker m_OnCallsignOffsetChanged
 
protected ref map< int, Factionm_mUnprocessedFactionAssignments = new map<int, Faction>()
 
protected ref array< SCR_PlayerRadioSpawnPointCampaign > m_aRadioSpawnPoints = {}
 
protected ref array< ref SCR_CampaignClientDatam_aRegisteredClients = {}
 
protected bool m_bIgnoreMinimumVehicleRank
 
protected bool m_bIsTutorial
 
protected bool m_bMatchOver
 
protected bool m_bWorldPostProcessDone
 
protected bool m_bRemnantsStateLoaded
 
protected bool m_bIsSessionLoadInProgress
 
protected ref SCR_CampaignMilitaryBaseManager m_BaseManager = new SCR_CampaignMilitaryBaseManager(this)
 
protected SCR_CampaignStruct m_LoadedData
 
protected bool m_bStarted
 
protected WorldTimestamp m_fVictoryTimestamp
 
protected WorldTimestamp m_fVictoryPauseTimestamp
 
protected int m_iWinningFactionId = SCR_CampaignMilitaryBaseComponent.INVALID_FACTION_INDEX
 
protected int m_iCallsignOffset = SCR_MilitaryBaseComponent.INVALID_BASE_CALLSIGN
 

Function Documentation

◆ ApplyClientData()

protected void ApplyClientData ( int  playerId)

Definition at line 968 of file SCR_GameModeCampaign.c.

◆ ApplyLoadedData()

protected void ApplyLoadedData ( )

Definition at line 815 of file SCR_GameModeCampaign.c.

◆ Attribute()

SCR_GameModeCampaignClass SCR_BaseGameModeClass Attribute ( "1"  ,
desc:"Run Conflict automatically at scenario start. If  disabled,
use RequestStart() method on server."  ,
category:"Campaign"   
)

◆ BroadcastMHQFeedback()

void BroadcastMHQFeedback ( SCR_EMobileAssemblyStatus  msgID,
int  playerID,
int  factionID 
)

Definition at line 433 of file SCR_GameModeCampaign.c.

◆ CanPlayerSpawn_S()

override bool CanPlayerSpawn_S ( SCR_SpawnRequestComponent  requestComponent,
SCR_SpawnHandlerComponent  handlerComponent,
SCR_SpawnData  data,
out SCR_ESpawnResult  result = SCR_ESpawnResult.SPAWN_NOT_ALLOWED 
)

Definition at line 1320 of file SCR_GameModeCampaign.c.

◆ CanRequestVehicleWithoutRank()

bool CanRequestVehicleWithoutRank ( )

Getter for "Rank required" parameter for spawning vehicles.

Definition at line 797 of file SCR_GameModeCampaign.c.

◆ CheckForWinner()

protected void CheckForWinner ( )

Find out if any faction has won and it's time to end the match.

Definition at line 631 of file SCR_GameModeCampaign.c.

◆ DisableExtraSpawnpoint()

protected void DisableExtraSpawnpoint ( SCR_SpawnPoint  spawnpoint)

Definition at line 621 of file SCR_GameModeCampaign.c.

◆ EndSessionLoadProgress()

protected void EndSessionLoadProgress ( )

Definition at line 884 of file SCR_GameModeCampaign.c.

◆ GetBaseManager()

SCR_CampaignMilitaryBaseManager GetBaseManager ( )

Definition at line 214 of file SCR_GameModeCampaign.c.

◆ GetCallsignOffset()

int GetCallsignOffset ( )

Definition at line 310 of file SCR_GameModeCampaign.c.

◆ GetClientData()

SCR_CampaignClientData GetClientData ( int  playerId)

Get corresponding client data, create new object if not found.

Definition at line 1145 of file SCR_GameModeCampaign.c.

◆ GetClientsData()

int GetClientsData ( notnull out array< ref SCR_CampaignClientData dataArray)

Definition at line 1130 of file SCR_GameModeCampaign.c.

◆ GetControlPointTreshold()

int GetControlPointTreshold ( )

Definition at line 226 of file SCR_GameModeCampaign.c.

◆ GetFactionByEnum()

SCR_CampaignFaction GetFactionByEnum ( SCR_ECampaignFaction  faction)

Definition at line 778 of file SCR_GameModeCampaign.c.

◆ GetFactionKeyByEnum()

FactionKey GetFactionKeyByEnum ( SCR_ECampaignFaction  faction)

Definition at line 754 of file SCR_GameModeCampaign.c.

◆ GetIsMatchOver()

bool GetIsMatchOver ( )

Definition at line 298 of file SCR_GameModeCampaign.c.

◆ GetMaxStartingSupplies()

int GetMaxStartingSupplies ( )

Definition at line 238 of file SCR_GameModeCampaign.c.

◆ GetMinStartingSupplies()

int GetMinStartingSupplies ( )

Definition at line 232 of file SCR_GameModeCampaign.c.

◆ GetOnCallsignOffsetChanged()

ScriptInvoker GetOnCallsignOffsetChanged ( )

Definition at line 157 of file SCR_GameModeCampaign.c.

◆ GetOnFactionAssignedLocalPlayer()

ScriptInvoker GetOnFactionAssignedLocalPlayer ( )

Triggered when the local player picks a faction.

Definition at line 128 of file SCR_GameModeCampaign.c.

◆ GetOnMatchSituationChanged()

ScriptInvoker GetOnMatchSituationChanged ( )

Triggered when an event happened which should be communicated to players (i.e. amount of control points held etc.)

Definition at line 148 of file SCR_GameModeCampaign.c.

◆ GetOnStarted()

ScriptInvoker GetOnStarted ( )

Triggered when Conflict gamemode has started.

Definition at line 138 of file SCR_GameModeCampaign.c.

◆ GetQuickSuppliesReplenishMultiplier()

float GetQuickSuppliesReplenishMultiplier ( )

Definition at line 178 of file SCR_GameModeCampaign.c.

◆ GetQuickSuppliesReplenishThreshold()

int GetQuickSuppliesReplenishThreshold ( )

Definition at line 172 of file SCR_GameModeCampaign.c.

◆ GetRegularSuppliesIncome()

int GetRegularSuppliesIncome ( )

Definition at line 190 of file SCR_GameModeCampaign.c.

◆ GetRegularSuppliesIncomeBase()

int GetRegularSuppliesIncomeBase ( )

Definition at line 196 of file SCR_GameModeCampaign.c.

◆ GetRegularSuppliesIncomeExtra()

int GetRegularSuppliesIncomeExtra ( )

Definition at line 202 of file SCR_GameModeCampaign.c.

◆ GetSeekDestroyWaypointPrefab()

ResourceName GetSeekDestroyWaypointPrefab ( )

Definition at line 268 of file SCR_GameModeCampaign.c.

◆ GetSpawnCost()

int GetSpawnCost ( )

Definition at line 250 of file SCR_GameModeCampaign.c.

◆ GetStartingSuppliesInterval()

int GetStartingSuppliesInterval ( )

Definition at line 244 of file SCR_GameModeCampaign.c.

◆ GetSuppliesArrivalInterval()

int GetSuppliesArrivalInterval ( )

Definition at line 184 of file SCR_GameModeCampaign.c.

◆ GetSuppliesReplenishThreshold()

int GetSuppliesReplenishThreshold ( )

Definition at line 166 of file SCR_GameModeCampaign.c.

◆ GetSupplyDepotIconThreshold()

int GetSupplyDepotIconThreshold ( )

Definition at line 208 of file SCR_GameModeCampaign.c.

◆ GetVictoryPauseTimestamp()

WorldTimestamp GetVictoryPauseTimestamp ( )

Definition at line 286 of file SCR_GameModeCampaign.c.

◆ GetVictoryTimer()

float GetVictoryTimer ( )

Definition at line 220 of file SCR_GameModeCampaign.c.

◆ GetVictoryTimestamp()

WorldTimestamp GetVictoryTimestamp ( )

Definition at line 280 of file SCR_GameModeCampaign.c.

◆ GetWinningFactionId()

int GetWinningFactionId ( )

Definition at line 274 of file SCR_GameModeCampaign.c.

◆ HasStarted()

bool HasStarted ( )

Definition at line 304 of file SCR_GameModeCampaign.c.

◆ IsProxy()

bool IsProxy ( )

Definition at line 789 of file SCR_GameModeCampaign.c.

◆ IsSessionLoadInProgress()

bool IsSessionLoadInProgress ( )

Definition at line 262 of file SCR_GameModeCampaign.c.

◆ IsTutorial()

bool IsTutorial ( )

Definition at line 292 of file SCR_GameModeCampaign.c.

◆ LoadClientData()

void LoadClientData ( notnull array< ref SCR_CampaignPlayerStruct data)

Definition at line 1019 of file SCR_GameModeCampaign.c.

◆ LoadRemnantsStates()

void LoadRemnantsStates ( notnull array< ref SCR_CampaignRemnantInfoStruct entries)

Definition at line 911 of file SCR_GameModeCampaign.c.

◆ OnAmbientVehicleSpawned()

protected void OnAmbientVehicleSpawned ( SCR_AmbientVehicleSpawnPointComponent  spawnpoint,
Vehicle  vehicle 
)

Definition at line 1178 of file SCR_GameModeCampaign.c.

◆ OnCallsignOffsetChanged()

void OnCallsignOffsetChanged ( )

Definition at line 614 of file SCR_GameModeCampaign.c.

◆ OnControllableDestroyed()

override void OnControllableDestroyed ( IEntity  entity,
IEntity  killerEntity,
notnull Instigator  killer 
)

Award additional XP for enemies killed in friendly bases.

When a controllable entity is destroyed, this event is raised. Entity is destroyed when DamageManager.OnStateChanged -> EDamageState.Destroyed

Parameters
[in]entityDestroyed entity that raised this event
[in]killerEntityInstigator entity that destroyed our victim
[in]killerInstigator of the kill

Definition at line 1640 of file SCR_GameModeCampaign.c.

◆ OnEntityRequested()

void OnEntityRequested ( notnull IEntity  spawnedEntity,
IEntity  user,
SCR_Faction  faction,
SCR_MilitaryBaseLogicComponent  service 
)

Called when an entity is spawned by Free Roam Building.

Definition at line 1770 of file SCR_GameModeCampaign.c.

◆ OnMatchSituationChanged()

void OnMatchSituationChanged ( )

Definition at line 316 of file SCR_GameModeCampaign.c.

◆ OnPlayerAuditSuccess()

override void OnPlayerAuditSuccess ( int  playerId)

Event is called when player connecting Session hosting current Game Mode where is required authentication verification via. platform services AuditSuccess() call specifically mean this verification was successful Basically audited player has access to persistency/ etc. related functionality provided by online services.

Parameters
[in]playerIdis index of player in game, equal to the one assigned at PlayerController

Definition at line 1301 of file SCR_GameModeCampaign.c.

◆ OnPlayerFactionResponse_O()

protected void OnPlayerFactionResponse_O ( SCR_PlayerFactionAffiliationComponent  component,
int  factionIndex,
bool  response 
)

Definition at line 1724 of file SCR_GameModeCampaign.c.

◆ OnPlayerFactionResponse_S()

protected void OnPlayerFactionResponse_S ( SCR_PlayerFactionAffiliationComponent  component,
int  factionIndex,
bool  response 
)

Definition at line 1693 of file SCR_GameModeCampaign.c.

◆ OnPlayerSpawnFinalize_S()

override void OnPlayerSpawnFinalize_S ( SCR_SpawnRequestComponent  requestComponent,
SCR_SpawnHandlerComponent  handlerComponent,
SCR_SpawnData  data,
IEntity  entity 
)
Parameters
[in]requestComponent
[in]handlerComponent
[in]data
[in]entity

Definition at line 1389 of file SCR_GameModeCampaign.c.

◆ OnPlayerSpawnOnPoint_S()

override void OnPlayerSpawnOnPoint_S ( SCR_SpawnRequestComponent  requestComponent,
SCR_SpawnHandlerComponent  handlerComponent,
IEntity  entity,
SCR_SpawnPointSpawnData  spawnPointData 
)

Definition at line 1405 of file SCR_GameModeCampaign.c.

◆ OnRankChanged()

protected void OnRankChanged ( SCR_ECharacterRank  oldRank,
SCR_ECharacterRank  newRank,
notnull IEntity  owner,
bool  silent 
)

Definition at line 1226 of file SCR_GameModeCampaign.c.

◆ OnSpawnPointFactionAssigned()

void OnSpawnPointFactionAssigned ( SCR_SpawnPoint  spawnpoint)

Definition at line 1481 of file SCR_GameModeCampaign.c.

◆ OnStarted()

void OnStarted ( )

Definition at line 605 of file SCR_GameModeCampaign.c.

◆ OnStructureBuilt()

void OnStructureBuilt ( SCR_CampaignMilitaryBaseComponent  base,
SCR_EditableEntityComponent  entity,
bool  add 
)

Definition at line 943 of file SCR_GameModeCampaign.c.

◆ OnSuicide()

protected void OnSuicide ( int  playerId)

Definition at line 1569 of file SCR_GameModeCampaign.c.

◆ OnWorldPostProcess()

override void OnWorldPostProcess ( World  world)

Called once loading of all entities of the world have been finished (still within the loading)

Parameters
[in]worldLoaded world

Definition at line 740 of file SCR_GameModeCampaign.c.

◆ ProcessFactionAssignment()

protected void ProcessFactionAssignment ( Faction  assignedFaction)

See HandleOnFactionAssigned.

Definition at line 1756 of file SCR_GameModeCampaign.c.

◆ RequestStart()

void RequestStart ( )

Definition at line 454 of file SCR_GameModeCampaign.c.

◆ RPC_DoEndMatch()

protected void RPC_DoEndMatch ( int  winningFactionId)

Definition at line 700 of file SCR_GameModeCampaign.c.

◆ RPC_DoSetControlPointsHeld()

protected void RPC_DoSetControlPointsHeld ( int  factionIndex,
int  count 
)

Definition at line 393 of file SCR_GameModeCampaign.c.

◆ RPC_DoSetPrimaryTarget()

protected void RPC_DoSetPrimaryTarget ( int  factionIndex,
int  targetId 
)

Definition at line 422 of file SCR_GameModeCampaign.c.

◆ RpcDo_BroadcastMHQFeedback()

void RpcDo_BroadcastMHQFeedback ( SCR_EMobileAssemblyStatus  msgID,
int  playerID,
int  factionID 
)

Definition at line 443 of file SCR_GameModeCampaign.c.

◆ RplLoad()

override bool RplLoad ( ScriptBitReader  reader)

Definition at line 344 of file SCR_GameModeCampaign.c.

◆ RplSave()

override bool RplSave ( ScriptBitWriter  writer)

Definition at line 323 of file SCR_GameModeCampaign.c.

◆ SCR_GameModeCampaign()

void SCR_GameModeCampaign ( IEntitySource  src,
IEntity  parent 
)

Definition at line 1927 of file SCR_GameModeCampaign.c.

◆ SetControlPointsHeld()

void SetControlPointsHeld ( SCR_CampaignFaction  faction,
int  newCount 
)

Definition at line 380 of file SCR_GameModeCampaign.c.

◆ SetIsTutorial()

void SetIsTutorial ( bool  isTutorial)

Definition at line 957 of file SCR_GameModeCampaign.c.

◆ SetPrimaryTarget()

void SetPrimaryTarget ( notnull SCR_CampaignFaction  faction,
SCR_CampaignMilitaryBaseComponent  target 
)

Definition at line 405 of file SCR_GameModeCampaign.c.

◆ SpawnMobileHQ()

void SpawnMobileHQ ( notnull SCR_CampaignFaction  faction,
vector  pos,
vector  rot 
)

Definition at line 1077 of file SCR_GameModeCampaign.c.

◆ Start()

protected void Start ( )

Definition at line 465 of file SCR_GameModeCampaign.c.

◆ StoreLoadedData()

void StoreLoadedData ( notnull SCR_CampaignStruct  struct)

Handle the loaded struct; we want to apply it after gamemode has initialized.

Definition at line 804 of file SCR_GameModeCampaign.c.

◆ StoreRemnantsStates()

void StoreRemnantsStates ( out notnull array< ref SCR_CampaignRemnantInfoStruct outEntries)

Definition at line 890 of file SCR_GameModeCampaign.c.

◆ UpdateRespawnPenalty()

protected void UpdateRespawnPenalty ( int  playerId)

Handles forgiving of post-suicide deploy timer penalties.

Definition at line 1523 of file SCR_GameModeCampaign.c.

◆ WasRemnantsStateLoaded()

bool WasRemnantsStateLoaded ( )

Definition at line 256 of file SCR_GameModeCampaign.c.

◆ WriteAllClientsData()

void WriteAllClientsData ( )

Definition at line 1036 of file SCR_GameModeCampaign.c.

◆ WriteClientData()

protected void WriteClientData ( int  playerID,
bool  disconnecting = false,
PlayerController  pc = null 
)

Save object with player's current data.

Definition at line 1054 of file SCR_GameModeCampaign.c.

◆ ~SCR_GameModeCampaign()

Definition at line 1979 of file SCR_GameModeCampaign.c.

Variable Documentation

◆ m_aRadioSpawnPoints

protected ref array<SCR_PlayerRadioSpawnPointCampaign> m_aRadioSpawnPoints = {}

Definition at line 97 of file SCR_GameModeCampaign.c.

◆ m_aRegisteredClients

protected ref array<ref SCR_CampaignClientData> m_aRegisteredClients = {}

Definition at line 98 of file SCR_GameModeCampaign.c.

◆ m_BaseManager

protected ref SCR_CampaignMilitaryBaseManager m_BaseManager = new SCR_CampaignMilitaryBaseManager(this)

Definition at line 107 of file SCR_GameModeCampaign.c.

◆ m_bIgnoreMinimumVehicleRank

protected bool m_bIgnoreMinimumVehicleRank

Definition at line 100 of file SCR_GameModeCampaign.c.

◆ m_bIsSessionLoadInProgress

protected bool m_bIsSessionLoadInProgress

Definition at line 105 of file SCR_GameModeCampaign.c.

◆ m_bIsTutorial

protected bool m_bIsTutorial

Definition at line 101 of file SCR_GameModeCampaign.c.

◆ m_bMatchOver

protected bool m_bMatchOver

Definition at line 102 of file SCR_GameModeCampaign.c.

◆ m_bRandomizeSupplies

protected bool m_bRandomizeSupplies

Definition at line 64 of file SCR_GameModeCampaign.c.

◆ m_bRemnantsStateLoaded

protected bool m_bRemnantsStateLoaded

Definition at line 104 of file SCR_GameModeCampaign.c.

◆ m_bStarted

protected bool m_bStarted

Definition at line 112 of file SCR_GameModeCampaign.c.

◆ m_bTerminateScenario

protected bool m_bTerminateScenario

Definition at line 13 of file SCR_GameModeCampaign.c.

◆ m_bWorldPostProcessDone

protected bool m_bWorldPostProcessDone

Definition at line 103 of file SCR_GameModeCampaign.c.

◆ m_fQuickSuppliesReplenishMultiplier

protected float m_fQuickSuppliesReplenishMultiplier

Definition at line 28 of file SCR_GameModeCampaign.c.

◆ m_fVictoryPauseTimestamp

protected WorldTimestamp m_fVictoryPauseTimestamp

Definition at line 118 of file SCR_GameModeCampaign.c.

◆ m_fVictoryTimer

protected float m_fVictoryTimer

Definition at line 19 of file SCR_GameModeCampaign.c.

◆ m_fVictoryTimestamp

protected WorldTimestamp m_fVictoryTimestamp

Definition at line 115 of file SCR_GameModeCampaign.c.

◆ m_iCallsignOffset

protected int m_iCallsignOffset = SCR_MilitaryBaseComponent.INVALID_BASE_CALLSIGN

Definition at line 124 of file SCR_GameModeCampaign.c.

◆ m_iControlPointsThreshold

protected int m_iControlPointsThreshold

Definition at line 16 of file SCR_GameModeCampaign.c.

◆ m_iHQStartingSupplies

protected int m_iHQStartingSupplies

Definition at line 43 of file SCR_GameModeCampaign.c.

◆ m_iMaxStartingSupplies

protected int m_iMaxStartingSupplies

Definition at line 49 of file SCR_GameModeCampaign.c.

◆ m_iMinStartingSupplies

protected int m_iMinStartingSupplies

Definition at line 46 of file SCR_GameModeCampaign.c.

◆ m_iQuickSuppliesReplenishThreshold

protected int m_iQuickSuppliesReplenishThreshold

Definition at line 25 of file SCR_GameModeCampaign.c.

◆ m_iRegularSuppliesIncome

protected int m_iRegularSuppliesIncome

Definition at line 34 of file SCR_GameModeCampaign.c.

◆ m_iRegularSuppliesIncomeBase

protected int m_iRegularSuppliesIncomeBase

Definition at line 37 of file SCR_GameModeCampaign.c.

◆ m_iRegularSuppliesIncomeExtra

protected int m_iRegularSuppliesIncomeExtra

Definition at line 40 of file SCR_GameModeCampaign.c.

◆ m_iSpawnCost

protected int m_iSpawnCost

Definition at line 67 of file SCR_GameModeCampaign.c.

◆ m_iStartingSuppliesInterval

protected int m_iStartingSuppliesInterval

Definition at line 52 of file SCR_GameModeCampaign.c.

◆ m_iSuicideForgiveCooldown

protected int m_iSuicideForgiveCooldown

Definition at line 82 of file SCR_GameModeCampaign.c.

◆ m_iSuicidePenaltyCooldown

protected int m_iSuicidePenaltyCooldown

Definition at line 76 of file SCR_GameModeCampaign.c.

◆ m_iSuicideRespawnDelay

protected int m_iSuicideRespawnDelay

Definition at line 79 of file SCR_GameModeCampaign.c.

◆ m_iSuppliesArrivalInterval

protected int m_iSuppliesArrivalInterval

Definition at line 31 of file SCR_GameModeCampaign.c.

◆ m_iSuppliesReplenishThreshold

protected int m_iSuppliesReplenishThreshold

Definition at line 22 of file SCR_GameModeCampaign.c.

◆ m_iSupplyDepotIconThreshold

protected int m_iSupplyDepotIconThreshold

Definition at line 70 of file SCR_GameModeCampaign.c.

◆ m_iWinningFactionId

protected int m_iWinningFactionId = SCR_CampaignMilitaryBaseComponent.INVALID_FACTION_INDEX

Definition at line 121 of file SCR_GameModeCampaign.c.

◆ m_LoadedData

protected SCR_CampaignStruct m_LoadedData

Definition at line 109 of file SCR_GameModeCampaign.c.

◆ m_mUnprocessedFactionAssignments

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

Definition at line 95 of file SCR_GameModeCampaign.c.

◆ m_OnCallsignOffsetChanged

protected ref ScriptInvoker m_OnCallsignOffsetChanged

Definition at line 93 of file SCR_GameModeCampaign.c.

◆ m_OnFactionAssignedLocalPlayer

protected ref ScriptInvoker m_OnFactionAssignedLocalPlayer

Definition at line 90 of file SCR_GameModeCampaign.c.

◆ m_OnMatchSituationChanged

protected ref ScriptInvoker m_OnMatchSituationChanged

Definition at line 92 of file SCR_GameModeCampaign.c.

◆ m_OnStarted

protected ref ScriptInvoker m_OnStarted

Definition at line 91 of file SCR_GameModeCampaign.c.

◆ m_sBLUFORFactionKey

protected FactionKey m_sBLUFORFactionKey

Definition at line 55 of file SCR_GameModeCampaign.c.

◆ m_sINDFORFactionKey

protected FactionKey m_sINDFORFactionKey

Definition at line 61 of file SCR_GameModeCampaign.c.

◆ m_sOPFORFactionKey

protected FactionKey m_sOPFORFactionKey

Definition at line 58 of file SCR_GameModeCampaign.c.

◆ m_sSeekDestroyWaypointPrefab

protected ResourceName m_sSeekDestroyWaypointPrefab

Definition at line 73 of file SCR_GameModeCampaign.c.