Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_CampaignMilitaryBaseComponent Class Reference
Inheritance diagram for SCR_CampaignMilitaryBaseComponent:

Protected Member Functions

ScriptInvokerVoid GetOnSuppliesArrivalInvoker ()
OnSupplyLimitChangedInvoker GetOnSupplyLimitChanged ()
ScriptInvokerInt GetOnSupplyRequestExecutionPriorityChanged ()
ScriptInvokerFloat GetOnReservedSupplyAmountChanged ()
ScriptInvokerBool GetOnEnemyPresenceChanged ()
IEntity GetBaseBuildingComposition ()
void SetBaseBuildingComposition (IEntity building)
bool IsResupplyTaskCreationEnabled ()
bool IsResupplyNeeded ()
float GetScarcityLevel ()
float GetSupplyLimit ()
void SetSupplyLimit (float value)
float GetReservedSupplyAmount ()
void SetReservedSupplyAmount (float value)
WorldTimestamp GetSuppliesArrivalTime ()
SCR_ESupplyRequestExecutionPriority GetSupplyRequestExecutionPriority ()
void SetSupplyRequestExecutionPriority (SCR_ESupplyRequestExecutionPriority priority)
SCR_ResourceConsumer GetResourceConsumer ()
string GetFormattedBaseNameWithCallsign (Faction faction)
bool IsValidTarget (notnull SCR_CampaignFaction faction)
void SetBuiltByPlayers (bool builtByPlayers)
bool GetBuiltByPlayers ()
void SetBuiltFaction (notnull Faction faction)
FactionKey GetBuiltFaction ()
bool AreEnemiesPresent ()
bool IsControlPoint ()
bool CanBeHQ ()
bool DisableWhenUnusedAsHQ ()
string GetLocationName ()
WorldTimestamp GetRespawnTimestamp ()
void Initialize ()
void Disable ()
void OnInitialized ()
void ApplyHeaderSettings (notnull SCR_CampaignCustomBase settings)
override void OnServiceStateChanged (SCR_EServicePointStatus state, notnull SCR_ServicePointComponent serviceComponent)
void OnServiceBuilt (notnull SCR_ServicePointComponent service)
void SupplyRequestExecutionPriorityReplicated ()
int GetSuppliesIncomeAmount ()
int GetSuppliesArrivalTimer ()
void SetProviderEntity (notnull SCR_ServicePointComponent service)
void SendHighestPriorityMessage (notnull SCR_CampaignFaction faction)
void OnServiceRemoved (notnull SCR_MilitaryBaseLogicComponent service)
void OnServiceBuilt_AfterInit (SCR_ServicePointComponent service)
void OnDisabled ()
bool IsInitialized ()
void SetAsHQ (bool isHQ)
void OnHQSet ()
bool IsHQ ()
bool CostSuppliesToSpawn ()
OnSpawnPointAssignedInvoker GetOnSpawnPointAssigned ()
float GetRadioRange ()
float GetRelayRadioRange (notnull BaseRadioComponent radio)
bool CanReachByRadio (notnull IEntity entity)
SCR_ERadioCoverageStatus GetHQRadioCoverage (notnull SCR_CampaignFaction faction)
bool IsHQRadioTrafficPossible (notnull SCR_CampaignFaction faction, SCR_ERadioCoverageStatus direction=SCR_ERadioCoverageStatus.RECEIVE)
void OnLocalPlayerFactionAssigned (Faction assignedFaction)
float GetBaseSpawnCostFactor ()
void OnCaptureStart (SCR_Faction faction)
void NotifyAboutEnemyAttack (notnull Faction attackingFaction)
void EndCapture ()
 Capturing has been terminated.
void CaptureStateChanged (SCR_EBaseCaptureState state)
void UpdateCaptureUI ()
 If the base is being captured or contested and the map is open, update the UI to show the background image indicating this state.
SCR_EBaseCaptureState GetCaptureState ()
int GetReconfiguredByID ()
bool GetDisableWhenUnusedAsHQ ()
bool BeginCapture (SCR_CampaignFaction faction, int playerID=INVALID_PLAYER_INDEX)
 Capturing has begun.
void CaptureRelay (notnull SCR_CampaignFaction faction, int playerId)
void HandleSpawnPointFaction ()
 Changes the faction which can spawn on spawn point groups owned by this base.
SCR_SpawnPoint GetSpawnPoint ()
override void OnCapturingFactionChanged ()
 Event which is triggered when the capturing faction changes.
void FlashBaseIcon (float remainingTime=0, Faction faction=null, bool changeToDefault=false, bool infiniteTimer=false)
void OnHasSignalChanged ()
void OnSuppliesChanged ()
void OnFactionChanged (FactionAffiliationComponent owner, Faction previousFaction, Faction faction)
 Event which is triggered when the owning faction changes.
void OnBaseCreatedAsFOB (Faction establishingFaction)
 Event which is triggered when creating a FOB.
void OnSpawnPointFactionAssigned (FactionKey faction)
void ChangeRadioSettings (notnull SCR_Faction faction)
void RefreshSeizingTimers ()
void RegisterRemnants (notnull SCR_AmbientPatrolSpawnPointComponent remnants)
ResourceName GetBuildingIconImageset ()
void SetDefendersGroup (SCR_AIGroup grp)
void RemoveGroup (SCR_AIGroup grp)
bool ContainsGroup (SCR_AIGroup grp)
override void SetCallsign (notnull SCR_Faction faction)
override void SetCallsignIndexAutomatic (int index)
void SupplyIncomeTimer (bool reset=false)
void AddRegularSupplyPackage (notnull SCR_CampaignFaction faction)
 Reinforcements timer has finished, send in reinforcements.
void CalculateSupplyRegenerationAmount (float currentSupplies, float maxSupplies, notnull SCR_CampaignFaction faction)
SCR_CampaignMilitaryBaseMapDescriptorComponent GetMapDescriptor ()
SCR_CampaignMapUIBase GetMapUI ()
bool GetIsEntityInMyRange (notnull IEntity entity)
float GetSupplies ()
float GetSuppliesMax ()
int GetSuppliesIncome ()
override void RegisterLogicComponent (notnull SCR_MilitaryBaseLogicComponent component)
void HideMapLocationLabel ()
SCR_ResourceComponent GetResourceComponent ()
 return ResourceComponent of base
void AddSupplies (int suppliesCount, bool replicate=true)
void SetSupplies (float suppliesCount)
void SetInitialSupplies (float suppliesCount)
void SetStartingSupplies (float suppliesCount)
void AlterSupplyIncomeTimer (float time)
void SetSuppliesArrivalTime (WorldTimestamp timestamp)
void SetFaction (SCR_CampaignFaction faction)
SCR_CampaignFaction GetCampaignFaction ()
 Returns the owning faction.
SCR_ECampaignBaseType GetType ()
 Returns type of this base.
string GetBaseName ()
 Returns the name of this base.
string GetBaseNameUpperCase ()
 Returns the upper-case name of this base.
bool IsBeingCaptured ()
 Returns whether this base is being captured.
void SetAttackingFaction (int enemyFaction)
void OnAttackingFactionChanged ()
void OnRespawnCooldownChanged ()
void UpdateRespawnCooldown ()
void OnAllBasesInitialized ()
void RecalculateRadioRange ()
void OnRadioRangeChanged ()
void SetBaseUI (SCR_CampaignMapUIBase base)
 Called from SCR_MapCampaignUI when base UI elements are initialized.
void SendHQMessageBaseCaptured ()
void SpawnStartingVehicles ()
void DeleteStartingVehicles ()
void RemoveFortifications ()
void SpawnBuilding (ResourceName prefab, vector position, vector rotation, bool isMainTent=false)
void EvaluateDefenders ()
 Periodically add XP to players defending their base.
