Skip to content

Commit

Permalink
++Repair build++
Browse files Browse the repository at this point in the history
Repaired the compile error updated packages added CPU support
  • Loading branch information
danman981 committed Dec 12, 2022
1 parent 90fb5f9 commit 0bc417a
Show file tree
Hide file tree
Showing 384 changed files with 785,125 additions and 62 deletions.
82 changes: 82 additions & 0 deletions AccountCacher/AccountCacher.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,88 @@
<FileAlignment>512</FileAlignment>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>3.5</OldToolsVersion>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>account.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>..\bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>..\bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>none</DebugType>
<PlatformTarget>x64</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>none</ErrorReport>
<WarningLevel>0</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
<OutputPath>..\bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<WarningLevel>0</WarningLevel>
<PlatformTarget>AnyCPU</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>none</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="Castle.Core, Version=5.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
<HintPath>..\packages\Castle.Core.5.1.0\lib\net462\Castle.Core.dll</HintPath>
</Reference>
<Reference Include="FakeItEasy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=eff28e2146d5fd2c, processorArchitecture=MSIL">
<HintPath>..\packages\FakeItEasy.7.3.1\lib\net45\FakeItEasy.dll</HintPath>
</Reference>
<Reference Include="Google.Protobuf, Version=3.21.11.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL">
<HintPath>..\packages\Google.Protobuf.3.21.11\lib\net45\Google.Protobuf.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="System" />
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
</Reference>
<Reference Include="System.ComponentModel" />
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Configuration" />
<Reference Include="System.Configuration.Install" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Drawing" />
Expand Down
4 changes: 2 additions & 2 deletions AccountCacher/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Google.Protobuf" publicKeyToken="a7d26565bac4d604" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.21.1.0" newVersion="3.21.1.0" />
<bindingRedirect oldVersion="0.0.0.0-3.21.11.0" newVersion="3.21.11.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
Expand Down Expand Up @@ -41,7 +41,7 @@
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="K4os.Hash.xxHash" publicKeyToken="32cd54395057cec3" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.0.7.0" newVersion="1.0.7.0" />
<bindingRedirect oldVersion="0.0.0.0-1.0.8.0" newVersion="1.0.8.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
Expand Down
4 changes: 2 additions & 2 deletions AccountCacher/packages.config
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Castle.Core" version="5.0.0" targetFramework="net48" />
<package id="Castle.Core" version="5.1.0" targetFramework="net48" />
<package id="FakeItEasy" version="7.3.1" targetFramework="net48" />
<package id="Google.Protobuf" version="3.21.1" targetFramework="net48" />
<package id="Google.Protobuf" version="3.21.11" targetFramework="net48" />
<package id="System.Buffers" version="4.5.1" targetFramework="net48" />
<package id="System.Memory" version="4.5.5" targetFramework="net48" />
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net48" />
Expand Down
61 changes: 57 additions & 4 deletions Common/Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,41 @@
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x64</Platform>
<ProductVersion>9.0.30729</ProductVersion>

<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{8BC085CD-429B-41D1-BB47-9621FD32EC23}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Common</RootNamespace>
<AssemblyName>Common</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>3.5</OldToolsVersion>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
<TargetFrameworkProfile />
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
Expand All @@ -22,9 +56,28 @@
<WarningLevel>0</WarningLevel>
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
<OutputPath>..\bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<WarningLevel>0</WarningLevel>
<PlatformTarget>AnyCPU</PlatformTarget>
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
<LangVersion>7.3</LangVersion>
<ErrorReport>none</ErrorReport>
</PropertyGroup>
<ItemGroup>
<Reference Include="Castle.Core, Version=5.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
<HintPath>..\packages\Castle.Core.5.0.0\lib\net462\Castle.Core.dll</HintPath>
<HintPath>..\packages\Castle.Core.5.1.0\lib\net462\Castle.Core.dll</HintPath>
</Reference>
<Reference Include="FakeItEasy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=eff28e2146d5fd2c, processorArchitecture=MSIL">
<HintPath>..\packages\FakeItEasy.7.3.1\lib\net45\FakeItEasy.dll</HintPath>
Expand All @@ -50,8 +103,8 @@
<Reference Include="xunit.abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\packages\xunit.abstractions.2.0.3\lib\net35\xunit.abstractions.dll</HintPath>
</Reference>
<Reference Include="xunit.core, Version=2.4.1.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\packages\xunit.extensibility.core.2.4.1\lib\net452\xunit.core.dll</HintPath>
<Reference Include="xunit.core, Version=2.4.2.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\packages\xunit.extensibility.core.2.4.2\lib\net452\xunit.core.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
19 changes: 19 additions & 0 deletions Common/Database/World/Creatures/Boss_Phases.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
using FrameWork;
using System;

