Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActiveRoom ¶
func BuildServerRoom ¶
func BuildServerRoom(size uint)
func Clearroom ¶
func Clearroom(pGroom *GameTopRoom)
func GameTopRoom_tick ¶
func GameTopRoom_tick()
func GetRoomList ¶
func GetRoomList() string
func LeaveRoomBySocketId ¶
func LeaveRoomBySocketId(SocketId uint32)
Types ¶
type BeginGameRoom ¶
type GameTopRoom ¶
type GameTopRoom struct { Id uint32 `json:"Id"` Wordlist [5]string `json:"Wordlist"` SocketIdA uint32 `json:"SocketIdA"` SocketIdB uint32 `json:"SocketIdB"` PlayAavatar string `json:"PlayAavatar"` PlayBavatar string `json:"PlayBavatar"` ScorceA uint32 `json:"ScorceA"` ScorceB uint32 `json:"ScorceB"` TimeOut uint32 `json:"TimeOut"` Runplay bool Count uint32 }
func GetRoomById ¶
func GetRoomById(id uint32, mysock uint32) *GameTopRoom
func JoinCreatRoomById ¶
func JoinCreatRoomById(id uint32, mysock uint32) *GameTopRoom
Click to show internal directories.
Click to hide internal directories.