private void LoadBadges() { badges = new BadgeList <Badge>(); badges.Add(new Badge(Badges.BADGE_SCORE_PARTICIPANT, "Participant", "You've scored 1000 points defeating enemies.", GetBadgeIcon("Participant"))); badges.Add(new Badge(Badges.BADGE_SCORE_ROOKIE, "Rookie", "You've scored 10,000 points defeating enemies.", GetBadgeIcon("Rookie"))); badges.Add(new Badge(Badges.BADGE_SCORE_COMPETITOR, "Competitor", "You've scored 50,000 points defeating enemies.", GetBadgeIcon("Competitor"))); badges.Add(new Badge(Badges.BADGE_SCORE_PLAYER, "Player", "You've scored 100,000 points defeating enemies.", GetBadgeIcon("Player"))); badges.Add(new Badge(Badges.BADGE_SCORE_MAJOR_PLAYER, "Major Player", "You've scored 500,000 points defeating enemies.", GetBadgeIcon("Major Player"))); badges.Add(new Badge(Badges.BADGE_SCORE_CHAMP, "Champ", "You've scored 1,000,000 points defeating enemies.", GetBadgeIcon("Champ"))); badges.Add(new Badge(Badges.BADGE_COIN_BENJAMINS, "Benjamins", "You've earned 100 in-store credits.", GetBadgeIcon("Benjamins"))); badges.Add(new Badge(Badges.BADGE_COIN_CASH_COW, "Cash Cow", "You've earned 1,000 in-store credits.", GetBadgeIcon("Cash Cow"))); badges.Add(new Badge(Badges.BADGE_COIN_LOOT, "Loot", "You've earned 5,000 in-store credits.", GetBadgeIcon("Loot"))); badges.Add(new Badge(Badges.BADGE_COIN_WAD, "Wad", "You've earned 10,000 in-store credits.", GetBadgeIcon("Wad"))); badges.Add(new Badge(Badges.BADGE_COIN_BIG_BANK_HANK, "Big Bank Hank", "You've earned 50,000 in-store credits.", GetBadgeIcon("Big Bank Hank"))); badges.Add(new Badge(Badges.BADGE_COIN_RICH, "Rich", "You've earned 100,000 in-store credits.", GetBadgeIcon("Rich"))); badges.Add(new Badge(Badges.BADGE_COIN_MILLIONAIRE, "Millionaire", "You've earned 1,000,000 in-store credits.", GetBadgeIcon("Millionaire"))); badges.Add(new Badge(Badges.BADGE_CONSECUTIVE_DAYS_TOURIST, "Tourist", "You've played for 2 consecutive days.", GetBadgeIcon("Tourist"))); badges.Add(new Badge(Badges.BADGE_CONSECUTIVE_DAYS_VISITOR, "Visitor", "You've played for 7 consecutive days.", GetBadgeIcon("Visitor"))); badges.Add(new Badge(Badges.BADGE_CONSECUTIVE_DAYS_DAY_TRIPPER, "Day Tripper", "You've played for 14 consecutive days.", GetBadgeIcon("Day Tripper"))); badges.Add(new Badge(Badges.BADGE_CONSECUTIVE_DAYS_HARD_CORE, "Hard Core", "You've played for 30 consecutive days.", GetBadgeIcon("Hard Core"))); badges.Add(new Badge(Badges.BADGE_CONSECUTIVE_DAYS_ADDICTED, "Addicted", "You've played for 60 consecutive days.", GetBadgeIcon("Addicted"))); badges.Add(new Badge(Badges.BADGE_CONSECUTIVE_DAYS_FANATIC, "Fanatic", "You've played for 90 consecutive days.", GetBadgeIcon("Fanatic"))); badges.Add(new Badge(Badges.BADGE_CONSECUTIVE_DAYS_DEVOTEE, "Devotee", "You've played for 120 consecutive days.", GetBadgeIcon("Devotee"))); badges.Add(new Badge(Badges.BADGE_CONSECUTIVE_DAYS_ZEALOT, "Zealot", "You've played for 150 consecutive days.", GetBadgeIcon("Zealot"))); badges.Add(new Badge(Badges.BADGE_CONSECUTIVE_DAYS_GET_A_LIFE, "Get A Life", "You've played for 365 consecutive days.", GetBadgeIcon("Get A Life"))); badges.Add(new Badge(Badges.BADGE_DEFEATED_SUPERBRAIN_VICTOR, "Victor", "You've defeated Superbrain", GetBadgeIcon("Victor"))); badges.Add(new Badge(Badges.BADGE_DEFEATED_SUPERBRAIN_HERO, "Hero", "You've defeated Superbrain 10 times", GetBadgeIcon("Hero"))); badges.Add(new Badge(Badges.BADGE_DEFEATED_SUPERBRAIN_SUPER_HERO, "Super Hero", "You've defeated Superbrain 50 times", GetBadgeIcon("Super Hero"))); badges.Add(new Badge(Badges.BADGE_DEFEATED_SUPERBRAIN_BRAIN_BLASTER, "Brain Blaster", "You've defeated Superbrain 100 times", GetBadgeIcon("Brain Blaster"))); badges.Add(new Badge(Badges.BADGE_DEFEATED_BY_SUPERBRAIN_DEFEATED, "Defeated", "You were defeated by Superbrain", GetBadgeIcon("Defeated"))); badges.Add(new Badge(Badges.BADGE_DEFEATED_BY_SUPERBRAIN_LOSER, "Loser", "You were defeated by Superbrain 10 times", GetBadgeIcon("Loser"))); badges.Add(new Badge(Badges.BADGE_DEFEATED_BY_SUPERBRAIN_BROWBEATEN, "Browbeaten", "You were defeated by Superbrain 50 times", GetBadgeIcon("Browbeaten"))); badges.Add(new Badge(Badges.BADGE_DEFEATED_BY_SUPERBRAIN_BRAIN_BLASTED, "Brain Blasted", "You were defeated by Superbrain 100 times", GetBadgeIcon("Brain Blasted"))); }
public Customer(string inId, string inFirstName, string inLastName, string inDisplayName, string inAvitarURL) { id = inId; firstName = inFirstName; lastName = inLastName; displayName = inDisplayName; avitarURL = inAvitarURL; badges = new BadgeList <CustomerBadge>(); }
private async void Page_Loaded(object sender, RoutedEventArgs e) { UserInfo = await US.GetUserInfo(); if (UserInfo.Err.Count == 0) { ProfileBanner.Source = UserInfo.User.Banner; ProfilePic.Source = UserInfo.User.Avatar; UserNameTB.Text = $"{UserInfo.User.login}#{UserInfo.User.Id}"; BadgeList Badges = await BS.GetUserBadges(UserInfo.User.Id); BadgesView.ItemsSource = Badges.Badges; } }
public Customer() { badges = new BadgeList <CustomerBadge>(); }
private void btn_badges_MouseLeftButtonUp(object sender, MouseButtonEventArgs e) { BadgeList bad = new BadgeList(); this.NavigationService.Navigate(bad); }