namespace Common.Database.World.Creatures
{
[DataTable(PreCache = false, TableName = "boss_spawn_phases", DatabaseName = "World", BindMethod = EBindingMethod.StaticBound)]
[Serializable]
public class BossSpawnPhase : DataObject
{
[PrimaryKey]
public int BossSpawnId { get; set; }

[PrimaryKey]
public int PhaseId { get; set; }

[DataElement(AllowDbNull = false)] // Name of this ability
public string Name { get; set; }
}
}
25 changes: 25 additions & 0 deletions Common/Database/World/Creatures/Boss_Spawn.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
using FrameWork;
using System;

namespace Common.Database.World.Creatures
{
[DataTable(PreCache = false, TableName = "boss_spawn", DatabaseName = "World", BindMethod = EBindingMethod.StaticBound)]
[Serializable]
public class BossSpawn : DataObject
{
[PrimaryKey]
public int BossSpawnId { get; set; }

[DataElement(AllowDbNull = false)]
public int ProtoId { get; set; }

[DataElement(AllowDbNull = false)]
public int SpawnGuid { get; set; }

[DataElement(AllowDbNull = true)]
public string Name { get; set; }

[DataElement(AllowDbNull = false)]
public int Enabled { get; set; }
}
}
40 changes: 40 additions & 0 deletions Common/Database/World/Creatures/Boss_Spawn_Abilities.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
using FrameWork;
using System;

namespace Common.Database.World.Creatures
{
[DataTable(PreCache = false, TableName = "boss_spawn_abilities", DatabaseName = "World", BindMethod = EBindingMethod.StaticBound)]
[Serializable]
public class BossSpawnAbilities : DataObject
{
[PrimaryKey(AutoIncrement = true)]
public int UniqueId { get; set; }

[PrimaryKey]
public int BossSpawnId { get; set; }

[DataElement(AllowDbNull = false)] // Name of this ability
public string Name { get; set; }

[DataElement(AllowDbNull = true)] // Speech to emote on execution
public string Speech { get; set; }

[DataElement(AllowDbNull = false)] // Function that must be true for this to activate
public string Condition { get; set; }

[DataElement(AllowDbNull = false)] // Function to be called on execution
public string Execution { get; set; }

[DataElement(AllowDbNull = false)] // Chance of execution if Condition is true
public int ExecuteChance { get; set; }

[DataElement(AllowDbNull = false)] // How long to cool down this ability (0 = none)
public int CoolDown { get; set; }

[DataElement(AllowDbNull = true)] // Sounds to play
public string Sound { get; set; }

[DataElement(AllowDbNull = true)] // * - any phase, (1,2,3..) specific phase
public string Phase { get; set; }
}
}
43 changes: 43 additions & 0 deletions Common/Database/World/Creatures/Creature_Smart_Abilities.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
using FrameWork;
using System;

namespace Common.Database.World.Creatures
{
[DataTable(PreCache = false, TableName = "creature_smart_abilities", DatabaseName = "World", BindMethod = EBindingMethod.StaticBound)]
[Serializable]
public class CreatureSmartAbilities : DataObject
{
[PrimaryKey(AutoIncrement = true)]
public int Guid { get; set; }

[PrimaryKey]
public int CreatureTypeId { get; set; }

[PrimaryKey]
public int CreatureSubTypeId { get; set; }

[DataElement(AllowDbNull = false)] // Description of this type/subtype - for ease of understanding
public string CreatureTypeDescription { get; set; }

[DataElement(AllowDbNull = false)] // Name of this ability
public string SpellCastName { get; set; }

[DataElement(AllowDbNull = true)] // Speech to emote on execution
public string SpellCastSpeech { get; set; }

[DataElement(AllowDbNull = false)] // Function that must be true for this to activate
public string SpellCondition { get; set; }

[DataElement(AllowDbNull = false)] // Function to be called on execution
public string SpellCastExecution { get; set; }

[DataElement(AllowDbNull = false)] // Chance of execution if Condition is true
public int SpellExecuteChance { get; set; }

[DataElement(AllowDbNull = false)] // How long to cool down this ability (0 = none)
public int SpellCastCoolDown { get; set; }

[DataElement(AllowDbNull = true)] // Sounds to play
public string SpellCastSound { get; set; }
}
}
Loading

0 comments on commit 0bc417a

Please sign in to comment.