From 40b2896fa3537b52064c14eca78fd6e76f5ca933 Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Mon, 20 Nov 2023 19:58:30 +0100 Subject: [PATCH] chore: add copyright notice --- .editorconfig | 2 +- Benchmarks/BinaryConversionBenchmarks.cs | 2 ++ Benchmarks/DataCacheBenchmark.cs | 2 ++ Benchmarks/GenericConfig.cs | 2 ++ Benchmarks/Program.cs | 2 ++ Server/AuthSession.cs | 2 ++ Server/ChannelSession.cs | 2 ++ Server/Consumers/PacketConsumer.cs | 2 ++ Server/DB/Documents/Account.cs | 2 ++ Server/DB/Documents/Character.cs | 2 ++ Server/DB/Documents/Guild.cs | 2 ++ Server/DB/Documents/GuildMember.cs | 2 ++ Server/DB/Documents/GuildRank.cs | 2 ++ Server/DB/Documents/InventoryItem.cs | 2 ++ Server/DB/Documents/InventoryTab.cs | 2 ++ Server/DB/Migrations/20230814114414_Initial.cs | 2 ++ Server/DB/Migrations/20230817230423_CharacterDataDraft.cs | 2 ++ Server/DB/Migrations/20231108143729_AddInventoryToCharacter.cs | 2 ++ Server/DB/Migrations/20231113192405_AdditionalCharacterData.cs | 2 ++ Server/DB/Migrations/20231114203409_AddGuildData.cs | 2 ++ Server/DB/Migrations/20231115174714_GuildIsNotRequired.cs | 2 ++ Server/DB/Migrations/20231115183824_SwitchToDataAnnotations.cs | 2 ++ .../Migrations/20231116110504_DBPoolingAndLazyLoadingSupport.cs | 2 ++ Server/DB/Migrations/20231120162002_FixInventoryItemAsDbset.cs | 2 ++ Server/DB/WonderkingContext.cs | 2 ++ Server/LoggerMessages/LoginHandlerLoggerMessages.cs | 2 ++ Server/LoggerMessages/PacketLoggerMessages.cs | 2 ++ Server/PacketHandlers/ChannelSelectionHandler.cs | 2 ++ Server/PacketHandlers/CharacterCreationHandler.cs | 2 +- Server/PacketHandlers/CharacterDeletionHandler.cs | 2 ++ Server/PacketHandlers/CharacterMappingItemEntry.cs | 2 ++ Server/PacketHandlers/CharacterNameCheckHandler.cs | 2 ++ Server/PacketHandlers/IPacketHandler.cs | 2 ++ Server/PacketHandlers/LoginHandler.cs | 2 +- Server/Packets/RawPacket.cs | 2 ++ Server/Program.cs | 2 ++ Server/Services/ItemObjectPoolService.cs | 2 ++ Server/Services/PacketDistributorService.cs | 2 ++ Server/Services/WonderkingAuthServer.cs | 2 ++ Wonderking/Game/Data/Character/Gender.cs | 2 ++ Wonderking/Game/Data/Character/PvPLevel.cs | 2 ++ Wonderking/Game/Data/Item/ContainedItem.cs | 2 ++ Wonderking/Game/Data/Item/CraftMaterial.cs | 2 ++ Wonderking/Game/Data/Item/ElementalStats.cs | 2 +- Wonderking/Game/Data/Item/ItemOptions.cs | 2 ++ Wonderking/Game/Data/Item/Stats.cs | 2 +- Wonderking/Game/Data/ItemObject.cs | 2 ++ Wonderking/Game/DataReader.cs | 2 ++ Wonderking/Game/GameDataMetadataAttribute.cs | 2 ++ Wonderking/Game/Mapping/CharacterStatsMappingConfiguration.cs | 2 ++ Wonderking/Game/Mapping/DefaultCharacterMapping.cs | 2 ++ Wonderking/Game/Mapping/DynamicStats.cs | 2 ++ Wonderking/Game/Mapping/Item.cs | 2 ++ Wonderking/Game/Mapping/JobSpecificMapping.cs | 2 ++ Wonderking/Game/Reader/BinaryReader.cs | 2 ++ Wonderking/Game/Reader/GenericReaderExtensions.cs | 2 ++ Wonderking/Game/Reader/ItemReader.cs | 2 ++ Wonderking/Game/Reader/ItemReaderExtensions.cs | 2 ++ Wonderking/Packets/IPacket.cs | 2 ++ Wonderking/Packets/Incoming/ChannelSelectionPacket.cs | 2 ++ Wonderking/Packets/Incoming/CharacterCreationPacket.cs | 2 ++ Wonderking/Packets/Incoming/CharacterDeletePacket.cs | 2 ++ Wonderking/Packets/Incoming/CharacterNameCheckPacket.cs | 2 ++ Wonderking/Packets/Incoming/LoginInfoPacket.cs | 2 ++ Wonderking/Packets/OperationCode.cs | 2 ++ Wonderking/Packets/Outgoing/ChannelSelectionResponsePacket.cs | 2 ++ Wonderking/Packets/Outgoing/CharacterCreationResponsePacket.cs | 2 ++ Wonderking/Packets/Outgoing/CharacterDeleteResponsePacket.cs | 2 ++ Wonderking/Packets/Outgoing/CharacterNameCheckPacketResponse.cs | 2 ++ .../Packets/Outgoing/CharacterSelectionSetGuildNamePacket.cs | 2 ++ Wonderking/Packets/Outgoing/Data/BaseStats.cs | 2 ++ Wonderking/Packets/Outgoing/Data/CharacterData.cs | 2 ++ Wonderking/Packets/Outgoing/Data/JobData.cs | 2 ++ Wonderking/Packets/Outgoing/Data/LoginResponseReason.cs | 2 ++ Wonderking/Packets/Outgoing/Data/ServerChannelData.cs | 2 ++ Wonderking/Packets/Outgoing/LoginResponsePacket.cs | 2 ++ Wonderking/Packets/PacketIdAttribute.cs | 2 ++ Wonderking/Utils/ByteArrayConverter.cs | 2 ++ 78 files changed, 151 insertions(+), 5 deletions(-) diff --git a/.editorconfig b/.editorconfig index bd5069d..14ff673 100644 --- a/.editorconfig +++ b/.editorconfig @@ -25,7 +25,7 @@ trim_trailing_whitespace = true insert_final_newline = true [*.cs] -file_header_template = // Copyright (c) 2023 Timothy Schenk.Subject to the GNU AGPL Version 3 License. +file_header_template = // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. indent_size = 4 dotnet_sort_system_directives_first = true dotnet_diagnostic.MA0007.severity = none diff --git a/Benchmarks/BinaryConversionBenchmarks.cs b/Benchmarks/BinaryConversionBenchmarks.cs index 07dbafc..2bcf1ec 100644 --- a/Benchmarks/BinaryConversionBenchmarks.cs +++ b/Benchmarks/BinaryConversionBenchmarks.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Buffers.Binary; using System.Security.Cryptography; using BenchmarkDotNet.Attributes; diff --git a/Benchmarks/DataCacheBenchmark.cs b/Benchmarks/DataCacheBenchmark.cs index 335f000..254b7c6 100644 --- a/Benchmarks/DataCacheBenchmark.cs +++ b/Benchmarks/DataCacheBenchmark.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Collections.Concurrent; using System.Collections.Immutable; using BenchmarkDotNet.Attributes; diff --git a/Benchmarks/GenericConfig.cs b/Benchmarks/GenericConfig.cs index 903dbf4..bec5a4b 100644 --- a/Benchmarks/GenericConfig.cs +++ b/Benchmarks/GenericConfig.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using BenchmarkDotNet.Analysers; using BenchmarkDotNet.Columns; using BenchmarkDotNet.Configs; diff --git a/Benchmarks/Program.cs b/Benchmarks/Program.cs index ae6c326..c796179 100644 --- a/Benchmarks/Program.cs +++ b/Benchmarks/Program.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Reflection; using BenchmarkDotNet.Running; diff --git a/Server/AuthSession.cs b/Server/AuthSession.cs index 8c96904..22cdd50 100644 --- a/Server/AuthSession.cs +++ b/Server/AuthSession.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Net.Sockets; using System.Reflection; using MassTransit.Mediator; diff --git a/Server/ChannelSession.cs b/Server/ChannelSession.cs index e30a3d2..2e8c8a5 100644 --- a/Server/ChannelSession.cs +++ b/Server/ChannelSession.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Security.Cryptography; using System.Text; using MassTransit.Mediator; diff --git a/Server/Consumers/PacketConsumer.cs b/Server/Consumers/PacketConsumer.cs index 9cdd877..f63fa2a 100644 --- a/Server/Consumers/PacketConsumer.cs +++ b/Server/Consumers/PacketConsumer.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using MassTransit; using Server.Packets; using Server.Services; diff --git a/Server/DB/Documents/Account.cs b/Server/DB/Documents/Account.cs index 429eb06..025d89c 100644 --- a/Server/DB/Documents/Account.cs +++ b/Server/DB/Documents/Account.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Microsoft.EntityFrameworkCore; diff --git a/Server/DB/Documents/Character.cs b/Server/DB/Documents/Character.cs index 915097b..0653b7c 100644 --- a/Server/DB/Documents/Character.cs +++ b/Server/DB/Documents/Character.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Microsoft.EntityFrameworkCore; diff --git a/Server/DB/Documents/Guild.cs b/Server/DB/Documents/Guild.cs index 3109d00..7424209 100644 --- a/Server/DB/Documents/Guild.cs +++ b/Server/DB/Documents/Guild.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; diff --git a/Server/DB/Documents/GuildMember.cs b/Server/DB/Documents/GuildMember.cs index 07e0edd..ce1bd9c 100644 --- a/Server/DB/Documents/GuildMember.cs +++ b/Server/DB/Documents/GuildMember.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; diff --git a/Server/DB/Documents/GuildRank.cs b/Server/DB/Documents/GuildRank.cs index bf36540..a8cf6ae 100644 --- a/Server/DB/Documents/GuildRank.cs +++ b/Server/DB/Documents/GuildRank.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + namespace Server.DB.Documents; public enum GuildRank : byte diff --git a/Server/DB/Documents/InventoryItem.cs b/Server/DB/Documents/InventoryItem.cs index 0573d9b..9995605 100644 --- a/Server/DB/Documents/InventoryItem.cs +++ b/Server/DB/Documents/InventoryItem.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; diff --git a/Server/DB/Documents/InventoryTab.cs b/Server/DB/Documents/InventoryTab.cs index cbcdae1..cf690e0 100644 --- a/Server/DB/Documents/InventoryTab.cs +++ b/Server/DB/Documents/InventoryTab.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + namespace Server.DB.Documents; public enum InventoryTab : byte diff --git a/Server/DB/Migrations/20230814114414_Initial.cs b/Server/DB/Migrations/20230814114414_Initial.cs index 553279c..eedcf95 100644 --- a/Server/DB/Migrations/20230814114414_Initial.cs +++ b/Server/DB/Migrations/20230814114414_Initial.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + #nullable disable namespace Server.DB.Migrations; diff --git a/Server/DB/Migrations/20230817230423_CharacterDataDraft.cs b/Server/DB/Migrations/20230817230423_CharacterDataDraft.cs index 294ccb4..954279e 100644 --- a/Server/DB/Migrations/20230817230423_CharacterDataDraft.cs +++ b/Server/DB/Migrations/20230817230423_CharacterDataDraft.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + #nullable disable namespace Server.DB.Migrations; diff --git a/Server/DB/Migrations/20231108143729_AddInventoryToCharacter.cs b/Server/DB/Migrations/20231108143729_AddInventoryToCharacter.cs index 4e365ba..17c426c 100644 --- a/Server/DB/Migrations/20231108143729_AddInventoryToCharacter.cs +++ b/Server/DB/Migrations/20231108143729_AddInventoryToCharacter.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/Server/DB/Migrations/20231113192405_AdditionalCharacterData.cs b/Server/DB/Migrations/20231113192405_AdditionalCharacterData.cs index 49c9278..12034b4 100644 --- a/Server/DB/Migrations/20231113192405_AdditionalCharacterData.cs +++ b/Server/DB/Migrations/20231113192405_AdditionalCharacterData.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/Server/DB/Migrations/20231114203409_AddGuildData.cs b/Server/DB/Migrations/20231114203409_AddGuildData.cs index a463fa7..257f83f 100644 --- a/Server/DB/Migrations/20231114203409_AddGuildData.cs +++ b/Server/DB/Migrations/20231114203409_AddGuildData.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/Server/DB/Migrations/20231115174714_GuildIsNotRequired.cs b/Server/DB/Migrations/20231115174714_GuildIsNotRequired.cs index 27c1de3..3e6fdc6 100644 --- a/Server/DB/Migrations/20231115174714_GuildIsNotRequired.cs +++ b/Server/DB/Migrations/20231115174714_GuildIsNotRequired.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/Server/DB/Migrations/20231115183824_SwitchToDataAnnotations.cs b/Server/DB/Migrations/20231115183824_SwitchToDataAnnotations.cs index 7b9c842..46d8100 100644 --- a/Server/DB/Migrations/20231115183824_SwitchToDataAnnotations.cs +++ b/Server/DB/Migrations/20231115183824_SwitchToDataAnnotations.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/Server/DB/Migrations/20231116110504_DBPoolingAndLazyLoadingSupport.cs b/Server/DB/Migrations/20231116110504_DBPoolingAndLazyLoadingSupport.cs index 9b9cb8c..ad3619b 100644 --- a/Server/DB/Migrations/20231116110504_DBPoolingAndLazyLoadingSupport.cs +++ b/Server/DB/Migrations/20231116110504_DBPoolingAndLazyLoadingSupport.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/Server/DB/Migrations/20231120162002_FixInventoryItemAsDbset.cs b/Server/DB/Migrations/20231120162002_FixInventoryItemAsDbset.cs index 86b6b4a..2298e06 100644 --- a/Server/DB/Migrations/20231120162002_FixInventoryItemAsDbset.cs +++ b/Server/DB/Migrations/20231120162002_FixInventoryItemAsDbset.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/Server/DB/WonderkingContext.cs b/Server/DB/WonderkingContext.cs index ca7824a..eb57530 100644 --- a/Server/DB/WonderkingContext.cs +++ b/Server/DB/WonderkingContext.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using JetBrains.Annotations; using Microsoft.EntityFrameworkCore; using Server.DB.Documents; diff --git a/Server/LoggerMessages/LoginHandlerLoggerMessages.cs b/Server/LoggerMessages/LoginHandlerLoggerMessages.cs index a956c53..5ec4d58 100644 --- a/Server/LoggerMessages/LoginHandlerLoggerMessages.cs +++ b/Server/LoggerMessages/LoginHandlerLoggerMessages.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using Microsoft.Extensions.Logging; using Server.PacketHandlers; diff --git a/Server/LoggerMessages/PacketLoggerMessages.cs b/Server/LoggerMessages/PacketLoggerMessages.cs index cd87b76..4d02c79 100644 --- a/Server/LoggerMessages/PacketLoggerMessages.cs +++ b/Server/LoggerMessages/PacketLoggerMessages.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using JetBrains.Annotations; using Microsoft.Extensions.Logging; using Wonderking.Packets; diff --git a/Server/PacketHandlers/ChannelSelectionHandler.cs b/Server/PacketHandlers/ChannelSelectionHandler.cs index 918f38b..2ed2982 100644 --- a/Server/PacketHandlers/ChannelSelectionHandler.cs +++ b/Server/PacketHandlers/ChannelSelectionHandler.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using Microsoft.EntityFrameworkCore; using NetCoreServer; using Server.DB; diff --git a/Server/PacketHandlers/CharacterCreationHandler.cs b/Server/PacketHandlers/CharacterCreationHandler.cs index 8bc9504..a384213 100644 --- a/Server/PacketHandlers/CharacterCreationHandler.cs +++ b/Server/PacketHandlers/CharacterCreationHandler.cs @@ -1,4 +1,4 @@ -// // Copyright (c) 2023 Timothy Schenk.Subject to the GNU AGPL Version 3 License. +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. using Microsoft.EntityFrameworkCore; using NetCoreServer; diff --git a/Server/PacketHandlers/CharacterDeletionHandler.cs b/Server/PacketHandlers/CharacterDeletionHandler.cs index 3807d46..a54dc3a 100644 --- a/Server/PacketHandlers/CharacterDeletionHandler.cs +++ b/Server/PacketHandlers/CharacterDeletionHandler.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using Microsoft.EntityFrameworkCore; using NetCoreServer; using Server.DB; diff --git a/Server/PacketHandlers/CharacterMappingItemEntry.cs b/Server/PacketHandlers/CharacterMappingItemEntry.cs index 055abd0..c9a990c 100644 --- a/Server/PacketHandlers/CharacterMappingItemEntry.cs +++ b/Server/PacketHandlers/CharacterMappingItemEntry.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Runtime.InteropServices; namespace Server.PacketHandlers; diff --git a/Server/PacketHandlers/CharacterNameCheckHandler.cs b/Server/PacketHandlers/CharacterNameCheckHandler.cs index 7804da6..4dc27f8 100644 --- a/Server/PacketHandlers/CharacterNameCheckHandler.cs +++ b/Server/PacketHandlers/CharacterNameCheckHandler.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using NetCoreServer; using Server.DB; using Wonderking.Packets.Incoming; diff --git a/Server/PacketHandlers/IPacketHandler.cs b/Server/PacketHandlers/IPacketHandler.cs index 6f5cb16..ea27c12 100644 --- a/Server/PacketHandlers/IPacketHandler.cs +++ b/Server/PacketHandlers/IPacketHandler.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using JetBrains.Annotations; using NetCoreServer; using Wonderking.Packets; diff --git a/Server/PacketHandlers/LoginHandler.cs b/Server/PacketHandlers/LoginHandler.cs index 500477d..4408386 100644 --- a/Server/PacketHandlers/LoginHandler.cs +++ b/Server/PacketHandlers/LoginHandler.cs @@ -1,4 +1,4 @@ -// // Copyright (c) 2023 Timothy Schenk.Subject to the GNU AGPL Version 3 License. +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. using System.Security.Cryptography; using System.Text; diff --git a/Server/Packets/RawPacket.cs b/Server/Packets/RawPacket.cs index 05c58de..a52f8f9 100644 --- a/Server/Packets/RawPacket.cs +++ b/Server/Packets/RawPacket.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using MassTransit; using Wonderking.Packets; diff --git a/Server/Program.cs b/Server/Program.cs index b1bb3dc..523634a 100644 --- a/Server/Program.cs +++ b/Server/Program.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Net; using System.Reflection; using System.Text.Json; diff --git a/Server/Services/ItemObjectPoolService.cs b/Server/Services/ItemObjectPoolService.cs index b202592..6c5733b 100644 --- a/Server/Services/ItemObjectPoolService.cs +++ b/Server/Services/ItemObjectPoolService.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Collections.Concurrent; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; diff --git a/Server/Services/PacketDistributorService.cs b/Server/Services/PacketDistributorService.cs index a5d8aba..56198b8 100644 --- a/Server/Services/PacketDistributorService.cs +++ b/Server/Services/PacketDistributorService.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Collections.Concurrent; using System.Collections.Immutable; using System.Reflection; diff --git a/Server/Services/WonderkingAuthServer.cs b/Server/Services/WonderkingAuthServer.cs index 5aac46e..86bf708 100644 --- a/Server/Services/WonderkingAuthServer.cs +++ b/Server/Services/WonderkingAuthServer.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Net; using System.Net.Sockets; using Microsoft.Extensions.DependencyInjection; diff --git a/Wonderking/Game/Data/Character/Gender.cs b/Wonderking/Game/Data/Character/Gender.cs index 49f9949..28c5ae8 100644 --- a/Wonderking/Game/Data/Character/Gender.cs +++ b/Wonderking/Game/Data/Character/Gender.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + namespace Wonderking.Game.Data.Character; public enum Gender : byte diff --git a/Wonderking/Game/Data/Character/PvPLevel.cs b/Wonderking/Game/Data/Character/PvPLevel.cs index 8fbaca4..c5cd259 100644 --- a/Wonderking/Game/Data/Character/PvPLevel.cs +++ b/Wonderking/Game/Data/Character/PvPLevel.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + namespace Wonderking.Game.Data.Character; public enum PvPLevel : byte diff --git a/Wonderking/Game/Data/Item/ContainedItem.cs b/Wonderking/Game/Data/Item/ContainedItem.cs index 3f819f4..2bb241c 100644 --- a/Wonderking/Game/Data/Item/ContainedItem.cs +++ b/Wonderking/Game/Data/Item/ContainedItem.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Runtime.InteropServices; namespace Wonderking.Game.Data.Item; diff --git a/Wonderking/Game/Data/Item/CraftMaterial.cs b/Wonderking/Game/Data/Item/CraftMaterial.cs index 4ecf38b..0500446 100644 --- a/Wonderking/Game/Data/Item/CraftMaterial.cs +++ b/Wonderking/Game/Data/Item/CraftMaterial.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Runtime.InteropServices; namespace Wonderking.Game.Data.Item; diff --git a/Wonderking/Game/Data/Item/ElementalStats.cs b/Wonderking/Game/Data/Item/ElementalStats.cs index 9eaa0f4..f20fe7a 100644 --- a/Wonderking/Game/Data/Item/ElementalStats.cs +++ b/Wonderking/Game/Data/Item/ElementalStats.cs @@ -1,4 +1,4 @@ -// // Copyright (c) 2023 Timothy Schenk.Subject to the GNU AGPL Version 3 License. +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. using System.Runtime.InteropServices; diff --git a/Wonderking/Game/Data/Item/ItemOptions.cs b/Wonderking/Game/Data/Item/ItemOptions.cs index 9274e4f..95ba966 100644 --- a/Wonderking/Game/Data/Item/ItemOptions.cs +++ b/Wonderking/Game/Data/Item/ItemOptions.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + namespace Wonderking.Game.Data.Item; public struct ItemOptions diff --git a/Wonderking/Game/Data/Item/Stats.cs b/Wonderking/Game/Data/Item/Stats.cs index 4883abc..61604f5 100644 --- a/Wonderking/Game/Data/Item/Stats.cs +++ b/Wonderking/Game/Data/Item/Stats.cs @@ -1,4 +1,4 @@ -// // Copyright (c) 2023 Timothy Schenk.Subject to the GNU AGPL Version 3 License. +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. using System.Runtime.InteropServices; diff --git a/Wonderking/Game/Data/ItemObject.cs b/Wonderking/Game/Data/ItemObject.cs index 4284d2f..e779d0f 100644 --- a/Wonderking/Game/Data/ItemObject.cs +++ b/Wonderking/Game/Data/ItemObject.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Text.Json.Serialization; using Wonderking.Game.Data.Item; using Wonderking.Utils; diff --git a/Wonderking/Game/DataReader.cs b/Wonderking/Game/DataReader.cs index 4e19b05..4489299 100644 --- a/Wonderking/Game/DataReader.cs +++ b/Wonderking/Game/DataReader.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Reflection; namespace Wonderking.Game; diff --git a/Wonderking/Game/GameDataMetadataAttribute.cs b/Wonderking/Game/GameDataMetadataAttribute.cs index b9db18c..693b62b 100644 --- a/Wonderking/Game/GameDataMetadataAttribute.cs +++ b/Wonderking/Game/GameDataMetadataAttribute.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using JetBrains.Annotations; namespace Wonderking.Game; diff --git a/Wonderking/Game/Mapping/CharacterStatsMappingConfiguration.cs b/Wonderking/Game/Mapping/CharacterStatsMappingConfiguration.cs index 5851db2..cf15a73 100644 --- a/Wonderking/Game/Mapping/CharacterStatsMappingConfiguration.cs +++ b/Wonderking/Game/Mapping/CharacterStatsMappingConfiguration.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Text.Json.Serialization; namespace Wonderking.Game.Mapping; diff --git a/Wonderking/Game/Mapping/DefaultCharacterMapping.cs b/Wonderking/Game/Mapping/DefaultCharacterMapping.cs index 38c1e8c..de74b53 100644 --- a/Wonderking/Game/Mapping/DefaultCharacterMapping.cs +++ b/Wonderking/Game/Mapping/DefaultCharacterMapping.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Text.Json.Serialization; namespace Wonderking.Game.Mapping; diff --git a/Wonderking/Game/Mapping/DynamicStats.cs b/Wonderking/Game/Mapping/DynamicStats.cs index e68880e..00059d7 100644 --- a/Wonderking/Game/Mapping/DynamicStats.cs +++ b/Wonderking/Game/Mapping/DynamicStats.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Text.Json.Serialization; namespace Wonderking.Game.Mapping; diff --git a/Wonderking/Game/Mapping/Item.cs b/Wonderking/Game/Mapping/Item.cs index 7d227d0..f5564ba 100644 --- a/Wonderking/Game/Mapping/Item.cs +++ b/Wonderking/Game/Mapping/Item.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Text.Json.Serialization; namespace Wonderking.Game.Mapping; diff --git a/Wonderking/Game/Mapping/JobSpecificMapping.cs b/Wonderking/Game/Mapping/JobSpecificMapping.cs index b03efa6..1db9040 100644 --- a/Wonderking/Game/Mapping/JobSpecificMapping.cs +++ b/Wonderking/Game/Mapping/JobSpecificMapping.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Text.Json.Serialization; using Wonderking.Packets.Outgoing.Data; diff --git a/Wonderking/Game/Reader/BinaryReader.cs b/Wonderking/Game/Reader/BinaryReader.cs index 62c683d..b21bbaa 100644 --- a/Wonderking/Game/Reader/BinaryReader.cs +++ b/Wonderking/Game/Reader/BinaryReader.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Runtime.InteropServices; namespace Wonderking.Game.Reader; diff --git a/Wonderking/Game/Reader/GenericReaderExtensions.cs b/Wonderking/Game/Reader/GenericReaderExtensions.cs index 92e18b9..77d5f7e 100644 --- a/Wonderking/Game/Reader/GenericReaderExtensions.cs +++ b/Wonderking/Game/Reader/GenericReaderExtensions.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + /* Nicht gemergte Ă„nderung aus Projekt "Wonderking(net7.0)" Vor: using System.Runtime.InteropServices; diff --git a/Wonderking/Game/Reader/ItemReader.cs b/Wonderking/Game/Reader/ItemReader.cs index da3fff7..1747737 100644 --- a/Wonderking/Game/Reader/ItemReader.cs +++ b/Wonderking/Game/Reader/ItemReader.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Buffers.Binary; using System.Text; using Wonderking.Game.Data; diff --git a/Wonderking/Game/Reader/ItemReaderExtensions.cs b/Wonderking/Game/Reader/ItemReaderExtensions.cs index fc37adc..8d67859 100644 --- a/Wonderking/Game/Reader/ItemReaderExtensions.cs +++ b/Wonderking/Game/Reader/ItemReaderExtensions.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using Wonderking.Game.Data.Item; namespace Wonderking.Game.Reader; diff --git a/Wonderking/Packets/IPacket.cs b/Wonderking/Packets/IPacket.cs index fa795eb..c6ea20b 100644 --- a/Wonderking/Packets/IPacket.cs +++ b/Wonderking/Packets/IPacket.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using JetBrains.Annotations; namespace Wonderking.Packets; diff --git a/Wonderking/Packets/Incoming/ChannelSelectionPacket.cs b/Wonderking/Packets/Incoming/ChannelSelectionPacket.cs index 1f0071d..2b9b4b2 100644 --- a/Wonderking/Packets/Incoming/ChannelSelectionPacket.cs +++ b/Wonderking/Packets/Incoming/ChannelSelectionPacket.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + namespace Wonderking.Packets.Incoming; [PacketId(OperationCode.ChannelSelection)] diff --git a/Wonderking/Packets/Incoming/CharacterCreationPacket.cs b/Wonderking/Packets/Incoming/CharacterCreationPacket.cs index 105f6db..47463ad 100644 --- a/Wonderking/Packets/Incoming/CharacterCreationPacket.cs +++ b/Wonderking/Packets/Incoming/CharacterCreationPacket.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Text; using Wonderking.Game.Data.Character; diff --git a/Wonderking/Packets/Incoming/CharacterDeletePacket.cs b/Wonderking/Packets/Incoming/CharacterDeletePacket.cs index 545c524..e654d73 100644 --- a/Wonderking/Packets/Incoming/CharacterDeletePacket.cs +++ b/Wonderking/Packets/Incoming/CharacterDeletePacket.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Text; namespace Wonderking.Packets.Incoming; diff --git a/Wonderking/Packets/Incoming/CharacterNameCheckPacket.cs b/Wonderking/Packets/Incoming/CharacterNameCheckPacket.cs index 2122db9..6875bfc 100644 --- a/Wonderking/Packets/Incoming/CharacterNameCheckPacket.cs +++ b/Wonderking/Packets/Incoming/CharacterNameCheckPacket.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Text; namespace Wonderking.Packets.Incoming; diff --git a/Wonderking/Packets/Incoming/LoginInfoPacket.cs b/Wonderking/Packets/Incoming/LoginInfoPacket.cs index 683695f..688689b 100644 --- a/Wonderking/Packets/Incoming/LoginInfoPacket.cs +++ b/Wonderking/Packets/Incoming/LoginInfoPacket.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Text; namespace Wonderking.Packets.Incoming; diff --git a/Wonderking/Packets/OperationCode.cs b/Wonderking/Packets/OperationCode.cs index 170f491..2c57120 100644 --- a/Wonderking/Packets/OperationCode.cs +++ b/Wonderking/Packets/OperationCode.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + namespace Wonderking.Packets; public enum OperationCode : ushort diff --git a/Wonderking/Packets/Outgoing/ChannelSelectionResponsePacket.cs b/Wonderking/Packets/Outgoing/ChannelSelectionResponsePacket.cs index e8ce9f3..5648d15 100644 --- a/Wonderking/Packets/Outgoing/ChannelSelectionResponsePacket.cs +++ b/Wonderking/Packets/Outgoing/ChannelSelectionResponsePacket.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Buffers.Binary; using System.Text; using Wonderking.Packets.Outgoing.Data; diff --git a/Wonderking/Packets/Outgoing/CharacterCreationResponsePacket.cs b/Wonderking/Packets/Outgoing/CharacterCreationResponsePacket.cs index cce221c..0559bc9 100644 --- a/Wonderking/Packets/Outgoing/CharacterCreationResponsePacket.cs +++ b/Wonderking/Packets/Outgoing/CharacterCreationResponsePacket.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Buffers.Binary; using System.Text; using Wonderking.Packets.Outgoing.Data; diff --git a/Wonderking/Packets/Outgoing/CharacterDeleteResponsePacket.cs b/Wonderking/Packets/Outgoing/CharacterDeleteResponsePacket.cs index d467c06..1ca2bb0 100644 --- a/Wonderking/Packets/Outgoing/CharacterDeleteResponsePacket.cs +++ b/Wonderking/Packets/Outgoing/CharacterDeleteResponsePacket.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + namespace Wonderking.Packets.Outgoing; [PacketId(OperationCode.CharacterDeletionResponse)] diff --git a/Wonderking/Packets/Outgoing/CharacterNameCheckPacketResponse.cs b/Wonderking/Packets/Outgoing/CharacterNameCheckPacketResponse.cs index 63564d3..251e70f 100644 --- a/Wonderking/Packets/Outgoing/CharacterNameCheckPacketResponse.cs +++ b/Wonderking/Packets/Outgoing/CharacterNameCheckPacketResponse.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + namespace Wonderking.Packets.Outgoing; [PacketId(OperationCode.CharacterNameCheckResponse)] diff --git a/Wonderking/Packets/Outgoing/CharacterSelectionSetGuildNamePacket.cs b/Wonderking/Packets/Outgoing/CharacterSelectionSetGuildNamePacket.cs index f5a3468..39dcaa0 100644 --- a/Wonderking/Packets/Outgoing/CharacterSelectionSetGuildNamePacket.cs +++ b/Wonderking/Packets/Outgoing/CharacterSelectionSetGuildNamePacket.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Text; namespace Wonderking.Packets.Outgoing; diff --git a/Wonderking/Packets/Outgoing/Data/BaseStats.cs b/Wonderking/Packets/Outgoing/Data/BaseStats.cs index 0ed902f..052221b 100644 --- a/Wonderking/Packets/Outgoing/Data/BaseStats.cs +++ b/Wonderking/Packets/Outgoing/Data/BaseStats.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Text.Json.Serialization; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore; diff --git a/Wonderking/Packets/Outgoing/Data/CharacterData.cs b/Wonderking/Packets/Outgoing/Data/CharacterData.cs index fdb4d60..ea6b876 100644 --- a/Wonderking/Packets/Outgoing/Data/CharacterData.cs +++ b/Wonderking/Packets/Outgoing/Data/CharacterData.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using Wonderking.Game.Data.Character; namespace Wonderking.Packets.Outgoing.Data; diff --git a/Wonderking/Packets/Outgoing/Data/JobData.cs b/Wonderking/Packets/Outgoing/Data/JobData.cs index bb385cc..f4cdda8 100644 --- a/Wonderking/Packets/Outgoing/Data/JobData.cs +++ b/Wonderking/Packets/Outgoing/Data/JobData.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using JetBrains.Annotations; using Microsoft.EntityFrameworkCore; diff --git a/Wonderking/Packets/Outgoing/Data/LoginResponseReason.cs b/Wonderking/Packets/Outgoing/Data/LoginResponseReason.cs index 11577e1..ca8020e 100644 --- a/Wonderking/Packets/Outgoing/Data/LoginResponseReason.cs +++ b/Wonderking/Packets/Outgoing/Data/LoginResponseReason.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + namespace Wonderking.Packets.Outgoing.Data; public enum LoginResponseReason : byte diff --git a/Wonderking/Packets/Outgoing/Data/ServerChannelData.cs b/Wonderking/Packets/Outgoing/Data/ServerChannelData.cs index ab5599d..a69bfc1 100644 --- a/Wonderking/Packets/Outgoing/Data/ServerChannelData.cs +++ b/Wonderking/Packets/Outgoing/Data/ServerChannelData.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Runtime.InteropServices; namespace Wonderking.Packets.Outgoing.Data; diff --git a/Wonderking/Packets/Outgoing/LoginResponsePacket.cs b/Wonderking/Packets/Outgoing/LoginResponsePacket.cs index 2a0e32a..d314aa2 100644 --- a/Wonderking/Packets/Outgoing/LoginResponsePacket.cs +++ b/Wonderking/Packets/Outgoing/LoginResponsePacket.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Buffers.Binary; using Wonderking.Packets.Outgoing.Data; diff --git a/Wonderking/Packets/PacketIdAttribute.cs b/Wonderking/Packets/PacketIdAttribute.cs index ab07a24..e944342 100644 --- a/Wonderking/Packets/PacketIdAttribute.cs +++ b/Wonderking/Packets/PacketIdAttribute.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + namespace Wonderking.Packets; [AttributeUsage(AttributeTargets.Class, Inherited = false)] diff --git a/Wonderking/Utils/ByteArrayConverter.cs b/Wonderking/Utils/ByteArrayConverter.cs index bd1e4db..8ef8872 100644 --- a/Wonderking/Utils/ByteArrayConverter.cs +++ b/Wonderking/Utils/ByteArrayConverter.cs @@ -1,3 +1,5 @@ +// // Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. + using System.Text.Json; using System.Text.Json.Serialization;