From 5d18a194b86124d5ec912a88998912de7cdafcd1 Mon Sep 17 00:00:00 2001 From: Kamron Batman <3953314+kamronbatman@users.noreply.github.com> Date: Wed, 26 Jun 2024 07:57:00 -0700 Subject: [PATCH] fix: Deletes unused serialization files (#1848) --- Projects/Server/World/EntityTypeIndex.cs | 25 ------------------------ Projects/Server/World/IIndexInfo.cs | 23 ---------------------- 2 files changed, 48 deletions(-) delete mode 100644 Projects/Server/World/EntityTypeIndex.cs delete mode 100644 Projects/Server/World/IIndexInfo.cs diff --git a/Projects/Server/World/EntityTypeIndex.cs b/Projects/Server/World/EntityTypeIndex.cs deleted file mode 100644 index 4bddac823..000000000 --- a/Projects/Server/World/EntityTypeIndex.cs +++ /dev/null @@ -1,25 +0,0 @@ -/************************************************************************* - * ModernUO * - * Copyright 2019-2023 - ModernUO Development Team * - * Email: hi@modernuo.com * - * File: EntityTypeIndex.cs * - * * - * This program is free software: you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation, either version 3 of the License, or * - * (at your option) any later version. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see . * - *************************************************************************/ - -namespace Server; - -public readonly struct EntityTypeIndex : IIndexInfo -{ - public string TypeName { get; } - - public EntityTypeIndex(string typeName) => TypeName = typeName; - - public Serial CreateIndex(uint num) => (Serial)num; -} diff --git a/Projects/Server/World/IIndexInfo.cs b/Projects/Server/World/IIndexInfo.cs deleted file mode 100644 index f5935d4fe..000000000 --- a/Projects/Server/World/IIndexInfo.cs +++ /dev/null @@ -1,23 +0,0 @@ -/************************************************************************* - * ModernUO * - * Copyright 2019-2023 - ModernUO Development Team * - * Email: hi@modernuo.com * - * File: EntityTypeIndex.cs * - * * - * This program is free software: you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation, either version 3 of the License, or * - * (at your option) any later version. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see . * - *************************************************************************/ - -namespace Server; - -public interface IIndexInfo -{ - I CreateIndex(uint num); - - string TypeName { get; } -}