|
| void | OpenInventory (float currentWeight) |
| | User opens the inventory and it contains a specific weight.
|
| |
| void | CloseInventory (float currentWeight) |
| | User closes the inventory and it contains a specific weight.
|
| |
| void | Update (float deltaSeconds) |
| | Update time spent in inventory and outside it.
|
| |
| bool | IsReadyToSend () |
| | Check if we are ready to send our saved data to analytics.
|
| |
| void | ResetReadyToSend () |
| | We have sended the data, so we reset.
|
| |
| void | InteractWithItem (SCR_EAnalyticalItemSlotType itemSlotType) |
| | We have interacted with an item of particular slot type.
|
| |
| void | UseHealing () |
| | We used healing (bandages) through the inventory. Save it for analytics.
|
| |
| void | UseExamination () |
| | We used examination through the inventory. Save it for analytics.
|
| |
| SCR_InventoryData | GetClonedData () |
| |
◆ ArrayToString()
| string SCR_AnalyticsInventory.ArrayToString |
( |
array< float > | arr | ) |
|
|
protected |
- Returns
- currently saved data as a copy
◆ CloseInventory()
| void SCR_AnalyticsInventory.CloseInventory |
( |
float | currentWeight | ) |
|
User closes the inventory and it contains a specific weight.
Save it for the analytics.
- Parameters
-
◆ GetClonedData()
- Returns
- currently saved data as a copy
◆ InteractWithItem()
| void SCR_AnalyticsInventory.InteractWithItem |
( |
SCR_EAnalyticalItemSlotType | itemSlotType | ) |
|
We have interacted with an item of particular slot type.
- Parameters
-
◆ IsReadyToSend()
| bool SCR_AnalyticsInventory.IsReadyToSend |
( |
| ) |
|
Check if we are ready to send our saved data to analytics.
- Returns
- bool
◆ OpenInventory()
| void SCR_AnalyticsInventory.OpenInventory |
( |
float | currentWeight | ) |
|
User opens the inventory and it contains a specific weight.
Save it for the analytics.
- Parameters
-
◆ ResetReadyToSend()
| void SCR_AnalyticsInventory.ResetReadyToSend |
( |
| ) |
|
We have sended the data, so we reset.
◆ Update()
| void SCR_AnalyticsInventory.Update |
( |
float | deltaSeconds | ) |
|
Update time spent in inventory and outside it.
We need to wait until we send the inventoryClosed event to prevent multiple sends in rapid succession.
- Parameters
-
◆ UseExamination()
| void SCR_AnalyticsInventory.UseExamination |
( |
| ) |
|
We used examination through the inventory. Save it for analytics.
◆ UseHealing()
| void SCR_AnalyticsInventory.UseHealing |
( |
| ) |
|
We used healing (bandages) through the inventory. Save it for analytics.
◆ m_aCloseWeights
| ref array<float> SCR_AnalyticsInventory.m_aCloseWeights = {} |
|
protected |
◆ m_aOpenWeights
| ref array<float> SCR_AnalyticsInventory.m_aOpenWeights = {} |
|
protected |
◆ m_DelayedSend
◆ m_Inventory
The documentation for this interface was generated from the following file:
- Game/DataCollection/ApplicationData/SCR_AnalyticsInventory.c