移动同步相关
This commit is contained in:
@@ -4,7 +4,7 @@ namespace NB.Map;
|
||||
|
||||
public class RoomManageComponent : Entity
|
||||
{
|
||||
public readonly Dictionary<long, MapRoom> Rooms = new();
|
||||
public readonly Dictionary<int, MapRoom> Rooms = new();
|
||||
|
||||
public readonly PriorityQueue<int, int> FreeIds = new();
|
||||
public readonly HashSet<int> InUseID = new();
|
||||
|
||||
@@ -32,7 +32,7 @@ public class MapUnit : Entity
|
||||
/// <summary>
|
||||
/// 当前所在的房间id
|
||||
/// </summary>
|
||||
public long RoomId;
|
||||
public int RoomId;
|
||||
|
||||
public long GateRouteId;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user