void EvaluateEnemyPresence ()
bool EvaluateEnemyCharacterPresence (notnull IEntity entity)
void OnEnemyPresenceChanged ()
void ConnectToCampaignBasesSystem ()
void DisconnectFromCampaignBasesSystem ()
void Update (float timeSlice)
override void EOnInit (IEntity owner)
override void OnPostInit (IEntity owner)
override void OnDelete (IEntity owner)
bool IsValidForSeizeTask ()

Static Protected Member Functions

static ScriptInvokerBase< OnBaseCapturedDelegateGetOnBaseCaptured ()
static OnBaseStateChangedInvoker GetOnBaseUnderAttack ()
static OnBaseStateChangedInvoker GetOnFactionChangedExtended ()
static OnBaseAttackEndInvoker GetOnBaseAttackEnd ()
static OnBaseCreatedAsFOBInvoker GetOnBaseCreatedAsFOB ()

Protected Attributes

bool m_bIsControlPoint
bool m_bCanBeHQ
bool m_bDisableWhenUnusedAsHQ
bool m_bIsSupplyHub
string m_sBaseName
string m_sBaseNameUpper
string m_sMapLocationName
SCR_ECampaignBaseType m_eType
bool m_bIsResupplyTaskCreationEnabled
category : "Campaign"
category params: "0 inf")] protected float m_fRespawnDelayAfterCaptureSeconds
int m_iRegularSuppliesIncomeBase
If value is
If value default Gamemode value will be used
If value default Gamemode value will be params: "-1 inf 1"
If value default Gamemode value will be category: "Campaign")] protected int m_iSuppliesArrivalInterval
float m_fSupplyLimit
float m_fReservedSupplyAmount
SCR_ESupplyRequestExecutionPriority m_eSupplyRequestExecutionPriority
ref map< int, WorldTimestampm_mDefendersData = new map<int, WorldTimestamp>()
ref OnSpawnPointAssignedInvoker m_OnSpawnPointAssigned
ref array< SCR_AmbientPatrolSpawnPointComponent > m_aRemnants = {}
ref array< IEntitym_aStartingVehicles = {}
ref array< SCR_ERadioMsgm_aServiceBuiltMsgQueue = {}
float m_fStartingSupplies
float m_fNextFrameCheck
float m_fTimer
float m_fRadioRangeDefault
WorldTimestamp m_fLastEnemyContactTimestamp
bool m_bLocalPlayerPresent
bool m_bWasHQSet
SCR_EBaseCaptureState m_eCaptureState
SCR_CampaignMilitaryBaseMapDescriptorComponent m_MapDescriptor
SCR_SpawnPoint m_SpawnPoint
SCR_CampaignFaction m_CapturingFaction
SCR_CampaignFaction m_OwningFactionPrevious
SCR_CoverageRadioComponent m_RadioComponent
SCR_CampaignMapUIBase m_UIElement
SCR_TimedWaypoint m_SeekDestroyWP
ref array< SCR_AIGroupm_aDefendersGroups = {}
IEntity m_BaseBuildingComposition
ref OnSupplyLimitChangedInvoker m_OnSupplyLimitChanged
ref ScriptInvokerInt m_OnSupplyRequestExecutionPriorityChanged
ref ScriptInvokerFloat m_OnReservedSupplyAmountChanged
ref ScriptInvokerVoid m_SuppliesArrivalInvoker
ref ScriptInvokerBool m_OnEnemyPresenceChanged
bool m_bIsHQ
bool m_bInitialized
int m_iSupplyRegenAmount
int m_iCapturingFaction = INVALID_FACTION_INDEX
int m_iReconfiguredBy = INVALID_PLAYER_INDEX
float m_fRadioRange
WorldTimestamp m_fRespawnAvailableSince
int m_iAttackingFaction = -1
WorldTimestamp m_fSuppliesArrivalTime
bool m_bBuiltByPlayers
FactionKey m_sBuiltFaction
bool m_bEnemiesPresent

Static Protected Attributes

static const float RADIO_RECONFIGURATION_DURATION = 10.0
static const float BARRACKS_REDUCED_DEPLOY_COST = 0.5
static const int UNDER_ATTACK_WARNING_PERIOD = 60
static const int INVALID_PLAYER_INDEX = -1
static const int INVALID_FACTION_INDEX = -1
static const int RESPAWN_DELAY_AFTER_CAPTURE = 180000
static const int RELAY_BASE_RADIUS = 100
static const int SUPPLY_DEPOT_CAPACITY = 4500
static const int DEFENDERS_CHECK_PERIOD = 30000
static const int DEFENDERS_REWARD_PERIOD = 120000
static const int DEFENDERS_REWARD_MULTIPLIER = 3
static const float SUPPLY_LIMIT_MIN = 0
static const float SUPPLY_LIMIT_MAX = 0.9
static const int TICK_TIME = 1
static const int CONTESTED_RESPAWN_DELAY = 35
static const int BASES_IN_RANGE_RESUPPLY_THRESHOLD = 5
static const float HQ_VEHICLE_SPAWN_RADIUS = 40
static const float HQ_VEHICLE_QUERY_SPACE = 6
static const int ENEMY_PRESENCE_EVALUATION_PERIOD_MS = 3000
static ref OnBaseStateChangedInvoker m_OnFactionChangedExtended
static ref OnBaseStateChangedInvoker m_OnBaseUnderAttack
static ref OnBaseAttackEndInvoker m_OnBaseAttackEnd
static ref OnBaseCreatedAsFOBInvoker m_OnBaseCreatedasFOB
static ref ScriptInvokerBase< OnBaseCapturedDelegates_OnBaseCaptured

Detailed Description

Definition at line 37 of file SCR_CampaignMilitaryBaseComponent.c.

Member Function Documentation

◆ AddRegularSupplyPackage()

void SCR_CampaignMilitaryBaseComponent::AddRegularSupplyPackage ( notnull SCR_CampaignFaction faction)
inlineprotected

Reinforcements timer has finished, send in reinforcements.

Definition at line 1855 of file SCR_CampaignMilitaryBaseComponent.c.

◆ AddSupplies()

void SCR_CampaignMilitaryBaseComponent::AddSupplies ( int suppliesCount,
bool replicate = true )
inlineprotected

Add delivered supplies

Parameters
[in]suppliesCount
[in]replicate

Definition at line 2058 of file SCR_CampaignMilitaryBaseComponent.c.

◆ AlterSupplyIncomeTimer()

void SCR_CampaignMilitaryBaseComponent::AlterSupplyIncomeTimer ( float time)
inlineprotected

Change reinforcements timer

Parameters
time(in seconds) This number is added to the timer

Definition at line 2145 of file SCR_CampaignMilitaryBaseComponent.c.

◆ ApplyHeaderSettings()

void SCR_CampaignMilitaryBaseComponent::ApplyHeaderSettings ( notnull SCR_CampaignCustomBase settings)
inlineprotected
Parameters
[in]settings

Definition at line 637 of file SCR_CampaignMilitaryBaseComponent.c.

◆ AreEnemiesPresent()

bool SCR_CampaignMilitaryBaseComponent::AreEnemiesPresent ( )
inlineprotected

Definition at line 445 of file SCR_CampaignMilitaryBaseComponent.c.

◆ BeginCapture()

bool SCR_CampaignMilitaryBaseComponent::BeginCapture ( SCR_CampaignFaction faction,
int playerID = INVALID_PLAYER_INDEX )
inlineprotected

Capturing has begun.

Definition at line 1320 of file SCR_CampaignMilitaryBaseComponent.c.

