Documentation ¶
Index ¶
- func ConnectedGamesNum() int
- func GetGameID() uint16
- func Run()
- type GameService
- func (gs *GameService) HandleCallEntityMethod(entityID common.EntityID, method string, args [][]byte, ...)
- func (gs *GameService) HandleCallNilSpaces(method string, args [][]byte)
- func (gs *GameService) HandleCreateEntityAnywhere(entityid common.EntityID, typeName string, data map[string]interface{})
- func (gs *GameService) HandleGateDisconnected(gateid uint16)
- func (gs *GameService) HandleLoadEntitySomewhere(typeName string, entityID common.EntityID)
- func (gs *GameService) HandleMigrateRequestAck(pkt *netutil.Packet)
- func (gs *GameService) HandleNotifyClientConnected(clientid common.ClientID, gateid uint16)
- func (gs *GameService) HandleNotifyClientDisconnected(clientid common.ClientID)
- func (gs *GameService) HandleQuerySpaceGameIDForMigrateAck(pkt *netutil.Packet)
- func (gs *GameService) HandleRealMigrate(pkt *netutil.Packet)
- func (gs *GameService) HandleSrvdisRegister(pkt *netutil.Packet)
- func (gs *GameService) HandleStartFreezeGameAck(dispid uint16)
- func (gs *GameService) HandleSyncPositionYawFromClient(pkt *netutil.Packet)
- func (gs *GameService) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectedGamesNum ¶ added in v0.1.4
func ConnectedGamesNum() int
Types ¶
type GameService ¶ added in v0.1.2
type GameService struct {
// contains filtered or unexported fields
}
func (*GameService) HandleCallEntityMethod ¶ added in v0.1.2
func (*GameService) HandleCallNilSpaces ¶ added in v0.1.3
func (gs *GameService) HandleCallNilSpaces(method string, args [][]byte)
func (*GameService) HandleCreateEntityAnywhere ¶ added in v0.1.2
func (gs *GameService) HandleCreateEntityAnywhere(entityid common.EntityID, typeName string, data map[string]interface{})
func (*GameService) HandleGateDisconnected ¶ added in v0.1.2
func (gs *GameService) HandleGateDisconnected(gateid uint16)
func (*GameService) HandleLoadEntitySomewhere ¶ added in v0.1.4
func (gs *GameService) HandleLoadEntitySomewhere(typeName string, entityID common.EntityID)
func (*GameService) HandleMigrateRequestAck ¶ added in v0.1.2
func (gs *GameService) HandleMigrateRequestAck(pkt *netutil.Packet)
func (*GameService) HandleNotifyClientConnected ¶ added in v0.1.2
func (gs *GameService) HandleNotifyClientConnected(clientid common.ClientID, gateid uint16)
func (*GameService) HandleNotifyClientDisconnected ¶ added in v0.1.2
func (gs *GameService) HandleNotifyClientDisconnected(clientid common.ClientID)
func (*GameService) HandleQuerySpaceGameIDForMigrateAck ¶ added in v0.1.2
func (gs *GameService) HandleQuerySpaceGameIDForMigrateAck(pkt *netutil.Packet)
func (*GameService) HandleRealMigrate ¶ added in v0.1.2
func (gs *GameService) HandleRealMigrate(pkt *netutil.Packet)
func (*GameService) HandleSrvdisRegister ¶ added in v0.1.4
func (gs *GameService) HandleSrvdisRegister(pkt *netutil.Packet)
func (*GameService) HandleStartFreezeGameAck ¶ added in v0.1.2
func (gs *GameService) HandleStartFreezeGameAck(dispid uint16)
func (*GameService) HandleSyncPositionYawFromClient ¶ added in v0.1.2
func (gs *GameService) HandleSyncPositionYawFromClient(pkt *netutil.Packet)
func (*GameService) String ¶ added in v0.1.2
func (gs *GameService) String() string
Click to show internal directories.
Click to hide internal directories.