Documentation ¶
Index ¶
- Variables
- func GlobalServerConnected(sID uint32, sHost string, sPort uint32) int32
- func Initialize()
- func PushMsg2GlobalServer(data *ChanData)
- func SendMsgToGameServer(svr *GameServer, message interface{}) interface{}
- func ServerConnected(sID uint32, sHost string, sPort uint32) int32
- type ChanData
- type DataType
- type GameServer
- type MsgType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BroadChan chan *ChanData GameServers map[uint32]*GameServer GlobalServerInfo *GameServer )
Functions ¶
func GlobalServerConnected ¶
func Initialize ¶
func Initialize()
func PushMsg2GlobalServer ¶
func PushMsg2GlobalServer(data *ChanData)
func SendMsgToGameServer ¶
func SendMsgToGameServer(svr *GameServer, message interface{}) interface{}
Types ¶
type GameServer ¶
Click to show internal directories.
Click to hide internal directories.