◆ CalculateSupplyRegenerationAmount()

void SCR_CampaignMilitaryBaseComponent::CalculateSupplyRegenerationAmount ( float currentSupplies,
float maxSupplies,
notnull SCR_CampaignFaction faction )
inlineprotected

Calculates the supply regeneration amount based on input parameters. Calculated value saves to m_iSupplyRegenAmount

Parameters
[in]currentSupplies
[in]maxSupplies
[in]faction

Definition at line 1882 of file SCR_CampaignMilitaryBaseComponent.c.

◆ CanBeHQ()

bool SCR_CampaignMilitaryBaseComponent::CanBeHQ ( )
inlineprotected
Returns

Definition at line 461 of file SCR_CampaignMilitaryBaseComponent.c.

◆ CanReachByRadio()

bool SCR_CampaignMilitaryBaseComponent::CanReachByRadio ( notnull IEntity entity)
inlineprotected

Definition at line 1125 of file SCR_CampaignMilitaryBaseComponent.c.

◆ CaptureRelay()

void SCR_CampaignMilitaryBaseComponent::CaptureRelay ( notnull SCR_CampaignFaction faction,
int playerId )
inlineprotected

Transfers the ownership of a relay to a provided faction

Parameters
[in]factionwhich captured the relay
[in]playerIdwho captured the relay

Definition at line 1350 of file SCR_CampaignMilitaryBaseComponent.c.

◆ CaptureStateChanged()

void SCR_CampaignMilitaryBaseComponent::CaptureStateChanged ( SCR_EBaseCaptureState state)
inlineprotected

Definition at line 1278 of file SCR_CampaignMilitaryBaseComponent.c.

◆ ChangeRadioSettings()

void SCR_CampaignMilitaryBaseComponent::ChangeRadioSettings ( notnull SCR_Faction faction)
inlineprotected
Parameters
[in]faction

Definition at line 1670 of file SCR_CampaignMilitaryBaseComponent.c.

◆ ConnectToCampaignBasesSystem()

void SCR_CampaignMilitaryBaseComponent::ConnectToCampaignBasesSystem ( )
inlineprotected

Definition at line 2749 of file SCR_CampaignMilitaryBaseComponent.c.

◆ ContainsGroup()

bool SCR_CampaignMilitaryBaseComponent::ContainsGroup ( SCR_AIGroup grp)
inlineprotected
Returns

Definition at line 1762 of file SCR_CampaignMilitaryBaseComponent.c.

◆ CostSuppliesToSpawn()

bool SCR_CampaignMilitaryBaseComponent::CostSuppliesToSpawn ( )
inlineprotected
Returns
If it cost supplies to spawn on this base

Definition at line 1038 of file SCR_CampaignMilitaryBaseComponent.c.

◆ DeleteStartingVehicles()

void SCR_CampaignMilitaryBaseComponent::DeleteStartingVehicles ( )
inlineprotected

Definition at line 2522 of file SCR_CampaignMilitaryBaseComponent.c.

◆ Disable()

void SCR_CampaignMilitaryBaseComponent::Disable ( )
inlineprotected

Definition at line 507 of file SCR_CampaignMilitaryBaseComponent.c.

◆ DisableWhenUnusedAsHQ()

bool SCR_CampaignMilitaryBaseComponent::DisableWhenUnusedAsHQ ( )
inlineprotected
Returns

Definition at line 469 of file SCR_CampaignMilitaryBaseComponent.c.

◆ DisconnectFromCampaignBasesSystem()

void SCR_CampaignMilitaryBaseComponent::DisconnectFromCampaignBasesSystem ( )
inlineprotected

Definition at line 2759 of file SCR_CampaignMilitaryBaseComponent.c.

◆ EndCapture()

void SCR_CampaignMilitaryBaseComponent::EndCapture ( )
inlineprotected

Capturing has been terminated.

Definition at line 1259 of file SCR_CampaignMilitaryBaseComponent.c.

◆ EOnInit()

override void SCR_CampaignMilitaryBaseComponent::EOnInit ( IEntity owner)
inlineprotected

Definition at line 2792 of file SCR_CampaignMilitaryBaseComponent.c.

◆ EvaluateDefenders()

void SCR_CampaignMilitaryBaseComponent::EvaluateDefenders ( )
inlineprotected

Periodically add XP to players defending their base.

Definition at line 2608 of file SCR_CampaignMilitaryBaseComponent.c.

◆ EvaluateEnemyCharacterPresence()

bool SCR_CampaignMilitaryBaseComponent::EvaluateEnemyCharacterPresence ( notnull IEntity entity)
inlineprotected

Definition at line 2711 of file SCR_CampaignMilitaryBaseComponent.c.

◆ EvaluateEnemyPresence()

void SCR_CampaignMilitaryBaseComponent::EvaluateEnemyPresence ( )
inlineprotected

Definition at line 2691 of file SCR_CampaignMilitaryBaseComponent.c.

◆ FlashBaseIcon()

void SCR_CampaignMilitaryBaseComponent::FlashBaseIcon ( float remainingTime = 0,
Faction faction = null,
bool changeToDefault = false,
bool infiniteTimer = false )
inlineprotected

Definition at line 1462 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetBaseBuildingComposition()

IEntity SCR_CampaignMilitaryBaseComponent::GetBaseBuildingComposition ( )
inlineprotected

Definition at line 248 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetBaseName()

string SCR_CampaignMilitaryBaseComponent::GetBaseName ( )
inlineprotected

Returns the name of this base.

Definition at line 2197 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetBaseNameUpperCase()

string SCR_CampaignMilitaryBaseComponent::GetBaseNameUpperCase ( )
inlineprotected

Returns the upper-case name of this base.

Definition at line 2204 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetBaseSpawnCostFactor()

float SCR_CampaignMilitaryBaseComponent::GetBaseSpawnCostFactor ( )
inlineprotected
Returns

Definition at line 1200 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetBuildingIconImageset()

ResourceName SCR_CampaignMilitaryBaseComponent::GetBuildingIconImageset ( )
inlineprotected
Returns

Definition at line 1731 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetBuiltByPlayers()

bool SCR_CampaignMilitaryBaseComponent::GetBuiltByPlayers ( )
inlineprotected

Definition at line 422 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetBuiltFaction()

FactionKey SCR_CampaignMilitaryBaseComponent::GetBuiltFaction ( )
inlineprotected

Definition at line 439 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetCampaignFaction()

SCR_CampaignFaction SCR_CampaignMilitaryBaseComponent::GetCampaignFaction ( )
inlineprotected

Returns the owning faction.

Definition at line 2183 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetCaptureState()

SCR_EBaseCaptureState SCR_CampaignMilitaryBaseComponent::GetCaptureState ( )
inlineprotected

Definition at line 1299 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetDisableWhenUnusedAsHQ()

bool SCR_CampaignMilitaryBaseComponent::GetDisableWhenUnusedAsHQ ( )
inlineprotected
Returns

Definition at line 1313 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetFormattedBaseNameWithCallsign()

string SCR_CampaignMilitaryBaseComponent::GetFormattedBaseNameWithCallsign ( Faction faction)
inlineprotected
Parameters
[in]faction
Returns
Formatted base name with callsign in brackets

Definition at line 364 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetHQRadioCoverage()

SCR_ERadioCoverageStatus SCR_CampaignMilitaryBaseComponent::GetHQRadioCoverage ( notnull SCR_CampaignFaction faction)
inlineprotected
Parameters
[in]faction
Returns

Definition at line 1138 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetIsEntityInMyRange()

bool SCR_CampaignMilitaryBaseComponent::GetIsEntityInMyRange ( notnull IEntity entity)
inlineprotected
Parameters
[in]entity
Returns

