Skip to content

Commit

Permalink
Update enums for 23.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
azeier committed Jun 15, 2022
1 parent 9920bd8 commit 74e6fd1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
8 changes: 8 additions & 0 deletions HearthDb/Enums/Enums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -931,6 +931,7 @@ public enum GameTag
COIN_MANA_GEM_FOR_CHOICE_CARDS = 1643,
METAMORPHOSIS = 1644,
HERO_POWER_ENTITY = 1646,
BACON_PLAYER_RESULTS_HERO_OVERRIDE = 1649,
DISCOVER_STUDIES_VISUAL = 1650,
LETTUCE_CONTROLLER = 1653,
LETTUCE_ABILITY_OWNER = 1654,
Expand Down Expand Up @@ -1021,6 +1022,7 @@ public enum GameTag
LETTUCE_KEEP_LAST_STANDING_MINION_ACTOR = 1976,
GOLDSPARKLES_HINT = 1984,
LETTUCE_USE_DETERMINISTIC_TEAM_ABILITY_QUEUING = 1990,
LETTUCE_SELECTED_ABILITY_QUEUE_ORDER = 1991,
QUESTLINE_FINAL_REWARD_DATABASE_ID = 1992,
QUESTLINE_PART = 1993,
QUESTLINE_REQUIREMENT_MET_1 = 1994,
Expand Down Expand Up @@ -1117,9 +1119,13 @@ public enum GameTag
MERCS_SPELLWEAKNESS = 2464,
MERCS_SPELLRESISTANCE = 2465,
COLOSSAL_LIMB_ON_LEFT = 2469,
LETTUCE_ABILITY_TILE_VISUAL_PUBLIC_SPEED = 2470,
IMMOLATING = 2505,
BACON_BUDDY_ENABLED = 2518,
BACON_EVOLUTION_CARD_ID = 2519,
SPELLCRAFT_HINT = 2557,
MERCS_BENCH = 2570,
IMMOLATESTAGE = 2600,
}

public enum GameType
Expand Down Expand Up @@ -1463,6 +1469,8 @@ public enum Race
LOCK = 89,
NAGA = 92,
OLDGOD = 93,
PANDAREN = 94,
GRONN = 95,
}

public enum Rarity
Expand Down
12 changes: 0 additions & 12 deletions HearthDb/HearthDb.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,4 @@
<Exec WorkingDirectory="$(MSBuildProjectDirectory)/hsdata" Command="git reset --hard origin/master" />
</Target>

<!-- On Release builds, verify that the version from the latest commit matches the AssemblyVersion of this project. -->
<Target Name="VerifyVersion" Condition="$(Configuration)=='Release'" BeforeTargets="PreBuildEvent" DependsOnTargets="CloneHSData;UpdateHSData">
<Message Importance="normal" Text="Verifying assembly version matches version from hsdata." />
<Exec WorkingDirectory="$(MSBuildProjectDirectory)/hsdata" Condition="$(OS)=='Windows_NT'" Command="powershell -ExecutionPolicy Unrestricted &quot;git log -1 | where {$_ -match 'Update to patch (\d+\.\d+\.\d+)\.\d+$' } | foreach { $matches[1] }&quot;" ConsoleToMSBuild="true">
<Output PropertyName="HsdataVersion" TaskParameter="ConsoleOutput" />
</Exec>
<Exec WorkingDirectory="$(MSBuildProjectDirectory)/hsdata" Condition="$(OS)=='Unix'" Command="git log -1 | grep -Po '(?&lt;=Update to patch )\d+\.\d+\.\d+'" ConsoleToMSBuild="true">
<Output PropertyName="HsdataVersion" TaskParameter="ConsoleOutput" />
</Exec>
<Error Condition="'$(HsdataVersion).0' != $(AssemblyVersion)" Text="Verification Error 1: Assembly version ($(AssemblyVersion)) does not match hsdata ($(HsdataVersion))" />
</Target>

</Project>
1 change: 1 addition & 0 deletions HearthDb/Helper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public static class Helper
CardSet.UNGORO, CardSet.ICECROWN, CardSet.LOOTAPALOOZA,
CardSet.GILNEAS, CardSet.BOOMSDAY, CardSet.TROLL,
CardSet.DEMON_HUNTER_INITIATE,
//CardSet.BLACK_TEMPLE, CardSet.SCHOLOMANCE, CardSet.DARKMOON_FAIRE
};

public static CardSet[] ClassicSets = { CardSet.VANILLA };
Expand Down

0 comments on commit 74e6fd1

Please sign in to comment.