fix: remove non working guild name
All checks were successful
Build, Package and Push Images / preprocess (push) Successful in 3s
Build, Package and Push Images / build (push) Successful in 27s
Build, Package and Push Images / sonarqube (push) Has been skipped
Build, Package and Push Images / sbom-scan (push) Successful in 33s
Build, Package and Push Images / container-build (push) Successful in 3m4s
Build, Package and Push Images / container-sbom-scan (push) Successful in 39s
All checks were successful
Build, Package and Push Images / preprocess (push) Successful in 3s
Build, Package and Push Images / build (push) Successful in 27s
Build, Package and Push Images / sonarqube (push) Has been skipped
Build, Package and Push Images / sbom-scan (push) Successful in 33s
Build, Package and Push Images / container-build (push) Successful in 3m4s
Build, Package and Push Images / container-sbom-scan (push) Successful in 39s
This commit is contained in:
parent
b2373d1556
commit
98aa813f65
4 changed files with 6 additions and 14 deletions
|
@ -1,11 +1,3 @@
|
|||
|
||||
/* Nicht gemergte Änderung aus Projekt "Server(net7.0)"
|
||||
Vor:
|
||||
using System.Net;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
Nach:
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
*/
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Server.DB.Documents;
|
||||
using Wonderking.Game.Data.Character;
|
||||
|
@ -46,7 +38,8 @@ public class ChannelSelectionHandler : IPacketHandler<ChannelSelectionPacket>
|
|||
?.Characters;
|
||||
ChannelSelectionResponsePacket responsePacket;
|
||||
|
||||
if (charactersOfAccount != null && false)
|
||||
var testingChars = true;
|
||||
if (charactersOfAccount != null && testingChars)
|
||||
{
|
||||
responsePacket = new ChannelSelectionResponsePacket
|
||||
{
|
||||
|
@ -103,8 +96,8 @@ public class ChannelSelectionHandler : IPacketHandler<ChannelSelectionPacket>
|
|||
},
|
||||
Health = int.MaxValue - 1,
|
||||
Mana = int.MaxValue - 1,
|
||||
EquippedItems = Enumerable.Repeat((ushort)25,20).ToArray(),
|
||||
EquippedCashItems = Enumerable.Repeat((ushort)25,20).ToArray()
|
||||
EquippedItems = Enumerable.Repeat((ushort)25, 20).ToArray(),
|
||||
EquippedCashItems = Enumerable.Repeat((ushort)25, 20).ToArray()
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
<RootNamespace>Server</RootNamespace>
|
||||
<LangVersion>12</LangVersion>
|
||||
<ServerGarbageCollection>true</ServerGarbageCollection>
|
||||
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
|
||||
<EnableNETAnalyzers>true</EnableNETAnalyzers>
|
||||
<Features>strict</Features>
|
||||
<Authors>Timothy (RaiNote) Schenk</Authors>
|
||||
|
@ -20,6 +19,7 @@
|
|||
<ProduceReferenceAssembly>True</ProduceReferenceAssembly>
|
||||
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
||||
<AnalysisLevel>latest-recommended</AnalysisLevel>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0|AnyCPU'">
|
||||
|
|
|
@ -10,7 +10,6 @@ public class ChannelSelectionResponsePacket : IPacket
|
|||
public required string Endpoint { get; set; }
|
||||
public required ushort Port { get; set; }
|
||||
public required CharacterData[] Characters { get; set; }
|
||||
public required string GuildName { get; set; }
|
||||
|
||||
public void Deserialize(byte[] data)
|
||||
{
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
<PropertyGroup>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
|
||||
<Features>strict</Features>
|
||||
<LangVersion>12</LangVersion>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
Loading…
Reference in a new issue