Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #111 from drebrez/fix/remove-obsolete-dictionaries
Browse files Browse the repository at this point in the history
Remove obsolete dictionaries
  • Loading branch information
aspriddell authored Oct 13, 2020
2 parents 99f4f93 + 2673280 commit 46a45a4
Showing 1 changed file with 0 additions and 75 deletions.
75 changes: 0 additions & 75 deletions DragonFruit.Six.API/References.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Dragon6 API Copyright 2020 DragonFruit Network <inbox@dragonfruit.network>
// Licensed under Apache-2. Please refer to the LICENSE file for more info

using System;
using System.Collections.Generic;
using System.Globalization;
using DragonFruit.Six.API.Data.Containers;
Expand Down Expand Up @@ -94,79 +93,5 @@ public static readonly IReadOnlyDictionary<byte, string> WeaponClasses
};

#endregion

#region Obsolete Dictionaries

[Obsolete("LegacyRankNames dictionary is deprecated, please use LegacyRanks dictionary instead.")]
public static readonly IReadOnlyDictionary<uint, string> LegacyRankNames
= new Dictionary<uint, string>
{
[0] = "Unranked",

[1] = "Copper 4",
[2] = "Copper 3",
[3] = "Copper 2",
[4] = "Copper 1",

[5] = "Bronze 4",
[6] = "Bronze 3",
[7] = "Bronze 2",
[8] = "Bronze 1",

[9] = "Silver 4",
[10] = "Silver 3",
[11] = "Silver 2",
[12] = "Silver 1",

[13] = "Gold 4",
[14] = "Gold 3",
[15] = "Gold 2",
[16] = "Gold 1",

[17] = "Platinum 3",
[18] = "Platinum 2",
[19] = "Platinum 1",

[20] = "Diamond"
};

[Obsolete("RankNames dictionary is deprecated, please use Ranks dictionary instead.")]
public static readonly IReadOnlyDictionary<uint, string> RankNames
= new Dictionary<uint, string>
{
[0] = "Unranked",

[1] = "Copper 5",
[2] = "Copper 4",
[3] = "Copper 3",
[4] = "Copper 2",
[5] = "Copper 1",

[6] = "Bronze 5",
[7] = "Bronze 4",
[8] = "Bronze 3",
[9] = "Bronze 2",
[10] = "Bronze 1",

[11] = "Silver 5",
[12] = "Silver 4",
[13] = "Silver 3",
[14] = "Silver 2",
[15] = "Silver 1",

[16] = "Gold 3",
[17] = "Gold 2",
[18] = "Gold 1",

[19] = "Platinum 3",
[20] = "Platinum 2",
[21] = "Platinum 1",

[22] = "Diamond",

[23] = "Champion"
};

#endregion
}
}

0 comments on commit 46a45a4

Please sign in to comment.