Definition at line 1956 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetLocationName()

string SCR_CampaignMilitaryBaseComponent::GetLocationName ( )
inlineprotected
Returns

Definition at line 477 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetMapDescriptor()

SCR_CampaignMilitaryBaseMapDescriptorComponent SCR_CampaignMilitaryBaseComponent::GetMapDescriptor ( )
inlineprotected
Returns

Definition at line 1941 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetMapUI()

SCR_CampaignMapUIBase SCR_CampaignMilitaryBaseComponent::GetMapUI ( )
inlineprotected
Returns

Definition at line 1948 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetOnBaseAttackEnd()

OnBaseAttackEndInvoker SCR_CampaignMilitaryBaseComponent::GetOnBaseAttackEnd ( )
inlinestaticprotected

Definition at line 1074 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetOnBaseCaptured()

ScriptInvokerBase< OnBaseCapturedDelegate > SCR_CampaignMilitaryBaseComponent::GetOnBaseCaptured ( )
inlinestaticprotected

Get event called when the player captures a base. Invoker params are: SCR_CampaignMilitaryBaseComponent base, int playerId

Returns
ScriptInvokerBase<OnBaseCapturedDelegate>

Definition at line 239 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetOnBaseCreatedAsFOB()

OnBaseCreatedAsFOBInvoker SCR_CampaignMilitaryBaseComponent::GetOnBaseCreatedAsFOB ( )
inlinestaticprotected

Definition at line 1084 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetOnBaseUnderAttack()

OnBaseStateChangedInvoker SCR_CampaignMilitaryBaseComponent::GetOnBaseUnderAttack ( )
inlinestaticprotected
Returns

Definition at line 1055 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetOnEnemyPresenceChanged()

ScriptInvokerBool SCR_CampaignMilitaryBaseComponent::GetOnEnemyPresenceChanged ( )
inlineprotected

Definition at line 227 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetOnFactionChangedExtended()

OnBaseStateChangedInvoker SCR_CampaignMilitaryBaseComponent::GetOnFactionChangedExtended ( )
inlinestaticprotected
Returns

Definition at line 1065 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetOnReservedSupplyAmountChanged()

ScriptInvokerFloat SCR_CampaignMilitaryBaseComponent::GetOnReservedSupplyAmountChanged ( )
inlineprotected

Definition at line 218 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetOnSpawnPointAssigned()

OnSpawnPointAssignedInvoker SCR_CampaignMilitaryBaseComponent::GetOnSpawnPointAssigned ( )
inlineprotected
Returns

Definition at line 1045 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetOnSuppliesArrivalInvoker()

ScriptInvokerVoid SCR_CampaignMilitaryBaseComponent::GetOnSuppliesArrivalInvoker ( )
inlineprotected

Definition at line 191 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetOnSupplyLimitChanged()

OnSupplyLimitChangedInvoker SCR_CampaignMilitaryBaseComponent::GetOnSupplyLimitChanged ( )
inlineprotected

Definition at line 200 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetOnSupplyRequestExecutionPriorityChanged()

ScriptInvokerInt SCR_CampaignMilitaryBaseComponent::GetOnSupplyRequestExecutionPriorityChanged ( )
inlineprotected

Definition at line 209 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetRadioRange()

float SCR_CampaignMilitaryBaseComponent::GetRadioRange ( )
inlineprotected
Returns

Definition at line 1094 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetReconfiguredByID()

int SCR_CampaignMilitaryBaseComponent::GetReconfiguredByID ( )
inlineprotected
Returns

Definition at line 1306 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetRelayRadioRange()

float SCR_CampaignMilitaryBaseComponent::GetRelayRadioRange ( notnull BaseRadioComponent radio)
inlineprotected

Definition at line 1100 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetReservedSupplyAmount()

float SCR_CampaignMilitaryBaseComponent::GetReservedSupplyAmount ( )
inlineprotected

Definition at line 304 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetResourceComponent()

SCR_ResourceComponent SCR_CampaignMilitaryBaseComponent::GetResourceComponent ( )
inlineprotected

return ResourceComponent of base

Definition at line 2049 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetResourceConsumer()

SCR_ResourceConsumer SCR_CampaignMilitaryBaseComponent::GetResourceConsumer ( )
inlineprotected

Definition at line 352 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetRespawnTimestamp()

WorldTimestamp SCR_CampaignMilitaryBaseComponent::GetRespawnTimestamp ( )
inlineprotected
Returns

Definition at line 484 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetScarcityLevel()

float SCR_CampaignMilitaryBaseComponent::GetScarcityLevel ( )
inlineprotected

Definition at line 272 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetSpawnPoint()

SCR_SpawnPoint SCR_CampaignMilitaryBaseComponent::GetSpawnPoint ( )
inlineprotected
Returns

Definition at line 1423 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetSupplies()

float SCR_CampaignMilitaryBaseComponent::GetSupplies ( )
inlineprotected
Returns

Definition at line 1963 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetSuppliesArrivalTime()

WorldTimestamp SCR_CampaignMilitaryBaseComponent::GetSuppliesArrivalTime ( )
inlineprotected

Definition at line 323 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetSuppliesArrivalTimer()

int SCR_CampaignMilitaryBaseComponent::GetSuppliesArrivalTimer ( )
inlineprotected

Definition at line 820 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetSuppliesIncome()

int SCR_CampaignMilitaryBaseComponent::GetSuppliesIncome ( )
inlineprotected
Returns

Definition at line 2003 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetSuppliesIncomeAmount()

int SCR_CampaignMilitaryBaseComponent::GetSuppliesIncomeAmount ( )
inlineprotected

Definition at line 795 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetSuppliesMax()

float SCR_CampaignMilitaryBaseComponent::GetSuppliesMax ( )
inlineprotected
Returns

Definition at line 1983 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetSupplyLimit()

float SCR_CampaignMilitaryBaseComponent::GetSupplyLimit ( )
inlineprotected

Definition at line 285 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetSupplyRequestExecutionPriority()

SCR_ESupplyRequestExecutionPriority SCR_CampaignMilitaryBaseComponent::GetSupplyRequestExecutionPriority ( )
inlineprotected

Definition at line 329 of file SCR_CampaignMilitaryBaseComponent.c.

◆ GetType()

SCR_ECampaignBaseType SCR_CampaignMilitaryBaseComponent::GetType ( )
inlineprotected

Returns type of this base.

Definition at line 2190 of file SCR_CampaignMilitaryBaseComponent.c.

◆ HandleSpawnPointFaction()

void SCR_CampaignMilitaryBaseComponent::HandleSpawnPointFaction ( )
inlineprotected

Changes the faction which can spawn on spawn point groups owned by this base.

Definition at line 1378 of file SCR_CampaignMilitaryBaseComponent.c.

◆ HideMapLocationLabel()

void SCR_CampaignMilitaryBaseComponent::HideMapLocationLabel ( )
inlineprotected

Definition at line 2024 of file SCR_CampaignMilitaryBaseComponent.c.

◆ Initialize()

void SCR_CampaignMilitaryBaseComponent::Initialize ( )
inlineprotected

Definition at line 491 of file SCR_CampaignMilitaryBaseComponent.c.

◆ IsBeingCaptured()

bool SCR_CampaignMilitaryBaseComponent::IsBeingCaptured ( )
inlineprotected

Returns whether this base is being captured.

Definition at line 2211 of file SCR_CampaignMilitaryBaseComponent.c.

◆ IsControlPoint()

bool SCR_CampaignMilitaryBaseComponent::IsControlPoint ( )
inlineprotected
Returns

