提交进入地图和创建房间相关逻辑和协议
This commit is contained in:
@@ -46,7 +46,10 @@ public static class RoomManageComponentSystem
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public static MapRoom? Get(this RoomManageComponent self, int roomId)
|
||||
{
|
||||
return self.Rooms.GetValueOrDefault(roomId);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 房间Id
|
||||
@@ -79,15 +82,5 @@ public static class RoomManageComponentSystem
|
||||
|
||||
#endregion
|
||||
|
||||
#region 进入退出
|
||||
|
||||
public static void Enter(this RoomManageComponent self, MapUnit unit, long roomId)
|
||||
{
|
||||
}
|
||||
|
||||
public static void Exit(this RoomManageComponent self, MapUnit unit)
|
||||
{
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user