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

Protected Member Functions

override void Init (SCR_TaskCreatorComponent taskCreatorComponent)
override void Deinit ()
void SubscribeToBaseEvents (SCR_CampaignMilitaryBaseComponent campaignBase)
void UnsubscribeFromBaseEvents (SCR_MilitaryBaseComponent base)
void TryCreateResuplyTask (SCR_CampaignMilitaryBaseComponent campaignBase)
void OnSuppliesLimitChanged (SCR_CampaignMilitaryBaseComponent campaignBase, float supplyLimit)
void OnResourcesChanged (SCR_ResourceInteractor resourceInteractor, float value)
void OnBaseBuilt (SCR_CampaignMilitaryBaseComponent campaignBase, Faction faction)
void OnSignalChanged (SCR_CampaignMilitaryBaseComponent campaignBase)
void OnBaseFactionChanged (SCR_MilitaryBaseComponent base, Faction faction)
void TryCreateResupplyTaskDelayed (SCR_CampaignMilitaryBaseComponent campaignBase)

Protected Attributes

bool m_bCreateForAllPlayableFactions
ref array< FactionKeym_aFactionKeys
SCR_CampaignMilitaryBaseManager m_MilitaryBaseManager
ref map< SCR_ResourceConsumer, SCR_CampaignMilitaryBaseComponentm_mBaseToResourceConsumer = new map<SCR_ResourceConsumer, SCR_CampaignMilitaryBaseComponent>()

Static Protected Attributes

static const string CAMPAIGN_RESUPPLY_TASK_ID = "%1_CampaignResupplyTask_%2"

Detailed Description

Definition at line 2 of file SCR_ResupplyTaskCreator.c.

Member Function Documentation

◆ Deinit()

override void SCR_ResupplyTaskCreator::Deinit ( )
inlineprotected

Definition at line 42 of file SCR_ResupplyTaskCreator.c.

◆ Init()

override void SCR_ResupplyTaskCreator::Init ( SCR_TaskCreatorComponent taskCreatorComponent)
inlineprotected

Definition at line 16 of file SCR_ResupplyTaskCreator.c.

◆ OnBaseBuilt()

void SCR_ResupplyTaskCreator::OnBaseBuilt ( SCR_CampaignMilitaryBaseComponent campaignBase,
Faction faction )
inlineprotected

Definition at line 190 of file SCR_ResupplyTaskCreator.c.

◆ OnBaseFactionChanged()

void SCR_ResupplyTaskCreator::OnBaseFactionChanged ( SCR_MilitaryBaseComponent base,
Faction faction )
inlineprotected

Definition at line 212 of file SCR_ResupplyTaskCreator.c.

◆ OnResourcesChanged()

void SCR_ResupplyTaskCreator::OnResourcesChanged ( SCR_ResourceInteractor resourceInteractor,
float value )
inlineprotected

Definition at line 179 of file SCR_ResupplyTaskCreator.c.

◆ OnSignalChanged()

void SCR_ResupplyTaskCreator::OnSignalChanged ( SCR_CampaignMilitaryBaseComponent campaignBase)
inlineprotected

Definition at line 201 of file SCR_ResupplyTaskCreator.c.

◆ OnSuppliesLimitChanged()

void SCR_ResupplyTaskCreator::OnSuppliesLimitChanged ( SCR_CampaignMilitaryBaseComponent campaignBase,
float supplyLimit )
inlineprotected

Definition at line 173 of file SCR_ResupplyTaskCreator.c.

◆ SubscribeToBaseEvents()

void SCR_ResupplyTaskCreator::SubscribeToBaseEvents ( SCR_CampaignMilitaryBaseComponent campaignBase)
inlineprotected

Definition at line 66 of file SCR_ResupplyTaskCreator.c.

◆ TryCreateResuplyTask()

void SCR_ResupplyTaskCreator::TryCreateResuplyTask ( SCR_CampaignMilitaryBaseComponent campaignBase)
inlineprotected

Definition at line 117 of file SCR_ResupplyTaskCreator.c.

◆ TryCreateResupplyTaskDelayed()

void SCR_ResupplyTaskCreator::TryCreateResupplyTaskDelayed ( SCR_CampaignMilitaryBaseComponent campaignBase)
inlineprotected

Definition at line 221 of file SCR_ResupplyTaskCreator.c.

◆ UnsubscribeFromBaseEvents()

void SCR_ResupplyTaskCreator::UnsubscribeFromBaseEvents ( SCR_MilitaryBaseComponent base)
inlineprotected

Definition at line 95 of file SCR_ResupplyTaskCreator.c.

Member Data Documentation

◆ CAMPAIGN_RESUPPLY_TASK_ID

const string SCR_ResupplyTaskCreator::CAMPAIGN_RESUPPLY_TASK_ID = "%1_CampaignResupplyTask_%2"
staticprotected

Definition at line 13 of file SCR_ResupplyTaskCreator.c.

◆ m_aFactionKeys

ref array<FactionKey> SCR_ResupplyTaskCreator::m_aFactionKeys
protected

Definition at line 8 of file SCR_ResupplyTaskCreator.c.

◆ m_bCreateForAllPlayableFactions

bool SCR_ResupplyTaskCreator::m_bCreateForAllPlayableFactions
protected

Definition at line 5 of file SCR_ResupplyTaskCreator.c.

◆ m_mBaseToResourceConsumer

ref map<SCR_ResourceConsumer, SCR_CampaignMilitaryBaseComponent> SCR_ResupplyTaskCreator::m_mBaseToResourceConsumer = new map<SCR_ResourceConsumer, SCR_CampaignMilitaryBaseComponent>()
protected

Definition at line 11 of file SCR_ResupplyTaskCreator.c.

◆ m_MilitaryBaseManager

SCR_CampaignMilitaryBaseManager SCR_ResupplyTaskCreator::m_MilitaryBaseManager
protected

Definition at line 10 of file SCR_ResupplyTaskCreator.c.


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