Definition at line 453 of file SCR_CampaignMilitaryBaseComponent.c.

◆ IsHQ()

bool SCR_CampaignMilitaryBaseComponent::IsHQ ( )
inlineprotected
Returns

Definition at line 1031 of file SCR_CampaignMilitaryBaseComponent.c.

◆ IsHQRadioTrafficPossible()

bool SCR_CampaignMilitaryBaseComponent::IsHQRadioTrafficPossible ( notnull SCR_CampaignFaction faction,
SCR_ERadioCoverageStatus direction = SCR_ERadioCoverageStatus.RECEIVE )
inlineprotected
Parameters
[in]faction
[in]direction
Returns

Definition at line 1165 of file SCR_CampaignMilitaryBaseComponent.c.

◆ IsInitialized()

bool SCR_CampaignMilitaryBaseComponent::IsInitialized ( )
inlineprotected
Returns

Definition at line 975 of file SCR_CampaignMilitaryBaseComponent.c.

◆ IsResupplyNeeded()

bool SCR_CampaignMilitaryBaseComponent::IsResupplyNeeded ( )
inlineprotected

Definition at line 266 of file SCR_CampaignMilitaryBaseComponent.c.

◆ IsResupplyTaskCreationEnabled()

bool SCR_CampaignMilitaryBaseComponent::IsResupplyTaskCreationEnabled ( )
inlineprotected

Definition at line 260 of file SCR_CampaignMilitaryBaseComponent.c.

◆ IsValidForSeizeTask()

bool SCR_CampaignMilitaryBaseComponent::IsValidForSeizeTask ( )
inlineprotected

Checks if this base is eligible for a Seize task.

Returns
True if valid, false otherwise.

Definition at line 2887 of file SCR_CampaignMilitaryBaseComponent.c.

◆ IsValidTarget()

bool SCR_CampaignMilitaryBaseComponent::IsValidTarget ( notnull SCR_CampaignFaction faction)
inlineprotected

Definition at line 400 of file SCR_CampaignMilitaryBaseComponent.c.

◆ NotifyAboutEnemyAttack()

void SCR_CampaignMilitaryBaseComponent::NotifyAboutEnemyAttack ( notnull Faction attackingFaction)
inlineprotected
Parameters
[in]attackingFaction

Definition at line 1222 of file SCR_CampaignMilitaryBaseComponent.c.

◆ OnAllBasesInitialized()

void SCR_CampaignMilitaryBaseComponent::OnAllBasesInitialized ( )
inlineprotected

Definition at line 2283 of file SCR_CampaignMilitaryBaseComponent.c.

◆ OnAttackingFactionChanged()

void SCR_CampaignMilitaryBaseComponent::OnAttackingFactionChanged ( )
inlineprotected

Definition at line 2236 of file SCR_CampaignMilitaryBaseComponent.c.

◆ OnBaseCreatedAsFOB()

void SCR_CampaignMilitaryBaseComponent::OnBaseCreatedAsFOB ( Faction establishingFaction)
inlineprotected

Event which is triggered when creating a FOB.

Definition at line 1653 of file SCR_CampaignMilitaryBaseComponent.c.

◆ OnCaptureStart()

void SCR_CampaignMilitaryBaseComponent::OnCaptureStart ( SCR_Faction faction)
inlineprotected

Definition at line 1209 of file SCR_CampaignMilitaryBaseComponent.c.

◆ OnCapturingFactionChanged()

override void SCR_CampaignMilitaryBaseComponent::OnCapturingFactionChanged ( )
inlineprotected

Event which is triggered when the capturing faction changes.

Definition at line 1430 of file SCR_CampaignMilitaryBaseComponent.c.

◆ OnDelete()

override void SCR_CampaignMilitaryBaseComponent::OnDelete ( IEntity owner)
inlineprotected

Definition at line 2847 of file SCR_CampaignMilitaryBaseComponent.c.

◆ OnDisabled()

void SCR_CampaignMilitaryBaseComponent::OnDisabled ( )
inlineprotected

Definition at line 938 of file SCR_CampaignMilitaryBaseComponent.c.

◆ OnEnemyPresenceChanged()

void SCR_CampaignMilitaryBaseComponent::OnEnemyPresenceChanged ( )
inlineprotected

Definition at line 2743 of file SCR_CampaignMilitaryBaseComponent.c.

◆ OnFactionChanged()

void SCR_CampaignMilitaryBaseComponent::OnFactionChanged ( FactionAffiliationComponent owner,
Faction previousFaction,
Faction faction )
inlineprotected

Event which is triggered when the owning faction changes.

Definition at line 1506 of file SCR_CampaignMilitaryBaseComponent.c.

◆ OnHasSignalChanged()

void SCR_CampaignMilitaryBaseComponent::OnHasSignalChanged ( )
inlineprotected

Definition at line 1477 of file SCR_CampaignMilitaryBaseComponent.c.

◆ OnHQSet()

void SCR_CampaignMilitaryBaseComponent::OnHQSet ( )
inlineprotected

Definition at line 1005 of file SCR_CampaignMilitaryBaseComponent.c.

◆ OnInitialized()

void SCR_CampaignMilitaryBaseComponent::OnInitialized ( )
inlineprotected

Definition at line 535 of file SCR_CampaignMilitaryBaseComponent.c.

◆ OnLocalPlayerFactionAssigned()

void SCR_CampaignMilitaryBaseComponent::OnLocalPlayerFactionAssigned ( Faction assignedFaction)
inlineprotected

Definition at line 1191 of file SCR_CampaignMilitaryBaseComponent.c.

◆ OnPostInit()

override void SCR_CampaignMilitaryBaseComponent::OnPostInit ( IEntity owner)
inlineprotected

Definition at line 2833 of file SCR_CampaignMilitaryBaseComponent.c.

◆ OnRadioRangeChanged()

void SCR_CampaignMilitaryBaseComponent::OnRadioRangeChanged ( )
inlineprotected

Definition at line 2384 of file SCR_CampaignMilitaryBaseComponent.c.

◆ OnRespawnCooldownChanged()

void SCR_CampaignMilitaryBaseComponent::OnRespawnCooldownChanged ( )
inlineprotected

Definition at line 2252 of file SCR_CampaignMilitaryBaseComponent.c.

◆ OnServiceBuilt()

void SCR_CampaignMilitaryBaseComponent::OnServiceBuilt ( notnull SCR_ServicePointComponent service)
inlineprotected
Parameters
[in]service

Definition at line 698 of file SCR_CampaignMilitaryBaseComponent.c.

◆ OnServiceBuilt_AfterInit()

void SCR_CampaignMilitaryBaseComponent::OnServiceBuilt_AfterInit ( SCR_ServicePointComponent service)
inlineprotected
Parameters
[in]service

Definition at line 896 of file SCR_CampaignMilitaryBaseComponent.c.

◆ OnServiceRemoved()

void SCR_CampaignMilitaryBaseComponent::OnServiceRemoved ( notnull SCR_MilitaryBaseLogicComponent service)
inlineprotected
Parameters
[in]service

Definition at line 878 of file SCR_CampaignMilitaryBaseComponent.c.

◆ OnServiceStateChanged()

override void SCR_CampaignMilitaryBaseComponent::OnServiceStateChanged ( SCR_EServicePointStatus state,
notnull SCR_ServicePointComponent serviceComponent )
inlineprotected

Definition at line 669 of file SCR_CampaignMilitaryBaseComponent.c.

◆ OnSpawnPointFactionAssigned()

void SCR_CampaignMilitaryBaseComponent::OnSpawnPointFactionAssigned ( FactionKey faction)
inlineprotected
Parameters
[in]faction

