diff --git a/HearthDb.CardIdGenerator/HearthStone.Database.CardIdGenerator.csproj b/HearthDb.CardIdGenerator/HearthStone.Database.CardIdGenerator.csproj deleted file mode 100644 index 31d9142c..00000000 --- a/HearthDb.CardIdGenerator/HearthStone.Database.CardIdGenerator.csproj +++ /dev/null @@ -1,26 +0,0 @@ - - - - Exe - net471 - - Copyright © 2015 - - HearthDb.CardIdGenerator.Program - - - - bin\Debug\ - TRACE;DEBUG - - - - - - - - - - - - \ No newline at end of file diff --git a/HearthDb.CardIdGenerator/Program.cs b/HearthDb.CardIdGenerator/Program.cs deleted file mode 100644 index 04310a8d..00000000 --- a/HearthDb.CardIdGenerator/Program.cs +++ /dev/null @@ -1,35 +0,0 @@ -#region - -using System.IO; -using Microsoft.CodeAnalysis; -using Microsoft.CodeAnalysis.Formatting; -using Microsoft.CodeAnalysis.MSBuild; -using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory; -using static Microsoft.CodeAnalysis.CSharp.SyntaxKind; - -#endregion - -namespace HearthDb.CardIdGenerator -{ - internal class Program - { - private const string File = "../../../../HearthDb/CardIds.cs"; - - static void Main() - { - var @namespace = NamespaceDeclaration(IdentifierName("HearthDb")); - var header = ParseLeadingTrivia(@"/* THIS CLASS WAS GENERATED BY HearthDb.CardIdGenerator. DO NOT EDIT. */"); - var cCardIds = ClassDeclaration("CardIds").AddModifiers(Token(PublicKeyword)).WithLeadingTrivia(header); - var cCollectible = ClassDeclaration("Collectible").AddModifiers(Token(PublicKeyword)); - cCollectible = SyntaxBuilder.GetCollectible(cCollectible); - var cNonCollectible = SyntaxBuilder.GetNonCollectible(); - - cCardIds = cCardIds.AddMembers(cCollectible); - cCardIds = cCardIds.AddMembers(cNonCollectible); - @namespace = @namespace.AddMembers(cCardIds); - var root = Formatter.Format(@namespace, MSBuildWorkspace.Create()); - using(var sr = new StreamWriter(File)) - sr.Write(root.ToString()); - } - } -} \ No newline at end of file diff --git a/HearthDb.EnumsGenerator/HearthStone.Database.EnumsGenerator.csproj b/HearthDb.EnumsGenerator/HearthStone.Database.EnumsGenerator.csproj deleted file mode 100644 index 086d721d..00000000 --- a/HearthDb.EnumsGenerator/HearthStone.Database.EnumsGenerator.csproj +++ /dev/null @@ -1,22 +0,0 @@ - - - - Exe - net471 - - Copyright © 2015 - - HearthDb.EnumsGenerator.Program - - - - bin\Debug\ - TRACE;DEBUG - - - - - - - - \ No newline at end of file diff --git a/HearthStone.Database.CardIdGenerator.sln b/HearthStone.Database.CardIdGenerator.sln new file mode 100644 index 00000000..0e97e826 --- /dev/null +++ b/HearthStone.Database.CardIdGenerator.sln @@ -0,0 +1,32 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.27130.2027 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HearthStone Database CardIdGenerator", "HearthStone.Database.CardIdGenerator\HearthStone.Database.CardIdGenerator.csproj", "{963D32A8-D3D9-46F5-A25A-13642C7587AE}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{F0CF94A4-F850-4166-9836-581BC23EE7B9}" + ProjectSection(SolutionItems) = preProject + .gitignore = .gitignore + LICENSE = LICENSE + README.md = README.md + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {963D32A8-D3D9-46F5-A25A-13642C7587AE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {963D32A8-D3D9-46F5-A25A-13642C7587AE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {963D32A8-D3D9-46F5-A25A-13642C7587AE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {963D32A8-D3D9-46F5-A25A-13642C7587AE}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {F2DA2721-9AA4-4709-9E8C-B143D10B40D1} + EndGlobalSection +EndGlobal diff --git a/HearthDb.CardIdGenerator/CardSet.cs b/HearthStone.Database.CardIdGenerator/CardSet.cs similarity index 87% rename from HearthDb.CardIdGenerator/CardSet.cs rename to HearthStone.Database.CardIdGenerator/CardSet.cs index fc746ab6..95b90a5c 100644 --- a/HearthDb.CardIdGenerator/CardSet.cs +++ b/HearthStone.Database.CardIdGenerator/CardSet.cs @@ -1,4 +1,4 @@ -namespace HearthDb.CardIdGenerator +namespace HearthStone.Database.CardIdGenerator { public enum CardSet { diff --git a/HearthStone.Database.CardIdGenerator/HearthStone.Database.CardIdGenerator.csproj b/HearthStone.Database.CardIdGenerator/HearthStone.Database.CardIdGenerator.csproj new file mode 100644 index 00000000..a0eb87c3 --- /dev/null +++ b/HearthStone.Database.CardIdGenerator/HearthStone.Database.CardIdGenerator.csproj @@ -0,0 +1,28 @@ + + + + net471 + Exe + HearthStone.Database.CardIdGenerator.Program + HearthStone.Database.CardIdGenerator + HearthStone.Database.CardIdGenerator + 2.0.0 + HearthStone Database Card ID Generator + HearthStone Database Card ID Generator + Upgraded build configurations. + GIT + https://github.com/Latency/HearthStone.Database + Copyright © HearthSim + https://opensource.org/licenses/MIT + HearthSim + HearthSim + https://raw.githubusercontent.com/HearthSim/Hearthstone-Deck-Tracker/master/Hearthstone%20Deck%20Tracker/Images/HearthstoneDeckTracker.ico + + + + + + + + + \ No newline at end of file diff --git a/HearthDb.CardIdGenerator/Helper.cs b/HearthStone.Database.CardIdGenerator/Helper.cs similarity index 78% rename from HearthDb.CardIdGenerator/Helper.cs rename to HearthStone.Database.CardIdGenerator/Helper.cs index 49c71198..dcff1902 100644 --- a/HearthDb.CardIdGenerator/Helper.cs +++ b/HearthStone.Database.CardIdGenerator/Helper.cs @@ -3,11 +3,10 @@ using System.Collections.Generic; using System.Globalization; using System.Text.RegularExpressions; -using static HearthDb.Enums.CardSet; #endregion -namespace HearthDb.CardIdGenerator +namespace HearthStone.Database.CardIdGenerator { internal class Helper { @@ -89,43 +88,43 @@ internal static string GetSetName(CardSet set) } } - public static string GetSetAbbreviation(Enums.CardSet set) + public static string GetSetAbbreviation(HearthDb.Enums.CardSet set) { switch(set) { - case FP1: + case HearthDb.Enums.CardSet.FP1: return "NAXX"; - case PE1: + case HearthDb.Enums.CardSet.PE1: return "GVG"; - case EXPERT1: + case HearthDb.Enums.CardSet.EXPERT1: return "Classic"; - case MISSIONS: + case HearthDb.Enums.CardSet.MISSIONS: return "Missions"; - case CORE: + case HearthDb.Enums.CardSet.CORE: return "Basic"; - case INVALID: + case HearthDb.Enums.CardSet.INVALID: return "Invalid"; - case TEST_TEMPORARY: + case HearthDb.Enums.CardSet.TEST_TEMPORARY: return "Test"; - case DEMO: + case HearthDb.Enums.CardSet.DEMO: return "Demo"; - case NONE: + case HearthDb.Enums.CardSet.NONE: return "None"; - case CHEAT: + case HearthDb.Enums.CardSet.CHEAT: return "Cheat"; - case BLANK: + case HearthDb.Enums.CardSet.BLANK: return "Blank"; - case DEBUG_SP: + case HearthDb.Enums.CardSet.DEBUG_SP: return "Debug"; - case PROMO: + case HearthDb.Enums.CardSet.PROMO: return "Promo"; - case CREDITS: + case HearthDb.Enums.CardSet.CREDITS: return "Credits"; - case HERO_SKINS: + case HearthDb.Enums.CardSet.HERO_SKINS: return "HeroSkins"; - case TB: + case HearthDb.Enums.CardSet.TB: return "TavernBrawl"; - case SLUSH: + case HearthDb.Enums.CardSet.SLUSH: return "Slush"; default: return set.ToString(); diff --git a/HearthStone.Database.CardIdGenerator/Program.cs b/HearthStone.Database.CardIdGenerator/Program.cs new file mode 100644 index 00000000..04983e63 --- /dev/null +++ b/HearthStone.Database.CardIdGenerator/Program.cs @@ -0,0 +1,34 @@ +#region + +using System.IO; +using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis.CSharp; +using Microsoft.CodeAnalysis.Formatting; +using Microsoft.CodeAnalysis.MSBuild; + +#endregion + +namespace HearthStone.Database.CardIdGenerator +{ + internal class Program + { + private const string File = "../../../../HearthStone.Database/CardIds.cs"; + + static void Main() + { + var @namespace = SyntaxFactory.NamespaceDeclaration(SyntaxFactory.IdentifierName("HearthDb")); + var header = SyntaxFactory.ParseLeadingTrivia(@"/* THIS CLASS WAS GENERATED BY HearthDb.CardIdGenerator. DO NOT EDIT. */"); + var cCardIds = SyntaxFactory.ClassDeclaration("CardIds").AddModifiers(SyntaxFactory.Token(SyntaxKind.PublicKeyword)).WithLeadingTrivia(header); + var cCollectible = SyntaxFactory.ClassDeclaration("Collectible").AddModifiers(SyntaxFactory.Token(SyntaxKind.PublicKeyword)); + cCollectible = SyntaxBuilder.GetCollectible(cCollectible); + var cNonCollectible = SyntaxBuilder.GetNonCollectible(); + + cCardIds = cCardIds.AddMembers(cCollectible); + cCardIds = cCardIds.AddMembers(cNonCollectible); + @namespace = @namespace.AddMembers(cCardIds); + var root = Formatter.Format(@namespace, MSBuildWorkspace.Create()); + using(var sr = new StreamWriter(File)) + sr.Write(root.ToString()); + } + } +} \ No newline at end of file diff --git a/HearthDb.CardIdGenerator/SyntaxBuilder.cs b/HearthStone.Database.CardIdGenerator/SyntaxBuilder.cs similarity index 81% rename from HearthDb.CardIdGenerator/SyntaxBuilder.cs rename to HearthStone.Database.CardIdGenerator/SyntaxBuilder.cs index 54bcf033..2c0a15d8 100644 --- a/HearthDb.CardIdGenerator/SyntaxBuilder.cs +++ b/HearthStone.Database.CardIdGenerator/SyntaxBuilder.cs @@ -5,14 +5,14 @@ using System.Globalization; using System.Linq; using System.Text.RegularExpressions; +using HearthDb; using HearthDb.Enums; +using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; -using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory; -using static Microsoft.CodeAnalysis.CSharp.SyntaxKind; #endregion -namespace HearthDb.CardIdGenerator +namespace HearthStone.Database.CardIdGenerator { internal class SyntaxBuilder { @@ -23,11 +23,11 @@ internal static ClassDeclarationSyntax GetNonCollectible() while(true) { var newNamingConflicts = new Dictionary>(); - var classDecl = ClassDeclaration("NonCollectible").AddModifiers(Token(PublicKeyword)); + var classDecl = SyntaxFactory.ClassDeclaration("NonCollectible").AddModifiers(SyntaxFactory.Token(SyntaxKind.PublicKeyword)); foreach(var c in ClassNames) { var className = c == "DREAM" ? "DreamCards" : CultureInfo.InvariantCulture.TextInfo.ToTitleCase(c.ToLower()); - var cCard = ClassDeclaration(className).AddModifiers(Token(PublicKeyword)); + var cCard = SyntaxFactory.ClassDeclaration(className).AddModifiers(SyntaxFactory.Token(SyntaxKind.PublicKeyword)); var anyCards = false; foreach(var card in Cards.All.OrderBy(x => x.Value.Set) @@ -72,7 +72,7 @@ private static string ResolveNameFromId(Card card, string name) name = tmpName + "_" + name; } } - if(card.Set == Enums.CardSet.HERO_SKINS) + if(card.Set == HearthDb.Enums.CardSet.HERO_SKINS) name += "HeroSkins"; if(Regex.IsMatch(card.Id, @"_\d+[abhHt]?[eo]")) name += "Enchantment"; @@ -129,7 +129,7 @@ internal static ClassDeclarationSyntax GetCollectible(ClassDeclarationSyntax cla { var anyCards = false; var className = CultureInfo.InvariantCulture.TextInfo.ToTitleCase(c.ToLower()); - var cCard = ClassDeclaration(className).AddModifiers(Token(PublicKeyword)); + var cCard = SyntaxFactory.ClassDeclaration(className).AddModifiers(SyntaxFactory.Token(SyntaxKind.PublicKeyword)); foreach(var card in Cards.All.Values.Where(x => x.Collectible && x.Class.ToString().Equals(c))) { @@ -149,12 +149,12 @@ private static IEnumerable ClassNames internal static FieldDeclarationSyntax GenerateConst(string identifier, string value) { - var assignedValue = EqualsValueClause(LiteralExpression(StringLiteralExpression, Literal(value))); - var declaration = SeparatedList(new[] {VariableDeclarator(Identifier(identifier), null, assignedValue)}); + var assignedValue = SyntaxFactory.EqualsValueClause(SyntaxFactory.LiteralExpression(SyntaxKind.StringLiteralExpression, SyntaxFactory.Literal(value))); + var declaration = SyntaxFactory.SeparatedList(new[] {SyntaxFactory.VariableDeclarator(SyntaxFactory.Identifier(identifier), null, assignedValue)}); return - FieldDeclaration(VariableDeclaration(ParseTypeName("string"), declaration)) - .AddModifiers(Token(PublicKeyword)) - .AddModifiers(Token(ConstKeyword)); + SyntaxFactory.FieldDeclaration(SyntaxFactory.VariableDeclaration(SyntaxFactory.ParseTypeName("string"), declaration)) + .AddModifiers(SyntaxFactory.Token(SyntaxKind.PublicKeyword)) + .AddModifiers(SyntaxFactory.Token(SyntaxKind.ConstKeyword)); } } } diff --git a/HearthStone.Database.EnumsGenerator.sln b/HearthStone.Database.EnumsGenerator.sln new file mode 100644 index 00000000..0b00a951 --- /dev/null +++ b/HearthStone.Database.EnumsGenerator.sln @@ -0,0 +1,32 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.27130.2027 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HearthStone.Database.EnumsGenerator", "HearthStone.Database.EnumsGenerator\HearthStone.Database.EnumsGenerator.csproj", "{A521F60B-5A78-4679-AD70-B4DBF72AFCA3}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{E88B4AA9-539D-4372-85B1-9F8F184B70FC}" + ProjectSection(SolutionItems) = preProject + .gitignore = .gitignore + LICENSE = LICENSE + README.md = README.md + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A521F60B-5A78-4679-AD70-B4DBF72AFCA3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A521F60B-5A78-4679-AD70-B4DBF72AFCA3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A521F60B-5A78-4679-AD70-B4DBF72AFCA3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A521F60B-5A78-4679-AD70-B4DBF72AFCA3}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {79FF332E-F967-4C44-80D7-9969C8C9AA59} + EndGlobalSection +EndGlobal diff --git a/HearthStone.Database.EnumsGenerator/HearthStone.Database.EnumsGenerator.csproj b/HearthStone.Database.EnumsGenerator/HearthStone.Database.EnumsGenerator.csproj new file mode 100644 index 00000000..50b154c5 --- /dev/null +++ b/HearthStone.Database.EnumsGenerator/HearthStone.Database.EnumsGenerator.csproj @@ -0,0 +1,28 @@ + + + + net471 + Exe + HearthStone.Database.EnumsGenerator.Program + HearthStone.Database.EnumsGenerator + HearthStone.Database.EnumsGenerator + 2.0.0 + HearthStone Database Enums Generator + HearthStone Database Enums Generator + Upgraded build configurations. + GIT + https://github.com/Latency/HearthStone.Database + Copyright © HearthSim + https://opensource.org/licenses/MIT + HearthSim + HearthSim + https://raw.githubusercontent.com/HearthSim/Hearthstone-Deck-Tracker/master/Hearthstone%20Deck%20Tracker/Images/HearthstoneDeckTracker.ico + + + + + + + + + \ No newline at end of file diff --git a/HearthDb.EnumsGenerator/Program.cs b/HearthStone.Database.EnumsGenerator/Program.cs similarity index 86% rename from HearthDb.EnumsGenerator/Program.cs rename to HearthStone.Database.EnumsGenerator/Program.cs index cca70f8f..d8a493dd 100644 --- a/HearthDb.EnumsGenerator/Program.cs +++ b/HearthStone.Database.EnumsGenerator/Program.cs @@ -7,12 +7,13 @@ using Microsoft.CodeAnalysis.MSBuild; using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory; -namespace HearthDb.EnumsGenerator +namespace HearthStone.Database.EnumsGenerator { internal class Program { - private const string File = "../../../HearthDb/Enums/Enums.cs"; - static void Main() + private const string File = "../../../HearthStone.Database/Enums/Enums.cs"; + + private static void Main() { ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls; string enums; diff --git a/HearthStone.Database.sln b/HearthStone.Database.sln index 1f505260..df1424ae 100644 --- a/HearthStone.Database.sln +++ b/HearthStone.Database.sln @@ -3,13 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 VisualStudioVersion = 15.0.27130.2027 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HearthStone.Database", "HearthDb\HearthStone.Database.csproj", "{7ED14243-E02B-4B94-AF00-A67A62C282F0}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HearthStone.Database.Tests", "HearthDb.Tests\HearthStone.Database.Tests.csproj", "{CB4162D6-E64D-4D3A-9207-9C850B684183}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HearthStone.Database.CardIdGenerator", "HearthDb.CardIdGenerator\HearthStone.Database.CardIdGenerator.csproj", "{89D6853A-FAEF-4E66-B5C5-95FFE71E9C8C}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HearthStone.Database.EnumsGenerator", "HearthDb.EnumsGenerator\HearthStone.Database.EnumsGenerator.csproj", "{D6D59655-923E-4745-BF2E-9E59CB0F10D7}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HearthStone.Database", "HearthStone.Database\HearthStone.Database.csproj", "{7ED14243-E02B-4B94-AF00-A67A62C282F0}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{DE9645A9-27F9-4BFD-8BE8-0323B8C0BBE4}" ProjectSection(SolutionItems) = preProject @@ -28,18 +22,6 @@ Global {7ED14243-E02B-4B94-AF00-A67A62C282F0}.Debug|Any CPU.Build.0 = Debug|Any CPU {7ED14243-E02B-4B94-AF00-A67A62C282F0}.Release|Any CPU.ActiveCfg = Release|Any CPU {7ED14243-E02B-4B94-AF00-A67A62C282F0}.Release|Any CPU.Build.0 = Release|Any CPU - {CB4162D6-E64D-4D3A-9207-9C850B684183}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {CB4162D6-E64D-4D3A-9207-9C850B684183}.Debug|Any CPU.Build.0 = Debug|Any CPU - {CB4162D6-E64D-4D3A-9207-9C850B684183}.Release|Any CPU.ActiveCfg = Release|Any CPU - {CB4162D6-E64D-4D3A-9207-9C850B684183}.Release|Any CPU.Build.0 = Release|Any CPU - {89D6853A-FAEF-4E66-B5C5-95FFE71E9C8C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {89D6853A-FAEF-4E66-B5C5-95FFE71E9C8C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {89D6853A-FAEF-4E66-B5C5-95FFE71E9C8C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {89D6853A-FAEF-4E66-B5C5-95FFE71E9C8C}.Release|Any CPU.Build.0 = Release|Any CPU - {D6D59655-923E-4745-BF2E-9E59CB0F10D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D6D59655-923E-4745-BF2E-9E59CB0F10D7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D6D59655-923E-4745-BF2E-9E59CB0F10D7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D6D59655-923E-4745-BF2E-9E59CB0F10D7}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/HearthDb/Card.cs b/HearthStone.Database/Card.cs similarity index 100% rename from HearthDb/Card.cs rename to HearthStone.Database/Card.cs diff --git a/HearthDb/CardDefs.xml b/HearthStone.Database/CardDefs.xml similarity index 100% rename from HearthDb/CardDefs.xml rename to HearthStone.Database/CardDefs.xml diff --git a/HearthDb/CardDefs/CardDefs.cs b/HearthStone.Database/CardDefs/CardDefs.cs similarity index 100% rename from HearthDb/CardDefs/CardDefs.cs rename to HearthStone.Database/CardDefs/CardDefs.cs diff --git a/HearthDb/CardDefs/Entity.cs b/HearthStone.Database/CardDefs/Entity.cs similarity index 100% rename from HearthDb/CardDefs/Entity.cs rename to HearthStone.Database/CardDefs/Entity.cs diff --git a/HearthDb/CardDefs/EntourageCard.cs b/HearthStone.Database/CardDefs/EntourageCard.cs similarity index 100% rename from HearthDb/CardDefs/EntourageCard.cs rename to HearthStone.Database/CardDefs/EntourageCard.cs diff --git a/HearthDb/CardDefs/PlayRequirement.cs b/HearthStone.Database/CardDefs/PlayRequirement.cs similarity index 100% rename from HearthDb/CardDefs/PlayRequirement.cs rename to HearthStone.Database/CardDefs/PlayRequirement.cs diff --git a/HearthDb/CardDefs/Power.cs b/HearthStone.Database/CardDefs/Power.cs similarity index 100% rename from HearthDb/CardDefs/Power.cs rename to HearthStone.Database/CardDefs/Power.cs diff --git a/HearthDb/CardDefs/Tag.cs b/HearthStone.Database/CardDefs/Tag.cs similarity index 100% rename from HearthDb/CardDefs/Tag.cs rename to HearthStone.Database/CardDefs/Tag.cs diff --git a/HearthDb/CardDefs/TriggeredPowerHistoryInfo.cs b/HearthStone.Database/CardDefs/TriggeredPowerHistoryInfo.cs similarity index 100% rename from HearthDb/CardDefs/TriggeredPowerHistoryInfo.cs rename to HearthStone.Database/CardDefs/TriggeredPowerHistoryInfo.cs diff --git a/HearthDb/CardIds.cs b/HearthStone.Database/CardIds.cs similarity index 100% rename from HearthDb/CardIds.cs rename to HearthStone.Database/CardIds.cs diff --git a/HearthDb/Cards.cs b/HearthStone.Database/Cards.cs similarity index 100% rename from HearthDb/Cards.cs rename to HearthStone.Database/Cards.cs diff --git a/HearthDb/Deckstrings/Deck.cs b/HearthStone.Database/Deckstrings/Deck.cs similarity index 100% rename from HearthDb/Deckstrings/Deck.cs rename to HearthStone.Database/Deckstrings/Deck.cs diff --git a/HearthDb/Deckstrings/DeckSerializer.cs b/HearthStone.Database/Deckstrings/DeckSerializer.cs similarity index 100% rename from HearthDb/Deckstrings/DeckSerializer.cs rename to HearthStone.Database/Deckstrings/DeckSerializer.cs diff --git a/HearthDb/Deckstrings/InvalidDeckException.cs b/HearthStone.Database/Deckstrings/InvalidDeckException.cs similarity index 100% rename from HearthDb/Deckstrings/InvalidDeckException.cs rename to HearthStone.Database/Deckstrings/InvalidDeckException.cs diff --git a/HearthDb/Deckstrings/VarInt.cs b/HearthStone.Database/Deckstrings/VarInt.cs similarity index 100% rename from HearthDb/Deckstrings/VarInt.cs rename to HearthStone.Database/Deckstrings/VarInt.cs diff --git a/HearthDb/Enums/Converters.cs b/HearthStone.Database/Enums/Converters.cs similarity index 100% rename from HearthDb/Enums/Converters.cs rename to HearthStone.Database/Enums/Converters.cs diff --git a/HearthDb/Enums/Dictionaries.cs b/HearthStone.Database/Enums/Dictionaries.cs similarity index 100% rename from HearthDb/Enums/Dictionaries.cs rename to HearthStone.Database/Enums/Dictionaries.cs diff --git a/HearthDb/Enums/Enums.cs b/HearthStone.Database/Enums/Enums.cs similarity index 100% rename from HearthDb/Enums/Enums.cs rename to HearthStone.Database/Enums/Enums.cs diff --git a/HearthDb/HearthStone.Database.csproj b/HearthStone.Database/HearthStone.Database.csproj similarity index 100% rename from HearthDb/HearthStone.Database.csproj rename to HearthStone.Database/HearthStone.Database.csproj diff --git a/HearthDb/Info.cs b/HearthStone.Database/Info.cs similarity index 100% rename from HearthDb/Info.cs rename to HearthStone.Database/Info.cs diff --git a/HearthDb/snKey.snk b/HearthStone.Database/snKey.snk similarity index 100% rename from HearthDb/snKey.snk rename to HearthStone.Database/snKey.snk diff --git a/README.md b/README.md index f9340d72..f59bea21 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # HearthStone-Database -### HearthStone Database - --- | | |