v0.1.6 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2018 License: Apache-2.0 Imports: 6 Imported by: 107




This section is empty.


This section is empty.


func EntityIDToDispatcherID

func EntityIDToDispatcherID(entityid common.EntityID) uint16

func Initialize

func Initialize(_gid uint16, dctype dispatcherclient.DispatcherClientType, isRestoreGame, isBanBootEntity bool, delegate dispatcherclient.IDispatcherClientDelegate)

func Select

func Select(dispidx int) *dispatcherclient.DispatcherClient

func SelectByDispatcherID

func SelectByDispatcherID(dispid uint16) *dispatcherclient.DispatcherClient

func SelectByEntityID

func SelectByEntityID(entityid common.EntityID) *dispatcherclient.DispatcherClient

func SelectByGateID

func SelectByGateID(gateid uint16) *dispatcherclient.DispatcherClient

func SelectBySrvID added in v0.1.4

func SelectBySrvID(srvid string) *dispatcherclient.DispatcherClient

func SendCallFilterClientProxies

func SendCallFilterClientProxies(op proto.FilterClientsOpType, key, val string, method string, args []interface{})

func SendCallNilSpaces added in v0.1.3

func SendCallNilSpaces(exceptGameID uint16, method string, args []interface{})

func SendCreateEntitySomewhere added in v0.1.6

func SendCreateEntitySomewhere(gameid uint16, entityid common.EntityID, typeName string, data map[string]interface{}) error

func SendGameLBCInfo added in v0.1.6

func SendGameLBCInfo(lbcinfo proto.GameLBCInfo)

func SendLoadEntityAnywhere

func SendLoadEntityAnywhere(typeName string, entityID common.EntityID) error

func SendLoadEntityOnGame added in v0.1.4

func SendLoadEntityOnGame(typeName string, entityID common.EntityID, gameid uint16) error

func SendMigrateRequest

func SendMigrateRequest(entityID common.EntityID, spaceID common.EntityID, spaceGameID uint16) error

func SendNotifyCreateEntity

func SendNotifyCreateEntity(id common.EntityID) error

func SendNotifyDestroyEntity

func SendNotifyDestroyEntity(id common.EntityID) error

func SendRealMigrate

func SendRealMigrate(eid common.EntityID, targetGame uint16, data []byte) error

func SendSrvdisRegister added in v0.1.4

func SendSrvdisRegister(srvid string, info string, force bool)

func SendStartFreezeGame

func SendStartFreezeGame()

func SrvIDToDispatcherID added in v0.1.4

func SrvIDToDispatcherID(srvid string) uint16


This section is empty.


Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL