Documentation
¶
Index ¶
- func GetGameID() uint16
- func GetOnlineGames() common.Uint16Set
- 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) HandleCreateEntitySomewhere(entityid common.EntityID, typeName string, data map[string]interface{})
- func (gs *GameService) HandleGateDisconnected(gateid uint16)
- func (gs *GameService) HandleKvregRegister(pkt *netutil.Packet)
- func (gs *GameService) HandleLoadEntitySomewhere(typeName string, entityID common.EntityID)
- func (gs *GameService) HandleMigrateRequestAck(pkt *netutil.Packet)
- func (gs *GameService) HandleNotifyClientConnected(clientid common.ClientID, bootEid common.EntityID, gateid uint16)
- func (gs *GameService) HandleNotifyClientDisconnected(ownerID common.EntityID, clientid common.ClientID)
- func (gs *GameService) HandleQuerySpaceGameIDForMigrateAck(pkt *netutil.Packet)
- func (gs *GameService) HandleRealMigrate(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 GetOnlineGames ¶
GetOnlineGames returns all online game IDs
Types ¶
type GameService ¶
type GameService struct {
// contains filtered or unexported fields
}
func (*GameService) HandleCallEntityMethod ¶
func (*GameService) HandleCallNilSpaces ¶
func (gs *GameService) HandleCallNilSpaces(method string, args [][]byte)
func (*GameService) HandleCreateEntitySomewhere ¶
func (gs *GameService) HandleCreateEntitySomewhere(entityid common.EntityID, typeName string, data map[string]interface{})
func (*GameService) HandleGateDisconnected ¶
func (gs *GameService) HandleGateDisconnected(gateid uint16)
func (*GameService) HandleKvregRegister ¶
func (gs *GameService) HandleKvregRegister(pkt *netutil.Packet)
func (*GameService) HandleLoadEntitySomewhere ¶
func (gs *GameService) HandleLoadEntitySomewhere(typeName string, entityID common.EntityID)
func (*GameService) HandleMigrateRequestAck ¶
func (gs *GameService) HandleMigrateRequestAck(pkt *netutil.Packet)
func (*GameService) HandleNotifyClientConnected ¶
func (*GameService) HandleNotifyClientDisconnected ¶
func (gs *GameService) HandleNotifyClientDisconnected(ownerID common.EntityID, clientid common.ClientID)
func (*GameService) HandleQuerySpaceGameIDForMigrateAck ¶
func (gs *GameService) HandleQuerySpaceGameIDForMigrateAck(pkt *netutil.Packet)
func (*GameService) HandleRealMigrate ¶
func (gs *GameService) HandleRealMigrate(pkt *netutil.Packet)
func (*GameService) HandleStartFreezeGameAck ¶
func (gs *GameService) HandleStartFreezeGameAck(dispid uint16)
func (*GameService) HandleSyncPositionYawFromClient ¶
func (gs *GameService) HandleSyncPositionYawFromClient(pkt *netutil.Packet)
func (*GameService) String ¶
func (gs *GameService) String() string
Click to show internal directories.
Click to hide internal directories.