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

This commit is contained in:
Timothy Schenk 2023-11-13 21:14:38 +01:00
parent b2373d1556
commit 98aa813f65
4 changed files with 6 additions and 14 deletions

View file

@ -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 Microsoft.EntityFrameworkCore;
using Server.DB.Documents; using Server.DB.Documents;
using Wonderking.Game.Data.Character; using Wonderking.Game.Data.Character;
@ -46,7 +38,8 @@ public class ChannelSelectionHandler : IPacketHandler<ChannelSelectionPacket>
?.Characters; ?.Characters;
ChannelSelectionResponsePacket responsePacket; ChannelSelectionResponsePacket responsePacket;
if (charactersOfAccount != null && false) var testingChars = true;
if (charactersOfAccount != null && testingChars)
{ {
responsePacket = new ChannelSelectionResponsePacket responsePacket = new ChannelSelectionResponsePacket
{ {
@ -103,8 +96,8 @@ public class ChannelSelectionHandler : IPacketHandler<ChannelSelectionPacket>
}, },
Health = int.MaxValue - 1, Health = int.MaxValue - 1,
Mana = int.MaxValue - 1, Mana = int.MaxValue - 1,
EquippedItems = Enumerable.Repeat((ushort)25,20).ToArray(), EquippedItems = Enumerable.Repeat((ushort)25, 20).ToArray(),
EquippedCashItems = Enumerable.Repeat((ushort)25,20).ToArray() EquippedCashItems = Enumerable.Repeat((ushort)25, 20).ToArray()
}, },
}, },
}; };

View file

@ -8,7 +8,6 @@
<RootNamespace>Server</RootNamespace> <RootNamespace>Server</RootNamespace>
<LangVersion>12</LangVersion> <LangVersion>12</LangVersion>
<ServerGarbageCollection>true</ServerGarbageCollection> <ServerGarbageCollection>true</ServerGarbageCollection>
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
<EnableNETAnalyzers>true</EnableNETAnalyzers> <EnableNETAnalyzers>true</EnableNETAnalyzers>
<Features>strict</Features> <Features>strict</Features>
<Authors>Timothy (RaiNote) Schenk</Authors> <Authors>Timothy (RaiNote) Schenk</Authors>
@ -20,6 +19,7 @@
<ProduceReferenceAssembly>True</ProduceReferenceAssembly> <ProduceReferenceAssembly>True</ProduceReferenceAssembly>
<PackageLicenseFile>LICENSE</PackageLicenseFile> <PackageLicenseFile>LICENSE</PackageLicenseFile>
<AnalysisLevel>latest-recommended</AnalysisLevel> <AnalysisLevel>latest-recommended</AnalysisLevel>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0|AnyCPU'">

View file

@ -10,7 +10,6 @@ public class ChannelSelectionResponsePacket : IPacket
public required string Endpoint { get; set; } public required string Endpoint { get; set; }
public required ushort Port { get; set; } public required ushort Port { get; set; }
public required CharacterData[] Characters { get; set; } public required CharacterData[] Characters { get; set; }
public required string GuildName { get; set; }
public void Deserialize(byte[] data) public void Deserialize(byte[] data)
{ {

View file

@ -3,9 +3,9 @@
<PropertyGroup> <PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
<Features>strict</Features> <Features>strict</Features>
<LangVersion>12</LangVersion> <LangVersion>12</LangVersion>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>