Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GameServer ¶
type GameServer struct { DiscoveryClient *rpc.NodeDiscoveryClient MessageQueue *mq.MessageQueue AppId uint32 RegionName string PlayerMap map[uint32]*PlayerNet PlayerSync *sync.RWMutex }
func NewGameServer ¶
func NewGameServer(discoveryClient *rpc.NodeDiscoveryClient, messageQueue *mq.MessageQueue, netInfo constant.AppNet, appInfo constant.AppList, appId uint32) *GameServer
Click to show internal directories.
Click to hide internal directories.