Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loader ¶
type Loader interface { Get(name string) (LoaderFunc, bool) Set(name string, provider LoaderFunc) }
type LoaderFunc ¶ added in v0.1.13
type LoaderFunc func(wc WorldController) Extension
type User ¶
type User interface { // TODO Send(m *websocket.PreparedMessage) }
type WorldController ¶
type WorldController interface { GetConfig() *config.World GetBuilder() *message.Builder GetStorage() *storage.Database GetID() uuid.UUID GetExtensionStorage() string GetSpacePosition(id uuid.UUID) (cmath.Vec3, error) GetSpacePresent(id uuid.UUID) bool Broadcast(websocketMessage *websocket.PreparedMessage) SafeSubscribe(topic string, qos byte, callback mqtt.MessageHandler) SetSpaceTitle(clock uuid.UUID, title string) error }
Click to show internal directories.
Click to hide internal directories.