Documentation ¶
Index ¶
- func DeserializeGUID(id *api.ID) uuid.UUID
- func NewSendPosBuffer(id uuid.UUID) []byte
- type AttributeMetadata
- type Builder
- func (mb *Builder) FinishMessage(builder *flatbuffers.Builder, msgType api.Msg, msgOffset flatbuffers.UOffsetT) *websocket.PreparedMessage
- func (mb *Builder) FinishMessageBytes(builder *flatbuffers.Builder, msgType api.Msg, msgOffset flatbuffers.UOffsetT) (msg, buf []byte)
- func (mb *Builder) GetBuilder() *flatbuffers.Builder
- func (mb *Builder) MsgAddStaticObjects(objects []ObjectDefinition) *websocket.PreparedMessage
- func (mb *Builder) MsgObjectDefinition(obj ObjectDefinition) *websocket.PreparedMessage
- func (mb *Builder) MsgSetWorld(worldId uuid.UUID, name string, ...) *websocket.PreparedMessage
- func (mb *Builder) NewPosBusMessageBuffer(msgid uint32, len int) []byte
- func (mb *Builder) ReleaseBuilder(builder *flatbuffers.Builder)
- func (mb *Builder) SerializeGUID(builder *flatbuffers.Builder, uuid uuid.UUID) flatbuffers.UOffsetT
- func (mb *Builder) SetObjectAttributes(id uuid.UUID, attributes map[string]int32) *websocket.PreparedMessage
- func (mb *Builder) SetObjectStrings(id uuid.UUID, strings map[string]string) *websocket.PreparedMessage
- func (mb *Builder) SetObjectTextures(id uuid.UUID, textures map[string]string) *websocket.PreparedMessage
- func (mb *Builder) WrapMessage(data []byte) *websocket.PreparedMessage
- type DecorationMetadata
- type ObjectDefinition
- type SignalType
- type TextureMetadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSendPosBuffer ¶
Types ¶
type AttributeMetadata ¶
type AttributeMetadata struct {
// contains filtered or unexported fields
}
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func InitBuilder ¶
func (*Builder) FinishMessage ¶
func (mb *Builder) FinishMessage( builder *flatbuffers.Builder, msgType api.Msg, msgOffset flatbuffers.UOffsetT, ) *websocket.PreparedMessage
func (*Builder) FinishMessageBytes ¶ added in v0.1.3
func (mb *Builder) FinishMessageBytes( builder *flatbuffers.Builder, msgType api.Msg, msgOffset flatbuffers.UOffsetT, ) (msg, buf []byte)
FinishMessageBytes is used when we want to skip gorilla/websocket.PreparedMessage type
func (*Builder) GetBuilder ¶
func (mb *Builder) GetBuilder() *flatbuffers.Builder
func (*Builder) MsgAddStaticObjects ¶
func (mb *Builder) MsgAddStaticObjects(objects []ObjectDefinition) *websocket.PreparedMessage
func (*Builder) MsgObjectDefinition ¶ added in v0.1.17
func (mb *Builder) MsgObjectDefinition(obj ObjectDefinition) *websocket.PreparedMessage
func (*Builder) MsgSetWorld ¶
func (mb *Builder) MsgSetWorld( worldId uuid.UUID, name string, avatarControllerId, skyboxControllerId uuid.UUID, lodDistances []uint32, decorations []DecorationMetadata, ) *websocket.PreparedMessage
func (*Builder) NewPosBusMessageBuffer ¶
func (*Builder) ReleaseBuilder ¶
func (mb *Builder) ReleaseBuilder(builder *flatbuffers.Builder)
func (*Builder) SerializeGUID ¶
func (mb *Builder) SerializeGUID(builder *flatbuffers.Builder, uuid uuid.UUID) flatbuffers.UOffsetT
func (*Builder) SetObjectAttributes ¶
func (*Builder) SetObjectStrings ¶
func (*Builder) SetObjectTextures ¶
func (*Builder) WrapMessage ¶
func (mb *Builder) WrapMessage(data []byte) *websocket.PreparedMessage
type DecorationMetadata ¶
type ObjectDefinition ¶
type SignalType ¶
type SignalType uint8
type TextureMetadata ¶
type TextureMetadata struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.