Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RoomManager ¶
type RoomManager struct {
// contains filtered or unexported fields
}
RoomManager is used to manage game rooms
func (*RoomManager) CreateRoom ¶
func (rm *RoomManager) CreateRoom( rid uint64, typeID int32, pid []uint64, randomSeed int32, logicServer string, ) (*room.Room, error)
CreateRoom creates a game room
func (*RoomManager) GetRoom ¶
func (rm *RoomManager) GetRoom(id uint64) *room.Room
GetRoom gets the specific room
func (*RoomManager) RoomNum ¶
func (rm *RoomManager) RoomNum() int
RoomNum gets the count of the room
Click to show internal directories.
Click to hide internal directories.