diff options
author | TrueDoctor <d-kobert@web.de> | 2018-10-01 02:28:42 +0200 |
---|---|---|
committer | TrueDoctor <d-kobert@web.de> | 2018-10-01 02:28:42 +0200 |
commit | 6285967d1cf6e9322f584de761eea31ade32b3e5 (patch) | |
tree | 2f2227e85c18011d5122924e56ecde00e2f47ec8 /DSACore/DSA_Game | |
parent | 560f454c9beb2f691730b126fc6b3e23d68d6681 (diff) |
Completed Weapon import function to automagically load data from an dsa website into the database
Diffstat (limited to 'DSACore/DSA_Game')
-rw-r--r-- | DSACore/DSA_Game/Dsa.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/DSACore/DSA_Game/Dsa.cs b/DSACore/DSA_Game/Dsa.cs index 824872c..9602791 100644 --- a/DSACore/DSA_Game/Dsa.cs +++ b/DSACore/DSA_Game/Dsa.cs @@ -1,4 +1,5 @@ using System; +using DSACore.Auxiliary; using DSACore.FireBase; using DSALib; using DSALib.Characters; @@ -42,8 +43,6 @@ namespace DSACore.DSA_Game } } - public static void start(){} - public static void Startup() { //new .Auxiliary.Calculator.StringSolver("1d100 - (1d200 + 1) * -50000").Solve(); @@ -74,10 +73,12 @@ namespace DSACore.DSA_Game Database.AddSpell(new Models.Database.GeneralSpell(talent.Name, talent.Probe, talent.Complexity)); }*/ + //new WeaponImporter().DownloadWeapons().Wait(); + Session = new Session { - Chars = Chars.Select(x => SaveChar.FromICharacter(x)).ToList() + Chars = Chars.Select(SaveChar.FromICharacter).ToList() }; //Session.Save(); } |