dispatchercluster

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 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 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 SendCallFilterClientProxies

func SendCallFilterClientProxies(key string, val string, method string, args []interface{}) (anyerror error)

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 SendDeclareService

func SendDeclareService(id common.EntityID, serviceName string) error

func SendLoadEntityAnywhere

func SendLoadEntityAnywhere(typeName string, entityID 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, targetSpace common.EntityID, x, y, z float32,
	typeName string, migrateData map[string]interface{}, timerData []byte, clientid common.ClientID, clientsrv uint16) error

func SendSetClientFilterProp

func SendSetClientFilterProp(gateid uint16, clientid common.ClientID, key, val string) (err error)

func SendStartFreezeGame

func SendStartFreezeGame(gameid uint16) (anyerror error)

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