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

Protected Member Functions

override void Enable ()
override void Disable ()
override void OnGameModeEnd ()
string GetTypeFromResourceComponent (SCR_ResourceComponent resourceComponent)
bool DistinguishOrphanAndBase (SCR_ResourceComponent resourceComponent, IEntity parent)
string GetDestinationPosition (string type, SCR_ResourceComponent resource, PlayerController playerController, SCR_AIGroupUtilityComponent utility)
bool GetMilitaryBase (IEntity resourceOwner, out SCR_CampaignMilitaryBaseComponent outBase)
string GetTransferingPlayerFaction (PlayerController playerController)
string GetTransferingAIFaction (SCR_AIGroupUtilityComponent utility)
string GetCharacterUniqueId (notnull PlayerController playerController)
ResourceName GetPrefabName (SCR_ResourceComponent resourceComponent)
ResourceName GetPrefabNameFromAITruck (SCR_AIGroupUtilityComponent utility)
ResourceName SetPrefabName (bool isPlayer, string resourceType, SCR_ResourceComponent resourceComponent, SCR_AIGroupUtilityComponent utility)
void OnTransferSuppliesByPlayer (EResourcePlayerInteractionType interactionType, SCR_ResourceComponent resourceComponentFrom, SCR_ResourceComponent resourceComponentTo, EResourceType resourceType, float resourceValue, PlayerController playerController)
void OnTransferSuppliesByAI (EResourcePlayerInteractionType interactionType, SCR_ResourceComponent resourceComponentFrom, SCR_ResourceComponent resourceComponentTo, EResourceType resourceType, float resourceValue, SCR_AIGroupUtilityComponent utility)
void OnTransferSupplies (EResourcePlayerInteractionType interactionType, SCR_ResourceComponent resourceComponentFrom, SCR_ResourceComponent resourceComponentTo, EResourceType resourceType, float resourceValue, PlayerController playerController, SCR_AIGroupUtilityComponent utility)
string GetPrefabType (SCR_ResourceComponent resourceComponent, bool isPlayer)
string GetMilitaryBasePosition (SCR_ResourceComponent resourceComponent)
override void SessionMeasures ()

Protected Attributes

ref array< ref SCR_TransferSuppliesInteractionm_Interactions = new array<ref SCR_TransferSuppliesInteraction>()

Static Protected Attributes

static const string BASE = "BASE"
static const int MAX_INTERACTIONS = 2000

Detailed Description

Member Function Documentation

◆ Disable()

override void SCR_AnalyticsDataCollectionTransferSuppliesModule::Disable ( )
inlineprotected

◆ DistinguishOrphanAndBase()

bool SCR_AnalyticsDataCollectionTransferSuppliesModule::DistinguishOrphanAndBase ( SCR_ResourceComponent resourceComponent,
IEntity parent )
inlineprotected

Check if the resourceComponents belongs to an Orphan or a base

Parameters
[in]resourceComponent
[in]parent

Definition at line 106 of file SCR_AnalyticsDataCollectionTransferSuppliesModule.c.

◆ Enable()

override void SCR_AnalyticsDataCollectionTransferSuppliesModule::Enable ( )
inlineprotected

◆ GetCharacterUniqueId()

string SCR_AnalyticsDataCollectionTransferSuppliesModule::GetCharacterUniqueId ( notnull PlayerController playerController)
inlineprotected
Parameters
[in]playerController
Returns

Definition at line 208 of file SCR_AnalyticsDataCollectionTransferSuppliesModule.c.

◆ GetDestinationPosition()

string SCR_AnalyticsDataCollectionTransferSuppliesModule::GetDestinationPosition ( string type,
SCR_ResourceComponent resource,
PlayerController playerController,
SCR_AIGroupUtilityComponent utility )
inlineprotected
Parameters
[in]type
[in]resource
[in]playerController
[in]utility
Returns

Definition at line 125 of file SCR_AnalyticsDataCollectionTransferSuppliesModule.c.

◆ GetMilitaryBase()

bool SCR_AnalyticsDataCollectionTransferSuppliesModule::GetMilitaryBase ( IEntity resourceOwner,
out SCR_CampaignMilitaryBaseComponent outBase )
inlineprotected
Parameters
[in]resourceOwner
[out]outBase
Returns

Definition at line 159 of file SCR_AnalyticsDataCollectionTransferSuppliesModule.c.

