Skip to content

Commit

Permalink
Alt R6 things I forgot last update 👍
Browse files Browse the repository at this point in the history
  • Loading branch information
AuriRex committed Sep 15, 2023
1 parent d386b08 commit 52a679c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions TheArchive.Core/Core/BuildDB.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public static int BuildNumber
{ 32416, RundownID.RundownAltTwo },
{ 32577, RundownID.RundownAltThree },
{ 32823, RundownID.RundownAltFour },
{ 33054, RundownID.RundownAltFive },
};

public static RundownID GetCurrentRundownID(int buildNumber)
Expand Down
10 changes: 6 additions & 4 deletions TheArchive.Core/Utilities/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,6 @@ public ValueAttribute(object value)
/// </summary>
public enum RundownID : int
{
Latest = RundownAltFive,

RundownUnitialized = -1,
RundownUnknown,
Expand All @@ -422,13 +421,14 @@ public enum RundownID : int
RundownAltThree,
RundownAltFour,
RundownAltFive,
RundownAltSix,

Latest = RundownAltSix,
}

[Flags]
public enum RundownFlags : int
{
Latest = RundownAltFive,

None = 0,
RundownOne = 1 << 0,
RundownTwo = 1 << 1,
Expand All @@ -442,10 +442,12 @@ public enum RundownFlags : int
RundownAltThree = 1 << 9,
RundownAltFour = 1 << 10,
RundownAltFive = 1 << 11,
RundownAltSix = 1 << 12,

All = RundownOne | RundownTwo | RundownThree | RundownFour | RundownFive | RundownSix | RundownSeven
| RundownAltOne | RundownAltTwo | RundownAltThree | RundownAltFour | RundownAltFive,
| RundownAltOne | RundownAltTwo | RundownAltThree | RundownAltFour | RundownAltFive | RundownAltSix,

Latest = RundownAltSix,
#warning TODO: Latest as external constant because alias behave weird with ToString() depending on the amount of enum entries
}

Expand Down

0 comments on commit 52a679c

Please sign in to comment.