|
| 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) |
| |
| override void | SessionMeasures () |
| | Periodically called when server has players To be overriden in modules to add session data before it is sent.
|
| |
| 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 | OnPlayerConnected (int playerId) |
| |
| void | OnControllableDestroyed (notnull SCR_InstigatorContextData instigatorContextData) |
| |
| void | OnGameEnd () |
| |
| void | OnControlledEntityChanged (IEntity from, IEntity to) |
| |
| bool | IsEnabled () |
| |
|
| override void | Enable () |
| |
| override void | Disable () |
| |
| override void | OnGameModeEnd () |
| |
| string | GetTypeFromResourceComponent (SCR_ResourceComponent resourceComponent) |
| | Get the type of consumer/generator by the resourceComponent.
|
| |
| bool | DistinguishOrphanAndBase (SCR_ResourceComponent resourceComponent, IEntity parent) |
| | Check if the resourceComponents belongs to an Orphan or a base.
|
| |
| 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) |
| |
| void | AddInvokers (IEntity player) |
| |
| void | RemoveInvokers (IEntity player) |
| |
| SCR_SessionDataEvent | GetSessionDataEvent () |
| |
◆ Disable()
| override void SCR_AnalyticsDataCollectionTransferSuppliesModule.Disable |
( |
| ) |
|
|
protected |
◆ DistinguishOrphanAndBase()
| bool SCR_AnalyticsDataCollectionTransferSuppliesModule.DistinguishOrphanAndBase |
( |
SCR_ResourceComponent | resourceComponent, |
|
|
IEntity | parent ) |
|
protected |
Check if the resourceComponents belongs to an Orphan or a base.
- Parameters
-
| [in] | resourceComponent | |
| [in] | parent | |
◆ Enable()
| override void SCR_AnalyticsDataCollectionTransferSuppliesModule.Enable |
( |
| ) |
|
|
protected |
◆ GetCharacterUniqueId()
| string SCR_AnalyticsDataCollectionTransferSuppliesModule.GetCharacterUniqueId |
( |
notnull PlayerController | playerController | ) |
|
◆ GetDestinationPosition()
- Parameters
-
| [in] | type | |
| [in] | resource | |
| [in] | playerController | |
| [in] | utility | |
- Returns
◆ GetMilitaryBase()
- Parameters
-
| [in] | resourceOwner | |
| [out] | outBase | |
- Returns
◆ GetMilitaryBasePosition()
| string SCR_AnalyticsDataCollectionTransferSuppliesModule.GetMilitaryBasePosition |
( |
SCR_ResourceComponent | resourceComponent | ) |
|
|
protected |
◆ GetPrefabName()
| ResourceName SCR_AnalyticsDataCollectionTransferSuppliesModule.GetPrefabName |
( |
SCR_ResourceComponent | resourceComponent | ) |
|
|
protected |
◆ GetPrefabNameFromAITruck()
◆ GetPrefabType()
| string SCR_AnalyticsDataCollectionTransferSuppliesModule.GetPrefabType |
( |
SCR_ResourceComponent | resourceComponent, |
|
|
bool | isPlayer ) |
|
protected |
◆ GetTransferingAIFaction()
◆ GetTransferingPlayerFaction()
| string SCR_AnalyticsDataCollectionTransferSuppliesModule.GetTransferingPlayerFaction |
( |
PlayerController | playerController | ) |
|
◆ GetTypeFromResourceComponent()
| string SCR_AnalyticsDataCollectionTransferSuppliesModule.GetTypeFromResourceComponent |
( |
SCR_ResourceComponent | resourceComponent | ) |
|
|
protected |
Get the type of consumer/generator by the resourceComponent.
- Parameters
-
◆ OnGameModeEnd()
| override void SCR_AnalyticsDataCollectionTransferSuppliesModule.OnGameModeEnd |
( |
| ) |
|
|
protected |
◆ OnTransferSupplies()
◆ OnTransferSuppliesByAI()
◆ OnTransferSuppliesByPlayer()
| void SCR_AnalyticsDataCollectionTransferSuppliesModule.OnTransferSuppliesByPlayer |
( |
EResourcePlayerInteractionType | interactionType, |
|
|
SCR_ResourceComponent | resourceComponentFrom, |
|
|
SCR_ResourceComponent | resourceComponentTo, |
|
|
EResourceType | resourceType, |
|
|
float | resourceValue, |
|
|
PlayerController | playerController ) |
|
protected |
◆ SessionMeasures()
| override void SCR_AnalyticsDataCollectionTransferSuppliesModule.SessionMeasures |
( |
| ) |
|
◆ SetPrefabName()
◆ BASE
| const string SCR_AnalyticsDataCollectionTransferSuppliesModule.BASE = "BASE" |
|
staticprotected |
◆ m_Interactions
◆ MAX_INTERACTIONS
| const int SCR_AnalyticsDataCollectionTransferSuppliesModule.MAX_INTERACTIONS = 2000 |
|
staticprotected |
The documentation for this interface was generated from the following file:
- Game/DataCollection/AnalyticsDataCollectionModules/SCR_AnalyticsDataCollectionTransferSuppliesModule.c