using System; namespace Amanotes.TripleSDK.Core.AdUnits { [InjectService] [UnityEngine.Scripting.Preserve] public sealed class AdsContext { public AdsContext() { } /// /// called to show ad to continue game when user failed in game /// public const string ADS_TYPE_CONTINUE = "continue"; /// /// called to show ad to receive free diamond /// public const string ADS_TYPE_DIAMOND = "getdiamond"; /// /// called to show ad to receive x2 diamond /// public const string ADS_TYPE_X2DIAMOND = "x2diamond"; /// /// called to show ad to user unlock song /// public const string ADS_TYPE_UNLOCKSONG = "unlocksong"; public const string SONG_ID = "song_id"; public const string SONG_NAME = "song_name"; public const string SCREEN = "screen"; public const string LEVEL = "level"; public const string TYPE = "type"; /// /// Name of song where event is triggered (if song uploaded by user, value is "local_song") /// public string SongId { get; set; } /// /// if song uploaded by user, value is "local_song" /// public string SongName { get; set; } /// /// Name of screen where event is triggered /// With the following values: /// - continue_game: called to show ad in continue screen when user failed in game /// - result_game: called to show ad when user finish a song and in result screen /// - home: called to show ad when user in home screen (main menu) /// - shop: called to show ad when user in shop screen" /// public string Screen { get; set; } /// /// The ordinal number of the song in the song list (i.e whether it is the 1st song, 2nd....) /// public int Level { get; set; } public string Type { get; set; } } }