Exemplo n.º 1
0
 def EnterRoom(self, EntityAccount, RoomId):
     """
     账户进入RoomId对应的房间
     """
     # 根据房间ID,得到Room实体
     Room = self.RoomList[RoomId]
     if Room is None:
         ERROR_MSG("RoomMgr::EnterRoom: Room with Id(%i) is none" %
                   (RoomId))
         return
     Room.AccountEnter(EntityAccount)