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) func(wc WorldController) Extension Set(name string, provider func(wc WorldController) Extension) IsInitialized() bool SetInitialized() }
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 GetSpacePresent(id uuid.UUID) bool BroadcastObjects(array []message.ObjectDefinition) Broadcast(websocketMessage *websocket.PreparedMessage) SafeSubscribe(topic string, qos byte, callback func(client mqtt.Client, msg mqtt.Message)) SetSpaceTitle(clock uuid.UUID, title string) }
Click to show internal directories.
Click to hide internal directories.