Definition at line 1661 of file SCR_CampaignMilitaryBaseComponent.c.

◆ OnSuppliesChanged()

void SCR_CampaignMilitaryBaseComponent::OnSuppliesChanged ( )
inlineprotected

Definition at line 1495 of file SCR_CampaignMilitaryBaseComponent.c.

◆ RecalculateRadioRange()

void SCR_CampaignMilitaryBaseComponent::RecalculateRadioRange ( )
inlineprotected

Definition at line 2331 of file SCR_CampaignMilitaryBaseComponent.c.

◆ RefreshSeizingTimers()

void SCR_CampaignMilitaryBaseComponent::RefreshSeizingTimers ( )
inlineprotected

Definition at line 1708 of file SCR_CampaignMilitaryBaseComponent.c.

◆ RegisterLogicComponent()

override void SCR_CampaignMilitaryBaseComponent::RegisterLogicComponent ( notnull SCR_MilitaryBaseLogicComponent component)
inlineprotected

Definition at line 2009 of file SCR_CampaignMilitaryBaseComponent.c.

◆ RegisterRemnants()

void SCR_CampaignMilitaryBaseComponent::RegisterRemnants ( notnull SCR_AmbientPatrolSpawnPointComponent remnants)
inlineprotected
Parameters
[in]remnants

Definition at line 1724 of file SCR_CampaignMilitaryBaseComponent.c.

◆ RemoveFortifications()

void SCR_CampaignMilitaryBaseComponent::RemoveFortifications ( )
inlineprotected

Definition at line 2532 of file SCR_CampaignMilitaryBaseComponent.c.

◆ RemoveGroup()

void SCR_CampaignMilitaryBaseComponent::RemoveGroup ( SCR_AIGroup grp)
inlineprotected
Returns

Definition at line 1755 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SendHighestPriorityMessage()

void SCR_CampaignMilitaryBaseComponent::SendHighestPriorityMessage ( notnull SCR_CampaignFaction faction)
inlineprotected

Definition at line 859 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SendHQMessageBaseCaptured()

void SCR_CampaignMilitaryBaseComponent::SendHQMessageBaseCaptured ( )
inlineprotected

Definition at line 2427 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SetAsHQ()

void SCR_CampaignMilitaryBaseComponent::SetAsHQ ( bool isHQ)
inlineprotected
Parameters
[in]isHQ

Definition at line 982 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SetAttackingFaction()

void SCR_CampaignMilitaryBaseComponent::SetAttackingFaction ( int enemyFaction)
inlineprotected
Parameters
[in]enemyFaction

Definition at line 2223 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SetBaseBuildingComposition()

void SCR_CampaignMilitaryBaseComponent::SetBaseBuildingComposition ( IEntity building)
inlineprotected

Definition at line 254 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SetBaseUI()

void SCR_CampaignMilitaryBaseComponent::SetBaseUI ( SCR_CampaignMapUIBase base)
inlineprotected

Called from SCR_MapCampaignUI when base UI elements are initialized.

Definition at line 2420 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SetBuiltByPlayers()

void SCR_CampaignMilitaryBaseComponent::SetBuiltByPlayers ( bool builtByPlayers)
inlineprotected

Definition at line 412 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SetBuiltFaction()

void SCR_CampaignMilitaryBaseComponent::SetBuiltFaction ( notnull Faction faction)
inlineprotected

Definition at line 428 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SetCallsign()

override void SCR_CampaignMilitaryBaseComponent::SetCallsign ( notnull SCR_Faction faction)
inlineprotected

Definition at line 1768 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SetCallsignIndexAutomatic()

override void SCR_CampaignMilitaryBaseComponent::SetCallsignIndexAutomatic ( int index)
inlineprotected

Definition at line 1803 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SetDefendersGroup()

void SCR_CampaignMilitaryBaseComponent::SetDefendersGroup ( SCR_AIGroup grp)
inlineprotected
Parameters
[in]grp

Definition at line 1743 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SetFaction()

void SCR_CampaignMilitaryBaseComponent::SetFaction ( SCR_CampaignFaction faction)
inlineprotected
Parameters
[in]faction

Definition at line 2166 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SetInitialSupplies()

void SCR_CampaignMilitaryBaseComponent::SetInitialSupplies ( float suppliesCount)
inlineprotected
Parameters
[in]suppliesCount

Definition at line 2115 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SetProviderEntity()

void SCR_CampaignMilitaryBaseComponent::SetProviderEntity ( notnull SCR_ServicePointComponent service)
inlineprotected

Definition at line 838 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SetReservedSupplyAmount()

void SCR_CampaignMilitaryBaseComponent::SetReservedSupplyAmount ( float value)
inlineprotected

Definition at line 310 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SetStartingSupplies()

void SCR_CampaignMilitaryBaseComponent::SetStartingSupplies ( float suppliesCount)
inlineprotected
Parameters
[in]suppliesCount

Definition at line 2137 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SetSupplies()

void SCR_CampaignMilitaryBaseComponent::SetSupplies ( float suppliesCount)
inlineprotected
Parameters
[in]suppliesCount

Definition at line 2095 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SetSuppliesArrivalTime()

void SCR_CampaignMilitaryBaseComponent::SetSuppliesArrivalTime ( WorldTimestamp timestamp)
inlineprotected

Definition at line 2155 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SetSupplyLimit()

void SCR_CampaignMilitaryBaseComponent::SetSupplyLimit ( float value)
inlineprotected

Definition at line 291 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SetSupplyRequestExecutionPriority()

void SCR_CampaignMilitaryBaseComponent::SetSupplyRequestExecutionPriority ( SCR_ESupplyRequestExecutionPriority priority)
inlineprotected

Definition at line 335 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SpawnBuilding()

void SCR_CampaignMilitaryBaseComponent::SpawnBuilding ( ResourceName prefab,
vector position,
vector rotation,
bool isMainTent = false )
inlineprotected
Parameters
[in]prefab
[in]position
[in]rotation
[in]isMainTent

Definition at line 2555 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SpawnStartingVehicles()

void SCR_CampaignMilitaryBaseComponent::SpawnStartingVehicles ( )
inlineprotected

Definition at line 2479 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SupplyIncomeTimer()

void SCR_CampaignMilitaryBaseComponent::SupplyIncomeTimer ( bool reset = false)
inlineprotected

Handles the timer for reinforcements arrival at this base

Parameters
resetResets the current timer

Definition at line 1812 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SupplyRequestExecutionPriorityReplicated()

void SCR_CampaignMilitaryBaseComponent::SupplyRequestExecutionPriorityReplicated ( )
inlineprotected

Definition at line 788 of file SCR_CampaignMilitaryBaseComponent.c.

◆ Update()

void SCR_CampaignMilitaryBaseComponent::Update ( float timeSlice)
inlineprotected
Parameters
[in]timeSlice

Definition at line 2772 of file SCR_CampaignMilitaryBaseComponent.c.

◆ UpdateCaptureUI()

void SCR_CampaignMilitaryBaseComponent::UpdateCaptureUI ( )
inlineprotected

If the base is being captured or contested and the map is open, update the UI to show the background image indicating this state.

Definition at line 1290 of file SCR_CampaignMilitaryBaseComponent.c.

◆ UpdateRespawnCooldown()

void SCR_CampaignMilitaryBaseComponent::UpdateRespawnCooldown ( )
inlineprotected

Definition at line 2268 of file SCR_CampaignMilitaryBaseComponent.c.

Member Data Documentation

◆ __pad0__

category SCR_CampaignMilitaryBaseComponent::__pad0__
protected

Definition at line 66 of file SCR_CampaignMilitaryBaseComponent.c.

