房间创建和进入相关逻辑和协议
This commit is contained in:
19
Hotfix/Map/System/MapRoomSystem.cs
Normal file
19
Hotfix/Map/System/MapRoomSystem.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Fantasy.Entitas.Interface;
|
||||
|
||||
namespace NB.Map;
|
||||
|
||||
public class MapRoomDestroySystem : DestroySystem<MapRoom>
|
||||
{
|
||||
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
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user