Documentation
¶
Index ¶
- Variables
- type Align
- func (x Align) Enum() *Align
- func (x Align) MarshalJSON() ([]byte, error)
- func (x Align) MarshalProtoJSON(s *json.MarshalState)
- func (x Align) MarshalProtoText() string
- func (x Align) MarshalText() ([]byte, error)
- func (x Align) String() string
- func (x *Align) UnmarshalJSON(b []byte) error
- func (x *Align) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *Align) UnmarshalText(b []byte) error
- type Change
- func (m *Change) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Change) CloneVT() *Change
- func (this *Change) EqualMessageVT(thatMsg any) bool
- func (this *Change) EqualVT(that *Change) bool
- func (x *Change) GetRemoved() []string
- func (x *Change) GetReset_() bool
- func (x *Change) GetSet() []*Node
- func (x *Change) MarshalJSON() ([]byte, error)
- func (x *Change) MarshalProtoJSON(s *json.MarshalState)
- func (x *Change) MarshalProtoText() string
- func (m *Change) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Change) MarshalToVT(dAtA []byte) (int, error)
- func (m *Change) MarshalVT() (dAtA []byte, err error)
- func (*Change) ProtoMessage()
- func (x *Change) Reset()
- func (m *Change) SizeVT() (n int)
- func (x *Change) String() string
- func (x *Change) UnmarshalJSON(b []byte) error
- func (x *Change) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Change) UnmarshalVT(dAtA []byte) error
- type Cycle
- func (m *Cycle) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Cycle) CloneVT() *Cycle
- func (this *Cycle) EqualMessageVT(thatMsg any) bool
- func (this *Cycle) EqualVT(that *Cycle) bool
- func (x *Cycle) GetCount() uint32
- func (x *Cycle) GetSeconds() float32
- func (x *Cycle) GetStyle() *Style
- func (x *Cycle) MarshalJSON() ([]byte, error)
- func (x *Cycle) MarshalProtoJSON(s *json.MarshalState)
- func (x *Cycle) MarshalProtoText() string
- func (m *Cycle) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Cycle) MarshalToVT(dAtA []byte) (int, error)
- func (m *Cycle) MarshalVT() (dAtA []byte, err error)
- func (*Cycle) ProtoMessage()
- func (x *Cycle) Reset()
- func (m *Cycle) SizeVT() (n int)
- func (x *Cycle) String() string
- func (x *Cycle) UnmarshalJSON(b []byte) error
- func (x *Cycle) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Cycle) UnmarshalVT(dAtA []byte) error
- type Decoration
- func (x Decoration) Enum() *Decoration
- func (x Decoration) MarshalJSON() ([]byte, error)
- func (x Decoration) MarshalProtoJSON(s *json.MarshalState)
- func (x Decoration) MarshalProtoText() string
- func (x Decoration) MarshalText() ([]byte, error)
- func (x Decoration) String() string
- func (x *Decoration) UnmarshalJSON(b []byte) error
- func (x *Decoration) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *Decoration) UnmarshalText(b []byte) error
- type Dropdown
- func (m *Dropdown) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Dropdown) CloneVT() *Dropdown
- func (this *Dropdown) EqualMessageVT(thatMsg any) bool
- func (this *Dropdown) EqualVT(that *Dropdown) bool
- func (x *Dropdown) GetOptions() []string
- func (x *Dropdown) GetSelected() uint32
- func (x *Dropdown) MarshalJSON() ([]byte, error)
- func (x *Dropdown) MarshalProtoJSON(s *json.MarshalState)
- func (x *Dropdown) MarshalProtoText() string
- func (m *Dropdown) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Dropdown) MarshalToVT(dAtA []byte) (int, error)
- func (m *Dropdown) MarshalVT() (dAtA []byte, err error)
- func (*Dropdown) ProtoMessage()
- func (x *Dropdown) Reset()
- func (m *Dropdown) SizeVT() (n int)
- func (x *Dropdown) String() string
- func (x *Dropdown) UnmarshalJSON(b []byte) error
- func (x *Dropdown) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Dropdown) UnmarshalVT(dAtA []byte) error
- type Easing
- func (x Easing) Enum() *Easing
- func (x Easing) MarshalJSON() ([]byte, error)
- func (x Easing) MarshalProtoJSON(s *json.MarshalState)
- func (x Easing) MarshalProtoText() string
- func (x Easing) MarshalText() ([]byte, error)
- func (x Easing) String() string
- func (x *Easing) UnmarshalJSON(b []byte) error
- func (x *Easing) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *Easing) UnmarshalText(b []byte) error
- type Edges
- func (m *Edges) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Edges) CloneVT() *Edges
- func (this *Edges) EqualMessageVT(thatMsg any) bool
- func (this *Edges) EqualVT(that *Edges) bool
- func (x *Edges) GetBottom() float32
- func (x *Edges) GetLeft() float32
- func (x *Edges) GetRight() float32
- func (x *Edges) GetTop() float32
- func (x *Edges) MarshalJSON() ([]byte, error)
- func (x *Edges) MarshalProtoJSON(s *json.MarshalState)
- func (x *Edges) MarshalProtoText() string
- func (m *Edges) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Edges) MarshalToVT(dAtA []byte) (int, error)
- func (m *Edges) MarshalVT() (dAtA []byte, err error)
- func (*Edges) ProtoMessage()
- func (x *Edges) Reset()
- func (m *Edges) SizeVT() (n int)
- func (x *Edges) String() string
- func (x *Edges) UnmarshalJSON(b []byte) error
- func (x *Edges) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Edges) UnmarshalVT(dAtA []byte) error
- type Face
- func (x Face) Enum() *Face
- func (x Face) MarshalJSON() ([]byte, error)
- func (x Face) MarshalProtoJSON(s *json.MarshalState)
- func (x Face) MarshalProtoText() string
- func (x Face) MarshalText() ([]byte, error)
- func (x Face) String() string
- func (x *Face) UnmarshalJSON(b []byte) error
- func (x *Face) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *Face) UnmarshalText(b []byte) error
- type Flow
- func (x Flow) Enum() *Flow
- func (x Flow) MarshalJSON() ([]byte, error)
- func (x Flow) MarshalProtoJSON(s *json.MarshalState)
- func (x Flow) MarshalProtoText() string
- func (x Flow) MarshalText() ([]byte, error)
- func (x Flow) String() string
- func (x *Flow) UnmarshalJSON(b []byte) error
- func (x *Flow) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *Flow) UnmarshalText(b []byte) error
- type Gradient
- func (m *Gradient) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Gradient) CloneVT() *Gradient
- func (this *Gradient) EqualMessageVT(thatMsg any) bool
- func (this *Gradient) EqualVT(that *Gradient) bool
- func (x *Gradient) GetShape() GradientShape
- func (x *Gradient) GetStops() []*GradientStop
- func (x *Gradient) MarshalJSON() ([]byte, error)
- func (x *Gradient) MarshalProtoJSON(s *json.MarshalState)
- func (x *Gradient) MarshalProtoText() string
- func (m *Gradient) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Gradient) MarshalToVT(dAtA []byte) (int, error)
- func (m *Gradient) MarshalVT() (dAtA []byte, err error)
- func (*Gradient) ProtoMessage()
- func (x *Gradient) Reset()
- func (m *Gradient) SizeVT() (n int)
- func (x *Gradient) String() string
- func (x *Gradient) UnmarshalJSON(b []byte) error
- func (x *Gradient) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Gradient) UnmarshalVT(dAtA []byte) error
- type GradientShape
- func (x GradientShape) Enum() *GradientShape
- func (x GradientShape) MarshalJSON() ([]byte, error)
- func (x GradientShape) MarshalProtoJSON(s *json.MarshalState)
- func (x GradientShape) MarshalProtoText() string
- func (x GradientShape) MarshalText() ([]byte, error)
- func (x GradientShape) String() string
- func (x *GradientShape) UnmarshalJSON(b []byte) error
- func (x *GradientShape) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *GradientShape) UnmarshalText(b []byte) error
- type GradientStop
- func (m *GradientStop) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *GradientStop) CloneVT() *GradientStop
- func (this *GradientStop) EqualMessageVT(thatMsg any) bool
- func (this *GradientStop) EqualVT(that *GradientStop) bool
- func (x *GradientStop) GetAt() float32
- func (x *GradientStop) GetColor() uint32
- func (x *GradientStop) MarshalJSON() ([]byte, error)
- func (x *GradientStop) MarshalProtoJSON(s *json.MarshalState)
- func (x *GradientStop) MarshalProtoText() string
- func (m *GradientStop) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GradientStop) MarshalToVT(dAtA []byte) (int, error)
- func (m *GradientStop) MarshalVT() (dAtA []byte, err error)
- func (*GradientStop) ProtoMessage()
- func (x *GradientStop) Reset()
- func (m *GradientStop) SizeVT() (n int)
- func (x *GradientStop) String() string
- func (x *GradientStop) UnmarshalJSON(b []byte) error
- func (x *GradientStop) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *GradientStop) UnmarshalVT(dAtA []byte) error
- type HeroLook
- func (x HeroLook) Enum() *HeroLook
- func (x HeroLook) MarshalJSON() ([]byte, error)
- func (x HeroLook) MarshalProtoJSON(s *json.MarshalState)
- func (x HeroLook) MarshalProtoText() string
- func (x HeroLook) MarshalText() ([]byte, error)
- func (x HeroLook) String() string
- func (x *HeroLook) UnmarshalJSON(b []byte) error
- func (x *HeroLook) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *HeroLook) UnmarshalText(b []byte) error
- type HudPart
- func (x HudPart) Enum() *HudPart
- func (x HudPart) MarshalJSON() ([]byte, error)
- func (x HudPart) MarshalProtoJSON(s *json.MarshalState)
- func (x HudPart) MarshalProtoText() string
- func (x HudPart) MarshalText() ([]byte, error)
- func (x HudPart) String() string
- func (x *HudPart) UnmarshalJSON(b []byte) error
- func (x *HudPart) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *HudPart) UnmarshalText(b []byte) error
- type Kind
- func (x Kind) Enum() *Kind
- func (x Kind) MarshalJSON() ([]byte, error)
- func (x Kind) MarshalProtoJSON(s *json.MarshalState)
- func (x Kind) MarshalProtoText() string
- func (x Kind) MarshalText() ([]byte, error)
- func (x Kind) String() string
- func (x *Kind) UnmarshalJSON(b []byte) error
- func (x *Kind) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *Kind) UnmarshalText(b []byte) error
- type Length
- func (m *Length) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Length) CloneVT() *Length
- func (this *Length) EqualMessageVT(thatMsg any) bool
- func (this *Length) EqualVT(that *Length) bool
- func (x *Length) GetFill() float32
- func (x *Length) GetFitChildren() bool
- func (x *Length) GetPercent() float32
- func (x *Length) GetPixels() float32
- func (m *Length) GetValue() isLength_Value
- func (x *Length) MarshalJSON() ([]byte, error)
- func (x *Length) MarshalProtoJSON(s *json.MarshalState)
- func (x *Length) MarshalProtoText() string
- func (m *Length) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Length) MarshalToVT(dAtA []byte) (int, error)
- func (m *Length) MarshalVT() (dAtA []byte, err error)
- func (*Length) ProtoMessage()
- func (x *Length) Reset()
- func (m *Length) SizeVT() (n int)
- func (x *Length) String() string
- func (x *Length) UnmarshalJSON(b []byte) error
- func (x *Length) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Length) UnmarshalVT(dAtA []byte) error
- type Length_Fill
- func (m *Length_Fill) CloneOneofVT() isLength_Value
- func (m *Length_Fill) CloneVT() *Length_Fill
- func (this *Length_Fill) EqualVT(thatIface isLength_Value) bool
- func (m *Length_Fill) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Length_Fill) MarshalToVT(dAtA []byte) (int, error)
- func (m *Length_Fill) SizeVT() (n int)
- type Length_FitChildren
- func (m *Length_FitChildren) CloneOneofVT() isLength_Value
- func (m *Length_FitChildren) CloneVT() *Length_FitChildren
- func (this *Length_FitChildren) EqualVT(thatIface isLength_Value) bool
- func (m *Length_FitChildren) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Length_FitChildren) MarshalToVT(dAtA []byte) (int, error)
- func (m *Length_FitChildren) SizeVT() (n int)
- type Length_Percent
- func (m *Length_Percent) CloneOneofVT() isLength_Value
- func (m *Length_Percent) CloneVT() *Length_Percent
- func (this *Length_Percent) EqualVT(thatIface isLength_Value) bool
- func (m *Length_Percent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Length_Percent) MarshalToVT(dAtA []byte) (int, error)
- func (m *Length_Percent) SizeVT() (n int)
- type Length_Pixels
- func (m *Length_Pixels) CloneOneofVT() isLength_Value
- func (m *Length_Pixels) CloneVT() *Length_Pixels
- func (this *Length_Pixels) EqualVT(thatIface isLength_Value) bool
- func (m *Length_Pixels) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Length_Pixels) MarshalToVT(dAtA []byte) (int, error)
- func (m *Length_Pixels) SizeVT() (n int)
- type Node
- func (m *Node) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Node) CloneVT() *Node
- func (this *Node) EqualMessageVT(thatMsg any) bool
- func (this *Node) EqualVT(that *Node) bool
- func (x *Node) GetChildren() []string
- func (x *Node) GetCycle() *Cycle
- func (x *Node) GetData() string
- func (x *Node) GetDisabled() bool
- func (x *Node) GetDropdown() *Dropdown
- func (x *Node) GetEnter() *Style
- func (x *Node) GetExit() *Style
- func (x *Node) GetHero() int32
- func (x *Node) GetHeroLook() HeroLook
- func (x *Node) GetHideHud() []HudPart
- func (x *Node) GetHover() *Style
- func (x *Node) GetHoverSound() string
- func (x *Node) GetId() string
- func (x *Node) GetImage() string
- func (m *Node) GetInput() isNode_Input
- func (x *Node) GetKind() Kind
- func (x *Node) GetLayout() string
- func (x *Node) GetRoute() string
- func (x *Node) GetScaling() Scaling
- func (x *Node) GetSlider() *Slider
- func (x *Node) GetSound() string
- func (x *Node) GetSteamId() uint64
- func (x *Node) GetStyle() *Style
- func (x *Node) GetText() string
- func (x *Node) GetTextEntry() *TextEntry
- func (x *Node) GetToggle() *Toggle
- func (x *Node) GetToken() string
- func (x *Node) GetTooltip() string
- func (x *Node) GetVariables() map[string]string
- func (x *Node) MarshalJSON() ([]byte, error)
- func (x *Node) MarshalProtoJSON(s *json.MarshalState)
- func (x *Node) MarshalProtoText() string
- func (m *Node) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Node) MarshalToVT(dAtA []byte) (int, error)
- func (m *Node) MarshalVT() (dAtA []byte, err error)
- func (*Node) ProtoMessage()
- func (x *Node) Reset()
- func (m *Node) SizeVT() (n int)
- func (x *Node) String() string
- func (x *Node) UnmarshalJSON(b []byte) error
- func (x *Node) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Node) UnmarshalVT(dAtA []byte) error
- type Node_Dropdown
- func (m *Node_Dropdown) CloneOneofVT() isNode_Input
- func (m *Node_Dropdown) CloneVT() *Node_Dropdown
- func (this *Node_Dropdown) EqualVT(thatIface isNode_Input) bool
- func (m *Node_Dropdown) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Node_Dropdown) MarshalToVT(dAtA []byte) (int, error)
- func (m *Node_Dropdown) SizeVT() (n int)
- type Node_Slider
- func (m *Node_Slider) CloneOneofVT() isNode_Input
- func (m *Node_Slider) CloneVT() *Node_Slider
- func (this *Node_Slider) EqualVT(thatIface isNode_Input) bool
- func (m *Node_Slider) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Node_Slider) MarshalToVT(dAtA []byte) (int, error)
- func (m *Node_Slider) SizeVT() (n int)
- type Node_TextEntry
- func (m *Node_TextEntry) CloneOneofVT() isNode_Input
- func (m *Node_TextEntry) CloneVT() *Node_TextEntry
- func (this *Node_TextEntry) EqualVT(thatIface isNode_Input) bool
- func (m *Node_TextEntry) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Node_TextEntry) MarshalToVT(dAtA []byte) (int, error)
- func (m *Node_TextEntry) SizeVT() (n int)
- type Node_Toggle
- func (m *Node_Toggle) CloneOneofVT() isNode_Input
- func (m *Node_Toggle) CloneVT() *Node_Toggle
- func (this *Node_Toggle) EqualVT(thatIface isNode_Input) bool
- func (m *Node_Toggle) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Node_Toggle) MarshalToVT(dAtA []byte) (int, error)
- func (m *Node_Toggle) SizeVT() (n int)
- type Node_VariablesEntry
- func (x *Node_VariablesEntry) GetKey() string
- func (x *Node_VariablesEntry) GetValue() string
- func (x *Node_VariablesEntry) MarshalJSON() ([]byte, error)
- func (x *Node_VariablesEntry) MarshalProtoJSON(s *json.MarshalState)
- func (x *Node_VariablesEntry) MarshalProtoText() string
- func (*Node_VariablesEntry) ProtoMessage()
- func (x *Node_VariablesEntry) Reset()
- func (x *Node_VariablesEntry) String() string
- func (x *Node_VariablesEntry) UnmarshalJSON(b []byte) error
- func (x *Node_VariablesEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
- type Overflow
- func (x Overflow) Enum() *Overflow
- func (x Overflow) MarshalJSON() ([]byte, error)
- func (x Overflow) MarshalProtoJSON(s *json.MarshalState)
- func (x Overflow) MarshalProtoText() string
- func (x Overflow) MarshalText() ([]byte, error)
- func (x Overflow) String() string
- func (x *Overflow) UnmarshalJSON(b []byte) error
- func (x *Overflow) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *Overflow) UnmarshalText(b []byte) error
- type Region
- func (m *Region) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Region) CloneVT() *Region
- func (this *Region) EqualMessageVT(thatMsg any) bool
- func (this *Region) EqualVT(that *Region) bool
- func (x *Region) GetHeight() float32
- func (x *Region) GetLeft() float32
- func (x *Region) GetTop() float32
- func (x *Region) GetWidth() float32
- func (x *Region) MarshalJSON() ([]byte, error)
- func (x *Region) MarshalProtoJSON(s *json.MarshalState)
- func (x *Region) MarshalProtoText() string
- func (m *Region) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Region) MarshalToVT(dAtA []byte) (int, error)
- func (m *Region) MarshalVT() (dAtA []byte, err error)
- func (*Region) ProtoMessage()
- func (x *Region) Reset()
- func (m *Region) SizeVT() (n int)
- func (x *Region) String() string
- func (x *Region) UnmarshalJSON(b []byte) error
- func (x *Region) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Region) UnmarshalVT(dAtA []byte) error
- type Scaling
- func (x Scaling) Enum() *Scaling
- func (x Scaling) MarshalJSON() ([]byte, error)
- func (x Scaling) MarshalProtoJSON(s *json.MarshalState)
- func (x Scaling) MarshalProtoText() string
- func (x Scaling) MarshalText() ([]byte, error)
- func (x Scaling) String() string
- func (x *Scaling) UnmarshalJSON(b []byte) error
- func (x *Scaling) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *Scaling) UnmarshalText(b []byte) error
- type Screen
- func (m *Screen) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Screen) CloneVT() *Screen
- func (this *Screen) EqualMessageVT(thatMsg any) bool
- func (this *Screen) EqualVT(that *Screen) bool
- func (x *Screen) GetTrees() []*Tree
- func (x *Screen) MarshalJSON() ([]byte, error)
- func (x *Screen) MarshalProtoJSON(s *json.MarshalState)
- func (x *Screen) MarshalProtoText() string
- func (m *Screen) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Screen) MarshalToVT(dAtA []byte) (int, error)
- func (m *Screen) MarshalVT() (dAtA []byte, err error)
- func (*Screen) ProtoMessage()
- func (x *Screen) Reset()
- func (m *Screen) SizeVT() (n int)
- func (x *Screen) String() string
- func (x *Screen) UnmarshalJSON(b []byte) error
- func (x *Screen) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Screen) UnmarshalVT(dAtA []byte) error
- type Shadow
- func (m *Shadow) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Shadow) CloneVT() *Shadow
- func (this *Shadow) EqualMessageVT(thatMsg any) bool
- func (this *Shadow) EqualVT(that *Shadow) bool
- func (x *Shadow) GetBlur() float32
- func (x *Shadow) GetColor() uint32
- func (x *Shadow) GetInset() bool
- func (x *Shadow) GetSpread() float32
- func (x *Shadow) GetX() float32
- func (x *Shadow) GetY() float32
- func (x *Shadow) MarshalJSON() ([]byte, error)
- func (x *Shadow) MarshalProtoJSON(s *json.MarshalState)
- func (x *Shadow) MarshalProtoText() string
- func (m *Shadow) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Shadow) MarshalToVT(dAtA []byte) (int, error)
- func (m *Shadow) MarshalVT() (dAtA []byte, err error)
- func (*Shadow) ProtoMessage()
- func (x *Shadow) Reset()
- func (m *Shadow) SizeVT() (n int)
- func (x *Shadow) String() string
- func (x *Shadow) UnmarshalJSON(b []byte) error
- func (x *Shadow) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Shadow) UnmarshalVT(dAtA []byte) error
- type Slider
- func (m *Slider) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Slider) CloneVT() *Slider
- func (this *Slider) EqualMessageVT(thatMsg any) bool
- func (this *Slider) EqualVT(that *Slider) bool
- func (x *Slider) GetMax() float32
- func (x *Slider) GetMin() float32
- func (x *Slider) GetStep() float32
- func (x *Slider) GetValue() float32
- func (x *Slider) MarshalJSON() ([]byte, error)
- func (x *Slider) MarshalProtoJSON(s *json.MarshalState)
- func (x *Slider) MarshalProtoText() string
- func (m *Slider) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Slider) MarshalToVT(dAtA []byte) (int, error)
- func (m *Slider) MarshalVT() (dAtA []byte, err error)
- func (*Slider) ProtoMessage()
- func (x *Slider) Reset()
- func (m *Slider) SizeVT() (n int)
- func (x *Slider) String() string
- func (x *Slider) UnmarshalJSON(b []byte) error
- func (x *Slider) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Slider) UnmarshalVT(dAtA []byte) error
- type Style
- func (m *Style) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Style) CloneVT() *Style
- func (this *Style) EqualMessageVT(thatMsg any) bool
- func (this *Style) EqualVT(that *Style) bool
- func (x *Style) GetBackground() uint32
- func (x *Style) GetBlur() float32
- func (x *Style) GetBold() bool
- func (x *Style) GetBorderColor() uint32
- func (x *Style) GetBorderRadius() float32
- func (x *Style) GetBorderWidth() float32
- func (x *Style) GetBoxShadow() *Shadow
- func (x *Style) GetBrightness() float32
- func (x *Style) GetColor() uint32
- func (x *Style) GetContrast() float32
- func (x *Style) GetDecoration() Decoration
- func (x *Style) GetFace() Face
- func (x *Style) GetFlow() Flow
- func (x *Style) GetFontSize() float32
- func (x *Style) GetGradient() *Gradient
- func (x *Style) GetHeight() *Length
- func (x *Style) GetHorizontalAlign() Align
- func (x *Style) GetItalic() bool
- func (x *Style) GetLetterSpacing() float32
- func (x *Style) GetLineHeight() float32
- func (x *Style) GetMargin() *Edges
- func (x *Style) GetMaxHeight() *Length
- func (x *Style) GetMaxWidth() *Length
- func (x *Style) GetMinHeight() *Length
- func (x *Style) GetMinWidth() *Length
- func (x *Style) GetNoWrap() bool
- func (x *Style) GetOpacity() float32
- func (x *Style) GetOverflowX() Overflow
- func (x *Style) GetOverflowY() Overflow
- func (x *Style) GetPadding() *Edges
- func (x *Style) GetSaturation() float32
- func (x *Style) GetShadow() bool
- func (x *Style) GetTextAlign() Align
- func (x *Style) GetTextOverflow() TextOverflow
- func (x *Style) GetTextShadow() *Shadow
- func (x *Style) GetTint() uint32
- func (x *Style) GetTransform() *Transform
- func (x *Style) GetTransition() *Transition
- func (x *Style) GetUppercase() bool
- func (x *Style) GetVerticalAlign() Align
- func (x *Style) GetWeight() Weight
- func (x *Style) GetWidth() *Length
- func (x *Style) GetX() *Length
- func (x *Style) GetY() *Length
- func (x *Style) GetZIndex() int32
- func (x *Style) MarshalJSON() ([]byte, error)
- func (x *Style) MarshalProtoJSON(s *json.MarshalState)
- func (x *Style) MarshalProtoText() string
- func (m *Style) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Style) MarshalToVT(dAtA []byte) (int, error)
- func (m *Style) MarshalVT() (dAtA []byte, err error)
- func (*Style) ProtoMessage()
- func (x *Style) Reset()
- func (m *Style) SizeVT() (n int)
- func (x *Style) String() string
- func (x *Style) UnmarshalJSON(b []byte) error
- func (x *Style) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Style) UnmarshalVT(dAtA []byte) error
- type TextEntry
- func (m *TextEntry) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *TextEntry) CloneVT() *TextEntry
- func (this *TextEntry) EqualMessageVT(thatMsg any) bool
- func (this *TextEntry) EqualVT(that *TextEntry) bool
- func (x *TextEntry) GetMaxLength() uint32
- func (x *TextEntry) GetPlaceholder() string
- func (x *TextEntry) GetText() string
- func (x *TextEntry) MarshalJSON() ([]byte, error)
- func (x *TextEntry) MarshalProtoJSON(s *json.MarshalState)
- func (x *TextEntry) MarshalProtoText() string
- func (m *TextEntry) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TextEntry) MarshalToVT(dAtA []byte) (int, error)
- func (m *TextEntry) MarshalVT() (dAtA []byte, err error)
- func (*TextEntry) ProtoMessage()
- func (x *TextEntry) Reset()
- func (m *TextEntry) SizeVT() (n int)
- func (x *TextEntry) String() string
- func (x *TextEntry) UnmarshalJSON(b []byte) error
- func (x *TextEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *TextEntry) UnmarshalVT(dAtA []byte) error
- type TextOverflow
- func (x TextOverflow) Enum() *TextOverflow
- func (x TextOverflow) MarshalJSON() ([]byte, error)
- func (x TextOverflow) MarshalProtoJSON(s *json.MarshalState)
- func (x TextOverflow) MarshalProtoText() string
- func (x TextOverflow) MarshalText() ([]byte, error)
- func (x TextOverflow) String() string
- func (x *TextOverflow) UnmarshalJSON(b []byte) error
- func (x *TextOverflow) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *TextOverflow) UnmarshalText(b []byte) error
- type Toggle
- func (m *Toggle) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Toggle) CloneVT() *Toggle
- func (this *Toggle) EqualMessageVT(thatMsg any) bool
- func (this *Toggle) EqualVT(that *Toggle) bool
- func (x *Toggle) GetOn() bool
- func (x *Toggle) MarshalJSON() ([]byte, error)
- func (x *Toggle) MarshalProtoJSON(s *json.MarshalState)
- func (x *Toggle) MarshalProtoText() string
- func (m *Toggle) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Toggle) MarshalToVT(dAtA []byte) (int, error)
- func (m *Toggle) MarshalVT() (dAtA []byte, err error)
- func (*Toggle) ProtoMessage()
- func (x *Toggle) Reset()
- func (m *Toggle) SizeVT() (n int)
- func (x *Toggle) String() string
- func (x *Toggle) UnmarshalJSON(b []byte) error
- func (x *Toggle) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Toggle) UnmarshalVT(dAtA []byte) error
- type Transform
- func (m *Transform) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Transform) CloneVT() *Transform
- func (this *Transform) EqualMessageVT(thatMsg any) bool
- func (this *Transform) EqualVT(that *Transform) bool
- func (x *Transform) GetOriginX() float32
- func (x *Transform) GetOriginY() float32
- func (x *Transform) GetRotate() float32
- func (x *Transform) GetScaleX() float32
- func (x *Transform) GetScaleY() float32
- func (x *Transform) GetTranslateX() float32
- func (x *Transform) GetTranslateY() float32
- func (x *Transform) MarshalJSON() ([]byte, error)
- func (x *Transform) MarshalProtoJSON(s *json.MarshalState)
- func (x *Transform) MarshalProtoText() string
- func (m *Transform) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Transform) MarshalToVT(dAtA []byte) (int, error)
- func (m *Transform) MarshalVT() (dAtA []byte, err error)
- func (*Transform) ProtoMessage()
- func (x *Transform) Reset()
- func (m *Transform) SizeVT() (n int)
- func (x *Transform) String() string
- func (x *Transform) UnmarshalJSON(b []byte) error
- func (x *Transform) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Transform) UnmarshalVT(dAtA []byte) error
- type Transition
- func (m *Transition) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Transition) CloneVT() *Transition
- func (this *Transition) EqualMessageVT(thatMsg any) bool
- func (this *Transition) EqualVT(that *Transition) bool
- func (x *Transition) GetDelay() float32
- func (x *Transition) GetEasing() Easing
- func (x *Transition) GetSeconds() float32
- func (x *Transition) MarshalJSON() ([]byte, error)
- func (x *Transition) MarshalProtoJSON(s *json.MarshalState)
- func (x *Transition) MarshalProtoText() string
- func (m *Transition) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Transition) MarshalToVT(dAtA []byte) (int, error)
- func (m *Transition) MarshalVT() (dAtA []byte, err error)
- func (*Transition) ProtoMessage()
- func (x *Transition) Reset()
- func (m *Transition) SizeVT() (n int)
- func (x *Transition) String() string
- func (x *Transition) UnmarshalJSON(b []byte) error
- func (x *Transition) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Transition) UnmarshalVT(dAtA []byte) error
- type Tree
- func (m *Tree) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Tree) CloneVT() *Tree
- func (this *Tree) EqualMessageVT(thatMsg any) bool
- func (this *Tree) EqualVT(that *Tree) bool
- func (x *Tree) GetMod() string
- func (x *Tree) GetNodes() []*Node
- func (x *Tree) GetRegion() *Region
- func (x *Tree) MarshalJSON() ([]byte, error)
- func (x *Tree) MarshalProtoJSON(s *json.MarshalState)
- func (x *Tree) MarshalProtoText() string
- func (m *Tree) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Tree) MarshalToVT(dAtA []byte) (int, error)
- func (m *Tree) MarshalVT() (dAtA []byte, err error)
- func (*Tree) ProtoMessage()
- func (x *Tree) Reset()
- func (m *Tree) SizeVT() (n int)
- func (x *Tree) String() string
- func (x *Tree) UnmarshalJSON(b []byte) error
- func (x *Tree) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Tree) UnmarshalVT(dAtA []byte) error
- type UiInputEvent
- func (m *UiInputEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *UiInputEvent) CloneVT() *UiInputEvent
- func (this *UiInputEvent) EqualMessageVT(thatMsg any) bool
- func (this *UiInputEvent) EqualVT(that *UiInputEvent) bool
- func (x *UiInputEvent) GetChoice() uint32
- func (x *UiInputEvent) GetNode() string
- func (x *UiInputEvent) GetNumber() float32
- func (x *UiInputEvent) GetOn() bool
- func (x *UiInputEvent) GetPlayer() int32
- func (x *UiInputEvent) GetText() string
- func (m *UiInputEvent) GetValue() isUiInputEvent_Value
- func (x *UiInputEvent) MarshalJSON() ([]byte, error)
- func (x *UiInputEvent) MarshalProtoJSON(s *json.MarshalState)
- func (x *UiInputEvent) MarshalProtoText() string
- func (m *UiInputEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UiInputEvent) MarshalToVT(dAtA []byte) (int, error)
- func (m *UiInputEvent) MarshalVT() (dAtA []byte, err error)
- func (*UiInputEvent) ProtoMessage()
- func (x *UiInputEvent) Reset()
- func (m *UiInputEvent) SizeVT() (n int)
- func (x *UiInputEvent) String() string
- func (x *UiInputEvent) UnmarshalJSON(b []byte) error
- func (x *UiInputEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *UiInputEvent) UnmarshalVT(dAtA []byte) error
- type UiInputEvent_Choice
- func (m *UiInputEvent_Choice) CloneOneofVT() isUiInputEvent_Value
- func (m *UiInputEvent_Choice) CloneVT() *UiInputEvent_Choice
- func (this *UiInputEvent_Choice) EqualVT(thatIface isUiInputEvent_Value) bool
- func (m *UiInputEvent_Choice) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UiInputEvent_Choice) MarshalToVT(dAtA []byte) (int, error)
- func (m *UiInputEvent_Choice) SizeVT() (n int)
- type UiInputEvent_Number
- func (m *UiInputEvent_Number) CloneOneofVT() isUiInputEvent_Value
- func (m *UiInputEvent_Number) CloneVT() *UiInputEvent_Number
- func (this *UiInputEvent_Number) EqualVT(thatIface isUiInputEvent_Value) bool
- func (m *UiInputEvent_Number) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UiInputEvent_Number) MarshalToVT(dAtA []byte) (int, error)
- func (m *UiInputEvent_Number) SizeVT() (n int)
- type UiInputEvent_On
- func (m *UiInputEvent_On) CloneOneofVT() isUiInputEvent_Value
- func (m *UiInputEvent_On) CloneVT() *UiInputEvent_On
- func (this *UiInputEvent_On) EqualVT(thatIface isUiInputEvent_Value) bool
- func (m *UiInputEvent_On) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UiInputEvent_On) MarshalToVT(dAtA []byte) (int, error)
- func (m *UiInputEvent_On) SizeVT() (n int)
- type UiInputEvent_Text
- func (m *UiInputEvent_Text) CloneOneofVT() isUiInputEvent_Value
- func (m *UiInputEvent_Text) CloneVT() *UiInputEvent_Text
- func (this *UiInputEvent_Text) EqualVT(thatIface isUiInputEvent_Value) bool
- func (m *UiInputEvent_Text) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UiInputEvent_Text) MarshalToVT(dAtA []byte) (int, error)
- func (m *UiInputEvent_Text) SizeVT() (n int)
- type UiPressEvent
- func (m *UiPressEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *UiPressEvent) CloneVT() *UiPressEvent
- func (this *UiPressEvent) EqualMessageVT(thatMsg any) bool
- func (this *UiPressEvent) EqualVT(that *UiPressEvent) bool
- func (x *UiPressEvent) GetNode() string
- func (x *UiPressEvent) GetPlayer() int32
- func (x *UiPressEvent) MarshalJSON() ([]byte, error)
- func (x *UiPressEvent) MarshalProtoJSON(s *json.MarshalState)
- func (x *UiPressEvent) MarshalProtoText() string
- func (m *UiPressEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UiPressEvent) MarshalToVT(dAtA []byte) (int, error)
- func (m *UiPressEvent) MarshalVT() (dAtA []byte, err error)
- func (*UiPressEvent) ProtoMessage()
- func (x *UiPressEvent) Reset()
- func (m *UiPressEvent) SizeVT() (n int)
- func (x *UiPressEvent) String() string
- func (x *UiPressEvent) UnmarshalJSON(b []byte) error
- func (x *UiPressEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *UiPressEvent) UnmarshalVT(dAtA []byte) error
- type UiRequest
- func (m *UiRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *UiRequest) CloneVT() *UiRequest
- func (this *UiRequest) EqualMessageVT(thatMsg any) bool
- func (this *UiRequest) EqualVT(that *UiRequest) bool
- func (x *UiRequest) GetChange() *Change
- func (x *UiRequest) GetPlayer() int32
- func (x *UiRequest) MarshalJSON() ([]byte, error)
- func (x *UiRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *UiRequest) MarshalProtoText() string
- func (m *UiRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UiRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *UiRequest) MarshalVT() (dAtA []byte, err error)
- func (*UiRequest) ProtoMessage()
- func (x *UiRequest) Reset()
- func (m *UiRequest) SizeVT() (n int)
- func (x *UiRequest) String() string
- func (x *UiRequest) UnmarshalJSON(b []byte) error
- func (x *UiRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *UiRequest) UnmarshalVT(dAtA []byte) error
- type Weight
- func (x Weight) Enum() *Weight
- func (x Weight) MarshalJSON() ([]byte, error)
- func (x Weight) MarshalProtoJSON(s *json.MarshalState)
- func (x Weight) MarshalProtoText() string
- func (x Weight) MarshalText() ([]byte, error)
- func (x Weight) String() string
- func (x *Weight) UnmarshalJSON(b []byte) error
- func (x *Weight) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *Weight) UnmarshalText(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( Scaling_name = map[int32]string{ 0: "SCALING_DEFAULT", 1: "SCALING_FIT", 2: "SCALING_COVER", 3: "SCALING_STRETCH", 4: "SCALING_FIT_WIDTH", 5: "SCALING_FIT_HEIGHT", 6: "SCALING_NONE", } Scaling_value = map[string]int32{ "SCALING_DEFAULT": 0, "SCALING_FIT": 1, "SCALING_COVER": 2, "SCALING_STRETCH": 3, "SCALING_FIT_WIDTH": 4, "SCALING_FIT_HEIGHT": 5, "SCALING_NONE": 6, } )
Enum value maps for Scaling.
var ( HeroLook_name = map[int32]string{ 0: "HERO_LOOK_SMALL", 1: "HERO_LOOK_CARD", 2: "HERO_LOOK_ICON", 3: "HERO_LOOK_VERTICAL", 4: "HERO_LOOK_TOP_BAR", 5: "HERO_LOOK_MINIMAP", } HeroLook_value = map[string]int32{ "HERO_LOOK_SMALL": 0, "HERO_LOOK_CARD": 1, "HERO_LOOK_ICON": 2, "HERO_LOOK_VERTICAL": 3, "HERO_LOOK_TOP_BAR": 4, "HERO_LOOK_MINIMAP": 5, } )
Enum value maps for HeroLook.
var ( HudPart_name = map[int32]string{ 0: "HUD_PART_UNKNOWN", 1: "HUD_PART_LEVEL_UP", 2: "HUD_PART_OWN_HEALTH", 3: "HUD_PART_TOP_BAR", 4: "HUD_PART_AMMO", 5: "HUD_PART_SOULS", 6: "HUD_PART_MINIMAP", 7: "HUD_PART_ABILITIES", } HudPart_value = map[string]int32{ "HUD_PART_UNKNOWN": 0, "HUD_PART_LEVEL_UP": 1, "HUD_PART_OWN_HEALTH": 2, "HUD_PART_TOP_BAR": 3, "HUD_PART_AMMO": 4, "HUD_PART_SOULS": 5, "HUD_PART_MINIMAP": 6, "HUD_PART_ABILITIES": 7, } )
Enum value maps for HudPart.
var ( Kind_name = map[int32]string{ 0: "KIND_PANEL", 1: "KIND_LABEL", 2: "KIND_IMAGE", 3: "KIND_BUTTON", 4: "KIND_LAYOUT", 5: "KIND_ROUTE", 6: "KIND_HERO_IMAGE", 7: "KIND_INPUT", 8: "KIND_AVATAR", } Kind_value = map[string]int32{ "KIND_PANEL": 0, "KIND_LABEL": 1, "KIND_IMAGE": 2, "KIND_BUTTON": 3, "KIND_LAYOUT": 4, "KIND_ROUTE": 5, "KIND_HERO_IMAGE": 6, "KIND_INPUT": 7, "KIND_AVATAR": 8, } )
Enum value maps for Kind.
var ( Overflow_name = map[int32]string{ 0: "OVERFLOW_DEFAULT", 1: "OVERFLOW_SQUISH", 2: "OVERFLOW_CLIP", 3: "OVERFLOW_SCROLL", 4: "OVERFLOW_SHOW", } Overflow_value = map[string]int32{ "OVERFLOW_DEFAULT": 0, "OVERFLOW_SQUISH": 1, "OVERFLOW_CLIP": 2, "OVERFLOW_SCROLL": 3, "OVERFLOW_SHOW": 4, } )
Enum value maps for Overflow.
var ( GradientShape_name = map[int32]string{ 0: "GRADIENT_SHAPE_DOWN", 1: "GRADIENT_SHAPE_RIGHT", 2: "GRADIENT_SHAPE_UP", 3: "GRADIENT_SHAPE_LEFT", 4: "GRADIENT_SHAPE_RADIAL", } GradientShape_value = map[string]int32{ "GRADIENT_SHAPE_DOWN": 0, "GRADIENT_SHAPE_RIGHT": 1, "GRADIENT_SHAPE_UP": 2, "GRADIENT_SHAPE_LEFT": 3, "GRADIENT_SHAPE_RADIAL": 4, } )
Enum value maps for GradientShape.
var ( Weight_name = map[int32]string{ 0: "WEIGHT_DEFAULT", 1: "WEIGHT_THIN", 2: "WEIGHT_LIGHT", 3: "WEIGHT_NORMAL", 4: "WEIGHT_MEDIUM", 5: "WEIGHT_SEMI_BOLD", 6: "WEIGHT_BOLD", 7: "WEIGHT_BLACK", } Weight_value = map[string]int32{ "WEIGHT_DEFAULT": 0, "WEIGHT_THIN": 1, "WEIGHT_LIGHT": 2, "WEIGHT_NORMAL": 3, "WEIGHT_MEDIUM": 4, "WEIGHT_SEMI_BOLD": 5, "WEIGHT_BOLD": 6, "WEIGHT_BLACK": 7, } )
Enum value maps for Weight.
var ( TextOverflow_name = map[int32]string{ 0: "TEXT_OVERFLOW_DEFAULT", 1: "TEXT_OVERFLOW_ELLIPSIS", 2: "TEXT_OVERFLOW_SHRINK", 3: "TEXT_OVERFLOW_CLIP", } TextOverflow_value = map[string]int32{ "TEXT_OVERFLOW_DEFAULT": 0, "TEXT_OVERFLOW_ELLIPSIS": 1, "TEXT_OVERFLOW_SHRINK": 2, "TEXT_OVERFLOW_CLIP": 3, } )
Enum value maps for TextOverflow.
var ( Decoration_name = map[int32]string{ 0: "DECORATION_NONE", 1: "DECORATION_UNDERLINE", 2: "DECORATION_STRIKE", } Decoration_value = map[string]int32{ "DECORATION_NONE": 0, "DECORATION_UNDERLINE": 1, "DECORATION_STRIKE": 2, } )
Enum value maps for Decoration.
var ( Easing_name = map[int32]string{ 0: "EASING_EASE_OUT", 1: "EASING_EASE_IN", 2: "EASING_EASE_IN_OUT", 3: "EASING_LINEAR", } Easing_value = map[string]int32{ "EASING_EASE_OUT": 0, "EASING_EASE_IN": 1, "EASING_EASE_IN_OUT": 2, "EASING_LINEAR": 3, } )
Enum value maps for Easing.
var ( Face_name = map[int32]string{ 0: "FACE_DEFAULT", 1: "FACE_BODY", 2: "FACE_BLOCK", 3: "FACE_SERIF", } Face_value = map[string]int32{ "FACE_DEFAULT": 0, "FACE_BODY": 1, "FACE_BLOCK": 2, "FACE_SERIF": 3, } )
Enum value maps for Face.
var ( Flow_name = map[int32]string{ 0: "FLOW_NONE", 1: "FLOW_DOWN", 2: "FLOW_RIGHT", 3: "FLOW_DOWN_WRAP", 4: "FLOW_RIGHT_WRAP", } Flow_value = map[string]int32{ "FLOW_NONE": 0, "FLOW_DOWN": 1, "FLOW_RIGHT": 2, "FLOW_DOWN_WRAP": 3, "FLOW_RIGHT_WRAP": 4, } )
Enum value maps for Flow.
var ( Align_name = map[int32]string{ 0: "ALIGN_START", 1: "ALIGN_CENTER", 2: "ALIGN_END", } Align_value = map[string]int32{ "ALIGN_START": 0, "ALIGN_CENTER": 1, "ALIGN_END": 2, } )
Enum value maps for Align.
Functions ¶
This section is empty.
Types ¶
type Align ¶
type Align int32
Align places a node or text along one axis.
func (Align) MarshalJSON ¶
MarshalJSON marshals the Align to JSON.
func (Align) MarshalProtoJSON ¶
func (x Align) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Align to JSON.
func (Align) MarshalProtoText ¶
func (Align) MarshalText ¶
MarshalText marshals the Align to text.
func (*Align) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Align from JSON.
func (*Align) UnmarshalProtoJSON ¶
func (x *Align) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Align from JSON.
func (*Align) UnmarshalText ¶
UnmarshalText unmarshals the Align from text.
type Change ¶
type Change struct {
// Reset clears the tree before the rest of the change applies.
Reset_ bool `protobuf:"varint,1,opt,name=reset,proto3" json:"reset,omitempty"`
// Set holds the new or changed nodes.
Set []*Node `protobuf:"bytes,2,rep,name=set,proto3" json:"set,omitempty"`
// Removed holds the ids of the nodes to drop.
Removed []string `protobuf:"bytes,3,rep,name=removed,proto3" json:"removed,omitempty"`
// contains filtered or unexported fields
}
Change updates one player's tree. Reset clears the tree first; then each node in set replaces the node with its id, and each id in removed drops that node.
func (*Change) CloneMessageVT ¶
func (m *Change) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Change) EqualMessageVT ¶
func (*Change) GetRemoved ¶
func (*Change) MarshalJSON ¶
MarshalJSON marshals the Change to JSON.
func (*Change) MarshalProtoJSON ¶
func (x *Change) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Change message to JSON.
func (*Change) MarshalProtoText ¶
func (*Change) MarshalToSizedBufferVT ¶
func (*Change) ProtoMessage ¶
func (*Change) ProtoMessage()
func (*Change) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Change from JSON.
func (*Change) UnmarshalProtoJSON ¶
func (x *Change) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Change message from JSON.
func (*Change) UnmarshalVT ¶
type Cycle ¶ added in v0.1.42
type Cycle struct {
// Style is the style laid over the node's own at the far end of the cycle.
Style *Style `protobuf:"bytes,1,opt,name=style,proto3" json:"style,omitempty"`
// Seconds is how long each way takes.
Seconds float32 `protobuf:"fixed32,2,opt,name=seconds,proto3" json:"seconds,omitempty"`
// Count is how many times the node goes there and back; zero repeats while
// it shows.
Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
// contains filtered or unexported fields
}
Cycle alternates a node between its style and another, easing each way.
func (*Cycle) CloneMessageVT ¶ added in v0.1.42
func (m *Cycle) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Cycle) EqualMessageVT ¶ added in v0.1.42
func (*Cycle) GetSeconds ¶ added in v0.1.42
func (*Cycle) MarshalJSON ¶ added in v0.1.42
MarshalJSON marshals the Cycle to JSON.
func (*Cycle) MarshalProtoJSON ¶ added in v0.1.42
func (x *Cycle) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Cycle message to JSON.
func (*Cycle) MarshalProtoText ¶ added in v0.1.42
func (*Cycle) MarshalToSizedBufferVT ¶ added in v0.1.42
func (*Cycle) ProtoMessage ¶ added in v0.1.42
func (*Cycle) ProtoMessage()
func (*Cycle) UnmarshalJSON ¶ added in v0.1.42
UnmarshalJSON unmarshals the Cycle from JSON.
func (*Cycle) UnmarshalProtoJSON ¶ added in v0.1.42
func (x *Cycle) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Cycle message from JSON.
func (*Cycle) UnmarshalVT ¶ added in v0.1.42
type Decoration ¶ added in v0.1.42
type Decoration int32
Decoration draws a line under or through text.
const ( // DECORATION_NONE draws no line. Decoration_DECORATION_NONE Decoration = 0 // DECORATION_UNDERLINE draws a line under the text. Decoration_DECORATION_UNDERLINE Decoration = 1 // DECORATION_STRIKE draws a line through the text. Decoration_DECORATION_STRIKE Decoration = 2 )
func (Decoration) Enum ¶ added in v0.1.42
func (x Decoration) Enum() *Decoration
func (Decoration) MarshalJSON ¶ added in v0.1.42
func (x Decoration) MarshalJSON() ([]byte, error)
MarshalJSON marshals the Decoration to JSON.
func (Decoration) MarshalProtoJSON ¶ added in v0.1.42
func (x Decoration) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Decoration to JSON.
func (Decoration) MarshalProtoText ¶ added in v0.1.42
func (x Decoration) MarshalProtoText() string
func (Decoration) MarshalText ¶ added in v0.1.42
func (x Decoration) MarshalText() ([]byte, error)
MarshalText marshals the Decoration to text.
func (Decoration) String ¶ added in v0.1.42
func (x Decoration) String() string
func (*Decoration) UnmarshalJSON ¶ added in v0.1.42
func (x *Decoration) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the Decoration from JSON.
func (*Decoration) UnmarshalProtoJSON ¶ added in v0.1.42
func (x *Decoration) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Decoration from JSON.
func (*Decoration) UnmarshalText ¶ added in v0.1.42
func (x *Decoration) UnmarshalText(b []byte) error
UnmarshalText unmarshals the Decoration from text.
type Dropdown ¶ added in v0.1.42
type Dropdown struct {
// Options are the choices, as the player reads them.
Options []string `protobuf:"bytes,1,rep,name=options,proto3" json:"options,omitempty"`
// Selected is the index of the chosen option.
Selected uint32 `protobuf:"varint,2,opt,name=selected,proto3" json:"selected,omitempty"`
// contains filtered or unexported fields
}
Dropdown lets the player pick one of a list of options.
func (*Dropdown) CloneMessageVT ¶ added in v0.1.42
func (m *Dropdown) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Dropdown) EqualMessageVT ¶ added in v0.1.42
func (*Dropdown) GetOptions ¶ added in v0.1.42
func (*Dropdown) GetSelected ¶ added in v0.1.42
func (*Dropdown) MarshalJSON ¶ added in v0.1.42
MarshalJSON marshals the Dropdown to JSON.
func (*Dropdown) MarshalProtoJSON ¶ added in v0.1.42
func (x *Dropdown) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Dropdown message to JSON.
func (*Dropdown) MarshalProtoText ¶ added in v0.1.42
func (*Dropdown) MarshalToSizedBufferVT ¶ added in v0.1.42
func (*Dropdown) MarshalToVT ¶ added in v0.1.42
func (*Dropdown) ProtoMessage ¶ added in v0.1.42
func (*Dropdown) ProtoMessage()
func (*Dropdown) UnmarshalJSON ¶ added in v0.1.42
UnmarshalJSON unmarshals the Dropdown from JSON.
func (*Dropdown) UnmarshalProtoJSON ¶ added in v0.1.42
func (x *Dropdown) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Dropdown message from JSON.
func (*Dropdown) UnmarshalVT ¶ added in v0.1.42
type Easing ¶ added in v0.1.42
type Easing int32
Easing shapes an animation's speed over its time.
const ( // EASING_EASE_OUT starts fast and settles. Easing_EASING_EASE_OUT Easing = 0 // EASING_EASE_IN starts slow and speeds up. Easing_EASING_EASE_IN Easing = 1 // EASING_EASE_IN_OUT starts and ends slow. Easing_EASING_EASE_IN_OUT Easing = 2 // EASING_LINEAR keeps one speed. Easing_EASING_LINEAR Easing = 3 )
func (Easing) MarshalJSON ¶ added in v0.1.42
MarshalJSON marshals the Easing to JSON.
func (Easing) MarshalProtoJSON ¶ added in v0.1.42
func (x Easing) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Easing to JSON.
func (Easing) MarshalProtoText ¶ added in v0.1.42
func (Easing) MarshalText ¶ added in v0.1.42
MarshalText marshals the Easing to text.
func (*Easing) UnmarshalJSON ¶ added in v0.1.42
UnmarshalJSON unmarshals the Easing from JSON.
func (*Easing) UnmarshalProtoJSON ¶ added in v0.1.42
func (x *Easing) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Easing from JSON.
func (*Easing) UnmarshalText ¶ added in v0.1.42
UnmarshalText unmarshals the Easing from text.
type Edges ¶
type Edges struct {
// Top is the distance on the top side.
Top float32 `protobuf:"fixed32,1,opt,name=top,proto3" json:"top,omitempty"`
// Right is the distance on the right side.
Right float32 `protobuf:"fixed32,2,opt,name=right,proto3" json:"right,omitempty"`
// Bottom is the distance on the bottom side.
Bottom float32 `protobuf:"fixed32,3,opt,name=bottom,proto3" json:"bottom,omitempty"`
// Left is the distance on the left side.
Left float32 `protobuf:"fixed32,4,opt,name=left,proto3" json:"left,omitempty"`
// contains filtered or unexported fields
}
Edges are pixel distances on each side.
func (*Edges) CloneMessageVT ¶
func (m *Edges) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Edges) EqualMessageVT ¶
func (*Edges) MarshalJSON ¶
MarshalJSON marshals the Edges to JSON.
func (*Edges) MarshalProtoJSON ¶
func (x *Edges) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Edges message to JSON.
func (*Edges) MarshalProtoText ¶
func (*Edges) MarshalToSizedBufferVT ¶
func (*Edges) ProtoMessage ¶
func (*Edges) ProtoMessage()
func (*Edges) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Edges from JSON.
func (*Edges) UnmarshalProtoJSON ¶
func (x *Edges) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Edges message from JSON.
func (*Edges) UnmarshalVT ¶
type Face ¶
type Face int32
Face is one of the game's typefaces.
const ( // FACE_DEFAULT keeps the panel's typeface. Face_FACE_DEFAULT Face = 0 // FACE_BODY is the game's text face, Retail Demo. Face_FACE_BODY Face = 1 // FACE_BLOCK is the game's heading face, VALVEPulp, which draws the match // clock and round titles. Face_FACE_BLOCK Face = 2 // FACE_SERIF is the game's menu face, Reaver. Face_FACE_SERIF Face = 3 )
func (Face) MarshalJSON ¶
MarshalJSON marshals the Face to JSON.
func (Face) MarshalProtoJSON ¶
func (x Face) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Face to JSON.
func (Face) MarshalProtoText ¶
func (Face) MarshalText ¶
MarshalText marshals the Face to text.
func (*Face) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Face from JSON.
func (*Face) UnmarshalProtoJSON ¶
func (x *Face) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Face from JSON.
func (*Face) UnmarshalText ¶
UnmarshalText unmarshals the Face from text.
type Flow ¶
type Flow int32
Flow arranges a node's children.
const ( // FLOW_NONE stacks children on top of each other. Flow_FLOW_NONE Flow = 0 // FLOW_DOWN places children in a column. Flow_FLOW_DOWN Flow = 1 // FLOW_RIGHT places children in a row. Flow_FLOW_RIGHT Flow = 2 // FLOW_DOWN_WRAP places children in columns, starting a new column where // one is full. Flow_FLOW_DOWN_WRAP Flow = 3 // FLOW_RIGHT_WRAP places children in rows, starting a new row where one is // full. Flow_FLOW_RIGHT_WRAP Flow = 4 )
func (Flow) MarshalJSON ¶
MarshalJSON marshals the Flow to JSON.
func (Flow) MarshalProtoJSON ¶
func (x Flow) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Flow to JSON.
func (Flow) MarshalProtoText ¶
func (Flow) MarshalText ¶
MarshalText marshals the Flow to text.
func (*Flow) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Flow from JSON.
func (*Flow) UnmarshalProtoJSON ¶
func (x *Flow) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Flow from JSON.
func (*Flow) UnmarshalText ¶
UnmarshalText unmarshals the Flow from text.
type Gradient ¶ added in v0.1.42
type Gradient struct {
// Shape is the direction or shape the colors run in.
Shape GradientShape `protobuf:"varint,1,opt,name=shape,proto3" json:"shape,omitempty"`
// Stops are the colors and where each sits, in order.
Stops []*GradientStop `protobuf:"bytes,2,rep,name=stops,proto3" json:"stops,omitempty"`
// contains filtered or unexported fields
}
Gradient blends colors across a node.
func (*Gradient) CloneMessageVT ¶ added in v0.1.42
func (m *Gradient) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Gradient) EqualMessageVT ¶ added in v0.1.42
func (*Gradient) GetShape ¶ added in v0.1.42
func (x *Gradient) GetShape() GradientShape
func (*Gradient) GetStops ¶ added in v0.1.42
func (x *Gradient) GetStops() []*GradientStop
func (*Gradient) MarshalJSON ¶ added in v0.1.42
MarshalJSON marshals the Gradient to JSON.
func (*Gradient) MarshalProtoJSON ¶ added in v0.1.42
func (x *Gradient) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Gradient message to JSON.
func (*Gradient) MarshalProtoText ¶ added in v0.1.42
func (*Gradient) MarshalToSizedBufferVT ¶ added in v0.1.42
func (*Gradient) MarshalToVT ¶ added in v0.1.42
func (*Gradient) ProtoMessage ¶ added in v0.1.42
func (*Gradient) ProtoMessage()
func (*Gradient) UnmarshalJSON ¶ added in v0.1.42
UnmarshalJSON unmarshals the Gradient from JSON.
func (*Gradient) UnmarshalProtoJSON ¶ added in v0.1.42
func (x *Gradient) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Gradient message from JSON.
func (*Gradient) UnmarshalVT ¶ added in v0.1.42
type GradientShape ¶ added in v0.1.42
type GradientShape int32
GradientShape is the direction or shape a gradient's colors run in.
const ( // GRADIENT_SHAPE_DOWN runs from the top to the bottom. GradientShape_GRADIENT_SHAPE_DOWN GradientShape = 0 // GRADIENT_SHAPE_RIGHT runs from the left to the right. GradientShape_GRADIENT_SHAPE_RIGHT GradientShape = 1 // GRADIENT_SHAPE_UP runs from the bottom to the top. GradientShape_GRADIENT_SHAPE_UP GradientShape = 2 // GRADIENT_SHAPE_LEFT runs from the right to the left. GradientShape_GRADIENT_SHAPE_LEFT GradientShape = 3 // GRADIENT_SHAPE_RADIAL runs from the center out to the edges. GradientShape_GRADIENT_SHAPE_RADIAL GradientShape = 4 )
func (GradientShape) Enum ¶ added in v0.1.42
func (x GradientShape) Enum() *GradientShape
func (GradientShape) MarshalJSON ¶ added in v0.1.42
func (x GradientShape) MarshalJSON() ([]byte, error)
MarshalJSON marshals the GradientShape to JSON.
func (GradientShape) MarshalProtoJSON ¶ added in v0.1.42
func (x GradientShape) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the GradientShape to JSON.
func (GradientShape) MarshalProtoText ¶ added in v0.1.42
func (x GradientShape) MarshalProtoText() string
func (GradientShape) MarshalText ¶ added in v0.1.42
func (x GradientShape) MarshalText() ([]byte, error)
MarshalText marshals the GradientShape to text.
func (GradientShape) String ¶ added in v0.1.42
func (x GradientShape) String() string
func (*GradientShape) UnmarshalJSON ¶ added in v0.1.42
func (x *GradientShape) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the GradientShape from JSON.
func (*GradientShape) UnmarshalProtoJSON ¶ added in v0.1.42
func (x *GradientShape) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the GradientShape from JSON.
func (*GradientShape) UnmarshalText ¶ added in v0.1.42
func (x *GradientShape) UnmarshalText(b []byte) error
UnmarshalText unmarshals the GradientShape from text.
type GradientStop ¶ added in v0.1.42
type GradientStop struct {
// At is where the color sits along the gradient, from 0 to 1.
At float32 `protobuf:"fixed32,1,opt,name=at,proto3" json:"at,omitempty"`
// Color is the color as 0xRRGGBBAA.
Color uint32 `protobuf:"fixed32,2,opt,name=color,proto3" json:"color,omitempty"`
// contains filtered or unexported fields
}
GradientStop is one color of a gradient.
func (*GradientStop) CloneMessageVT ¶ added in v0.1.42
func (m *GradientStop) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*GradientStop) CloneVT ¶ added in v0.1.42
func (m *GradientStop) CloneVT() *GradientStop
func (*GradientStop) EqualMessageVT ¶ added in v0.1.42
func (this *GradientStop) EqualMessageVT(thatMsg any) bool
func (*GradientStop) EqualVT ¶ added in v0.1.42
func (this *GradientStop) EqualVT(that *GradientStop) bool
func (*GradientStop) GetAt ¶ added in v0.1.42
func (x *GradientStop) GetAt() float32
func (*GradientStop) GetColor ¶ added in v0.1.42
func (x *GradientStop) GetColor() uint32
func (*GradientStop) MarshalJSON ¶ added in v0.1.42
func (x *GradientStop) MarshalJSON() ([]byte, error)
MarshalJSON marshals the GradientStop to JSON.
func (*GradientStop) MarshalProtoJSON ¶ added in v0.1.42
func (x *GradientStop) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the GradientStop message to JSON.
func (*GradientStop) MarshalProtoText ¶ added in v0.1.42
func (x *GradientStop) MarshalProtoText() string
func (*GradientStop) MarshalToSizedBufferVT ¶ added in v0.1.42
func (m *GradientStop) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GradientStop) MarshalToVT ¶ added in v0.1.42
func (m *GradientStop) MarshalToVT(dAtA []byte) (int, error)
func (*GradientStop) MarshalVT ¶ added in v0.1.42
func (m *GradientStop) MarshalVT() (dAtA []byte, err error)
func (*GradientStop) ProtoMessage ¶ added in v0.1.42
func (*GradientStop) ProtoMessage()
func (*GradientStop) Reset ¶ added in v0.1.42
func (x *GradientStop) Reset()
func (*GradientStop) SizeVT ¶ added in v0.1.42
func (m *GradientStop) SizeVT() (n int)
func (*GradientStop) String ¶ added in v0.1.42
func (x *GradientStop) String() string
func (*GradientStop) UnmarshalJSON ¶ added in v0.1.42
func (x *GradientStop) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the GradientStop from JSON.
func (*GradientStop) UnmarshalProtoJSON ¶ added in v0.1.42
func (x *GradientStop) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the GradientStop message from JSON.
func (*GradientStop) UnmarshalVT ¶ added in v0.1.42
func (m *GradientStop) UnmarshalVT(dAtA []byte) error
type HeroLook ¶ added in v0.1.42
type HeroLook int32
HeroLook is one of the game's pictures of a hero.
const ( // HERO_LOOK_SMALL is the square portrait of the kill feed and scoreboard. HeroLook_HERO_LOOK_SMALL HeroLook = 0 // HERO_LOOK_CARD is the tall card the hero picker shows. HeroLook_HERO_LOOK_CARD HeroLook = 1 // HERO_LOOK_ICON is the hero's round icon. HeroLook_HERO_LOOK_ICON HeroLook = 2 // HERO_LOOK_VERTICAL is the narrow portrait of the hero grid. HeroLook_HERO_LOOK_VERTICAL HeroLook = 3 // HERO_LOOK_TOP_BAR is the portrait in the bar across the top of the HUD. HeroLook_HERO_LOOK_TOP_BAR HeroLook = 4 // HERO_LOOK_MINIMAP is the hero's minimap icon. HeroLook_HERO_LOOK_MINIMAP HeroLook = 5 )
func (HeroLook) MarshalJSON ¶ added in v0.1.42
MarshalJSON marshals the HeroLook to JSON.
func (HeroLook) MarshalProtoJSON ¶ added in v0.1.42
func (x HeroLook) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the HeroLook to JSON.
func (HeroLook) MarshalProtoText ¶ added in v0.1.42
func (HeroLook) MarshalText ¶ added in v0.1.42
MarshalText marshals the HeroLook to text.
func (*HeroLook) UnmarshalJSON ¶ added in v0.1.42
UnmarshalJSON unmarshals the HeroLook from JSON.
func (*HeroLook) UnmarshalProtoJSON ¶ added in v0.1.42
func (x *HeroLook) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the HeroLook from JSON.
func (*HeroLook) UnmarshalText ¶ added in v0.1.42
UnmarshalText unmarshals the HeroLook from text.
type HudPart ¶ added in v0.1.13
type HudPart int32
HudPart is a part of the game's own HUD a mod may hide from a player.
const ( // HUD_PART_UNKNOWN names no part. HudPart_HUD_PART_UNKNOWN HudPart = 0 // HUD_PART_LEVEL_UP is the notice the game shows for each boon, ability // point and power increase. HudPart_HUD_PART_LEVEL_UP HudPart = 1 // HUD_PART_OWN_HEALTH is the player's own health bar, with its shields and // regeneration, beside their abilities. The abilities, held items, status // icons and crosshair stay. HudPart_HUD_PART_OWN_HEALTH HudPart = 2 // HUD_PART_TOP_BAR is the bar across the top of the screen: the team // scores, the hero portraits and the match clock. Chat stays. HudPart_HUD_PART_TOP_BAR HudPart = 3 // HUD_PART_AMMO is the player's ammo: the clip ring and count around the // crosshair and the low and out of ammo warnings. The crosshair stays. HudPart_HUD_PART_AMMO HudPart = 4 // HUD_PART_SOULS is the player's souls and level readout beside their // health. The abilities, items and health bar stay. HudPart_HUD_PART_SOULS HudPart = 5 // HUD_PART_MINIMAP is the minimap with its hints and district name. HudPart_HUD_PART_MINIMAP HudPart = 6 // HUD_PART_ABILITIES is the bar of the player's abilities and active items. // The health bar, souls, held items and crosshair stay. HudPart_HUD_PART_ABILITIES HudPart = 7 )
func (HudPart) MarshalJSON ¶ added in v0.1.13
MarshalJSON marshals the HudPart to JSON.
func (HudPart) MarshalProtoJSON ¶ added in v0.1.13
func (x HudPart) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the HudPart to JSON.
func (HudPart) MarshalProtoText ¶ added in v0.1.13
func (HudPart) MarshalText ¶ added in v0.1.13
MarshalText marshals the HudPart to text.
func (*HudPart) UnmarshalJSON ¶ added in v0.1.13
UnmarshalJSON unmarshals the HudPart from JSON.
func (*HudPart) UnmarshalProtoJSON ¶ added in v0.1.13
func (x *HudPart) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the HudPart from JSON.
func (*HudPart) UnmarshalText ¶ added in v0.1.13
UnmarshalText unmarshals the HudPart from text.
type Kind ¶
type Kind int32
Kind selects the panel a node draws.
const ( // KIND_PANEL groups and lays out its children. Kind_KIND_PANEL Kind = 0 // KIND_LABEL shows text. Kind_KIND_LABEL Kind = 1 // KIND_IMAGE shows an image. Kind_KIND_IMAGE Kind = 2 // KIND_BUTTON holds its children and reports each press to the mod. A // button takes clicks only while the player has a cursor. Kind_KIND_BUTTON Kind = 3 // KIND_LAYOUT loads the node's layout from the mod's content addon, whose // script runs in the player's game and talks to the mod through its own // console commands. Only a host that has reviewed the mod's content loads // it; Modlock's renderer draws an empty panel. Kind_KIND_LAYOUT Kind = 4 // KIND_ROUTE draws nothing: it hands its data to every layout of the mod // under its route's name. No parent lists it. Kind_KIND_ROUTE Kind = 5 // KIND_HERO_IMAGE shows one of the game's pictures of the node's hero. Kind_KIND_HERO_IMAGE Kind = 6 // KIND_INPUT takes a value from the player in the control its input names. // An input takes clicks only while the player has a cursor. Kind_KIND_INPUT Kind = 7 // KIND_AVATAR shows the Steam picture of the player its steam_id names. Kind_KIND_AVATAR Kind = 8 )
func (Kind) MarshalJSON ¶
MarshalJSON marshals the Kind to JSON.
func (Kind) MarshalProtoJSON ¶
func (x Kind) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Kind to JSON.
func (Kind) MarshalProtoText ¶
func (Kind) MarshalText ¶
MarshalText marshals the Kind to text.
func (*Kind) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Kind from JSON.
func (*Kind) UnmarshalProtoJSON ¶
func (x *Kind) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Kind from JSON.
func (*Kind) UnmarshalText ¶
UnmarshalText unmarshals the Kind from text.
type Length ¶
type Length struct {
// Value selects the unit.
//
// Types that are assignable to Value:
// *Length_Pixels
// *Length_Percent
// *Length_FitChildren
// *Length_Fill
Value isLength_Value `protobuf_oneof:"value"`
// contains filtered or unexported fields
}
Length is a size along one axis.
func (*Length) CloneMessageVT ¶
func (m *Length) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Length) EqualMessageVT ¶
func (*Length) GetFitChildren ¶
func (*Length) GetPercent ¶
func (*Length) MarshalJSON ¶
MarshalJSON marshals the Length to JSON.
func (*Length) MarshalProtoJSON ¶
func (x *Length) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Length message to JSON.
func (*Length) MarshalProtoText ¶
func (*Length) MarshalToSizedBufferVT ¶
func (*Length) ProtoMessage ¶
func (*Length) ProtoMessage()
func (*Length) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Length from JSON.
func (*Length) UnmarshalProtoJSON ¶
func (x *Length) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Length message from JSON.
func (*Length) UnmarshalVT ¶
type Length_Fill ¶
type Length_Fill struct {
// Fill shares the space left in the parent's flow by this weight.
Fill float32 `protobuf:"fixed32,4,opt,name=fill,proto3,oneof"`
}
func (*Length_Fill) CloneOneofVT ¶
func (m *Length_Fill) CloneOneofVT() isLength_Value
func (*Length_Fill) CloneVT ¶
func (m *Length_Fill) CloneVT() *Length_Fill
func (*Length_Fill) EqualVT ¶
func (this *Length_Fill) EqualVT(thatIface isLength_Value) bool
func (*Length_Fill) MarshalToSizedBufferVT ¶
func (m *Length_Fill) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Length_Fill) MarshalToVT ¶
func (m *Length_Fill) MarshalToVT(dAtA []byte) (int, error)
func (*Length_Fill) SizeVT ¶
func (m *Length_Fill) SizeVT() (n int)
type Length_FitChildren ¶
type Length_FitChildren struct {
// FitChildren sizes the node to its children.
FitChildren bool `protobuf:"varint,3,opt,name=fit_children,json=fitChildren,proto3,oneof"`
}
func (*Length_FitChildren) CloneOneofVT ¶
func (m *Length_FitChildren) CloneOneofVT() isLength_Value
func (*Length_FitChildren) CloneVT ¶
func (m *Length_FitChildren) CloneVT() *Length_FitChildren
func (*Length_FitChildren) EqualVT ¶
func (this *Length_FitChildren) EqualVT(thatIface isLength_Value) bool
func (*Length_FitChildren) MarshalToSizedBufferVT ¶
func (m *Length_FitChildren) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Length_FitChildren) MarshalToVT ¶
func (m *Length_FitChildren) MarshalToVT(dAtA []byte) (int, error)
func (*Length_FitChildren) SizeVT ¶
func (m *Length_FitChildren) SizeVT() (n int)
type Length_Percent ¶
type Length_Percent struct {
// Percent is a share of the parent's size, from 0 to 100.
Percent float32 `protobuf:"fixed32,2,opt,name=percent,proto3,oneof"`
}
func (*Length_Percent) CloneOneofVT ¶
func (m *Length_Percent) CloneOneofVT() isLength_Value
func (*Length_Percent) CloneVT ¶
func (m *Length_Percent) CloneVT() *Length_Percent
func (*Length_Percent) EqualVT ¶
func (this *Length_Percent) EqualVT(thatIface isLength_Value) bool
func (*Length_Percent) MarshalToSizedBufferVT ¶
func (m *Length_Percent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Length_Percent) MarshalToVT ¶
func (m *Length_Percent) MarshalToVT(dAtA []byte) (int, error)
func (*Length_Percent) SizeVT ¶
func (m *Length_Percent) SizeVT() (n int)
type Length_Pixels ¶
type Length_Pixels struct {
// Pixels is a fixed size.
Pixels float32 `protobuf:"fixed32,1,opt,name=pixels,proto3,oneof"`
}
func (*Length_Pixels) CloneOneofVT ¶
func (m *Length_Pixels) CloneOneofVT() isLength_Value
func (*Length_Pixels) CloneVT ¶
func (m *Length_Pixels) CloneVT() *Length_Pixels
func (*Length_Pixels) EqualVT ¶
func (this *Length_Pixels) EqualVT(thatIface isLength_Value) bool
func (*Length_Pixels) MarshalToSizedBufferVT ¶
func (m *Length_Pixels) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Length_Pixels) MarshalToVT ¶
func (m *Length_Pixels) MarshalToVT(dAtA []byte) (int, error)
func (*Length_Pixels) SizeVT ¶
func (m *Length_Pixels) SizeVT() (n int)
type Node ¶
type Node struct {
// Id names the node within its tree.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Kind selects the panel the node draws.
Kind Kind `protobuf:"varint,2,opt,name=kind,proto3" json:"kind,omitempty"`
// Children lists the ids of the node's children in drawing order. A node
// that no parent lists is not drawn.
Children []string `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"`
// Text is a label's words.
Text string `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"`
// Image is an image's path in the game's content, such as
// "file://{images}/heroes/wraith_card.psd".
Image string `protobuf:"bytes,5,opt,name=image,proto3" json:"image,omitempty"`
// Style lays out and paints the node.
Style *Style `protobuf:"bytes,6,opt,name=style,proto3" json:"style,omitempty"`
// Layout is a layout's path within the mod's content addon, such as
// "inventory.xml": one or more segments of letters, digits, '_', '-' and
// '.', none of them "..", ending in ".xml".
Layout string `protobuf:"bytes,7,opt,name=layout,proto3" json:"layout,omitempty"`
// Data is the JSON value a layout's script reads, or a route's value. The
// renderer sets a layout's data as the modlock_data attribute of its panel
// before loading the layout, and each route as the attribute
// modlock_route_<route> of every layout of the mod. After a draw that
// changes any of them it plays the sound event "modlock_data_changed",
// which no sound has, so a script that registers for the unhandled
// PlaySoundEffect event hears it and reads its attributes again. The
// Panorama library scripts/modlock/layout.js does both for a layout.
Data string `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"`
// HideHud lists the parts of the game's own HUD the renderer hides while
// the root holds them; only the root's list counts. A part shows again once
// no mod's root lists it, so a mod that stops, a reset and a player who
// leaves all bring it back.
HideHud []HudPart `protobuf:"varint,9,rep,packed,name=hide_hud,json=hideHud,proto3" json:"hideHud,omitempty"`
// Route names a route node's data route: one or more letters, digits, '_',
// '-' and '.'.
Route string `protobuf:"bytes,10,opt,name=route,proto3" json:"route,omitempty"`
// Hover is the style drawn over the node's style while the pointer is over
// it. Each property it sets returns to the node's own value, or to the
// property's resting value, when the pointer leaves. A node with a hover
// style takes the pointer, so the game behind it does not.
Hover *Style `protobuf:"bytes,11,opt,name=hover,proto3" json:"hover,omitempty"`
// Tooltip is the text the game's tooltip shows while the pointer is over the
// node. A node with a tooltip takes the pointer.
Tooltip string `protobuf:"bytes,12,opt,name=tooltip,proto3" json:"tooltip,omitempty"`
// Sound is the game's sound event a button plays when pressed, such as
// "UI.MainMenu.Activate": one or more letters, digits, '_', '-' and '.'.
Sound string `protobuf:"bytes,13,opt,name=sound,proto3" json:"sound,omitempty"`
// HoverSound is the game's sound event played as the pointer enters the
// node, named as sound is.
HoverSound string `protobuf:"bytes,14,opt,name=hover_sound,json=hoverSound,proto3" json:"hoverSound,omitempty"`
// Disabled keeps a button from taking presses; its style shows why.
Disabled bool `protobuf:"varint,15,opt,name=disabled,proto3" json:"disabled,omitempty"`
// Scaling fits an image or a hero's portrait into the node's box.
Scaling Scaling `protobuf:"varint,16,opt,name=scaling,proto3" json:"scaling,omitempty"`
// Hero is a hero image's hero, by the game's hero id.
Hero int32 `protobuf:"varint,17,opt,name=hero,proto3" json:"hero,omitempty"`
// HeroLook picks which of the game's pictures of the hero a hero image
// draws.
HeroLook HeroLook `protobuf:"varint,18,opt,name=hero_look,json=heroLook,proto3" json:"heroLook,omitempty"`
// Input is the control an input node draws and the value it holds. Each
// change the player makes reaches the mod as a UiInputEvent, which the host
// checks against the control: a slider's range and step, a dropdown's
// options, an entry's length. The renderer keeps the player's own edit
// until a draw changes the value the node holds, so the mod's value is the
// truth and a redraw for another reason does not undo a change in flight.
//
// Types that are assignable to Input:
// *Node_TextEntry
// *Node_Slider
// *Node_Toggle
// *Node_Dropdown
Input isNode_Input `protobuf_oneof:"input"`
// Token draws a label in the player's language: a token of the game's
// localization, such as "#Citadel_HeroName_Haze", shown in place of text.
// It is '#' then one or more letters, digits, '_', '-' and '.'.
Token string `protobuf:"bytes,23,opt,name=token,proto3" json:"token,omitempty"`
// Variables fill the {s:name} places in a localized label's token.
Variables map[string]string `` /* 160-byte string literal not displayed */
// SteamId is an avatar's player, by Steam id.
SteamId uint64 `protobuf:"fixed64,25,opt,name=steam_id,json=steamId,proto3" json:"steamId,omitempty"`
// Enter is the style a node's new panel starts from. The node's transition
// eases it from there to the node's style, so it fades, slides or grows
// in.
Enter *Style `protobuf:"bytes,26,opt,name=enter,proto3" json:"enter,omitempty"`
// Exit is the style a node's panel eases to, over its transition, when the
// node leaves the tree; the panel goes once the transition ends.
Exit *Style `protobuf:"bytes,27,opt,name=exit,proto3" json:"exit,omitempty"`
// Cycle repeats a change to the node's style while it shows, such as a
// pulse or a blink.
Cycle *Cycle `protobuf:"bytes,28,opt,name=cycle,proto3" json:"cycle,omitempty"`
// contains filtered or unexported fields
}
Node is one panel in a tree. The root's id is empty; it is a full-screen panel that lets clicks through to the game.
func (*Node) CloneMessageVT ¶
func (m *Node) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Node) EqualMessageVT ¶
func (*Node) GetChildren ¶
func (*Node) GetDisabled ¶ added in v0.1.42
func (*Node) GetDropdown ¶ added in v0.1.42
func (*Node) GetHeroLook ¶ added in v0.1.42
func (*Node) GetHideHud ¶ added in v0.1.13
func (*Node) GetHoverSound ¶ added in v0.1.42
func (*Node) GetScaling ¶ added in v0.1.42
func (*Node) GetSteamId ¶ added in v0.1.42
func (*Node) GetTextEntry ¶ added in v0.1.42
func (*Node) GetTooltip ¶ added in v0.1.42
func (*Node) GetVariables ¶ added in v0.1.42
func (*Node) MarshalJSON ¶
MarshalJSON marshals the Node to JSON.
func (*Node) MarshalProtoJSON ¶
func (x *Node) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Node message to JSON.
func (*Node) MarshalProtoText ¶
func (*Node) MarshalToSizedBufferVT ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Node from JSON.
func (*Node) UnmarshalProtoJSON ¶
func (x *Node) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Node message from JSON.
func (*Node) UnmarshalVT ¶
type Node_Dropdown ¶ added in v0.1.42
type Node_Dropdown struct {
Dropdown *Dropdown `protobuf:"bytes,22,opt,name=dropdown,proto3,oneof"`
}
func (*Node_Dropdown) CloneOneofVT ¶ added in v0.1.42
func (m *Node_Dropdown) CloneOneofVT() isNode_Input
func (*Node_Dropdown) CloneVT ¶ added in v0.1.42
func (m *Node_Dropdown) CloneVT() *Node_Dropdown
func (*Node_Dropdown) EqualVT ¶ added in v0.1.42
func (this *Node_Dropdown) EqualVT(thatIface isNode_Input) bool
func (*Node_Dropdown) MarshalToSizedBufferVT ¶ added in v0.1.42
func (m *Node_Dropdown) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Node_Dropdown) MarshalToVT ¶ added in v0.1.42
func (m *Node_Dropdown) MarshalToVT(dAtA []byte) (int, error)
func (*Node_Dropdown) SizeVT ¶ added in v0.1.42
func (m *Node_Dropdown) SizeVT() (n int)
type Node_Slider ¶ added in v0.1.42
type Node_Slider struct {
Slider *Slider `protobuf:"bytes,20,opt,name=slider,proto3,oneof"`
}
func (*Node_Slider) CloneOneofVT ¶ added in v0.1.42
func (m *Node_Slider) CloneOneofVT() isNode_Input
func (*Node_Slider) CloneVT ¶ added in v0.1.42
func (m *Node_Slider) CloneVT() *Node_Slider
func (*Node_Slider) EqualVT ¶ added in v0.1.42
func (this *Node_Slider) EqualVT(thatIface isNode_Input) bool
func (*Node_Slider) MarshalToSizedBufferVT ¶ added in v0.1.42
func (m *Node_Slider) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Node_Slider) MarshalToVT ¶ added in v0.1.42
func (m *Node_Slider) MarshalToVT(dAtA []byte) (int, error)
func (*Node_Slider) SizeVT ¶ added in v0.1.42
func (m *Node_Slider) SizeVT() (n int)
type Node_TextEntry ¶ added in v0.1.42
type Node_TextEntry struct {
TextEntry *TextEntry `protobuf:"bytes,19,opt,name=text_entry,json=textEntry,proto3,oneof"`
}
func (*Node_TextEntry) CloneOneofVT ¶ added in v0.1.42
func (m *Node_TextEntry) CloneOneofVT() isNode_Input
func (*Node_TextEntry) CloneVT ¶ added in v0.1.42
func (m *Node_TextEntry) CloneVT() *Node_TextEntry
func (*Node_TextEntry) EqualVT ¶ added in v0.1.42
func (this *Node_TextEntry) EqualVT(thatIface isNode_Input) bool
func (*Node_TextEntry) MarshalToSizedBufferVT ¶ added in v0.1.42
func (m *Node_TextEntry) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Node_TextEntry) MarshalToVT ¶ added in v0.1.42
func (m *Node_TextEntry) MarshalToVT(dAtA []byte) (int, error)
func (*Node_TextEntry) SizeVT ¶ added in v0.1.42
func (m *Node_TextEntry) SizeVT() (n int)
type Node_Toggle ¶ added in v0.1.42
type Node_Toggle struct {
Toggle *Toggle `protobuf:"bytes,21,opt,name=toggle,proto3,oneof"`
}
func (*Node_Toggle) CloneOneofVT ¶ added in v0.1.42
func (m *Node_Toggle) CloneOneofVT() isNode_Input
func (*Node_Toggle) CloneVT ¶ added in v0.1.42
func (m *Node_Toggle) CloneVT() *Node_Toggle
func (*Node_Toggle) EqualVT ¶ added in v0.1.42
func (this *Node_Toggle) EqualVT(thatIface isNode_Input) bool
func (*Node_Toggle) MarshalToSizedBufferVT ¶ added in v0.1.42
func (m *Node_Toggle) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Node_Toggle) MarshalToVT ¶ added in v0.1.42
func (m *Node_Toggle) MarshalToVT(dAtA []byte) (int, error)
func (*Node_Toggle) SizeVT ¶ added in v0.1.42
func (m *Node_Toggle) SizeVT() (n int)
type Node_VariablesEntry ¶ added in v0.1.42
type Node_VariablesEntry struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*Node_VariablesEntry) GetKey ¶ added in v0.1.42
func (x *Node_VariablesEntry) GetKey() string
func (*Node_VariablesEntry) GetValue ¶ added in v0.1.42
func (x *Node_VariablesEntry) GetValue() string
func (*Node_VariablesEntry) MarshalJSON ¶ added in v0.1.42
func (x *Node_VariablesEntry) MarshalJSON() ([]byte, error)
MarshalJSON marshals the Node_VariablesEntry to JSON.
func (*Node_VariablesEntry) MarshalProtoJSON ¶ added in v0.1.42
func (x *Node_VariablesEntry) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Node_VariablesEntry message to JSON.
func (*Node_VariablesEntry) MarshalProtoText ¶ added in v0.1.42
func (x *Node_VariablesEntry) MarshalProtoText() string
func (*Node_VariablesEntry) ProtoMessage ¶ added in v0.1.42
func (*Node_VariablesEntry) ProtoMessage()
func (*Node_VariablesEntry) Reset ¶ added in v0.1.42
func (x *Node_VariablesEntry) Reset()
func (*Node_VariablesEntry) String ¶ added in v0.1.42
func (x *Node_VariablesEntry) String() string
func (*Node_VariablesEntry) UnmarshalJSON ¶ added in v0.1.42
func (x *Node_VariablesEntry) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the Node_VariablesEntry from JSON.
func (*Node_VariablesEntry) UnmarshalProtoJSON ¶ added in v0.1.42
func (x *Node_VariablesEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Node_VariablesEntry message from JSON.
type Overflow ¶ added in v0.1.42
type Overflow int32
Overflow decides what happens to children that do not fit a node.
const ( // OVERFLOW_DEFAULT keeps the panel's own behavior: they shrink to fit. Overflow_OVERFLOW_DEFAULT Overflow = 0 // OVERFLOW_SQUISH shrinks the children to fit. Overflow_OVERFLOW_SQUISH Overflow = 1 // OVERFLOW_CLIP cuts off what does not fit. Overflow_OVERFLOW_CLIP Overflow = 2 // OVERFLOW_SCROLL lets the player scroll to what does not fit. Overflow_OVERFLOW_SCROLL Overflow = 3 // OVERFLOW_SHOW draws what does not fit outside the node. Overflow_OVERFLOW_SHOW Overflow = 4 )
func (Overflow) MarshalJSON ¶ added in v0.1.42
MarshalJSON marshals the Overflow to JSON.
func (Overflow) MarshalProtoJSON ¶ added in v0.1.42
func (x Overflow) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Overflow to JSON.
func (Overflow) MarshalProtoText ¶ added in v0.1.42
func (Overflow) MarshalText ¶ added in v0.1.42
MarshalText marshals the Overflow to text.
func (*Overflow) UnmarshalJSON ¶ added in v0.1.42
UnmarshalJSON unmarshals the Overflow from JSON.
func (*Overflow) UnmarshalProtoJSON ¶ added in v0.1.42
func (x *Overflow) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Overflow from JSON.
func (*Overflow) UnmarshalText ¶ added in v0.1.42
UnmarshalText unmarshals the Overflow from text.
type Region ¶ added in v0.1.15
type Region struct {
// Left is the box's left edge, from 0 to 1.
Left float32 `protobuf:"fixed32,1,opt,name=left,proto3" json:"left,omitempty"`
// Top is the box's top edge, from 0 to 1.
Top float32 `protobuf:"fixed32,2,opt,name=top,proto3" json:"top,omitempty"`
// Width is the box's width, from 0 to 1.
Width float32 `protobuf:"fixed32,3,opt,name=width,proto3" json:"width,omitempty"`
// Height is the box's height, from 0 to 1.
Height float32 `protobuf:"fixed32,4,opt,name=height,proto3" json:"height,omitempty"`
// contains filtered or unexported fields
}
Region is a box on the screen, each side a fraction of the screen's width or height from its left or top edge.
func (*Region) CloneMessageVT ¶ added in v0.1.15
func (m *Region) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Region) EqualMessageVT ¶ added in v0.1.15
func (*Region) MarshalJSON ¶ added in v0.1.15
MarshalJSON marshals the Region to JSON.
func (*Region) MarshalProtoJSON ¶ added in v0.1.15
func (x *Region) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Region message to JSON.
func (*Region) MarshalProtoText ¶ added in v0.1.15
func (*Region) MarshalToSizedBufferVT ¶ added in v0.1.15
func (*Region) MarshalToVT ¶ added in v0.1.15
func (*Region) ProtoMessage ¶ added in v0.1.15
func (*Region) ProtoMessage()
func (*Region) UnmarshalJSON ¶ added in v0.1.15
UnmarshalJSON unmarshals the Region from JSON.
func (*Region) UnmarshalProtoJSON ¶ added in v0.1.15
func (x *Region) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Region message from JSON.
func (*Region) UnmarshalVT ¶ added in v0.1.15
type Scaling ¶ added in v0.1.42
type Scaling int32
Scaling fits a picture into its node's box.
const ( // SCALING_DEFAULT keeps the panel's own scaling: an image fits its box, // keeping its shape. Scaling_SCALING_DEFAULT Scaling = 0 // SCALING_FIT shows the whole picture in the box, keeping its shape. Scaling_SCALING_FIT Scaling = 1 // SCALING_COVER fills the box, keeping the picture's shape and cropping what // falls outside. Scaling_SCALING_COVER Scaling = 2 // SCALING_STRETCH fills the box, stretching the picture. Scaling_SCALING_STRETCH Scaling = 3 // SCALING_FIT_WIDTH fits the picture's width to the box, keeping its shape. Scaling_SCALING_FIT_WIDTH Scaling = 4 // SCALING_FIT_HEIGHT fits the picture's height to the box, keeping its // shape. Scaling_SCALING_FIT_HEIGHT Scaling = 5 // SCALING_NONE draws the picture at its own size. Scaling_SCALING_NONE Scaling = 6 )
func (Scaling) MarshalJSON ¶ added in v0.1.42
MarshalJSON marshals the Scaling to JSON.
func (Scaling) MarshalProtoJSON ¶ added in v0.1.42
func (x Scaling) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Scaling to JSON.
func (Scaling) MarshalProtoText ¶ added in v0.1.42
func (Scaling) MarshalText ¶ added in v0.1.42
MarshalText marshals the Scaling to text.
func (*Scaling) UnmarshalJSON ¶ added in v0.1.42
UnmarshalJSON unmarshals the Scaling from JSON.
func (*Scaling) UnmarshalProtoJSON ¶ added in v0.1.42
func (x *Scaling) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Scaling from JSON.
func (*Scaling) UnmarshalText ¶ added in v0.1.42
UnmarshalText unmarshals the Scaling from text.
type Screen ¶
type Screen struct {
// Trees holds one tree per mod that shows this player anything.
Trees []*Tree `protobuf:"bytes,1,rep,name=trees,proto3" json:"trees,omitempty"`
// contains filtered or unexported fields
}
Screen is everything one player's renderer draws: each mod's tree.
func (*Screen) CloneMessageVT ¶
func (m *Screen) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Screen) EqualMessageVT ¶
func (*Screen) MarshalJSON ¶
MarshalJSON marshals the Screen to JSON.
func (*Screen) MarshalProtoJSON ¶
func (x *Screen) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Screen message to JSON.
func (*Screen) MarshalProtoText ¶
func (*Screen) MarshalToSizedBufferVT ¶
func (*Screen) ProtoMessage ¶
func (*Screen) ProtoMessage()
func (*Screen) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Screen from JSON.
func (*Screen) UnmarshalProtoJSON ¶
func (x *Screen) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Screen message from JSON.
func (*Screen) UnmarshalVT ¶
type Shadow ¶ added in v0.1.42
type Shadow struct {
// X and Y offset the shadow, in pixels.
X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"`
Y float32 `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"`
// Blur softens the shadow's edge, in pixels.
Blur float32 `protobuf:"fixed32,3,opt,name=blur,proto3" json:"blur,omitempty"`
// Spread grows a box's shadow, in pixels, or strengthens a text shadow.
Spread float32 `protobuf:"fixed32,4,opt,name=spread,proto3" json:"spread,omitempty"`
// Color is the shadow's color as 0xRRGGBBAA.
Color uint32 `protobuf:"fixed32,5,opt,name=color,proto3" json:"color,omitempty"`
// Inset draws a box's shadow inside its edge.
Inset bool `protobuf:"varint,6,opt,name=inset,proto3" json:"inset,omitempty"`
// contains filtered or unexported fields
}
Shadow is a soft shadow under text or around a box.
func (*Shadow) CloneMessageVT ¶ added in v0.1.42
func (m *Shadow) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Shadow) EqualMessageVT ¶ added in v0.1.42
func (*Shadow) MarshalJSON ¶ added in v0.1.42
MarshalJSON marshals the Shadow to JSON.
func (*Shadow) MarshalProtoJSON ¶ added in v0.1.42
func (x *Shadow) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Shadow message to JSON.
func (*Shadow) MarshalProtoText ¶ added in v0.1.42
func (*Shadow) MarshalToSizedBufferVT ¶ added in v0.1.42
func (*Shadow) MarshalToVT ¶ added in v0.1.42
func (*Shadow) ProtoMessage ¶ added in v0.1.42
func (*Shadow) ProtoMessage()
func (*Shadow) UnmarshalJSON ¶ added in v0.1.42
UnmarshalJSON unmarshals the Shadow from JSON.
func (*Shadow) UnmarshalProtoJSON ¶ added in v0.1.42
func (x *Shadow) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Shadow message from JSON.
func (*Shadow) UnmarshalVT ¶ added in v0.1.42
type Slider ¶ added in v0.1.42
type Slider struct {
// Value is the number the slider holds.
Value float32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"`
// Min and Max bound the value; a max no greater than min means 0 to 1.
Min float32 `protobuf:"fixed32,2,opt,name=min,proto3" json:"min,omitempty"`
Max float32 `protobuf:"fixed32,3,opt,name=max,proto3" json:"max,omitempty"`
// Step is the distance between the values the slider stops at; zero lets
// it stop anywhere.
Step float32 `protobuf:"fixed32,4,opt,name=step,proto3" json:"step,omitempty"`
// contains filtered or unexported fields
}
Slider is a bar the player drags to a number.
func (*Slider) CloneMessageVT ¶ added in v0.1.42
func (m *Slider) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Slider) EqualMessageVT ¶ added in v0.1.42
func (*Slider) MarshalJSON ¶ added in v0.1.42
MarshalJSON marshals the Slider to JSON.
func (*Slider) MarshalProtoJSON ¶ added in v0.1.42
func (x *Slider) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Slider message to JSON.
func (*Slider) MarshalProtoText ¶ added in v0.1.42
func (*Slider) MarshalToSizedBufferVT ¶ added in v0.1.42
func (*Slider) MarshalToVT ¶ added in v0.1.42
func (*Slider) ProtoMessage ¶ added in v0.1.42
func (*Slider) ProtoMessage()
func (*Slider) UnmarshalJSON ¶ added in v0.1.42
UnmarshalJSON unmarshals the Slider from JSON.
func (*Slider) UnmarshalProtoJSON ¶ added in v0.1.42
func (x *Slider) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Slider message from JSON.
func (*Slider) UnmarshalVT ¶ added in v0.1.42
type Style ¶
type Style struct {
// Width is the node's width.
Width *Length `protobuf:"bytes,1,opt,name=width,proto3" json:"width,omitempty"`
// Height is the node's height.
Height *Length `protobuf:"bytes,2,opt,name=height,proto3" json:"height,omitempty"`
// Flow arranges the node's children.
Flow Flow `protobuf:"varint,3,opt,name=flow,proto3" json:"flow,omitempty"`
// HorizontalAlign places the node within its parent's width.
HorizontalAlign Align `protobuf:"varint,4,opt,name=horizontal_align,json=horizontalAlign,proto3" json:"horizontalAlign,omitempty"`
// VerticalAlign places the node within its parent's height.
VerticalAlign Align `protobuf:"varint,5,opt,name=vertical_align,json=verticalAlign,proto3" json:"verticalAlign,omitempty"`
// Margin is the space outside the node, in pixels.
Margin *Edges `protobuf:"bytes,6,opt,name=margin,proto3" json:"margin,omitempty"`
// Padding is the space between the node's edge and its children, in pixels.
Padding *Edges `protobuf:"bytes,7,opt,name=padding,proto3" json:"padding,omitempty"`
// Background is the fill color as 0xRRGGBBAA; zero is transparent.
Background uint32 `protobuf:"fixed32,8,opt,name=background,proto3" json:"background,omitempty"`
// Color is the text color as 0xRRGGBBAA; zero keeps the default.
Color uint32 `protobuf:"fixed32,9,opt,name=color,proto3" json:"color,omitempty"`
// FontSize is the text size in pixels; zero keeps the default.
FontSize float32 `protobuf:"fixed32,10,opt,name=font_size,json=fontSize,proto3" json:"fontSize,omitempty"`
// Bold sets bold text.
Bold bool `protobuf:"varint,11,opt,name=bold,proto3" json:"bold,omitempty"`
// TextAlign places text within a label.
TextAlign Align `protobuf:"varint,12,opt,name=text_align,json=textAlign,proto3" json:"textAlign,omitempty"`
// BorderRadius rounds the corners, in pixels.
BorderRadius float32 `protobuf:"fixed32,13,opt,name=border_radius,json=borderRadius,proto3" json:"borderRadius,omitempty"`
// Opacity fades the node and its children, from 0 to 1; unset is opaque.
Opacity *float32 `protobuf:"fixed32,14,opt,name=opacity,proto3,oneof" json:"opacity,omitempty"`
// Face is the text's typeface, one of the game's own.
Face Face `protobuf:"varint,15,opt,name=face,proto3" json:"face,omitempty"`
// Uppercase sets the text in capitals.
Uppercase bool `protobuf:"varint,16,opt,name=uppercase,proto3" json:"uppercase,omitempty"`
// LetterSpacing widens the space between letters, in pixels.
LetterSpacing float32 `protobuf:"fixed32,17,opt,name=letter_spacing,json=letterSpacing,proto3" json:"letterSpacing,omitempty"`
// Shadow draws a soft drop shadow under the text, which keeps it readable
// over the world.
Shadow bool `protobuf:"varint,18,opt,name=shadow,proto3" json:"shadow,omitempty"`
// BorderWidth is the width of a line around the node's edge, in pixels.
BorderWidth float32 `protobuf:"fixed32,19,opt,name=border_width,json=borderWidth,proto3" json:"borderWidth,omitempty"`
// BorderColor is the edge line's color as 0xRRGGBBAA. The line is drawn
// only when both its width and its color are set.
BorderColor uint32 `protobuf:"fixed32,20,opt,name=border_color,json=borderColor,proto3" json:"borderColor,omitempty"`
// X and Y place the node at an offset from its parent's top left corner,
// in pixels or a percent of the parent, outside the parent's flow.
X *Length `protobuf:"bytes,21,opt,name=x,proto3" json:"x,omitempty"`
Y *Length `protobuf:"bytes,22,opt,name=y,proto3" json:"y,omitempty"`
// MinWidth, MaxWidth, MinHeight and MaxHeight bound the node's size.
MinWidth *Length `protobuf:"bytes,23,opt,name=min_width,json=minWidth,proto3" json:"minWidth,omitempty"`
MaxWidth *Length `protobuf:"bytes,24,opt,name=max_width,json=maxWidth,proto3" json:"maxWidth,omitempty"`
MinHeight *Length `protobuf:"bytes,25,opt,name=min_height,json=minHeight,proto3" json:"minHeight,omitempty"`
MaxHeight *Length `protobuf:"bytes,26,opt,name=max_height,json=maxHeight,proto3" json:"maxHeight,omitempty"`
// ZIndex draws the node above its siblings with a lower index; zero keeps
// the drawing order.
ZIndex int32 `protobuf:"varint,27,opt,name=z_index,json=zIndex,proto3" json:"zIndex,omitempty"`
// OverflowX and OverflowY decide what happens to children that do not fit
// across and down.
OverflowX Overflow `protobuf:"varint,28,opt,name=overflow_x,json=overflowX,proto3" json:"overflowX,omitempty"`
OverflowY Overflow `protobuf:"varint,29,opt,name=overflow_y,json=overflowY,proto3" json:"overflowY,omitempty"`
// Gradient fills the node with a gradient in place of its background.
Gradient *Gradient `protobuf:"bytes,30,opt,name=gradient,proto3" json:"gradient,omitempty"`
// BoxShadow draws a shadow around or inside the node's box.
BoxShadow *Shadow `protobuf:"bytes,31,opt,name=box_shadow,json=boxShadow,proto3" json:"boxShadow,omitempty"`
// TextShadow draws this shadow under the text in place of shadow's.
TextShadow *Shadow `protobuf:"bytes,32,opt,name=text_shadow,json=textShadow,proto3" json:"textShadow,omitempty"`
// Tint washes the node and its children with a color as 0xRRGGBBAA, which
// recolors a white icon; zero leaves them.
Tint uint32 `protobuf:"fixed32,33,opt,name=tint,proto3" json:"tint,omitempty"`
// Saturation, Brightness and Contrast scale the node's colors; 1 leaves
// them, unset leaves them.
Saturation *float32 `protobuf:"fixed32,34,opt,name=saturation,proto3,oneof" json:"saturation,omitempty"`
Brightness *float32 `protobuf:"fixed32,35,opt,name=brightness,proto3,oneof" json:"brightness,omitempty"`
Contrast *float32 `protobuf:"fixed32,36,opt,name=contrast,proto3,oneof" json:"contrast,omitempty"`
// Blur blurs the node and its children by a radius in pixels.
Blur float32 `protobuf:"fixed32,37,opt,name=blur,proto3" json:"blur,omitempty"`
// Italic slants the text.
Italic bool `protobuf:"varint,38,opt,name=italic,proto3" json:"italic,omitempty"`
// Weight sets the text's weight in place of bold.
Weight Weight `protobuf:"varint,39,opt,name=weight,proto3" json:"weight,omitempty"`
// LineHeight is the height of each line of text, in pixels.
LineHeight float32 `protobuf:"fixed32,40,opt,name=line_height,json=lineHeight,proto3" json:"lineHeight,omitempty"`
// NoWrap keeps the text on one line.
NoWrap bool `protobuf:"varint,41,opt,name=no_wrap,json=noWrap,proto3" json:"noWrap,omitempty"`
// TextOverflow decides what text that does not fit its box does.
TextOverflow TextOverflow `protobuf:"varint,42,opt,name=text_overflow,json=textOverflow,proto3" json:"textOverflow,omitempty"`
// Decoration draws a line under or through the text.
Decoration Decoration `protobuf:"varint,43,opt,name=decoration,proto3" json:"decoration,omitempty"`
// Transform moves, scales and rotates the node as drawn, without moving its
// neighbors.
Transform *Transform `protobuf:"bytes,44,opt,name=transform,proto3" json:"transform,omitempty"`
// Transition animates each change to the node's style, and the move to and
// from its hover style, instead of snapping to it.
Transition *Transition `protobuf:"bytes,45,opt,name=transition,proto3" json:"transition,omitempty"`
// contains filtered or unexported fields
}
Style is the closed set of layout and paint properties a node may set. A zero value leaves the panel's default.
func (*Style) CloneMessageVT ¶
func (m *Style) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Style) EqualMessageVT ¶
func (*Style) GetBackground ¶
func (*Style) GetBorderColor ¶
func (*Style) GetBorderRadius ¶
func (*Style) GetBorderWidth ¶
func (*Style) GetBoxShadow ¶ added in v0.1.42
func (*Style) GetBrightness ¶ added in v0.1.42
func (*Style) GetContrast ¶ added in v0.1.42
func (*Style) GetDecoration ¶ added in v0.1.42
func (x *Style) GetDecoration() Decoration
func (*Style) GetFontSize ¶
func (*Style) GetGradient ¶ added in v0.1.42
func (*Style) GetHorizontalAlign ¶
func (*Style) GetLetterSpacing ¶
func (*Style) GetLineHeight ¶ added in v0.1.42
func (*Style) GetMaxHeight ¶ added in v0.1.42
func (*Style) GetMaxWidth ¶ added in v0.1.42
func (*Style) GetMinHeight ¶ added in v0.1.42
func (*Style) GetMinWidth ¶ added in v0.1.42
func (*Style) GetOpacity ¶
func (*Style) GetOverflowX ¶ added in v0.1.42
func (*Style) GetOverflowY ¶ added in v0.1.42
func (*Style) GetPadding ¶
func (*Style) GetSaturation ¶ added in v0.1.42
func (*Style) GetTextAlign ¶
func (*Style) GetTextOverflow ¶ added in v0.1.42
func (x *Style) GetTextOverflow() TextOverflow
func (*Style) GetTextShadow ¶ added in v0.1.42
func (*Style) GetTransform ¶ added in v0.1.42
func (*Style) GetTransition ¶ added in v0.1.42
func (x *Style) GetTransition() *Transition
func (*Style) GetUppercase ¶
func (*Style) GetVerticalAlign ¶
func (*Style) MarshalJSON ¶
MarshalJSON marshals the Style to JSON.
func (*Style) MarshalProtoJSON ¶
func (x *Style) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Style message to JSON.
func (*Style) MarshalProtoText ¶
func (*Style) MarshalToSizedBufferVT ¶
func (*Style) ProtoMessage ¶
func (*Style) ProtoMessage()
func (*Style) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Style from JSON.
func (*Style) UnmarshalProtoJSON ¶
func (x *Style) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Style message from JSON.
func (*Style) UnmarshalVT ¶
type TextEntry ¶ added in v0.1.42
type TextEntry struct {
// Text is the box's text.
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
// Placeholder is the faint text an empty box shows.
Placeholder string `protobuf:"bytes,2,opt,name=placeholder,proto3" json:"placeholder,omitempty"`
// MaxLength bounds the text, in characters; zero means 100. The host takes
// at most 240 bytes of text, so a console line carries it.
MaxLength uint32 `protobuf:"varint,3,opt,name=max_length,json=maxLength,proto3" json:"maxLength,omitempty"`
// contains filtered or unexported fields
}
TextEntry is a box the player types a line of text into.
func (*TextEntry) CloneMessageVT ¶ added in v0.1.42
func (m *TextEntry) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*TextEntry) EqualMessageVT ¶ added in v0.1.42
func (*TextEntry) GetMaxLength ¶ added in v0.1.42
func (*TextEntry) GetPlaceholder ¶ added in v0.1.42
func (*TextEntry) MarshalJSON ¶ added in v0.1.42
MarshalJSON marshals the TextEntry to JSON.
func (*TextEntry) MarshalProtoJSON ¶ added in v0.1.42
func (x *TextEntry) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the TextEntry message to JSON.
func (*TextEntry) MarshalProtoText ¶ added in v0.1.42
func (*TextEntry) MarshalToSizedBufferVT ¶ added in v0.1.42
func (*TextEntry) MarshalToVT ¶ added in v0.1.42
func (*TextEntry) ProtoMessage ¶ added in v0.1.42
func (*TextEntry) ProtoMessage()
func (*TextEntry) UnmarshalJSON ¶ added in v0.1.42
UnmarshalJSON unmarshals the TextEntry from JSON.
func (*TextEntry) UnmarshalProtoJSON ¶ added in v0.1.42
func (x *TextEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the TextEntry message from JSON.
func (*TextEntry) UnmarshalVT ¶ added in v0.1.42
type TextOverflow ¶ added in v0.1.42
type TextOverflow int32
TextOverflow decides what text that does not fit its box does.
const ( // TEXT_OVERFLOW_DEFAULT keeps the panel's behavior. TextOverflow_TEXT_OVERFLOW_DEFAULT TextOverflow = 0 // TEXT_OVERFLOW_ELLIPSIS ends the text that fits with an ellipsis. TextOverflow_TEXT_OVERFLOW_ELLIPSIS TextOverflow = 1 // TEXT_OVERFLOW_SHRINK makes the text smaller until it fits. TextOverflow_TEXT_OVERFLOW_SHRINK TextOverflow = 2 // TEXT_OVERFLOW_CLIP cuts the text off at the box's edge. TextOverflow_TEXT_OVERFLOW_CLIP TextOverflow = 3 )
func (TextOverflow) Enum ¶ added in v0.1.42
func (x TextOverflow) Enum() *TextOverflow
func (TextOverflow) MarshalJSON ¶ added in v0.1.42
func (x TextOverflow) MarshalJSON() ([]byte, error)
MarshalJSON marshals the TextOverflow to JSON.
func (TextOverflow) MarshalProtoJSON ¶ added in v0.1.42
func (x TextOverflow) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the TextOverflow to JSON.
func (TextOverflow) MarshalProtoText ¶ added in v0.1.42
func (x TextOverflow) MarshalProtoText() string
func (TextOverflow) MarshalText ¶ added in v0.1.42
func (x TextOverflow) MarshalText() ([]byte, error)
MarshalText marshals the TextOverflow to text.
func (TextOverflow) String ¶ added in v0.1.42
func (x TextOverflow) String() string
func (*TextOverflow) UnmarshalJSON ¶ added in v0.1.42
func (x *TextOverflow) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the TextOverflow from JSON.
func (*TextOverflow) UnmarshalProtoJSON ¶ added in v0.1.42
func (x *TextOverflow) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the TextOverflow from JSON.
func (*TextOverflow) UnmarshalText ¶ added in v0.1.42
func (x *TextOverflow) UnmarshalText(b []byte) error
UnmarshalText unmarshals the TextOverflow from text.
type Toggle ¶ added in v0.1.42
type Toggle struct {
// On reports whether the box is checked.
On bool `protobuf:"varint,1,opt,name=on,proto3" json:"on,omitempty"`
// contains filtered or unexported fields
}
Toggle is a box the player checks or clears. The node's text labels it.
func (*Toggle) CloneMessageVT ¶ added in v0.1.42
func (m *Toggle) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Toggle) EqualMessageVT ¶ added in v0.1.42
func (*Toggle) MarshalJSON ¶ added in v0.1.42
MarshalJSON marshals the Toggle to JSON.
func (*Toggle) MarshalProtoJSON ¶ added in v0.1.42
func (x *Toggle) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Toggle message to JSON.
func (*Toggle) MarshalProtoText ¶ added in v0.1.42
func (*Toggle) MarshalToSizedBufferVT ¶ added in v0.1.42
func (*Toggle) MarshalToVT ¶ added in v0.1.42
func (*Toggle) ProtoMessage ¶ added in v0.1.42
func (*Toggle) ProtoMessage()
func (*Toggle) UnmarshalJSON ¶ added in v0.1.42
UnmarshalJSON unmarshals the Toggle from JSON.
func (*Toggle) UnmarshalProtoJSON ¶ added in v0.1.42
func (x *Toggle) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Toggle message from JSON.
func (*Toggle) UnmarshalVT ¶ added in v0.1.42
type Transform ¶ added in v0.1.42
type Transform struct {
// TranslateX and TranslateY move the node, in pixels.
TranslateX float32 `protobuf:"fixed32,1,opt,name=translate_x,json=translateX,proto3" json:"translateX,omitempty"`
TranslateY float32 `protobuf:"fixed32,2,opt,name=translate_y,json=translateY,proto3" json:"translateY,omitempty"`
// ScaleX and ScaleY scale the node; unset is 1.
ScaleX *float32 `protobuf:"fixed32,3,opt,name=scale_x,json=scaleX,proto3,oneof" json:"scaleX,omitempty"`
ScaleY *float32 `protobuf:"fixed32,4,opt,name=scale_y,json=scaleY,proto3,oneof" json:"scaleY,omitempty"`
// Rotate turns the node clockwise, in degrees.
Rotate float32 `protobuf:"fixed32,5,opt,name=rotate,proto3" json:"rotate,omitempty"`
// OriginX and OriginY are the point the node scales and turns about, as a
// percent of its size; unset is its center.
OriginX *float32 `protobuf:"fixed32,6,opt,name=origin_x,json=originX,proto3,oneof" json:"originX,omitempty"`
OriginY *float32 `protobuf:"fixed32,7,opt,name=origin_y,json=originY,proto3,oneof" json:"originY,omitempty"`
// contains filtered or unexported fields
}
Transform moves, scales and rotates a node as drawn.
func (*Transform) CloneMessageVT ¶ added in v0.1.42
func (m *Transform) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Transform) EqualMessageVT ¶ added in v0.1.42
func (*Transform) GetOriginX ¶ added in v0.1.42
func (*Transform) GetOriginY ¶ added in v0.1.42
func (*Transform) GetTranslateX ¶ added in v0.1.42
func (*Transform) GetTranslateY ¶ added in v0.1.42
func (*Transform) MarshalJSON ¶ added in v0.1.42
MarshalJSON marshals the Transform to JSON.
func (*Transform) MarshalProtoJSON ¶ added in v0.1.42
func (x *Transform) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Transform message to JSON.
func (*Transform) MarshalProtoText ¶ added in v0.1.42
func (*Transform) MarshalToSizedBufferVT ¶ added in v0.1.42
func (*Transform) MarshalToVT ¶ added in v0.1.42
func (*Transform) ProtoMessage ¶ added in v0.1.42
func (*Transform) ProtoMessage()
func (*Transform) UnmarshalJSON ¶ added in v0.1.42
UnmarshalJSON unmarshals the Transform from JSON.
func (*Transform) UnmarshalProtoJSON ¶ added in v0.1.42
func (x *Transform) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Transform message from JSON.
func (*Transform) UnmarshalVT ¶ added in v0.1.42
type Transition ¶ added in v0.1.42
type Transition struct {
// Seconds is how long each change takes.
Seconds float32 `protobuf:"fixed32,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
// Delay is how long each change waits before it starts, in seconds.
Delay float32 `protobuf:"fixed32,2,opt,name=delay,proto3" json:"delay,omitempty"`
// Easing shapes the change's speed over its time.
Easing Easing `protobuf:"varint,3,opt,name=easing,proto3" json:"easing,omitempty"`
// contains filtered or unexported fields
}
Transition animates a node's style changes.
func (*Transition) CloneMessageVT ¶ added in v0.1.42
func (m *Transition) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Transition) CloneVT ¶ added in v0.1.42
func (m *Transition) CloneVT() *Transition
func (*Transition) EqualMessageVT ¶ added in v0.1.42
func (this *Transition) EqualMessageVT(thatMsg any) bool
func (*Transition) EqualVT ¶ added in v0.1.42
func (this *Transition) EqualVT(that *Transition) bool
func (*Transition) GetDelay ¶ added in v0.1.42
func (x *Transition) GetDelay() float32
func (*Transition) GetEasing ¶ added in v0.1.42
func (x *Transition) GetEasing() Easing
func (*Transition) GetSeconds ¶ added in v0.1.42
func (x *Transition) GetSeconds() float32
func (*Transition) MarshalJSON ¶ added in v0.1.42
func (x *Transition) MarshalJSON() ([]byte, error)
MarshalJSON marshals the Transition to JSON.
func (*Transition) MarshalProtoJSON ¶ added in v0.1.42
func (x *Transition) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Transition message to JSON.
func (*Transition) MarshalProtoText ¶ added in v0.1.42
func (x *Transition) MarshalProtoText() string
func (*Transition) MarshalToSizedBufferVT ¶ added in v0.1.42
func (m *Transition) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Transition) MarshalToVT ¶ added in v0.1.42
func (m *Transition) MarshalToVT(dAtA []byte) (int, error)
func (*Transition) MarshalVT ¶ added in v0.1.42
func (m *Transition) MarshalVT() (dAtA []byte, err error)
func (*Transition) ProtoMessage ¶ added in v0.1.42
func (*Transition) ProtoMessage()
func (*Transition) Reset ¶ added in v0.1.42
func (x *Transition) Reset()
func (*Transition) SizeVT ¶ added in v0.1.42
func (m *Transition) SizeVT() (n int)
func (*Transition) String ¶ added in v0.1.42
func (x *Transition) String() string
func (*Transition) UnmarshalJSON ¶ added in v0.1.42
func (x *Transition) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the Transition from JSON.
func (*Transition) UnmarshalProtoJSON ¶ added in v0.1.42
func (x *Transition) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Transition message from JSON.
func (*Transition) UnmarshalVT ¶ added in v0.1.42
func (m *Transition) UnmarshalVT(dAtA []byte) error
type Tree ¶
type Tree struct {
// Mod is the mod's name.
Mod string `protobuf:"bytes,1,opt,name=mod,proto3" json:"mod,omitempty"`
// Nodes holds every node, the root included.
Nodes []*Node `protobuf:"bytes,2,rep,name=nodes,proto3" json:"nodes,omitempty"`
// Region is the box the renderer places the root in, for a mod that shares
// the screen with another, such as a game one mod runs inside another's.
// Without one, the root fills the screen.
Region *Region `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
// contains filtered or unexported fields
}
Tree is one mod's whole tree for one player.
func (*Tree) CloneMessageVT ¶
func (m *Tree) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Tree) EqualMessageVT ¶
func (*Tree) MarshalJSON ¶
MarshalJSON marshals the Tree to JSON.
func (*Tree) MarshalProtoJSON ¶
func (x *Tree) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Tree message to JSON.
func (*Tree) MarshalProtoText ¶
func (*Tree) MarshalToSizedBufferVT ¶
func (*Tree) ProtoMessage ¶
func (*Tree) ProtoMessage()
func (*Tree) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Tree from JSON.
func (*Tree) UnmarshalProtoJSON ¶
func (x *Tree) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Tree message from JSON.
func (*Tree) UnmarshalVT ¶
type UiInputEvent ¶ added in v0.1.42
type UiInputEvent struct {
// Player is the player who changed it.
Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
// Node is the id of the input.
Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"`
// Value is the input's new value, in the kind its control holds.
//
// Types that are assignable to Value:
// *UiInputEvent_Text
// *UiInputEvent_Number
// *UiInputEvent_On
// *UiInputEvent_Choice
Value isUiInputEvent_Value `protobuf_oneof:"value"`
// contains filtered or unexported fields
}
UiInputEvent reports a change the player made to an input in their interface, with the value as the host checked it.
func (*UiInputEvent) CloneMessageVT ¶ added in v0.1.42
func (m *UiInputEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*UiInputEvent) CloneVT ¶ added in v0.1.42
func (m *UiInputEvent) CloneVT() *UiInputEvent
func (*UiInputEvent) EqualMessageVT ¶ added in v0.1.42
func (this *UiInputEvent) EqualMessageVT(thatMsg any) bool
func (*UiInputEvent) EqualVT ¶ added in v0.1.42
func (this *UiInputEvent) EqualVT(that *UiInputEvent) bool
func (*UiInputEvent) GetChoice ¶ added in v0.1.42
func (x *UiInputEvent) GetChoice() uint32
func (*UiInputEvent) GetNode ¶ added in v0.1.42
func (x *UiInputEvent) GetNode() string
func (*UiInputEvent) GetNumber ¶ added in v0.1.42
func (x *UiInputEvent) GetNumber() float32
func (*UiInputEvent) GetOn ¶ added in v0.1.42
func (x *UiInputEvent) GetOn() bool
func (*UiInputEvent) GetPlayer ¶ added in v0.1.42
func (x *UiInputEvent) GetPlayer() int32
func (*UiInputEvent) GetText ¶ added in v0.1.42
func (x *UiInputEvent) GetText() string
func (*UiInputEvent) GetValue ¶ added in v0.1.42
func (m *UiInputEvent) GetValue() isUiInputEvent_Value
func (*UiInputEvent) MarshalJSON ¶ added in v0.1.42
func (x *UiInputEvent) MarshalJSON() ([]byte, error)
MarshalJSON marshals the UiInputEvent to JSON.
func (*UiInputEvent) MarshalProtoJSON ¶ added in v0.1.42
func (x *UiInputEvent) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the UiInputEvent message to JSON.
func (*UiInputEvent) MarshalProtoText ¶ added in v0.1.42
func (x *UiInputEvent) MarshalProtoText() string
func (*UiInputEvent) MarshalToSizedBufferVT ¶ added in v0.1.42
func (m *UiInputEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UiInputEvent) MarshalToVT ¶ added in v0.1.42
func (m *UiInputEvent) MarshalToVT(dAtA []byte) (int, error)
func (*UiInputEvent) MarshalVT ¶ added in v0.1.42
func (m *UiInputEvent) MarshalVT() (dAtA []byte, err error)
func (*UiInputEvent) ProtoMessage ¶ added in v0.1.42
func (*UiInputEvent) ProtoMessage()
func (*UiInputEvent) Reset ¶ added in v0.1.42
func (x *UiInputEvent) Reset()
func (*UiInputEvent) SizeVT ¶ added in v0.1.42
func (m *UiInputEvent) SizeVT() (n int)
func (*UiInputEvent) String ¶ added in v0.1.42
func (x *UiInputEvent) String() string
func (*UiInputEvent) UnmarshalJSON ¶ added in v0.1.42
func (x *UiInputEvent) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the UiInputEvent from JSON.
func (*UiInputEvent) UnmarshalProtoJSON ¶ added in v0.1.42
func (x *UiInputEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the UiInputEvent message from JSON.
func (*UiInputEvent) UnmarshalVT ¶ added in v0.1.42
func (m *UiInputEvent) UnmarshalVT(dAtA []byte) error
type UiInputEvent_Choice ¶ added in v0.1.42
type UiInputEvent_Choice struct {
// Choice is the index of a dropdown's chosen option.
Choice uint32 `protobuf:"varint,6,opt,name=choice,proto3,oneof"`
}
func (*UiInputEvent_Choice) CloneOneofVT ¶ added in v0.1.42
func (m *UiInputEvent_Choice) CloneOneofVT() isUiInputEvent_Value
func (*UiInputEvent_Choice) CloneVT ¶ added in v0.1.42
func (m *UiInputEvent_Choice) CloneVT() *UiInputEvent_Choice
func (*UiInputEvent_Choice) EqualVT ¶ added in v0.1.42
func (this *UiInputEvent_Choice) EqualVT(thatIface isUiInputEvent_Value) bool
func (*UiInputEvent_Choice) MarshalToSizedBufferVT ¶ added in v0.1.42
func (m *UiInputEvent_Choice) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UiInputEvent_Choice) MarshalToVT ¶ added in v0.1.42
func (m *UiInputEvent_Choice) MarshalToVT(dAtA []byte) (int, error)
func (*UiInputEvent_Choice) SizeVT ¶ added in v0.1.42
func (m *UiInputEvent_Choice) SizeVT() (n int)
type UiInputEvent_Number ¶ added in v0.1.42
type UiInputEvent_Number struct {
// Number is a slider's value.
Number float32 `protobuf:"fixed32,4,opt,name=number,proto3,oneof"`
}
func (*UiInputEvent_Number) CloneOneofVT ¶ added in v0.1.42
func (m *UiInputEvent_Number) CloneOneofVT() isUiInputEvent_Value
func (*UiInputEvent_Number) CloneVT ¶ added in v0.1.42
func (m *UiInputEvent_Number) CloneVT() *UiInputEvent_Number
func (*UiInputEvent_Number) EqualVT ¶ added in v0.1.42
func (this *UiInputEvent_Number) EqualVT(thatIface isUiInputEvent_Value) bool
func (*UiInputEvent_Number) MarshalToSizedBufferVT ¶ added in v0.1.42
func (m *UiInputEvent_Number) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UiInputEvent_Number) MarshalToVT ¶ added in v0.1.42
func (m *UiInputEvent_Number) MarshalToVT(dAtA []byte) (int, error)
func (*UiInputEvent_Number) SizeVT ¶ added in v0.1.42
func (m *UiInputEvent_Number) SizeVT() (n int)
type UiInputEvent_On ¶ added in v0.1.42
type UiInputEvent_On struct {
// On is a toggle's state.
On bool `protobuf:"varint,5,opt,name=on,proto3,oneof"`
}
func (*UiInputEvent_On) CloneOneofVT ¶ added in v0.1.42
func (m *UiInputEvent_On) CloneOneofVT() isUiInputEvent_Value
func (*UiInputEvent_On) CloneVT ¶ added in v0.1.42
func (m *UiInputEvent_On) CloneVT() *UiInputEvent_On
func (*UiInputEvent_On) EqualVT ¶ added in v0.1.42
func (this *UiInputEvent_On) EqualVT(thatIface isUiInputEvent_Value) bool
func (*UiInputEvent_On) MarshalToSizedBufferVT ¶ added in v0.1.42
func (m *UiInputEvent_On) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UiInputEvent_On) MarshalToVT ¶ added in v0.1.42
func (m *UiInputEvent_On) MarshalToVT(dAtA []byte) (int, error)
func (*UiInputEvent_On) SizeVT ¶ added in v0.1.42
func (m *UiInputEvent_On) SizeVT() (n int)
type UiInputEvent_Text ¶ added in v0.1.42
type UiInputEvent_Text struct {
// Text is a text entry's text.
Text string `protobuf:"bytes,3,opt,name=text,proto3,oneof"`
}
func (*UiInputEvent_Text) CloneOneofVT ¶ added in v0.1.42
func (m *UiInputEvent_Text) CloneOneofVT() isUiInputEvent_Value
func (*UiInputEvent_Text) CloneVT ¶ added in v0.1.42
func (m *UiInputEvent_Text) CloneVT() *UiInputEvent_Text
func (*UiInputEvent_Text) EqualVT ¶ added in v0.1.42
func (this *UiInputEvent_Text) EqualVT(thatIface isUiInputEvent_Value) bool
func (*UiInputEvent_Text) MarshalToSizedBufferVT ¶ added in v0.1.42
func (m *UiInputEvent_Text) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UiInputEvent_Text) MarshalToVT ¶ added in v0.1.42
func (m *UiInputEvent_Text) MarshalToVT(dAtA []byte) (int, error)
func (*UiInputEvent_Text) SizeVT ¶ added in v0.1.42
func (m *UiInputEvent_Text) SizeVT() (n int)
type UiPressEvent ¶
type UiPressEvent struct {
// Player is the player who pressed.
Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
// Node is the id of the pressed button.
Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"`
// contains filtered or unexported fields
}
UiPressEvent reports a press on a button in a player's interface.
func (*UiPressEvent) CloneMessageVT ¶
func (m *UiPressEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*UiPressEvent) CloneVT ¶
func (m *UiPressEvent) CloneVT() *UiPressEvent
func (*UiPressEvent) EqualMessageVT ¶
func (this *UiPressEvent) EqualMessageVT(thatMsg any) bool
func (*UiPressEvent) EqualVT ¶
func (this *UiPressEvent) EqualVT(that *UiPressEvent) bool
func (*UiPressEvent) GetNode ¶
func (x *UiPressEvent) GetNode() string
func (*UiPressEvent) GetPlayer ¶
func (x *UiPressEvent) GetPlayer() int32
func (*UiPressEvent) MarshalJSON ¶
func (x *UiPressEvent) MarshalJSON() ([]byte, error)
MarshalJSON marshals the UiPressEvent to JSON.
func (*UiPressEvent) MarshalProtoJSON ¶
func (x *UiPressEvent) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the UiPressEvent message to JSON.
func (*UiPressEvent) MarshalProtoText ¶
func (x *UiPressEvent) MarshalProtoText() string
func (*UiPressEvent) MarshalToSizedBufferVT ¶
func (m *UiPressEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UiPressEvent) MarshalToVT ¶
func (m *UiPressEvent) MarshalToVT(dAtA []byte) (int, error)
func (*UiPressEvent) MarshalVT ¶
func (m *UiPressEvent) MarshalVT() (dAtA []byte, err error)
func (*UiPressEvent) ProtoMessage ¶
func (*UiPressEvent) ProtoMessage()
func (*UiPressEvent) Reset ¶
func (x *UiPressEvent) Reset()
func (*UiPressEvent) SizeVT ¶
func (m *UiPressEvent) SizeVT() (n int)
func (*UiPressEvent) String ¶
func (x *UiPressEvent) String() string
func (*UiPressEvent) UnmarshalJSON ¶
func (x *UiPressEvent) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the UiPressEvent from JSON.
func (*UiPressEvent) UnmarshalProtoJSON ¶
func (x *UiPressEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the UiPressEvent message from JSON.
func (*UiPressEvent) UnmarshalVT ¶
func (m *UiPressEvent) UnmarshalVT(dAtA []byte) error
type UiRequest ¶
type UiRequest struct {
Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
// Change updates the player's tree.
Change *Change `protobuf:"bytes,2,opt,name=change,proto3" json:"change,omitempty"`
// contains filtered or unexported fields
}
UiRequest changes the interface the mod shows one player.
func (*UiRequest) CloneMessageVT ¶
func (m *UiRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*UiRequest) EqualMessageVT ¶
func (*UiRequest) MarshalJSON ¶
MarshalJSON marshals the UiRequest to JSON.
func (*UiRequest) MarshalProtoJSON ¶
func (x *UiRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the UiRequest message to JSON.
func (*UiRequest) MarshalProtoText ¶
func (*UiRequest) MarshalToSizedBufferVT ¶
func (*UiRequest) ProtoMessage ¶
func (*UiRequest) ProtoMessage()
func (*UiRequest) UnmarshalJSON ¶
UnmarshalJSON unmarshals the UiRequest from JSON.
func (*UiRequest) UnmarshalProtoJSON ¶
func (x *UiRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the UiRequest message from JSON.
func (*UiRequest) UnmarshalVT ¶
type Weight ¶ added in v0.1.42
type Weight int32
Weight is a text weight, as the game's faces draw them.
const ( // WEIGHT_DEFAULT keeps the panel's weight, or bold's. Weight_WEIGHT_DEFAULT Weight = 0 Weight_WEIGHT_THIN Weight = 1 Weight_WEIGHT_LIGHT Weight = 2 Weight_WEIGHT_NORMAL Weight = 3 Weight_WEIGHT_MEDIUM Weight = 4 Weight_WEIGHT_SEMI_BOLD Weight = 5 Weight_WEIGHT_BOLD Weight = 6 Weight_WEIGHT_BLACK Weight = 7 )
func (Weight) MarshalJSON ¶ added in v0.1.42
MarshalJSON marshals the Weight to JSON.
func (Weight) MarshalProtoJSON ¶ added in v0.1.42
func (x Weight) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Weight to JSON.
func (Weight) MarshalProtoText ¶ added in v0.1.42
func (Weight) MarshalText ¶ added in v0.1.42
MarshalText marshals the Weight to text.
func (*Weight) UnmarshalJSON ¶ added in v0.1.42
UnmarshalJSON unmarshals the Weight from JSON.
func (*Weight) UnmarshalProtoJSON ¶ added in v0.1.42
func (x *Weight) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Weight from JSON.
func (*Weight) UnmarshalText ¶ added in v0.1.42
UnmarshalText unmarshals the Weight from text.