From b411aa2128c2724bec0ecedb8cb4e1ffa59f3b53 Mon Sep 17 00:00:00 2001 From: TrueDoctor Date: Wed, 26 Sep 2018 20:51:37 +0200 Subject: disconnected most vital calles from the Discord Bot --- DSALib/Characters/Being.cs | 8 ++--- DSALib/Characters/Entity.cs | 8 +---- DSALib/Characters/ICharacter.cs | 4 ++- DSALib/DSALib.csproj | 65 +++++---------------------------------- DSALib/KampfTalent.cs | 2 +- DSALib/Properties/AssemblyInfo.cs | 36 ---------------------- DSALib/Talent.cs | 5 +-- DSALib/Vorteil.cs | 2 +- DSALib/Zauber.cs | 8 +---- DSALib/packages.config | 4 --- 10 files changed, 17 insertions(+), 125 deletions(-) delete mode 100644 DSALib/Properties/AssemblyInfo.cs delete mode 100644 DSALib/packages.config (limited to 'DSALib') diff --git a/DSALib/Characters/Being.cs b/DSALib/Characters/Being.cs index 154e69e..7ac7341 100644 --- a/DSALib/Characters/Being.cs +++ b/DSALib/Characters/Being.cs @@ -1,10 +1,6 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using DiscoBot.DSA_Game.Characters; -namespace DiscoBot.DSA_Game.Characters +namespace DSALib.Characters { public class Being : Entity { diff --git a/DSALib/Characters/Entity.cs b/DSALib/Characters/Entity.cs index f8e7a12..6b03e50 100644 --- a/DSALib/Characters/Entity.cs +++ b/DSALib/Characters/Entity.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace DiscoBot.DSA_Game.Characters +namespace DSALib.Characters { public class Entity { diff --git a/DSALib/Characters/ICharacter.cs b/DSALib/Characters/ICharacter.cs index aabebe6..83b53bf 100644 --- a/DSALib/Characters/ICharacter.cs +++ b/DSALib/Characters/ICharacter.cs @@ -1,4 +1,6 @@ -namespace DiscoBot.DSA_Game.Characters +using DiscoBot.DSA_Game.Characters; + +namespace DSALib.Characters { public interface ICharacter : ICombatant { diff --git a/DSALib/DSALib.csproj b/DSALib/DSALib.csproj index 27514d5..afada82 100644 --- a/DSALib/DSALib.csproj +++ b/DSALib/DSALib.csproj @@ -1,62 +1,11 @@ - - - + + - Debug - AnyCPU - {33281E45-1D5C-4645-8D2B-DD05B40FDFD5} - Library - Properties - DSALib - DSALib - v4.6.1 - 512 + netstandard2.0 - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - ..\packages\Newtonsoft.Json.11.0.2\lib\net45\Newtonsoft.Json.dll - - - - - - - - - - - - - - - - - - - - - - - + - + - - \ No newline at end of file + + diff --git a/DSALib/KampfTalent.cs b/DSALib/KampfTalent.cs index 79703d5..7e4e9be 100644 --- a/DSALib/KampfTalent.cs +++ b/DSALib/KampfTalent.cs @@ -1,4 +1,4 @@ -namespace DiscoBot.DSA_Game +namespace DSALib { public class KampfTalent { diff --git a/DSALib/Properties/AssemblyInfo.cs b/DSALib/Properties/AssemblyInfo.cs deleted file mode 100644 index e4e18bb..0000000 --- a/DSALib/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// Allgemeine Informationen über eine Assembly werden über die folgenden -// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, -// die einer Assembly zugeordnet sind. -[assembly: AssemblyTitle("DSALib")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("DSALib")] -[assembly: AssemblyCopyright("Copyright © 2018")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly -// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von -// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen. -[assembly: ComVisible(false)] - -// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird -[assembly: Guid("33281e45-1d5c-4645-8d2b-dd05b40fdfd5")] - -// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten: -// -// Hauptversion -// Nebenversion -// Buildnummer -// Revision -// -// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden, -// indem Sie "*" wie unten gezeigt eingeben: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/DSALib/Talent.cs b/DSALib/Talent.cs index 7176194..bf1e52d 100644 --- a/DSALib/Talent.cs +++ b/DSALib/Talent.cs @@ -1,8 +1,5 @@ -namespace DiscoBot.DSA_Game +namespace DSALib { - using System; - - public class Talent // talent objekt { public Talent(string name, string probe, int value) diff --git a/DSALib/Vorteil.cs b/DSALib/Vorteil.cs index 493c4d1..bf698d8 100644 --- a/DSALib/Vorteil.cs +++ b/DSALib/Vorteil.cs @@ -1,4 +1,4 @@ -namespace DiscoBot.DSA_Game +namespace DSALib { public class Vorteil // talent objekt { diff --git a/DSALib/Zauber.cs b/DSALib/Zauber.cs index bf49a2e..3c7533f 100644 --- a/DSALib/Zauber.cs +++ b/DSALib/Zauber.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace DiscoBot.DSA_Game +namespace DSALib { public class Zauber : Talent { diff --git a/DSALib/packages.config b/DSALib/packages.config deleted file mode 100644 index 5762754..0000000 --- a/DSALib/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file -- cgit v1.3.1