Ejemplo n.º 1
0
        static ConfigNotifications()
        {
            NotificationEntry entry = new NotificationEntry();

            entry.Id                    = "BossSummonTimerNotification";
            entry.Title                 = ConfigLoca.NOTIFICATIONS_PROMPT_PLAY;
            entry.Description           = ConfigLoca.NOTIFICATIONS_BOSS_SUMMON_TIMER;
            entry.BadgeNumber           = 1;
            BossSummonTimerNotification = entry;
            entry             = new NotificationEntry();
            entry.Id          = "CoinsCollectedTimerNotification";
            entry.Title       = ConfigLoca.NOTIFICATIONS_PROMPT_PLAY;
            entry.Description = ConfigLoca.NOTIFICATIONS_COINS_COLLECTED_TIMER;
            entry.BadgeNumber = 1;
            CoinCollectedTimerNotification = entry;
            entry                           = new NotificationEntry();
            entry.Id                        = "RetentionD1Notification";
            entry.Title                     = ConfigLoca.NOTIFICATIONS_PROMPT_PLAY;
            entry.Description               = ConfigLoca.NOTIFICATIONS_RETENTION_D1;
            entry.TimeOffsetTicks           = TimeUtil.DaysToTicks(1);
            entry.BadgeNumber               = 2;
            RetentionD1Notification         = entry;
            entry                           = new NotificationEntry();
            entry.Id                        = "RetentionD7Notification";
            entry.Title                     = ConfigLoca.NOTIFICATIONS_PROMPT_PLAY;
            entry.Description               = ConfigLoca.NOTIFICATIONS_RETENTION_D7;
            entry.TimeOffsetTicks           = TimeUtil.DaysToTicks(7);
            entry.BadgeNumber               = 3;
            RetentionD7Notification         = entry;
            entry                           = new NotificationEntry();
            entry.Id                        = "NewMissionAvailableNotification";
            entry.Title                     = ConfigLoca.NOTIFICATIONS_PROMPT_PLAY;
            entry.Description               = ConfigLoca.NOTIFICATIONS_NEW_BOUNTY;
            entry.BadgeNumber               = 1;
            NewMissionAvailableNotification = entry;
        }