◆ BARRACKS_REDUCED_DEPLOY_COST

const float SCR_CampaignMilitaryBaseComponent::BARRACKS_REDUCED_DEPLOY_COST = 0.5
staticprotected

Definition at line 87 of file SCR_CampaignMilitaryBaseComponent.c.

◆ BASES_IN_RANGE_RESUPPLY_THRESHOLD

const int SCR_CampaignMilitaryBaseComponent::BASES_IN_RANGE_RESUPPLY_THRESHOLD = 5
staticprotected

Definition at line 103 of file SCR_CampaignMilitaryBaseComponent.c.

◆ category

If value default Gamemode value will be SCR_CampaignMilitaryBaseComponent::category
protected

Definition at line 72 of file SCR_CampaignMilitaryBaseComponent.c.

◆ CONTESTED_RESPAWN_DELAY

const int SCR_CampaignMilitaryBaseComponent::CONTESTED_RESPAWN_DELAY = 35
staticprotected

Definition at line 102 of file SCR_CampaignMilitaryBaseComponent.c.

◆ DEFENDERS_CHECK_PERIOD

const int SCR_CampaignMilitaryBaseComponent::DEFENDERS_CHECK_PERIOD = 30000
staticprotected

Definition at line 95 of file SCR_CampaignMilitaryBaseComponent.c.

◆ DEFENDERS_REWARD_MULTIPLIER

const int SCR_CampaignMilitaryBaseComponent::DEFENDERS_REWARD_MULTIPLIER = 3
staticprotected

Definition at line 97 of file SCR_CampaignMilitaryBaseComponent.c.

◆ DEFENDERS_REWARD_PERIOD

const int SCR_CampaignMilitaryBaseComponent::DEFENDERS_REWARD_PERIOD = 120000
staticprotected

Definition at line 96 of file SCR_CampaignMilitaryBaseComponent.c.

◆ ENEMY_PRESENCE_EVALUATION_PERIOD_MS

const int SCR_CampaignMilitaryBaseComponent::ENEMY_PRESENCE_EVALUATION_PERIOD_MS = 3000
staticprotected

Definition at line 106 of file SCR_CampaignMilitaryBaseComponent.c.

◆ HQ_VEHICLE_QUERY_SPACE

const float SCR_CampaignMilitaryBaseComponent::HQ_VEHICLE_QUERY_SPACE = 6
staticprotected

Definition at line 105 of file SCR_CampaignMilitaryBaseComponent.c.

◆ HQ_VEHICLE_SPAWN_RADIUS

const float SCR_CampaignMilitaryBaseComponent::HQ_VEHICLE_SPAWN_RADIUS = 40
staticprotected

Definition at line 104 of file SCR_CampaignMilitaryBaseComponent.c.

◆ INVALID_FACTION_INDEX

const int SCR_CampaignMilitaryBaseComponent::INVALID_FACTION_INDEX = -1
staticprotected

Definition at line 90 of file SCR_CampaignMilitaryBaseComponent.c.

◆ INVALID_PLAYER_INDEX

const int SCR_CampaignMilitaryBaseComponent::INVALID_PLAYER_INDEX = -1
staticprotected

Definition at line 89 of file SCR_CampaignMilitaryBaseComponent.c.

◆ is

If value SCR_CampaignMilitaryBaseComponent::is
protected

Definition at line 72 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_aDefendersGroups

ref array<SCR_AIGroup> SCR_CampaignMilitaryBaseComponent::m_aDefendersGroups = {}
protected

Definition at line 144 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_aRemnants

ref array<SCR_AmbientPatrolSpawnPointComponent> SCR_CampaignMilitaryBaseComponent::m_aRemnants = {}
protected

Definition at line 115 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_aServiceBuiltMsgQueue

ref array<SCR_ERadioMsg> SCR_CampaignMilitaryBaseComponent::m_aServiceBuiltMsgQueue = {}
protected

Definition at line 117 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_aStartingVehicles

ref array<IEntity> SCR_CampaignMilitaryBaseComponent::m_aStartingVehicles = {}
protected

Definition at line 116 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_BaseBuildingComposition

IEntity SCR_CampaignMilitaryBaseComponent::m_BaseBuildingComposition
protected

Definition at line 146 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_bBuiltByPlayers

bool SCR_CampaignMilitaryBaseComponent::m_bBuiltByPlayers
protected

Definition at line 182 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_bCanBeHQ

bool SCR_CampaignMilitaryBaseComponent::m_bCanBeHQ
protected

Definition at line 43 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_bDisableWhenUnusedAsHQ

bool SCR_CampaignMilitaryBaseComponent::m_bDisableWhenUnusedAsHQ
protected

Definition at line 46 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_bEnemiesPresent

bool SCR_CampaignMilitaryBaseComponent::m_bEnemiesPresent
protected

Definition at line 188 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_bInitialized

bool SCR_CampaignMilitaryBaseComponent::m_bInitialized
protected

Definition at line 158 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_bIsControlPoint

bool SCR_CampaignMilitaryBaseComponent::m_bIsControlPoint
protected

Definition at line 40 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_bIsHQ

bool SCR_CampaignMilitaryBaseComponent::m_bIsHQ
protected

Definition at line 155 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_bIsResupplyTaskCreationEnabled

bool SCR_CampaignMilitaryBaseComponent::m_bIsResupplyTaskCreationEnabled
protected

Definition at line 64 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_bIsSupplyHub

bool SCR_CampaignMilitaryBaseComponent::m_bIsSupplyHub
protected

Definition at line 49 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_bLocalPlayerPresent

bool SCR_CampaignMilitaryBaseComponent::m_bLocalPlayerPresent
protected

Definition at line 125 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_bWasHQSet

bool SCR_CampaignMilitaryBaseComponent::m_bWasHQSet
protected

Definition at line 126 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_CapturingFaction

SCR_CampaignFaction SCR_CampaignMilitaryBaseComponent::m_CapturingFaction
protected

Definition at line 135 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_eCaptureState

SCR_EBaseCaptureState SCR_CampaignMilitaryBaseComponent::m_eCaptureState
protected

Definition at line 129 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_eSupplyRequestExecutionPriority

SCR_ESupplyRequestExecutionPriority SCR_CampaignMilitaryBaseComponent::m_eSupplyRequestExecutionPriority
protected

Definition at line 82 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_eType

SCR_ECampaignBaseType SCR_CampaignMilitaryBaseComponent::m_eType
protected

Definition at line 61 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_fLastEnemyContactTimestamp

WorldTimestamp SCR_CampaignMilitaryBaseComponent::m_fLastEnemyContactTimestamp
protected

Definition at line 123 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_fNextFrameCheck

float SCR_CampaignMilitaryBaseComponent::m_fNextFrameCheck
protected

Definition at line 120 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_fRadioRange

float SCR_CampaignMilitaryBaseComponent::m_fRadioRange
protected

Definition at line 170 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_fRadioRangeDefault

float SCR_CampaignMilitaryBaseComponent::m_fRadioRangeDefault
protected

Definition at line 122 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_fReservedSupplyAmount

float SCR_CampaignMilitaryBaseComponent::m_fReservedSupplyAmount
protected

Definition at line 79 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_fRespawnAvailableSince

WorldTimestamp SCR_CampaignMilitaryBaseComponent::m_fRespawnAvailableSince
protected

Definition at line 173 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_fStartingSupplies

float SCR_CampaignMilitaryBaseComponent::m_fStartingSupplies
protected

Definition at line 119 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_fSuppliesArrivalTime

WorldTimestamp SCR_CampaignMilitaryBaseComponent::m_fSuppliesArrivalTime
protected

Definition at line 179 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_fSupplyLimit

