dispatchercluster

package
v0.0.0-...-1c1c5e2 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 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

func SelectBySrvID(srvid string) *dispatcherclient.DispatcherClient

func SendCallFilterClientProxies

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

func SendCallNilSpaces

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

func SendCreateEntitySomewhere

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

func SendGameLBCInfo

func SendGameLBCInfo(lbcinfo proto.GameLBCInfo)

func SendLoadEntityAnywhere

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

func SendLoadEntityOnGame

func SendLoadEntityOnGame(typeName string, entityID common.EntityID, gameid uint16, loadEntityID common.EntityID) 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

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

func SendStartFreezeGame

func SendStartFreezeGame()

func SrvIDToDispatcherID

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