MagifyManager․GameState
Overview
This part of the MagifyManager provides access to operations with game state data.
The SDK adds the current game mode, level and max level to Applovin Max and LevelPlay ads impressions, in-app purchases, new subscriptions (trial and paid) and custom events. With advanced integration, it also adds them to transactions and to campaign impressions, clicks and failed impressions.
MagifyManager.TrackCustomAdsImpression does not use these values: it takes level, maxLevel and mode from its own parameters.
The SDK does not save these values. Set them again after each SDK initialization and after MagifyService.Reset or MagifyManager.Reset.
SetGameMode
void SetGameMode(string mode)
Sets game mode for analytics.
SetGameLevel
void SetGameLevel(int level)
Sets game level for analytics.
SetGameMaxLevel
void SetGameMaxLevel(int level)
Sets game max level for analytics.