Versions in this module Expand all Collapse all v0 v0.1.6 Jul 30, 2018 Changes in this version + const ENTITYID_LENGTH + func AddCallback(d time.Duration, callback func()) + func AddTimer(d time.Duration, callback func()) + func Call(id EntityID, method string, args ...interface{}) + func CallNilSpaces(method string, args ...interface{}) + func CallService(serviceName string, method string, args ...interface{}) + func Entities() entity.EntityMap + func Exists(typeName string, entityID EntityID, callback storage.ExistsCallbackFunc) + func GetKVDB(key string, callback kvdb.KVDBGetCallback) + func GetOrPutKVDB(key string, val string, callback kvdb.KVDBGetOrPutCallback) + func GetServiceEntityID(serviceName string) common.EntityID + func ListAttr() *entity.ListAttr + func ListEntityIDs(typeName string, callback storage.ListCallbackFunc) + func LoadEntityAnywhere(typeName string, entityID EntityID) + func LoadEntityLocally(typeName string, entityID EntityID) + func LoadEntityOnGame(typeName string, entityID EntityID, gameid GameID) + func MapAttr() *entity.MapAttr + func Post(callback post.PostCallback) + func PutKVDB(key string, val string, callback kvdb.KVDBPutCallback) + func RegisterEntity(typeName string, entityPtr entity.IEntity) *entity.EntityTypeDesc + func RegisterService(typeName string, entityPtr entity.IEntity) + func RegisterSpace(spacePtr entity.ISpace) + func Run() + type DispatcherID uint16 + type Entity = entity.Entity + func CreateEntityLocally(typeName string) *Entity + func GetEntity(id EntityID) *Entity + type EntityID = common.EntityID + func CreateEntityAnywhere(typeName string) EntityID + func CreateEntityOnGame(gameid uint16, typeName string) EntityID + func CreateSpaceAnywhere(kind Kind) EntityID + func CreateSpaceOnGame(gameid uint16, kind int) EntityID + func GetNilSpaceID(gameid GameID) EntityID + type GameID = uint16 + func GetGameID() GameID + func ListGameIDs() []GameID + type GateID = uint16 + type Kind = int + type Space = entity.Space + func CreateSpaceLocally(kind Kind) *Space + func GetNilSpace() *Space + func GetSpace(id EntityID) *Space + type Vector3 = entity.Vector3