房间创建和进入相关逻辑和协议
This commit is contained in:
11
Entity/Map/Component/RoomManageComponent.cs
Normal file
11
Entity/Map/Component/RoomManageComponent.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using Fantasy.Entitas;
|
||||
|
||||
namespace NB.Map;
|
||||
|
||||
public class RoomManageComponent : Entity
|
||||
{
|
||||
public readonly Dictionary<long, MapRoom> Rooms = new();
|
||||
|
||||
public readonly PriorityQueue<int, int> FreeIds = new();
|
||||
public readonly HashSet<int> InUseID = new();
|
||||
}
|
||||
Reference in New Issue
Block a user