float SCR_CampaignMilitaryBaseComponent::m_fSupplyLimit
protected

Definition at line 76 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_fTimer

float SCR_CampaignMilitaryBaseComponent::m_fTimer
protected

Definition at line 121 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_iAttackingFaction

int SCR_CampaignMilitaryBaseComponent::m_iAttackingFaction = -1
protected

Definition at line 176 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_iCapturingFaction

int SCR_CampaignMilitaryBaseComponent::m_iCapturingFaction = INVALID_FACTION_INDEX
protected

Definition at line 164 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_iReconfiguredBy

int SCR_CampaignMilitaryBaseComponent::m_iReconfiguredBy = INVALID_PLAYER_INDEX
protected

Definition at line 167 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_iRegularSuppliesIncomeBase

int SCR_CampaignMilitaryBaseComponent::m_iRegularSuppliesIncomeBase
protected

Definition at line 70 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_iSupplyRegenAmount

int SCR_CampaignMilitaryBaseComponent::m_iSupplyRegenAmount
protected

Definition at line 161 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_MapDescriptor

SCR_CampaignMilitaryBaseMapDescriptorComponent SCR_CampaignMilitaryBaseComponent::m_MapDescriptor
protected

Definition at line 131 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_mDefendersData

ref map<int, WorldTimestamp> SCR_CampaignMilitaryBaseComponent::m_mDefendersData = new map<int, WorldTimestamp>()
protected

Definition at line 84 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_OnBaseAttackEnd

ref OnBaseAttackEndInvoker SCR_CampaignMilitaryBaseComponent::m_OnBaseAttackEnd
staticprotected

Definition at line 111 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_OnBaseCreatedasFOB

ref OnBaseCreatedAsFOBInvoker SCR_CampaignMilitaryBaseComponent::m_OnBaseCreatedasFOB
staticprotected

Definition at line 112 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_OnBaseUnderAttack

ref OnBaseStateChangedInvoker SCR_CampaignMilitaryBaseComponent::m_OnBaseUnderAttack
staticprotected

Definition at line 110 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_OnEnemyPresenceChanged

ref ScriptInvokerBool SCR_CampaignMilitaryBaseComponent::m_OnEnemyPresenceChanged
protected

Definition at line 152 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_OnFactionChangedExtended

ref OnBaseStateChangedInvoker SCR_CampaignMilitaryBaseComponent::m_OnFactionChangedExtended
staticprotected

Definition at line 109 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_OnReservedSupplyAmountChanged

ref ScriptInvokerFloat SCR_CampaignMilitaryBaseComponent::m_OnReservedSupplyAmountChanged
protected

Definition at line 150 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_OnSpawnPointAssigned

ref OnSpawnPointAssignedInvoker SCR_CampaignMilitaryBaseComponent::m_OnSpawnPointAssigned
protected

Definition at line 108 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_OnSupplyLimitChanged

ref OnSupplyLimitChangedInvoker SCR_CampaignMilitaryBaseComponent::m_OnSupplyLimitChanged
protected

Definition at line 148 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_OnSupplyRequestExecutionPriorityChanged

ref ScriptInvokerInt SCR_CampaignMilitaryBaseComponent::m_OnSupplyRequestExecutionPriorityChanged
protected

Definition at line 149 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_OwningFactionPrevious

SCR_CampaignFaction SCR_CampaignMilitaryBaseComponent::m_OwningFactionPrevious
protected

Definition at line 136 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_RadioComponent

SCR_CoverageRadioComponent SCR_CampaignMilitaryBaseComponent::m_RadioComponent
protected

Definition at line 138 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_sBaseName

string SCR_CampaignMilitaryBaseComponent::m_sBaseName
protected

Definition at line 52 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_sBaseNameUpper

string SCR_CampaignMilitaryBaseComponent::m_sBaseNameUpper
protected

Definition at line 55 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_sBuiltFaction

FactionKey SCR_CampaignMilitaryBaseComponent::m_sBuiltFaction
protected

Definition at line 185 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_SeekDestroyWP

SCR_TimedWaypoint SCR_CampaignMilitaryBaseComponent::m_SeekDestroyWP
protected

Definition at line 142 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_sMapLocationName

string SCR_CampaignMilitaryBaseComponent::m_sMapLocationName
protected

Definition at line 58 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_SpawnPoint

SCR_SpawnPoint SCR_CampaignMilitaryBaseComponent::m_SpawnPoint
protected

Definition at line 133 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_SuppliesArrivalInvoker

ref ScriptInvokerVoid SCR_CampaignMilitaryBaseComponent::m_SuppliesArrivalInvoker
protected

Definition at line 151 of file SCR_CampaignMilitaryBaseComponent.c.

◆ m_UIElement

SCR_CampaignMapUIBase SCR_CampaignMilitaryBaseComponent::m_UIElement
protected

Definition at line 140 of file SCR_CampaignMilitaryBaseComponent.c.

◆ params [1/2]

If value default Gamemode value will be SCR_CampaignMilitaryBaseComponent::params
protected

Definition at line 72 of file SCR_CampaignMilitaryBaseComponent.c.

◆ params [2/2]

category SCR_CampaignMilitaryBaseComponent::params
protected

Definition at line 66 of file SCR_CampaignMilitaryBaseComponent.c.

◆ RADIO_RECONFIGURATION_DURATION

const float SCR_CampaignMilitaryBaseComponent::RADIO_RECONFIGURATION_DURATION = 10.0
staticprotected

Definition at line 86 of file SCR_CampaignMilitaryBaseComponent.c.

◆ RELAY_BASE_RADIUS

const int SCR_CampaignMilitaryBaseComponent::RELAY_BASE_RADIUS = 100
staticprotected

Definition at line 92 of file SCR_CampaignMilitaryBaseComponent.c.

◆ RESPAWN_DELAY_AFTER_CAPTURE

const int SCR_CampaignMilitaryBaseComponent::RESPAWN_DELAY_AFTER_CAPTURE = 180000
staticprotected

Definition at line 91 of file SCR_CampaignMilitaryBaseComponent.c.

◆ s_OnBaseCaptured

ref ScriptInvokerBase<OnBaseCapturedDelegate> SCR_CampaignMilitaryBaseComponent::s_OnBaseCaptured
staticprotected

Definition at line 113 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SUPPLY_DEPOT_CAPACITY

const int SCR_CampaignMilitaryBaseComponent::SUPPLY_DEPOT_CAPACITY = 4500
staticprotected

Definition at line 94 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SUPPLY_LIMIT_MAX

const float SCR_CampaignMilitaryBaseComponent::SUPPLY_LIMIT_MAX = 0.9
staticprotected

Definition at line 99 of file SCR_CampaignMilitaryBaseComponent.c.

◆ SUPPLY_LIMIT_MIN

const float SCR_CampaignMilitaryBaseComponent::SUPPLY_LIMIT_MIN = 0
staticprotected

Definition at line 98 of file SCR_CampaignMilitaryBaseComponent.c.

◆ TICK_TIME

const int SCR_CampaignMilitaryBaseComponent::TICK_TIME = 1
staticprotected

Definition at line 101 of file SCR_CampaignMilitaryBaseComponent.c.

◆ UNDER_ATTACK_WARNING_PERIOD

const int SCR_CampaignMilitaryBaseComponent::UNDER_ATTACK_WARNING_PERIOD = 60
staticprotected

Definition at line 88 of file SCR_CampaignMilitaryBaseComponent.c.

◆ used

If value default Gamemode value will be SCR_CampaignMilitaryBaseComponent::used
protected

Definition at line 72 of file SCR_CampaignMilitaryBaseComponent.c.


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