dispatchercluster

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 SendClearClientFilterProp

func SendClearClientFilterProp(gateid uint16, clientid common.ClientID) (err error)

func SendCreateEntityAnywhere

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

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 SendSetClientFilterProp

func SendSetClientFilterProp(gateid uint16, clientid common.ClientID, key, val string) (err 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

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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