◆ GetMilitaryBasePosition()

string SCR_AnalyticsDataCollectionTransferSuppliesModule::GetMilitaryBasePosition ( SCR_ResourceComponent resourceComponent)
inlineprotected

◆ GetPrefabName()

ResourceName SCR_AnalyticsDataCollectionTransferSuppliesModule::GetPrefabName ( SCR_ResourceComponent resourceComponent)
inlineprotected

◆ GetPrefabNameFromAITruck()

ResourceName SCR_AnalyticsDataCollectionTransferSuppliesModule::GetPrefabNameFromAITruck ( SCR_AIGroupUtilityComponent utility)
inlineprotected

◆ GetPrefabType()

string SCR_AnalyticsDataCollectionTransferSuppliesModule::GetPrefabType ( SCR_ResourceComponent resourceComponent,
bool isPlayer )
inlineprotected

◆ GetTransferingAIFaction()

string SCR_AnalyticsDataCollectionTransferSuppliesModule::GetTransferingAIFaction ( SCR_AIGroupUtilityComponent utility)
inlineprotected
Parameters
[in]utility
Returns

Definition at line 196 of file SCR_AnalyticsDataCollectionTransferSuppliesModule.c.

◆ GetTransferingPlayerFaction()

string SCR_AnalyticsDataCollectionTransferSuppliesModule::GetTransferingPlayerFaction ( PlayerController playerController)
inlineprotected
Parameters
[in]playerController
Returns

Definition at line 180 of file SCR_AnalyticsDataCollectionTransferSuppliesModule.c.

◆ GetTypeFromResourceComponent()

string SCR_AnalyticsDataCollectionTransferSuppliesModule::GetTypeFromResourceComponent ( SCR_ResourceComponent resourceComponent)
inlineprotected

Get the type of consumer/generator by the resourceComponent

Parameters
[in]resourceComponent

Definition at line 77 of file SCR_AnalyticsDataCollectionTransferSuppliesModule.c.

◆ OnGameModeEnd()

override void SCR_AnalyticsDataCollectionTransferSuppliesModule::OnGameModeEnd ( )
inlineprotected

◆ OnTransferSupplies()

void SCR_AnalyticsDataCollectionTransferSuppliesModule::OnTransferSupplies ( EResourcePlayerInteractionType interactionType,
SCR_ResourceComponent resourceComponentFrom,
SCR_ResourceComponent resourceComponentTo,
EResourceType resourceType,
float resourceValue,
PlayerController playerController,
SCR_AIGroupUtilityComponent utility )
inlineprotected

◆ OnTransferSuppliesByAI()

void SCR_AnalyticsDataCollectionTransferSuppliesModule::OnTransferSuppliesByAI ( EResourcePlayerInteractionType interactionType,
SCR_ResourceComponent resourceComponentFrom,
SCR_ResourceComponent resourceComponentTo,
EResourceType resourceType,
float resourceValue,
SCR_AIGroupUtilityComponent utility )
inlineprotected

◆ OnTransferSuppliesByPlayer()

void SCR_AnalyticsDataCollectionTransferSuppliesModule::OnTransferSuppliesByPlayer ( EResourcePlayerInteractionType interactionType,
SCR_ResourceComponent resourceComponentFrom,
SCR_ResourceComponent resourceComponentTo,
EResourceType resourceType,
float resourceValue,
PlayerController playerController )
inlineprotected

◆ SessionMeasures()

override void SCR_AnalyticsDataCollectionTransferSuppliesModule::SessionMeasures ( )
inlineprotected

◆ SetPrefabName()

ResourceName SCR_AnalyticsDataCollectionTransferSuppliesModule::SetPrefabName ( bool isPlayer,
string resourceType,
SCR_ResourceComponent resourceComponent,
SCR_AIGroupUtilityComponent utility )
inlineprotected

Member Data Documentation

◆ BASE

const string SCR_AnalyticsDataCollectionTransferSuppliesModule::BASE = "BASE"
staticprotected

◆ m_Interactions

ref array<ref SCR_TransferSuppliesInteraction> SCR_AnalyticsDataCollectionTransferSuppliesModule::m_Interactions = new array<ref SCR_TransferSuppliesInteraction>()
protected

◆ MAX_INTERACTIONS

const int SCR_AnalyticsDataCollectionTransferSuppliesModule::MAX_INTERACTIONS = 2000
staticprotected

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