using Fantasy.Entitas.Interface; namespace NB.Map; public class MapRoomDestroySystem : DestroySystem { protected override void Destroy(MapRoom self) { self.Map = 0; self.Password = string.Empty; self.CreateTime = 0; self.Owner = 0; self.Units.Clear(); } } public static class MapRoomSystem { }