Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_AnalyticsDataCollectionAiGroupCostModule Interface Reference
Inheritance diagram for SCR_AnalyticsDataCollectionAiGroupCostModule:
SCR_AnalyticsDataCollectionSupplyCostBaseModule SCR_AnalyticsDataCollectionModule

Protected Member Functions

override void Enable ()
 
override void Disable ()
 
void OnAIGroupSpawned (IEntity userEntity, IEntity spawnedEntity)
 Player spawned an AI group, add group name and cost to data.
 
int GetAiGroupCost (IEntity groupEntity)
 Calculate supply cost of AI group.
 
void ~SCR_AnalyticsDataCollectionAiGroupCostModule ()
 
- Protected Member Functions inherited from SCR_AnalyticsDataCollectionSupplyCostBaseModule
override void OnPlayerConnected (int playerId)
 
void AddSupplySpendingData (int playerID, string itemName, int cost)
 
override void OnGameModeEnd ()
 
- Protected Member Functions inherited from SCR_AnalyticsDataCollectionModule
void AddInvokers (IEntity player)
 
void RemoveInvokers (IEntity player)
 
SCR_SessionDataEvent GetSessionDataEvent ()
 

Additional Inherited Members

- Public Member Functions inherited from SCR_AnalyticsDataCollectionSupplyCostBaseModule
SCR_AnalyticsPlayerSupplySpendingData GetPlayerSpendingData (int playerID)
 
void AddPlayerResourceSpendingData (int playerID)
 Gets the supply spending data from all modules and inserts it into dataEvent.
 
- Public Member Functions inherited from SCR_AnalyticsDataCollectionModule
void InitModule ()
 
void Update (float timeTick)
 
void OnPlayerSpawned (SCR_SpawnRequestComponent requestComponent, int playerId, SCR_SpawnData data, IEntity controlledEntity)
 
void OnPlayerDisconnected (int playerId, KickCauseCode cause, IEntity controlledEntity=null)
 
void OnControllableDestroyed (notnull SCR_InstigatorContextData instigatorContextData)
 
void OnGameEnd ()
 
void OnControlledEntityChanged (IEntity from, IEntity to)
 
void SessionMeasures ()
 Periodically called when server has players To be overriden in modules to add session data before it is sent.
 
bool IsEnabled ()
 
- Public Attributes inherited from SCR_AnalyticsDataCollectionModule
float m_fUpdatePeriod
 
- Protected Attributes inherited from SCR_AnalyticsDataCollectionSupplyCostBaseModule
ref map< int, ref SCR_AnalyticsPlayerSupplySpendingDatam_mPlayerSupplySpendingData = new map<int, ref SCR_AnalyticsPlayerSupplySpendingData>()
 
- Protected Attributes inherited from SCR_AnalyticsDataCollectionModule
float m_fTimeSinceUpdate = 0
 
bool m_bIsEnabled = true
 

Constructor & Destructor Documentation

◆ ~SCR_AnalyticsDataCollectionAiGroupCostModule()

void SCR_AnalyticsDataCollectionAiGroupCostModule.~SCR_AnalyticsDataCollectionAiGroupCostModule ( )
protected

Member Function Documentation

◆ Disable()

override void SCR_AnalyticsDataCollectionAiGroupCostModule.Disable ( )
protected

◆ Enable()

override void SCR_AnalyticsDataCollectionAiGroupCostModule.Enable ( )
protected

◆ GetAiGroupCost()

int SCR_AnalyticsDataCollectionAiGroupCostModule.GetAiGroupCost ( IEntity groupEntity)
protected

Calculate supply cost of AI group.

Parameters
[in]groupEntityreturn int supply cost

◆ OnAIGroupSpawned()

void SCR_AnalyticsDataCollectionAiGroupCostModule.OnAIGroupSpawned ( IEntity userEntity,
IEntity spawnedEntity )
protected

Player spawned an AI group, add group name and cost to data.

Parameters
[in]userEntity
[in]spawnedEntity

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