Documentation
¶
Index ¶
- type FogOptions
- func (m *FogOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *FogOptions) CloneVT() *FogOptions
- func (this *FogOptions) EqualMessageVT(thatMsg any) bool
- func (this *FogOptions) EqualVT(that *FogOptions) bool
- func (x *FogOptions) GetColor() uint32
- func (x *FogOptions) GetFacing() *geometry.EulerAngles
- func (x *FogOptions) GetMaxs() *geometry.Vec3
- func (x *FogOptions) GetMins() *geometry.Vec3
- func (x *FogOptions) GetPosition() *geometry.Vec3
- func (x *FogOptions) GetStrength() float32
- func (x *FogOptions) MarshalJSON() ([]byte, error)
- func (x *FogOptions) MarshalProtoJSON(s *json.MarshalState)
- func (x *FogOptions) MarshalProtoText() string
- func (m *FogOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FogOptions) MarshalToVT(dAtA []byte) (int, error)
- func (m *FogOptions) MarshalVT() (dAtA []byte, err error)
- func (*FogOptions) ProtoMessage()
- func (x *FogOptions) Reset()
- func (m *FogOptions) SizeVT() (n int)
- func (x *FogOptions) String() string
- func (x *FogOptions) UnmarshalJSON(b []byte) error
- func (x *FogOptions) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *FogOptions) UnmarshalVT(dAtA []byte) error
- type ModelOptions
- func (m *ModelOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ModelOptions) CloneVT() *ModelOptions
- func (this *ModelOptions) EqualMessageVT(thatMsg any) bool
- func (this *ModelOptions) EqualVT(that *ModelOptions) bool
- func (x *ModelOptions) GetColor() uint32
- func (x *ModelOptions) GetFacing() *geometry.EulerAngles
- func (x *ModelOptions) GetGlow() bool
- func (x *ModelOptions) GetPosition() *geometry.Vec3
- func (x *ModelOptions) GetResource() string
- func (x *ModelOptions) GetScale() float32
- func (x *ModelOptions) GetSolid() bool
- func (x *ModelOptions) MarshalJSON() ([]byte, error)
- func (x *ModelOptions) MarshalProtoJSON(s *json.MarshalState)
- func (x *ModelOptions) MarshalProtoText() string
- func (m *ModelOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ModelOptions) MarshalToVT(dAtA []byte) (int, error)
- func (m *ModelOptions) MarshalVT() (dAtA []byte, err error)
- func (*ModelOptions) ProtoMessage()
- func (x *ModelOptions) Reset()
- func (m *ModelOptions) SizeVT() (n int)
- func (x *ModelOptions) String() string
- func (x *ModelOptions) UnmarshalJSON(b []byte) error
- func (x *ModelOptions) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *ModelOptions) UnmarshalVT(dAtA []byte) error
- type MoveObjectRequest
- func (m *MoveObjectRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *MoveObjectRequest) CloneVT() *MoveObjectRequest
- func (this *MoveObjectRequest) EqualMessageVT(thatMsg any) bool
- func (this *MoveObjectRequest) EqualVT(that *MoveObjectRequest) bool
- func (x *MoveObjectRequest) GetFacing() *geometry.EulerAngles
- func (x *MoveObjectRequest) GetObject() uint32
- func (x *MoveObjectRequest) GetPosition() *geometry.Vec3
- func (x *MoveObjectRequest) MarshalJSON() ([]byte, error)
- func (x *MoveObjectRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *MoveObjectRequest) MarshalProtoText() string
- func (m *MoveObjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *MoveObjectRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *MoveObjectRequest) MarshalVT() (dAtA []byte, err error)
- func (*MoveObjectRequest) ProtoMessage()
- func (x *MoveObjectRequest) Reset()
- func (m *MoveObjectRequest) SizeVT() (n int)
- func (x *MoveObjectRequest) String() string
- func (x *MoveObjectRequest) UnmarshalJSON(b []byte) error
- func (x *MoveObjectRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *MoveObjectRequest) UnmarshalVT(dAtA []byte) error
- type ObjectRequest
- func (m *ObjectRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ObjectRequest) CloneVT() *ObjectRequest
- func (this *ObjectRequest) EqualMessageVT(thatMsg any) bool
- func (this *ObjectRequest) EqualVT(that *ObjectRequest) bool
- func (x *ObjectRequest) GetObject() uint32
- func (x *ObjectRequest) MarshalJSON() ([]byte, error)
- func (x *ObjectRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *ObjectRequest) MarshalProtoText() string
- func (m *ObjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ObjectRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ObjectRequest) MarshalVT() (dAtA []byte, err error)
- func (*ObjectRequest) ProtoMessage()
- func (x *ObjectRequest) Reset()
- func (m *ObjectRequest) SizeVT() (n int)
- func (x *ObjectRequest) String() string
- func (x *ObjectRequest) UnmarshalJSON(b []byte) error
- func (x *ObjectRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *ObjectRequest) UnmarshalVT(dAtA []byte) error
- type ObjectResponse
- func (m *ObjectResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ObjectResponse) CloneVT() *ObjectResponse
- func (this *ObjectResponse) EqualMessageVT(thatMsg any) bool
- func (this *ObjectResponse) EqualVT(that *ObjectResponse) bool
- func (x *ObjectResponse) GetObject() uint32
- func (x *ObjectResponse) MarshalJSON() ([]byte, error)
- func (x *ObjectResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *ObjectResponse) MarshalProtoText() string
- func (m *ObjectResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ObjectResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ObjectResponse) MarshalVT() (dAtA []byte, err error)
- func (*ObjectResponse) ProtoMessage()
- func (x *ObjectResponse) Reset()
- func (m *ObjectResponse) SizeVT() (n int)
- func (x *ObjectResponse) String() string
- func (x *ObjectResponse) UnmarshalJSON(b []byte) error
- func (x *ObjectResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *ObjectResponse) UnmarshalVT(dAtA []byte) error
- type ParticleAnchor
- func (m *ParticleAnchor) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ParticleAnchor) CloneVT() *ParticleAnchor
- func (this *ParticleAnchor) EqualMessageVT(thatMsg any) bool
- func (this *ParticleAnchor) EqualVT(that *ParticleAnchor) bool
- func (x *ParticleAnchor) GetEntity() uint32
- func (x *ParticleAnchor) GetIndex() int32
- func (x *ParticleAnchor) MarshalJSON() ([]byte, error)
- func (x *ParticleAnchor) MarshalProtoJSON(s *json.MarshalState)
- func (x *ParticleAnchor) MarshalProtoText() string
- func (m *ParticleAnchor) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ParticleAnchor) MarshalToVT(dAtA []byte) (int, error)
- func (m *ParticleAnchor) MarshalVT() (dAtA []byte, err error)
- func (*ParticleAnchor) ProtoMessage()
- func (x *ParticleAnchor) Reset()
- func (m *ParticleAnchor) SizeVT() (n int)
- func (x *ParticleAnchor) String() string
- func (x *ParticleAnchor) UnmarshalJSON(b []byte) error
- func (x *ParticleAnchor) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *ParticleAnchor) UnmarshalVT(dAtA []byte) error
- type ParticleOptions
- func (m *ParticleOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ParticleOptions) CloneVT() *ParticleOptions
- func (this *ParticleOptions) EqualMessageVT(thatMsg any) bool
- func (this *ParticleOptions) EqualVT(that *ParticleOptions) bool
- func (x *ParticleOptions) GetAnchors() []*ParticleAnchor
- func (x *ParticleOptions) GetColor() uint32
- func (x *ParticleOptions) GetFacing() *geometry.EulerAngles
- func (x *ParticleOptions) GetInactive() bool
- func (x *ParticleOptions) GetParent() uint32
- func (x *ParticleOptions) GetPoint() *ParticlePoint
- func (x *ParticleOptions) GetPosition() *geometry.Vec3
- func (x *ParticleOptions) GetResource() string
- func (x *ParticleOptions) GetTintPoint() int32
- func (x *ParticleOptions) MarshalJSON() ([]byte, error)
- func (x *ParticleOptions) MarshalProtoJSON(s *json.MarshalState)
- func (x *ParticleOptions) MarshalProtoText() string
- func (m *ParticleOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ParticleOptions) MarshalToVT(dAtA []byte) (int, error)
- func (m *ParticleOptions) MarshalVT() (dAtA []byte, err error)
- func (*ParticleOptions) ProtoMessage()
- func (x *ParticleOptions) Reset()
- func (m *ParticleOptions) SizeVT() (n int)
- func (x *ParticleOptions) String() string
- func (x *ParticleOptions) UnmarshalJSON(b []byte) error
- func (x *ParticleOptions) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *ParticleOptions) UnmarshalVT(dAtA []byte) error
- type ParticlePoint
- func (m *ParticlePoint) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ParticlePoint) CloneVT() *ParticlePoint
- func (this *ParticlePoint) EqualMessageVT(thatMsg any) bool
- func (this *ParticlePoint) EqualVT(that *ParticlePoint) bool
- func (x *ParticlePoint) GetIndex() int32
- func (x *ParticlePoint) GetPosition() *geometry.Vec3
- func (x *ParticlePoint) MarshalJSON() ([]byte, error)
- func (x *ParticlePoint) MarshalProtoJSON(s *json.MarshalState)
- func (x *ParticlePoint) MarshalProtoText() string
- func (m *ParticlePoint) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ParticlePoint) MarshalToVT(dAtA []byte) (int, error)
- func (m *ParticlePoint) MarshalVT() (dAtA []byte, err error)
- func (*ParticlePoint) ProtoMessage()
- func (x *ParticlePoint) Reset()
- func (m *ParticlePoint) SizeVT() (n int)
- func (x *ParticlePoint) String() string
- func (x *ParticlePoint) UnmarshalJSON(b []byte) error
- func (x *ParticlePoint) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *ParticlePoint) UnmarshalVT(dAtA []byte) error
- type SetObjectHiddenRequest
- func (m *SetObjectHiddenRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *SetObjectHiddenRequest) CloneVT() *SetObjectHiddenRequest
- func (this *SetObjectHiddenRequest) EqualMessageVT(thatMsg any) bool
- func (this *SetObjectHiddenRequest) EqualVT(that *SetObjectHiddenRequest) bool
- func (x *SetObjectHiddenRequest) GetHidden() bool
- func (x *SetObjectHiddenRequest) GetObject() uint32
- func (x *SetObjectHiddenRequest) GetPlayer() int32
- func (x *SetObjectHiddenRequest) MarshalJSON() ([]byte, error)
- func (x *SetObjectHiddenRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *SetObjectHiddenRequest) MarshalProtoText() string
- func (m *SetObjectHiddenRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SetObjectHiddenRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *SetObjectHiddenRequest) MarshalVT() (dAtA []byte, err error)
- func (*SetObjectHiddenRequest) ProtoMessage()
- func (x *SetObjectHiddenRequest) Reset()
- func (m *SetObjectHiddenRequest) SizeVT() (n int)
- func (x *SetObjectHiddenRequest) String() string
- func (x *SetObjectHiddenRequest) UnmarshalJSON(b []byte) error
- func (x *SetObjectHiddenRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *SetObjectHiddenRequest) UnmarshalVT(dAtA []byte) error
- type SetTextRequest
- func (m *SetTextRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *SetTextRequest) CloneVT() *SetTextRequest
- func (this *SetTextRequest) EqualMessageVT(thatMsg any) bool
- func (this *SetTextRequest) EqualVT(that *SetTextRequest) bool
- func (x *SetTextRequest) GetObject() uint32
- func (x *SetTextRequest) GetText() string
- func (x *SetTextRequest) MarshalJSON() ([]byte, error)
- func (x *SetTextRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *SetTextRequest) MarshalProtoText() string
- func (m *SetTextRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SetTextRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *SetTextRequest) MarshalVT() (dAtA []byte, err error)
- func (*SetTextRequest) ProtoMessage()
- func (x *SetTextRequest) Reset()
- func (m *SetTextRequest) SizeVT() (n int)
- func (x *SetTextRequest) String() string
- func (x *SetTextRequest) UnmarshalJSON(b []byte) error
- func (x *SetTextRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *SetTextRequest) UnmarshalVT(dAtA []byte) error
- type ShowObjectOnlyToRequest
- func (m *ShowObjectOnlyToRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ShowObjectOnlyToRequest) CloneVT() *ShowObjectOnlyToRequest
- func (this *ShowObjectOnlyToRequest) EqualMessageVT(thatMsg any) bool
- func (this *ShowObjectOnlyToRequest) EqualVT(that *ShowObjectOnlyToRequest) bool
- func (x *ShowObjectOnlyToRequest) GetObject() uint32
- func (x *ShowObjectOnlyToRequest) GetPlayers() []int32
- func (x *ShowObjectOnlyToRequest) MarshalJSON() ([]byte, error)
- func (x *ShowObjectOnlyToRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *ShowObjectOnlyToRequest) MarshalProtoText() string
- func (m *ShowObjectOnlyToRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ShowObjectOnlyToRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ShowObjectOnlyToRequest) MarshalVT() (dAtA []byte, err error)
- func (*ShowObjectOnlyToRequest) ProtoMessage()
- func (x *ShowObjectOnlyToRequest) Reset()
- func (m *ShowObjectOnlyToRequest) SizeVT() (n int)
- func (x *ShowObjectOnlyToRequest) String() string
- func (x *ShowObjectOnlyToRequest) UnmarshalJSON(b []byte) error
- func (x *ShowObjectOnlyToRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *ShowObjectOnlyToRequest) UnmarshalVT(dAtA []byte) error
- type TextOptions
- func (m *TextOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *TextOptions) CloneVT() *TextOptions
- func (this *TextOptions) EqualMessageVT(thatMsg any) bool
- func (this *TextOptions) EqualVT(that *TextOptions) bool
- func (x *TextOptions) GetColor() uint32
- func (x *TextOptions) GetFaceCamera() bool
- func (x *TextOptions) GetFacing() *geometry.EulerAngles
- func (x *TextOptions) GetFontSize() float32
- func (x *TextOptions) GetPosition() *geometry.Vec3
- func (x *TextOptions) GetScale() float32
- func (x *TextOptions) GetText() string
- func (x *TextOptions) MarshalJSON() ([]byte, error)
- func (x *TextOptions) MarshalProtoJSON(s *json.MarshalState)
- func (x *TextOptions) MarshalProtoText() string
- func (m *TextOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TextOptions) MarshalToVT(dAtA []byte) (int, error)
- func (m *TextOptions) MarshalVT() (dAtA []byte, err error)
- func (*TextOptions) ProtoMessage()
- func (x *TextOptions) Reset()
- func (m *TextOptions) SizeVT() (n int)
- func (x *TextOptions) String() string
- func (x *TextOptions) UnmarshalJSON(b []byte) error
- func (x *TextOptions) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *TextOptions) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FogOptions ¶
type FogOptions struct {
// Position is the box's origin.
Position *geometry.Vec3 `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"`
// Facing is the box's rotation.
Facing *geometry.EulerAngles `protobuf:"bytes,2,opt,name=facing,proto3,oneof" json:"facing,omitempty"`
// Mins is the box's lower corner, relative to position.
Mins *geometry.Vec3 `protobuf:"bytes,3,opt,name=mins,proto3" json:"mins,omitempty"`
// Maxs is the box's upper corner, relative to position.
Maxs *geometry.Vec3 `protobuf:"bytes,4,opt,name=maxs,proto3" json:"maxs,omitempty"`
// Strength is the fog's density.
Strength float32 `protobuf:"fixed32,5,opt,name=strength,proto3" json:"strength,omitempty"`
// Color tints the fog as 0xRRGGBBAA; alpha is ignored.
Color uint32 `protobuf:"fixed32,6,opt,name=color,proto3" json:"color,omitempty"`
// contains filtered or unexported fields
}
FogOptions describes an oriented box of tinted fog.
func (*FogOptions) CloneMessageVT ¶
func (m *FogOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*FogOptions) CloneVT ¶
func (m *FogOptions) CloneVT() *FogOptions
func (*FogOptions) EqualMessageVT ¶
func (this *FogOptions) EqualMessageVT(thatMsg any) bool
func (*FogOptions) EqualVT ¶
func (this *FogOptions) EqualVT(that *FogOptions) bool
func (*FogOptions) GetColor ¶
func (x *FogOptions) GetColor() uint32
func (*FogOptions) GetFacing ¶
func (x *FogOptions) GetFacing() *geometry.EulerAngles
func (*FogOptions) GetMaxs ¶
func (x *FogOptions) GetMaxs() *geometry.Vec3
func (*FogOptions) GetMins ¶
func (x *FogOptions) GetMins() *geometry.Vec3
func (*FogOptions) GetPosition ¶
func (x *FogOptions) GetPosition() *geometry.Vec3
func (*FogOptions) GetStrength ¶
func (x *FogOptions) GetStrength() float32
func (*FogOptions) MarshalJSON ¶
func (x *FogOptions) MarshalJSON() ([]byte, error)
MarshalJSON marshals the FogOptions to JSON.
func (*FogOptions) MarshalProtoJSON ¶
func (x *FogOptions) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the FogOptions message to JSON.
func (*FogOptions) MarshalProtoText ¶
func (x *FogOptions) MarshalProtoText() string
func (*FogOptions) MarshalToSizedBufferVT ¶
func (m *FogOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FogOptions) MarshalToVT ¶
func (m *FogOptions) MarshalToVT(dAtA []byte) (int, error)
func (*FogOptions) MarshalVT ¶
func (m *FogOptions) MarshalVT() (dAtA []byte, err error)
func (*FogOptions) ProtoMessage ¶
func (*FogOptions) ProtoMessage()
func (*FogOptions) Reset ¶
func (x *FogOptions) Reset()
func (*FogOptions) SizeVT ¶
func (m *FogOptions) SizeVT() (n int)
func (*FogOptions) String ¶
func (x *FogOptions) String() string
func (*FogOptions) UnmarshalJSON ¶
func (x *FogOptions) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the FogOptions from JSON.
func (*FogOptions) UnmarshalProtoJSON ¶
func (x *FogOptions) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the FogOptions message from JSON.
func (*FogOptions) UnmarshalVT ¶
func (m *FogOptions) UnmarshalVT(dAtA []byte) error
type ModelOptions ¶
type ModelOptions struct {
// Resource is the model's path, which the mod precached, with {addon} for
// the mod's content addon, as in models/{addon}/pawn.vmdl.
Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
// Position is the model's origin.
Position *geometry.Vec3 `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
// Facing is the model's rotation.
Facing *geometry.EulerAngles `protobuf:"bytes,3,opt,name=facing,proto3,oneof" json:"facing,omitempty"`
// Scale multiplies the model's size; the default is 1.
Scale *float32 `protobuf:"fixed32,4,opt,name=scale,proto3,oneof" json:"scale,omitempty"`
// Color tints the model as 0xRRGGBBAA; an alpha below 0xff draws it
// translucent.
Color *uint32 `protobuf:"fixed32,5,opt,name=color,proto3,oneof" json:"color,omitempty"`
// Glow outlines the model through walls.
Glow *bool `protobuf:"varint,6,opt,name=glow,proto3,oneof" json:"glow,omitempty"`
// Solid makes heroes and traces collide with the model's physics shape,
// scaled with the model. Without it, everything passes through.
Solid *bool `protobuf:"varint,7,opt,name=solid,proto3,oneof" json:"solid,omitempty"`
// contains filtered or unexported fields
}
ModelOptions describes a model placed in the world.
func (*ModelOptions) CloneMessageVT ¶
func (m *ModelOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ModelOptions) CloneVT ¶
func (m *ModelOptions) CloneVT() *ModelOptions
func (*ModelOptions) EqualMessageVT ¶
func (this *ModelOptions) EqualMessageVT(thatMsg any) bool
func (*ModelOptions) EqualVT ¶
func (this *ModelOptions) EqualVT(that *ModelOptions) bool
func (*ModelOptions) GetColor ¶
func (x *ModelOptions) GetColor() uint32
func (*ModelOptions) GetFacing ¶
func (x *ModelOptions) GetFacing() *geometry.EulerAngles
func (*ModelOptions) GetGlow ¶
func (x *ModelOptions) GetGlow() bool
func (*ModelOptions) GetPosition ¶
func (x *ModelOptions) GetPosition() *geometry.Vec3
func (*ModelOptions) GetResource ¶
func (x *ModelOptions) GetResource() string
func (*ModelOptions) GetScale ¶
func (x *ModelOptions) GetScale() float32
func (*ModelOptions) GetSolid ¶
func (x *ModelOptions) GetSolid() bool
func (*ModelOptions) MarshalJSON ¶
func (x *ModelOptions) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ModelOptions to JSON.
func (*ModelOptions) MarshalProtoJSON ¶
func (x *ModelOptions) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ModelOptions message to JSON.
func (*ModelOptions) MarshalProtoText ¶
func (x *ModelOptions) MarshalProtoText() string
func (*ModelOptions) MarshalToSizedBufferVT ¶
func (m *ModelOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ModelOptions) MarshalToVT ¶
func (m *ModelOptions) MarshalToVT(dAtA []byte) (int, error)
func (*ModelOptions) MarshalVT ¶
func (m *ModelOptions) MarshalVT() (dAtA []byte, err error)
func (*ModelOptions) ProtoMessage ¶
func (*ModelOptions) ProtoMessage()
func (*ModelOptions) Reset ¶
func (x *ModelOptions) Reset()
func (*ModelOptions) SizeVT ¶
func (m *ModelOptions) SizeVT() (n int)
func (*ModelOptions) String ¶
func (x *ModelOptions) String() string
func (*ModelOptions) UnmarshalJSON ¶
func (x *ModelOptions) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ModelOptions from JSON.
func (*ModelOptions) UnmarshalProtoJSON ¶
func (x *ModelOptions) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ModelOptions message from JSON.
func (*ModelOptions) UnmarshalVT ¶
func (m *ModelOptions) UnmarshalVT(dAtA []byte) error
type MoveObjectRequest ¶
type MoveObjectRequest struct {
Object uint32 `protobuf:"varint,1,opt,name=object,proto3" json:"object,omitempty"`
// Position is the object's new origin.
Position *geometry.Vec3 `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
// Facing is the object's new rotation, kept when omitted.
Facing *geometry.EulerAngles `protobuf:"bytes,3,opt,name=facing,proto3,oneof" json:"facing,omitempty"`
// contains filtered or unexported fields
}
MoveObjectRequest moves one object the mod created.
func (*MoveObjectRequest) CloneMessageVT ¶
func (m *MoveObjectRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*MoveObjectRequest) CloneVT ¶
func (m *MoveObjectRequest) CloneVT() *MoveObjectRequest
func (*MoveObjectRequest) EqualMessageVT ¶
func (this *MoveObjectRequest) EqualMessageVT(thatMsg any) bool
func (*MoveObjectRequest) EqualVT ¶
func (this *MoveObjectRequest) EqualVT(that *MoveObjectRequest) bool
func (*MoveObjectRequest) GetFacing ¶
func (x *MoveObjectRequest) GetFacing() *geometry.EulerAngles
func (*MoveObjectRequest) GetObject ¶
func (x *MoveObjectRequest) GetObject() uint32
func (*MoveObjectRequest) GetPosition ¶
func (x *MoveObjectRequest) GetPosition() *geometry.Vec3
func (*MoveObjectRequest) MarshalJSON ¶
func (x *MoveObjectRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the MoveObjectRequest to JSON.
func (*MoveObjectRequest) MarshalProtoJSON ¶
func (x *MoveObjectRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the MoveObjectRequest message to JSON.
func (*MoveObjectRequest) MarshalProtoText ¶
func (x *MoveObjectRequest) MarshalProtoText() string
func (*MoveObjectRequest) MarshalToSizedBufferVT ¶
func (m *MoveObjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*MoveObjectRequest) MarshalToVT ¶
func (m *MoveObjectRequest) MarshalToVT(dAtA []byte) (int, error)
func (*MoveObjectRequest) MarshalVT ¶
func (m *MoveObjectRequest) MarshalVT() (dAtA []byte, err error)
func (*MoveObjectRequest) ProtoMessage ¶
func (*MoveObjectRequest) ProtoMessage()
func (*MoveObjectRequest) Reset ¶
func (x *MoveObjectRequest) Reset()
func (*MoveObjectRequest) SizeVT ¶
func (m *MoveObjectRequest) SizeVT() (n int)
func (*MoveObjectRequest) String ¶
func (x *MoveObjectRequest) String() string
func (*MoveObjectRequest) UnmarshalJSON ¶
func (x *MoveObjectRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the MoveObjectRequest from JSON.
func (*MoveObjectRequest) UnmarshalProtoJSON ¶
func (x *MoveObjectRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the MoveObjectRequest message from JSON.
func (*MoveObjectRequest) UnmarshalVT ¶
func (m *MoveObjectRequest) UnmarshalVT(dAtA []byte) error
type ObjectRequest ¶
type ObjectRequest struct {
// Object identifies the object among the mod's objects.
Object uint32 `protobuf:"varint,1,opt,name=object,proto3" json:"object,omitempty"`
// contains filtered or unexported fields
}
ObjectRequest addresses one object the mod created.
func (*ObjectRequest) CloneMessageVT ¶
func (m *ObjectRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ObjectRequest) CloneVT ¶
func (m *ObjectRequest) CloneVT() *ObjectRequest
func (*ObjectRequest) EqualMessageVT ¶
func (this *ObjectRequest) EqualMessageVT(thatMsg any) bool
func (*ObjectRequest) EqualVT ¶
func (this *ObjectRequest) EqualVT(that *ObjectRequest) bool
func (*ObjectRequest) GetObject ¶
func (x *ObjectRequest) GetObject() uint32
func (*ObjectRequest) MarshalJSON ¶
func (x *ObjectRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ObjectRequest to JSON.
func (*ObjectRequest) MarshalProtoJSON ¶
func (x *ObjectRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ObjectRequest message to JSON.
func (*ObjectRequest) MarshalProtoText ¶
func (x *ObjectRequest) MarshalProtoText() string
func (*ObjectRequest) MarshalToSizedBufferVT ¶
func (m *ObjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ObjectRequest) MarshalToVT ¶
func (m *ObjectRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ObjectRequest) MarshalVT ¶
func (m *ObjectRequest) MarshalVT() (dAtA []byte, err error)
func (*ObjectRequest) ProtoMessage ¶
func (*ObjectRequest) ProtoMessage()
func (*ObjectRequest) Reset ¶
func (x *ObjectRequest) Reset()
func (*ObjectRequest) SizeVT ¶
func (m *ObjectRequest) SizeVT() (n int)
func (*ObjectRequest) String ¶
func (x *ObjectRequest) String() string
func (*ObjectRequest) UnmarshalJSON ¶
func (x *ObjectRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ObjectRequest from JSON.
func (*ObjectRequest) UnmarshalProtoJSON ¶
func (x *ObjectRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ObjectRequest message from JSON.
func (*ObjectRequest) UnmarshalVT ¶
func (m *ObjectRequest) UnmarshalVT(dAtA []byte) error
type ObjectResponse ¶
type ObjectResponse struct {
Object uint32 `protobuf:"varint,1,opt,name=object,proto3" json:"object,omitempty"`
// contains filtered or unexported fields
}
ObjectResponse holds the object a Create call placed.
func (*ObjectResponse) CloneMessageVT ¶
func (m *ObjectResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ObjectResponse) CloneVT ¶
func (m *ObjectResponse) CloneVT() *ObjectResponse
func (*ObjectResponse) EqualMessageVT ¶
func (this *ObjectResponse) EqualMessageVT(thatMsg any) bool
func (*ObjectResponse) EqualVT ¶
func (this *ObjectResponse) EqualVT(that *ObjectResponse) bool
func (*ObjectResponse) GetObject ¶
func (x *ObjectResponse) GetObject() uint32
func (*ObjectResponse) MarshalJSON ¶
func (x *ObjectResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ObjectResponse to JSON.
func (*ObjectResponse) MarshalProtoJSON ¶
func (x *ObjectResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ObjectResponse message to JSON.
func (*ObjectResponse) MarshalProtoText ¶
func (x *ObjectResponse) MarshalProtoText() string
func (*ObjectResponse) MarshalToSizedBufferVT ¶
func (m *ObjectResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ObjectResponse) MarshalToVT ¶
func (m *ObjectResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ObjectResponse) MarshalVT ¶
func (m *ObjectResponse) MarshalVT() (dAtA []byte, err error)
func (*ObjectResponse) ProtoMessage ¶
func (*ObjectResponse) ProtoMessage()
func (*ObjectResponse) Reset ¶
func (x *ObjectResponse) Reset()
func (*ObjectResponse) SizeVT ¶
func (m *ObjectResponse) SizeVT() (n int)
func (*ObjectResponse) String ¶
func (x *ObjectResponse) String() string
func (*ObjectResponse) UnmarshalJSON ¶
func (x *ObjectResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ObjectResponse from JSON.
func (*ObjectResponse) UnmarshalProtoJSON ¶
func (x *ObjectResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ObjectResponse message from JSON.
func (*ObjectResponse) UnmarshalVT ¶
func (m *ObjectResponse) UnmarshalVT(dAtA []byte) error
type ParticleAnchor ¶
type ParticleAnchor struct {
// Index is the control point's number.
Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
// Entity is the handle of the entity the control point follows.
Entity uint32 `protobuf:"varint,2,opt,name=entity,proto3" json:"entity,omitempty"`
// contains filtered or unexported fields
}
ParticleAnchor ties one control point of a particle effect to an entity.
func (*ParticleAnchor) CloneMessageVT ¶
func (m *ParticleAnchor) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ParticleAnchor) CloneVT ¶
func (m *ParticleAnchor) CloneVT() *ParticleAnchor
func (*ParticleAnchor) EqualMessageVT ¶
func (this *ParticleAnchor) EqualMessageVT(thatMsg any) bool
func (*ParticleAnchor) EqualVT ¶
func (this *ParticleAnchor) EqualVT(that *ParticleAnchor) bool
func (*ParticleAnchor) GetEntity ¶
func (x *ParticleAnchor) GetEntity() uint32
func (*ParticleAnchor) GetIndex ¶
func (x *ParticleAnchor) GetIndex() int32
func (*ParticleAnchor) MarshalJSON ¶
func (x *ParticleAnchor) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ParticleAnchor to JSON.
func (*ParticleAnchor) MarshalProtoJSON ¶
func (x *ParticleAnchor) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ParticleAnchor message to JSON.
func (*ParticleAnchor) MarshalProtoText ¶
func (x *ParticleAnchor) MarshalProtoText() string
func (*ParticleAnchor) MarshalToSizedBufferVT ¶
func (m *ParticleAnchor) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ParticleAnchor) MarshalToVT ¶
func (m *ParticleAnchor) MarshalToVT(dAtA []byte) (int, error)
func (*ParticleAnchor) MarshalVT ¶
func (m *ParticleAnchor) MarshalVT() (dAtA []byte, err error)
func (*ParticleAnchor) ProtoMessage ¶
func (*ParticleAnchor) ProtoMessage()
func (*ParticleAnchor) Reset ¶
func (x *ParticleAnchor) Reset()
func (*ParticleAnchor) SizeVT ¶
func (m *ParticleAnchor) SizeVT() (n int)
func (*ParticleAnchor) String ¶
func (x *ParticleAnchor) String() string
func (*ParticleAnchor) UnmarshalJSON ¶
func (x *ParticleAnchor) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ParticleAnchor from JSON.
func (*ParticleAnchor) UnmarshalProtoJSON ¶
func (x *ParticleAnchor) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ParticleAnchor message from JSON.
func (*ParticleAnchor) UnmarshalVT ¶
func (m *ParticleAnchor) UnmarshalVT(dAtA []byte) error
type ParticleOptions ¶
type ParticleOptions struct {
// Resource is the particle system's path, which the mod precached, such
// as particles/abilities/assassinate_laser_targetting.vpcf, with {addon}
// for the mod's content addon, as in particles/{addon}/glow.vpcf.
Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
// Position is the effect's origin.
Position *geometry.Vec3 `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
// Facing is the effect's rotation.
Facing *geometry.EulerAngles `protobuf:"bytes,3,opt,name=facing,proto3,oneof" json:"facing,omitempty"`
// Color tints the effect as 0xRRGGBBAA.
Color *uint32 `protobuf:"fixed32,4,opt,name=color,proto3,oneof" json:"color,omitempty"`
// TintPoint is the control point the color sets.
TintPoint *int32 `protobuf:"varint,5,opt,name=tint_point,json=tintPoint,proto3,oneof" json:"tintPoint,omitempty"`
// Point sets one control point to a position, such as a beam's far end.
Point *ParticlePoint `protobuf:"bytes,6,opt,name=point,proto3,oneof" json:"point,omitempty"`
// Parent is the handle of an entity the effect follows, such as a hero's.
Parent *uint32 `protobuf:"varint,7,opt,name=parent,proto3,oneof" json:"parent,omitempty"`
// Anchors tie control points to entities, which the points follow as the
// entities move, such as both ends of a beam.
Anchors []*ParticleAnchor `protobuf:"bytes,8,rep,name=anchors,proto3" json:"anchors,omitempty"`
// Inactive spawns the effect without starting it: it draws nothing, but
// other effects' anchors can follow it as it moves.
Inactive *bool `protobuf:"varint,9,opt,name=inactive,proto3,oneof" json:"inactive,omitempty"`
// contains filtered or unexported fields
}
ParticleOptions describes a particle effect.
func (*ParticleOptions) CloneMessageVT ¶
func (m *ParticleOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ParticleOptions) CloneVT ¶
func (m *ParticleOptions) CloneVT() *ParticleOptions
func (*ParticleOptions) EqualMessageVT ¶
func (this *ParticleOptions) EqualMessageVT(thatMsg any) bool
func (*ParticleOptions) EqualVT ¶
func (this *ParticleOptions) EqualVT(that *ParticleOptions) bool
func (*ParticleOptions) GetAnchors ¶
func (x *ParticleOptions) GetAnchors() []*ParticleAnchor
func (*ParticleOptions) GetColor ¶
func (x *ParticleOptions) GetColor() uint32
func (*ParticleOptions) GetFacing ¶
func (x *ParticleOptions) GetFacing() *geometry.EulerAngles
func (*ParticleOptions) GetInactive ¶
func (x *ParticleOptions) GetInactive() bool
func (*ParticleOptions) GetParent ¶
func (x *ParticleOptions) GetParent() uint32
func (*ParticleOptions) GetPoint ¶
func (x *ParticleOptions) GetPoint() *ParticlePoint
func (*ParticleOptions) GetPosition ¶
func (x *ParticleOptions) GetPosition() *geometry.Vec3
func (*ParticleOptions) GetResource ¶
func (x *ParticleOptions) GetResource() string
func (*ParticleOptions) GetTintPoint ¶
func (x *ParticleOptions) GetTintPoint() int32
func (*ParticleOptions) MarshalJSON ¶
func (x *ParticleOptions) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ParticleOptions to JSON.
func (*ParticleOptions) MarshalProtoJSON ¶
func (x *ParticleOptions) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ParticleOptions message to JSON.
func (*ParticleOptions) MarshalProtoText ¶
func (x *ParticleOptions) MarshalProtoText() string
func (*ParticleOptions) MarshalToSizedBufferVT ¶
func (m *ParticleOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ParticleOptions) MarshalToVT ¶
func (m *ParticleOptions) MarshalToVT(dAtA []byte) (int, error)
func (*ParticleOptions) MarshalVT ¶
func (m *ParticleOptions) MarshalVT() (dAtA []byte, err error)
func (*ParticleOptions) ProtoMessage ¶
func (*ParticleOptions) ProtoMessage()
func (*ParticleOptions) Reset ¶
func (x *ParticleOptions) Reset()
func (*ParticleOptions) SizeVT ¶
func (m *ParticleOptions) SizeVT() (n int)
func (*ParticleOptions) String ¶
func (x *ParticleOptions) String() string
func (*ParticleOptions) UnmarshalJSON ¶
func (x *ParticleOptions) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ParticleOptions from JSON.
func (*ParticleOptions) UnmarshalProtoJSON ¶
func (x *ParticleOptions) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ParticleOptions message from JSON.
func (*ParticleOptions) UnmarshalVT ¶
func (m *ParticleOptions) UnmarshalVT(dAtA []byte) error
type ParticlePoint ¶
type ParticlePoint struct {
// Index is the control point's number.
Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
// Position is the control point's value.
Position *geometry.Vec3 `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
// contains filtered or unexported fields
}
ParticlePoint places one control point of a particle effect.
func (*ParticlePoint) CloneMessageVT ¶
func (m *ParticlePoint) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ParticlePoint) CloneVT ¶
func (m *ParticlePoint) CloneVT() *ParticlePoint
func (*ParticlePoint) EqualMessageVT ¶
func (this *ParticlePoint) EqualMessageVT(thatMsg any) bool
func (*ParticlePoint) EqualVT ¶
func (this *ParticlePoint) EqualVT(that *ParticlePoint) bool
func (*ParticlePoint) GetIndex ¶
func (x *ParticlePoint) GetIndex() int32
func (*ParticlePoint) GetPosition ¶
func (x *ParticlePoint) GetPosition() *geometry.Vec3
func (*ParticlePoint) MarshalJSON ¶
func (x *ParticlePoint) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ParticlePoint to JSON.
func (*ParticlePoint) MarshalProtoJSON ¶
func (x *ParticlePoint) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ParticlePoint message to JSON.
func (*ParticlePoint) MarshalProtoText ¶
func (x *ParticlePoint) MarshalProtoText() string
func (*ParticlePoint) MarshalToSizedBufferVT ¶
func (m *ParticlePoint) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ParticlePoint) MarshalToVT ¶
func (m *ParticlePoint) MarshalToVT(dAtA []byte) (int, error)
func (*ParticlePoint) MarshalVT ¶
func (m *ParticlePoint) MarshalVT() (dAtA []byte, err error)
func (*ParticlePoint) ProtoMessage ¶
func (*ParticlePoint) ProtoMessage()
func (*ParticlePoint) Reset ¶
func (x *ParticlePoint) Reset()
func (*ParticlePoint) SizeVT ¶
func (m *ParticlePoint) SizeVT() (n int)
func (*ParticlePoint) String ¶
func (x *ParticlePoint) String() string
func (*ParticlePoint) UnmarshalJSON ¶
func (x *ParticlePoint) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ParticlePoint from JSON.
func (*ParticlePoint) UnmarshalProtoJSON ¶
func (x *ParticlePoint) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ParticlePoint message from JSON.
func (*ParticlePoint) UnmarshalVT ¶
func (m *ParticlePoint) UnmarshalVT(dAtA []byte) error
type SetObjectHiddenRequest ¶
type SetObjectHiddenRequest struct {
Object uint32 `protobuf:"varint,1,opt,name=object,proto3" json:"object,omitempty"`
// Player is the server slot of the player who stops or resumes seeing it.
Player int32 `protobuf:"varint,2,opt,name=player,proto3" json:"player,omitempty"`
// Hidden is true to hide the object and false to show it.
Hidden bool `protobuf:"varint,3,opt,name=hidden,proto3" json:"hidden,omitempty"`
// contains filtered or unexported fields
}
SetObjectHiddenRequest hides one object from one player or shows it again.
func (*SetObjectHiddenRequest) CloneMessageVT ¶
func (m *SetObjectHiddenRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*SetObjectHiddenRequest) CloneVT ¶
func (m *SetObjectHiddenRequest) CloneVT() *SetObjectHiddenRequest
func (*SetObjectHiddenRequest) EqualMessageVT ¶
func (this *SetObjectHiddenRequest) EqualMessageVT(thatMsg any) bool
func (*SetObjectHiddenRequest) EqualVT ¶
func (this *SetObjectHiddenRequest) EqualVT(that *SetObjectHiddenRequest) bool
func (*SetObjectHiddenRequest) GetHidden ¶
func (x *SetObjectHiddenRequest) GetHidden() bool
func (*SetObjectHiddenRequest) GetObject ¶
func (x *SetObjectHiddenRequest) GetObject() uint32
func (*SetObjectHiddenRequest) GetPlayer ¶
func (x *SetObjectHiddenRequest) GetPlayer() int32
func (*SetObjectHiddenRequest) MarshalJSON ¶
func (x *SetObjectHiddenRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the SetObjectHiddenRequest to JSON.
func (*SetObjectHiddenRequest) MarshalProtoJSON ¶
func (x *SetObjectHiddenRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the SetObjectHiddenRequest message to JSON.
func (*SetObjectHiddenRequest) MarshalProtoText ¶
func (x *SetObjectHiddenRequest) MarshalProtoText() string
func (*SetObjectHiddenRequest) MarshalToSizedBufferVT ¶
func (m *SetObjectHiddenRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SetObjectHiddenRequest) MarshalToVT ¶
func (m *SetObjectHiddenRequest) MarshalToVT(dAtA []byte) (int, error)
func (*SetObjectHiddenRequest) MarshalVT ¶
func (m *SetObjectHiddenRequest) MarshalVT() (dAtA []byte, err error)
func (*SetObjectHiddenRequest) ProtoMessage ¶
func (*SetObjectHiddenRequest) ProtoMessage()
func (*SetObjectHiddenRequest) Reset ¶
func (x *SetObjectHiddenRequest) Reset()
func (*SetObjectHiddenRequest) SizeVT ¶
func (m *SetObjectHiddenRequest) SizeVT() (n int)
func (*SetObjectHiddenRequest) String ¶
func (x *SetObjectHiddenRequest) String() string
func (*SetObjectHiddenRequest) UnmarshalJSON ¶
func (x *SetObjectHiddenRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the SetObjectHiddenRequest from JSON.
func (*SetObjectHiddenRequest) UnmarshalProtoJSON ¶
func (x *SetObjectHiddenRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the SetObjectHiddenRequest message from JSON.
func (*SetObjectHiddenRequest) UnmarshalVT ¶
func (m *SetObjectHiddenRequest) UnmarshalVT(dAtA []byte) error
type SetTextRequest ¶
type SetTextRequest struct {
Object uint32 `protobuf:"varint,1,opt,name=object,proto3" json:"object,omitempty"`
// Text is the new words.
Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
// contains filtered or unexported fields
}
SetTextRequest replaces a text object's words.
func (*SetTextRequest) CloneMessageVT ¶
func (m *SetTextRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*SetTextRequest) CloneVT ¶
func (m *SetTextRequest) CloneVT() *SetTextRequest
func (*SetTextRequest) EqualMessageVT ¶
func (this *SetTextRequest) EqualMessageVT(thatMsg any) bool
func (*SetTextRequest) EqualVT ¶
func (this *SetTextRequest) EqualVT(that *SetTextRequest) bool
func (*SetTextRequest) GetObject ¶
func (x *SetTextRequest) GetObject() uint32
func (*SetTextRequest) GetText ¶
func (x *SetTextRequest) GetText() string
func (*SetTextRequest) MarshalJSON ¶
func (x *SetTextRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the SetTextRequest to JSON.
func (*SetTextRequest) MarshalProtoJSON ¶
func (x *SetTextRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the SetTextRequest message to JSON.
func (*SetTextRequest) MarshalProtoText ¶
func (x *SetTextRequest) MarshalProtoText() string
func (*SetTextRequest) MarshalToSizedBufferVT ¶
func (m *SetTextRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SetTextRequest) MarshalToVT ¶
func (m *SetTextRequest) MarshalToVT(dAtA []byte) (int, error)
func (*SetTextRequest) MarshalVT ¶
func (m *SetTextRequest) MarshalVT() (dAtA []byte, err error)
func (*SetTextRequest) ProtoMessage ¶
func (*SetTextRequest) ProtoMessage()
func (*SetTextRequest) Reset ¶
func (x *SetTextRequest) Reset()
func (*SetTextRequest) SizeVT ¶
func (m *SetTextRequest) SizeVT() (n int)
func (*SetTextRequest) String ¶
func (x *SetTextRequest) String() string
func (*SetTextRequest) UnmarshalJSON ¶
func (x *SetTextRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the SetTextRequest from JSON.
func (*SetTextRequest) UnmarshalProtoJSON ¶
func (x *SetTextRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the SetTextRequest message from JSON.
func (*SetTextRequest) UnmarshalVT ¶
func (m *SetTextRequest) UnmarshalVT(dAtA []byte) error
type ShowObjectOnlyToRequest ¶ added in v0.1.27
type ShowObjectOnlyToRequest struct {
Object uint32 `protobuf:"varint,1,opt,name=object,proto3" json:"object,omitempty"`
// Players are the server slots of the players who see the object.
Players []int32 `protobuf:"varint,2,rep,packed,name=players,proto3" json:"players,omitempty"`
// contains filtered or unexported fields
}
ShowObjectOnlyToRequest names the only players who receive an object.
func (*ShowObjectOnlyToRequest) CloneMessageVT ¶ added in v0.1.27
func (m *ShowObjectOnlyToRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ShowObjectOnlyToRequest) CloneVT ¶ added in v0.1.27
func (m *ShowObjectOnlyToRequest) CloneVT() *ShowObjectOnlyToRequest
func (*ShowObjectOnlyToRequest) EqualMessageVT ¶ added in v0.1.27
func (this *ShowObjectOnlyToRequest) EqualMessageVT(thatMsg any) bool
func (*ShowObjectOnlyToRequest) EqualVT ¶ added in v0.1.27
func (this *ShowObjectOnlyToRequest) EqualVT(that *ShowObjectOnlyToRequest) bool
func (*ShowObjectOnlyToRequest) GetObject ¶ added in v0.1.27
func (x *ShowObjectOnlyToRequest) GetObject() uint32
func (*ShowObjectOnlyToRequest) GetPlayers ¶ added in v0.1.27
func (x *ShowObjectOnlyToRequest) GetPlayers() []int32
func (*ShowObjectOnlyToRequest) MarshalJSON ¶ added in v0.1.27
func (x *ShowObjectOnlyToRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ShowObjectOnlyToRequest to JSON.
func (*ShowObjectOnlyToRequest) MarshalProtoJSON ¶ added in v0.1.27
func (x *ShowObjectOnlyToRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ShowObjectOnlyToRequest message to JSON.
func (*ShowObjectOnlyToRequest) MarshalProtoText ¶ added in v0.1.27
func (x *ShowObjectOnlyToRequest) MarshalProtoText() string
func (*ShowObjectOnlyToRequest) MarshalToSizedBufferVT ¶ added in v0.1.27
func (m *ShowObjectOnlyToRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ShowObjectOnlyToRequest) MarshalToVT ¶ added in v0.1.27
func (m *ShowObjectOnlyToRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ShowObjectOnlyToRequest) MarshalVT ¶ added in v0.1.27
func (m *ShowObjectOnlyToRequest) MarshalVT() (dAtA []byte, err error)
func (*ShowObjectOnlyToRequest) ProtoMessage ¶ added in v0.1.27
func (*ShowObjectOnlyToRequest) ProtoMessage()
func (*ShowObjectOnlyToRequest) Reset ¶ added in v0.1.27
func (x *ShowObjectOnlyToRequest) Reset()
func (*ShowObjectOnlyToRequest) SizeVT ¶ added in v0.1.27
func (m *ShowObjectOnlyToRequest) SizeVT() (n int)
func (*ShowObjectOnlyToRequest) String ¶ added in v0.1.27
func (x *ShowObjectOnlyToRequest) String() string
func (*ShowObjectOnlyToRequest) UnmarshalJSON ¶ added in v0.1.27
func (x *ShowObjectOnlyToRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ShowObjectOnlyToRequest from JSON.
func (*ShowObjectOnlyToRequest) UnmarshalProtoJSON ¶ added in v0.1.27
func (x *ShowObjectOnlyToRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ShowObjectOnlyToRequest message from JSON.
func (*ShowObjectOnlyToRequest) UnmarshalVT ¶ added in v0.1.27
func (m *ShowObjectOnlyToRequest) UnmarshalVT(dAtA []byte) error
type TextOptions ¶
type TextOptions struct {
// Text is the words to show; a newline starts a second line.
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
// Position is the text's origin.
Position *geometry.Vec3 `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
// Facing is the text's rotation when it does not face the camera.
Facing *geometry.EulerAngles `protobuf:"bytes,3,opt,name=facing,proto3,oneof" json:"facing,omitempty"`
// FontSize is the text's size; the default is 100.
FontSize *float32 `protobuf:"fixed32,4,opt,name=font_size,json=fontSize,proto3,oneof" json:"fontSize,omitempty"`
// Color is the text's color as 0xRRGGBBAA; the default is white.
Color *uint32 `protobuf:"fixed32,5,opt,name=color,proto3,oneof" json:"color,omitempty"`
// FaceCamera turns the text toward each viewer.
FaceCamera *bool `protobuf:"varint,6,opt,name=face_camera,json=faceCamera,proto3,oneof" json:"faceCamera,omitempty"`
// Scale multiplies the text's size in the world; the default is 1.
Scale *float32 `protobuf:"fixed32,7,opt,name=scale,proto3,oneof" json:"scale,omitempty"`
// contains filtered or unexported fields
}
TextOptions describes text that floats in the world.
func (*TextOptions) CloneMessageVT ¶
func (m *TextOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*TextOptions) CloneVT ¶
func (m *TextOptions) CloneVT() *TextOptions
func (*TextOptions) EqualMessageVT ¶
func (this *TextOptions) EqualMessageVT(thatMsg any) bool
func (*TextOptions) EqualVT ¶
func (this *TextOptions) EqualVT(that *TextOptions) bool
func (*TextOptions) GetColor ¶
func (x *TextOptions) GetColor() uint32
func (*TextOptions) GetFaceCamera ¶
func (x *TextOptions) GetFaceCamera() bool
func (*TextOptions) GetFacing ¶
func (x *TextOptions) GetFacing() *geometry.EulerAngles
func (*TextOptions) GetFontSize ¶
func (x *TextOptions) GetFontSize() float32
func (*TextOptions) GetPosition ¶
func (x *TextOptions) GetPosition() *geometry.Vec3
func (*TextOptions) GetScale ¶
func (x *TextOptions) GetScale() float32
func (*TextOptions) GetText ¶
func (x *TextOptions) GetText() string
func (*TextOptions) MarshalJSON ¶
func (x *TextOptions) MarshalJSON() ([]byte, error)
MarshalJSON marshals the TextOptions to JSON.
func (*TextOptions) MarshalProtoJSON ¶
func (x *TextOptions) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the TextOptions message to JSON.
func (*TextOptions) MarshalProtoText ¶
func (x *TextOptions) MarshalProtoText() string
func (*TextOptions) MarshalToSizedBufferVT ¶
func (m *TextOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*TextOptions) MarshalToVT ¶
func (m *TextOptions) MarshalToVT(dAtA []byte) (int, error)
func (*TextOptions) MarshalVT ¶
func (m *TextOptions) MarshalVT() (dAtA []byte, err error)
func (*TextOptions) ProtoMessage ¶
func (*TextOptions) ProtoMessage()
func (*TextOptions) Reset ¶
func (x *TextOptions) Reset()
func (*TextOptions) SizeVT ¶
func (m *TextOptions) SizeVT() (n int)
func (*TextOptions) String ¶
func (x *TextOptions) String() string
func (*TextOptions) UnmarshalJSON ¶
func (x *TextOptions) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the TextOptions from JSON.
func (*TextOptions) UnmarshalProtoJSON ¶
func (x *TextOptions) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the TextOptions message from JSON.
func (*TextOptions) UnmarshalVT ¶
func (m *TextOptions) UnmarshalVT(dAtA []byte) error