Documentation
¶
Index ¶
- Variables
- type AbilityRow
- func (m *AbilityRow) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *AbilityRow) CloneVT() *AbilityRow
- func (this *AbilityRow) EqualMessageVT(thatMsg any) bool
- func (this *AbilityRow) EqualVT(that *AbilityRow) bool
- func (x *AbilityRow) GetAbilities() []*ShownAbility
- func (x *AbilityRow) GetHero() string
- func (x *AbilityRow) GetName() string
- func (x *AbilityRow) GetOwn() bool
- func (x *AbilityRow) GetPlayer() uint32
- func (x *AbilityRow) MarshalJSON() ([]byte, error)
- func (x *AbilityRow) MarshalProtoJSON(s *json.MarshalState)
- func (x *AbilityRow) MarshalProtoText() string
- func (m *AbilityRow) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AbilityRow) MarshalToVT(dAtA []byte) (int, error)
- func (m *AbilityRow) MarshalVT() (dAtA []byte, err error)
- func (*AbilityRow) ProtoMessage()
- func (x *AbilityRow) Reset()
- func (m *AbilityRow) SizeVT() (n int)
- func (x *AbilityRow) String() string
- func (x *AbilityRow) UnmarshalJSON(b []byte) error
- func (x *AbilityRow) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *AbilityRow) UnmarshalVT(dAtA []byte) error
- type ActionPhase
- func (x ActionPhase) Enum() *ActionPhase
- func (x ActionPhase) MarshalJSON() ([]byte, error)
- func (x ActionPhase) MarshalProtoJSON(s *json.MarshalState)
- func (x ActionPhase) MarshalProtoText() string
- func (x ActionPhase) MarshalText() ([]byte, error)
- func (x ActionPhase) String() string
- func (x *ActionPhase) UnmarshalJSON(b []byte) error
- func (x *ActionPhase) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *ActionPhase) UnmarshalText(b []byte) error
- 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 Binding
- func (m *Binding) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Binding) CloneVT() *Binding
- func (this *Binding) EqualMessageVT(thatMsg any) bool
- func (this *Binding) EqualVT(that *Binding) bool
- func (x *Binding) GetClasses() []string
- func (x *Binding) GetImage() string
- func (x *Binding) GetPanel() string
- func (x *Binding) GetPress() bool
- func (x *Binding) GetStyle() *Style
- func (x *Binding) GetText() string
- func (x *Binding) GetToken() string
- func (x *Binding) GetVariables() map[string]string
- func (x *Binding) GetVisible() bool
- func (x *Binding) MarshalJSON() ([]byte, error)
- func (x *Binding) MarshalProtoJSON(s *json.MarshalState)
- func (x *Binding) MarshalProtoText() string
- func (m *Binding) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Binding) MarshalToVT(dAtA []byte) (int, error)
- func (m *Binding) MarshalVT() (dAtA []byte, err error)
- func (*Binding) ProtoMessage()
- func (x *Binding) Reset()
- func (m *Binding) SizeVT() (n int)
- func (x *Binding) String() string
- func (x *Binding) UnmarshalJSON(b []byte) error
- func (x *Binding) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Binding) UnmarshalVT(dAtA []byte) error
- type Binding_VariablesEntry
- func (x *Binding_VariablesEntry) GetKey() string
- func (x *Binding_VariablesEntry) GetValue() string
- func (x *Binding_VariablesEntry) MarshalJSON() ([]byte, error)
- func (x *Binding_VariablesEntry) MarshalProtoJSON(s *json.MarshalState)
- func (x *Binding_VariablesEntry) MarshalProtoText() string
- func (*Binding_VariablesEntry) ProtoMessage()
- func (x *Binding_VariablesEntry) Reset()
- func (x *Binding_VariablesEntry) String() string
- func (x *Binding_VariablesEntry) UnmarshalJSON(b []byte) error
- func (x *Binding_VariablesEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
- type Bounds
- func (m *Bounds) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Bounds) CloneVT() *Bounds
- func (this *Bounds) EqualMessageVT(thatMsg any) bool
- func (this *Bounds) EqualVT(that *Bounds) bool
- func (x *Bounds) GetHeight() int32
- func (x *Bounds) GetWidth() int32
- func (x *Bounds) GetX() int32
- func (x *Bounds) GetY() int32
- func (x *Bounds) MarshalJSON() ([]byte, error)
- func (x *Bounds) MarshalProtoJSON(s *json.MarshalState)
- func (x *Bounds) MarshalProtoText() string
- func (m *Bounds) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Bounds) MarshalToVT(dAtA []byte) (int, error)
- func (m *Bounds) MarshalVT() (dAtA []byte, err error)
- func (*Bounds) ProtoMessage()
- func (x *Bounds) Reset()
- func (m *Bounds) SizeVT() (n int)
- func (x *Bounds) String() string
- func (x *Bounds) UnmarshalJSON(b []byte) error
- func (x *Bounds) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Bounds) UnmarshalVT(dAtA []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) GetGeneration() uint64
- 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 Clip
- func (m *Clip) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Clip) CloneVT() *Clip
- func (this *Clip) EqualMessageVT(thatMsg any) bool
- func (this *Clip) EqualVT(that *Clip) bool
- func (x *Clip) GetRadial() *ClipRadial
- func (x *Clip) GetRect() *ClipRect
- func (m *Clip) GetShape() isClip_Shape
- func (x *Clip) MarshalJSON() ([]byte, error)
- func (x *Clip) MarshalProtoJSON(s *json.MarshalState)
- func (x *Clip) MarshalProtoText() string
- func (m *Clip) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Clip) MarshalToVT(dAtA []byte) (int, error)
- func (m *Clip) MarshalVT() (dAtA []byte, err error)
- func (*Clip) ProtoMessage()
- func (x *Clip) Reset()
- func (m *Clip) SizeVT() (n int)
- func (x *Clip) String() string
- func (x *Clip) UnmarshalJSON(b []byte) error
- func (x *Clip) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Clip) UnmarshalVT(dAtA []byte) error
- type ClipRadial
- func (m *ClipRadial) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ClipRadial) CloneVT() *ClipRadial
- func (this *ClipRadial) EqualMessageVT(thatMsg any) bool
- func (this *ClipRadial) EqualVT(that *ClipRadial) bool
- func (x *ClipRadial) GetCenterX() float32
- func (x *ClipRadial) GetCenterY() float32
- func (x *ClipRadial) GetStart() float32
- func (x *ClipRadial) GetSweep() float32
- func (x *ClipRadial) MarshalJSON() ([]byte, error)
- func (x *ClipRadial) MarshalProtoJSON(s *json.MarshalState)
- func (x *ClipRadial) MarshalProtoText() string
- func (m *ClipRadial) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ClipRadial) MarshalToVT(dAtA []byte) (int, error)
- func (m *ClipRadial) MarshalVT() (dAtA []byte, err error)
- func (*ClipRadial) ProtoMessage()
- func (x *ClipRadial) Reset()
- func (m *ClipRadial) SizeVT() (n int)
- func (x *ClipRadial) String() string
- func (x *ClipRadial) UnmarshalJSON(b []byte) error
- func (x *ClipRadial) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *ClipRadial) UnmarshalVT(dAtA []byte) error
- type ClipRect
- func (m *ClipRect) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ClipRect) CloneVT() *ClipRect
- func (this *ClipRect) EqualMessageVT(thatMsg any) bool
- func (this *ClipRect) EqualVT(that *ClipRect) bool
- func (x *ClipRect) GetBottom() float32
- func (x *ClipRect) GetLeft() float32
- func (x *ClipRect) GetRight() float32
- func (x *ClipRect) GetTop() float32
- func (x *ClipRect) MarshalJSON() ([]byte, error)
- func (x *ClipRect) MarshalProtoJSON(s *json.MarshalState)
- func (x *ClipRect) MarshalProtoText() string
- func (m *ClipRect) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ClipRect) MarshalToVT(dAtA []byte) (int, error)
- func (m *ClipRect) MarshalVT() (dAtA []byte, err error)
- func (*ClipRect) ProtoMessage()
- func (x *ClipRect) Reset()
- func (m *ClipRect) SizeVT() (n int)
- func (x *ClipRect) String() string
- func (x *ClipRect) UnmarshalJSON(b []byte) error
- func (x *ClipRect) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *ClipRect) UnmarshalVT(dAtA []byte) error
- type Clip_Radial
- func (m *Clip_Radial) CloneOneofVT() isClip_Shape
- func (m *Clip_Radial) CloneVT() *Clip_Radial
- func (this *Clip_Radial) EqualVT(thatIface isClip_Shape) bool
- func (m *Clip_Radial) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Clip_Radial) MarshalToVT(dAtA []byte) (int, error)
- func (m *Clip_Radial) SizeVT() (n int)
- type Clip_Rect
- func (m *Clip_Rect) CloneOneofVT() isClip_Shape
- func (m *Clip_Rect) CloneVT() *Clip_Rect
- func (this *Clip_Rect) EqualVT(thatIface isClip_Shape) bool
- func (m *Clip_Rect) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Clip_Rect) MarshalToVT(dAtA []byte) (int, error)
- func (m *Clip_Rect) SizeVT() (n int)
- type Clock
- func (m *Clock) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Clock) CloneVT() *Clock
- func (this *Clock) EqualMessageVT(thatMsg any) bool
- func (this *Clock) EqualVT(that *Clock) bool
- func (x *Clock) GetFormat() ClockFormat
- func (x *Clock) GetPaused() bool
- func (x *Clock) GetRun() uint32
- func (x *Clock) GetSeconds() float64
- func (x *Clock) GetUp() bool
- func (x *Clock) MarshalJSON() ([]byte, error)
- func (x *Clock) MarshalProtoJSON(s *json.MarshalState)
- func (x *Clock) MarshalProtoText() string
- func (m *Clock) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Clock) MarshalToVT(dAtA []byte) (int, error)
- func (m *Clock) MarshalVT() (dAtA []byte, err error)
- func (*Clock) ProtoMessage()
- func (x *Clock) Reset()
- func (m *Clock) SizeVT() (n int)
- func (x *Clock) String() string
- func (x *Clock) UnmarshalJSON(b []byte) error
- func (x *Clock) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Clock) UnmarshalVT(dAtA []byte) error
- type ClockFormat
- func (x ClockFormat) Enum() *ClockFormat
- func (x ClockFormat) MarshalJSON() ([]byte, error)
- func (x ClockFormat) MarshalProtoJSON(s *json.MarshalState)
- func (x ClockFormat) MarshalProtoText() string
- func (x ClockFormat) MarshalText() ([]byte, error)
- func (x ClockFormat) String() string
- func (x *ClockFormat) UnmarshalJSON(b []byte) error
- func (x *ClockFormat) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *ClockFormat) UnmarshalText(b []byte) error
- type Cue
- func (m *Cue) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Cue) CloneVT() *Cue
- func (this *Cue) EqualMessageVT(thatMsg any) bool
- func (this *Cue) EqualVT(that *Cue) bool
- func (x *Cue) GetNumber() uint32
- func (x *Cue) GetSeconds() float32
- func (x *Cue) GetSound() string
- func (x *Cue) MarshalJSON() ([]byte, error)
- func (x *Cue) MarshalProtoJSON(s *json.MarshalState)
- func (x *Cue) MarshalProtoText() string
- func (m *Cue) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Cue) MarshalToVT(dAtA []byte) (int, error)
- func (m *Cue) MarshalVT() (dAtA []byte, err error)
- func (*Cue) ProtoMessage()
- func (x *Cue) Reset()
- func (m *Cue) SizeVT() (n int)
- func (x *Cue) String() string
- func (x *Cue) UnmarshalJSON(b []byte) error
- func (x *Cue) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Cue) UnmarshalVT(dAtA []byte) error
- type Curve
- func (m *Curve) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Curve) CloneVT() *Curve
- func (this *Curve) EqualMessageVT(thatMsg any) bool
- func (this *Curve) EqualVT(that *Curve) bool
- func (x *Curve) GetX1() float32
- func (x *Curve) GetX2() float32
- func (x *Curve) GetY1() float32
- func (x *Curve) GetY2() float32
- func (x *Curve) MarshalJSON() ([]byte, error)
- func (x *Curve) MarshalProtoJSON(s *json.MarshalState)
- func (x *Curve) MarshalProtoText() string
- func (m *Curve) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Curve) MarshalToVT(dAtA []byte) (int, error)
- func (m *Curve) MarshalVT() (dAtA []byte, err error)
- func (*Curve) ProtoMessage()
- func (x *Curve) Reset()
- func (m *Curve) SizeVT() (n int)
- func (x *Curve) String() string
- func (x *Curve) UnmarshalJSON(b []byte) error
- func (x *Curve) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Curve) 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 DocumentDelivered
- func (m *DocumentDelivered) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *DocumentDelivered) CloneVT() *DocumentDelivered
- func (this *DocumentDelivered) EqualMessageVT(thatMsg any) bool
- func (this *DocumentDelivered) EqualVT(that *DocumentDelivered) bool
- func (x *DocumentDelivered) GetText() string
- func (x *DocumentDelivered) MarshalJSON() ([]byte, error)
- func (x *DocumentDelivered) MarshalProtoJSON(s *json.MarshalState)
- func (x *DocumentDelivered) MarshalProtoText() string
- func (m *DocumentDelivered) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DocumentDelivered) MarshalToVT(dAtA []byte) (int, error)
- func (m *DocumentDelivered) MarshalVT() (dAtA []byte, err error)
- func (*DocumentDelivered) ProtoMessage()
- func (x *DocumentDelivered) Reset()
- func (m *DocumentDelivered) SizeVT() (n int)
- func (x *DocumentDelivered) String() string
- func (x *DocumentDelivered) UnmarshalJSON(b []byte) error
- func (x *DocumentDelivered) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *DocumentDelivered) UnmarshalVT(dAtA []byte) error
- type DocumentFailed
- func (m *DocumentFailed) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *DocumentFailed) CloneVT() *DocumentFailed
- func (this *DocumentFailed) EqualMessageVT(thatMsg any) bool
- func (this *DocumentFailed) EqualVT(that *DocumentFailed) bool
- func (x *DocumentFailed) GetReason() DocumentFailure
- func (x *DocumentFailed) MarshalJSON() ([]byte, error)
- func (x *DocumentFailed) MarshalProtoJSON(s *json.MarshalState)
- func (x *DocumentFailed) MarshalProtoText() string
- func (m *DocumentFailed) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DocumentFailed) MarshalToVT(dAtA []byte) (int, error)
- func (m *DocumentFailed) MarshalVT() (dAtA []byte, err error)
- func (*DocumentFailed) ProtoMessage()
- func (x *DocumentFailed) Reset()
- func (m *DocumentFailed) SizeVT() (n int)
- func (x *DocumentFailed) String() string
- func (x *DocumentFailed) UnmarshalJSON(b []byte) error
- func (x *DocumentFailed) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *DocumentFailed) UnmarshalVT(dAtA []byte) error
- type DocumentFailure
- func (x DocumentFailure) Enum() *DocumentFailure
- func (x DocumentFailure) MarshalJSON() ([]byte, error)
- func (x DocumentFailure) MarshalProtoJSON(s *json.MarshalState)
- func (x DocumentFailure) MarshalProtoText() string
- func (x DocumentFailure) MarshalText() ([]byte, error)
- func (x DocumentFailure) String() string
- func (x *DocumentFailure) UnmarshalJSON(b []byte) error
- func (x *DocumentFailure) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *DocumentFailure) UnmarshalText(b []byte) error
- type DocumentInput
- func (m *DocumentInput) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *DocumentInput) CloneVT() *DocumentInput
- func (this *DocumentInput) EqualMessageVT(thatMsg any) bool
- func (this *DocumentInput) EqualVT(that *DocumentInput) bool
- func (x *DocumentInput) GetControl() uint64
- func (x *DocumentInput) GetPlaceholder() string
- func (x *DocumentInput) GetSubmitLabel() string
- func (x *DocumentInput) MarshalJSON() ([]byte, error)
- func (x *DocumentInput) MarshalProtoJSON(s *json.MarshalState)
- func (x *DocumentInput) MarshalProtoText() string
- func (m *DocumentInput) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DocumentInput) MarshalToVT(dAtA []byte) (int, error)
- func (m *DocumentInput) MarshalVT() (dAtA []byte, err error)
- func (*DocumentInput) ProtoMessage()
- func (x *DocumentInput) Reset()
- func (m *DocumentInput) SizeVT() (n int)
- func (x *DocumentInput) String() string
- func (x *DocumentInput) UnmarshalJSON(b []byte) error
- func (x *DocumentInput) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *DocumentInput) UnmarshalVT(dAtA []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 Frame
- func (x Frame) Enum() *Frame
- func (x Frame) MarshalJSON() ([]byte, error)
- func (x Frame) MarshalProtoJSON(s *json.MarshalState)
- func (x Frame) MarshalProtoText() string
- func (x Frame) MarshalText() ([]byte, error)
- func (x Frame) String() string
- func (x *Frame) UnmarshalJSON(b []byte) error
- func (x *Frame) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *Frame) UnmarshalText(b []byte) error
- type GameAction
- func (x GameAction) Enum() *GameAction
- func (x GameAction) MarshalJSON() ([]byte, error)
- func (x GameAction) MarshalProtoJSON(s *json.MarshalState)
- func (x GameAction) MarshalProtoText() string
- func (x GameAction) MarshalText() ([]byte, error)
- func (x GameAction) String() string
- func (x *GameAction) UnmarshalJSON(b []byte) error
- func (x *GameAction) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *GameAction) 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 List
- func (m *List) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *List) CloneVT() *List
- func (this *List) EqualMessageVT(thatMsg any) bool
- func (this *List) EqualVT(that *List) bool
- func (x *List) GetFirst() uint32
- func (x *List) GetFocus() string
- func (x *List) GetFocusAt() uint32
- func (x *List) GetFocusStyle() *Style
- func (x *List) GetRow() []*Node
- func (x *List) GetRowHeight() float32
- func (x *List) GetRows() []*Row
- func (x *List) GetSelected() string
- func (x *List) GetSelectedStyle() *Style
- func (x *List) GetTotal() uint32
- func (x *List) MarshalJSON() ([]byte, error)
- func (x *List) MarshalProtoJSON(s *json.MarshalState)
- func (x *List) MarshalProtoText() string
- func (m *List) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *List) MarshalToVT(dAtA []byte) (int, error)
- func (m *List) MarshalVT() (dAtA []byte, err error)
- func (*List) ProtoMessage()
- func (x *List) Reset()
- func (m *List) SizeVT() (n int)
- func (x *List) String() string
- func (x *List) UnmarshalJSON(b []byte) error
- func (x *List) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *List) UnmarshalVT(dAtA []byte) error
- type Measured
- func (m *Measured) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Measured) CloneVT() *Measured
- func (this *Measured) EqualMessageVT(thatMsg any) bool
- func (this *Measured) EqualVT(that *Measured) bool
- func (x *Measured) GetBounds() *Bounds
- func (x *Measured) GetName() string
- func (x *Measured) MarshalJSON() ([]byte, error)
- func (x *Measured) MarshalProtoJSON(s *json.MarshalState)
- func (x *Measured) MarshalProtoText() string
- func (m *Measured) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Measured) MarshalToVT(dAtA []byte) (int, error)
- func (m *Measured) MarshalVT() (dAtA []byte, err error)
- func (*Measured) ProtoMessage()
- func (x *Measured) Reset()
- func (m *Measured) SizeVT() (n int)
- func (x *Measured) String() string
- func (x *Measured) UnmarshalJSON(b []byte) error
- func (x *Measured) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Measured) UnmarshalVT(dAtA []byte) error
- type Menu
- func (m *Menu) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Menu) CloneVT() *Menu
- func (this *Menu) EqualMessageVT(thatMsg any) bool
- func (this *Menu) EqualVT(that *Menu) bool
- func (x *Menu) GetMode() MenuMode
- func (x *Menu) GetOpenLabel() string
- func (x *Menu) GetOpenRequest() uint32
- func (x *Menu) GetPriority() int32
- func (x *Menu) MarshalJSON() ([]byte, error)
- func (x *Menu) MarshalProtoJSON(s *json.MarshalState)
- func (x *Menu) MarshalProtoText() string
- func (m *Menu) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Menu) MarshalToVT(dAtA []byte) (int, error)
- func (m *Menu) MarshalVT() (dAtA []byte, err error)
- func (*Menu) ProtoMessage()
- func (x *Menu) Reset()
- func (m *Menu) SizeVT() (n int)
- func (x *Menu) String() string
- func (x *Menu) UnmarshalJSON(b []byte) error
- func (x *Menu) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Menu) UnmarshalVT(dAtA []byte) error
- type MenuMode
- func (x MenuMode) Enum() *MenuMode
- func (x MenuMode) MarshalJSON() ([]byte, error)
- func (x MenuMode) MarshalProtoJSON(s *json.MarshalState)
- func (x MenuMode) MarshalProtoText() string
- func (x MenuMode) MarshalText() ([]byte, error)
- func (x MenuMode) String() string
- func (x *MenuMode) UnmarshalJSON(b []byte) error
- func (x *MenuMode) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *MenuMode) UnmarshalText(b []byte) error
- 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) GetAbility() uint32
- func (x *Node) GetAbilityBarPresses() bool
- func (x *Node) GetAbilityDisplay() []*AbilityRow
- func (x *Node) GetAbilityPlayer() uint32
- func (x *Node) GetBindings() []*Binding
- func (x *Node) GetChildren() []string
- func (x *Node) GetClasses() []string
- func (x *Node) GetClock() *Clock
- func (x *Node) GetCues() []*Cue
- func (x *Node) GetCycle() *Cycle
- func (x *Node) GetData() string
- func (x *Node) GetDisabled() bool
- func (x *Node) GetDocumentInput() *DocumentInput
- func (x *Node) GetDocumentText() string
- func (x *Node) GetDropdown() *Dropdown
- func (x *Node) GetEnter() *Style
- func (x *Node) GetExit() *Style
- func (x *Node) GetFocusOrder() uint32
- func (x *Node) GetFollowsOverlay() bool
- func (x *Node) GetFollowsPlacement() bool
- func (x *Node) GetFrame() Frame
- func (x *Node) GetFreeCursor() bool
- func (x *Node) GetFreeCursorAsks() uint32
- func (x *Node) GetGameActions() []GameAction
- func (x *Node) GetHero() int32
- func (x *Node) GetHeroLook() HeroLook
- func (x *Node) GetHideHud() []HudPart
- func (x *Node) GetHideInChat() bool
- func (x *Node) GetHover() *Style
- func (x *Node) GetHoverSound() string
- func (x *Node) GetId() string
- func (x *Node) GetImage() string
- func (x *Node) GetInitialFocus() bool
- func (m *Node) GetInput() isNode_Input
- func (x *Node) GetItem() uint32
- func (x *Node) GetKind() Kind
- func (x *Node) GetLayout() string
- func (x *Node) GetList() *List
- func (x *Node) GetMeasure() string
- func (x *Node) GetMenu() *Menu
- func (x *Node) GetRange() *Range
- func (x *Node) GetRoute() string
- func (x *Node) GetScaling() Scaling
- func (x *Node) GetSheets() []string
- func (x *Node) GetSlider() *Slider
- func (x *Node) GetSound() string
- func (x *Node) GetSpeaking() string
- func (x *Node) GetSteamId() uint64
- func (x *Node) GetStyle() *Style
- func (x *Node) GetSubmits() bool
- func (x *Node) GetText() string
- func (x *Node) GetTextEntry() *TextEntry
- func (x *Node) GetTimelines() []*Timeline
- 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_Range
- func (m *Node_Range) CloneOneofVT() isNode_Input
- func (m *Node_Range) CloneVT() *Node_Range
- func (this *Node_Range) EqualVT(thatIface isNode_Input) bool
- func (m *Node_Range) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Node_Range) MarshalToVT(dAtA []byte) (int, error)
- func (m *Node_Range) 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 Overlay
- func (x Overlay) Enum() *Overlay
- func (x Overlay) MarshalJSON() ([]byte, error)
- func (x Overlay) MarshalProtoJSON(s *json.MarshalState)
- func (x Overlay) MarshalProtoText() string
- func (x Overlay) MarshalText() ([]byte, error)
- func (x Overlay) String() string
- func (x *Overlay) UnmarshalJSON(b []byte) error
- func (x *Overlay) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *Overlay) UnmarshalText(b []byte) error
- type Range
- func (m *Range) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Range) CloneVT() *Range
- func (this *Range) EqualMessageVT(thatMsg any) bool
- func (this *Range) EqualVT(that *Range) bool
- func (x *Range) GetHandles() []*RangeHandle
- func (x *Range) GetMax() float32
- func (x *Range) GetMin() float32
- func (x *Range) GetStep() float32
- func (x *Range) MarshalJSON() ([]byte, error)
- func (x *Range) MarshalProtoJSON(s *json.MarshalState)
- func (x *Range) MarshalProtoText() string
- func (m *Range) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Range) MarshalToVT(dAtA []byte) (int, error)
- func (m *Range) MarshalVT() (dAtA []byte, err error)
- func (*Range) ProtoMessage()
- func (x *Range) Reset()
- func (m *Range) SizeVT() (n int)
- func (x *Range) String() string
- func (x *Range) UnmarshalJSON(b []byte) error
- func (x *Range) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Range) UnmarshalVT(dAtA []byte) error
- type RangeEvent
- func (m *RangeEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *RangeEvent) CloneVT() *RangeEvent
- func (this *RangeEvent) EqualMessageVT(thatMsg any) bool
- func (this *RangeEvent) EqualVT(that *RangeEvent) bool
- func (x *RangeEvent) GetHandle() string
- func (x *RangeEvent) GetPhase() ActionPhase
- func (x *RangeEvent) GetValues() []float32
- func (x *RangeEvent) MarshalJSON() ([]byte, error)
- func (x *RangeEvent) MarshalProtoJSON(s *json.MarshalState)
- func (x *RangeEvent) MarshalProtoText() string
- func (m *RangeEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RangeEvent) MarshalToVT(dAtA []byte) (int, error)
- func (m *RangeEvent) MarshalVT() (dAtA []byte, err error)
- func (*RangeEvent) ProtoMessage()
- func (x *RangeEvent) Reset()
- func (m *RangeEvent) SizeVT() (n int)
- func (x *RangeEvent) String() string
- func (x *RangeEvent) UnmarshalJSON(b []byte) error
- func (x *RangeEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *RangeEvent) UnmarshalVT(dAtA []byte) error
- type RangeHandle
- func (m *RangeHandle) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *RangeHandle) CloneVT() *RangeHandle
- func (this *RangeHandle) EqualMessageVT(thatMsg any) bool
- func (this *RangeHandle) EqualVT(that *RangeHandle) bool
- func (x *RangeHandle) GetName() string
- func (x *RangeHandle) GetValue() float32
- func (x *RangeHandle) MarshalJSON() ([]byte, error)
- func (x *RangeHandle) MarshalProtoJSON(s *json.MarshalState)
- func (x *RangeHandle) MarshalProtoText() string
- func (m *RangeHandle) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RangeHandle) MarshalToVT(dAtA []byte) (int, error)
- func (m *RangeHandle) MarshalVT() (dAtA []byte, err error)
- func (*RangeHandle) ProtoMessage()
- func (x *RangeHandle) Reset()
- func (m *RangeHandle) SizeVT() (n int)
- func (x *RangeHandle) String() string
- func (x *RangeHandle) UnmarshalJSON(b []byte) error
- func (x *RangeHandle) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *RangeHandle) UnmarshalVT(dAtA []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 Row
- func (m *Row) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Row) CloneVT() *Row
- func (this *Row) EqualMessageVT(thatMsg any) bool
- func (this *Row) EqualVT(that *Row) bool
- func (x *Row) GetFields() map[string]string
- func (x *Row) GetKey() string
- func (x *Row) MarshalJSON() ([]byte, error)
- func (x *Row) MarshalProtoJSON(s *json.MarshalState)
- func (x *Row) MarshalProtoText() string
- func (m *Row) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Row) MarshalToVT(dAtA []byte) (int, error)
- func (m *Row) MarshalVT() (dAtA []byte, err error)
- func (*Row) ProtoMessage()
- func (x *Row) Reset()
- func (m *Row) SizeVT() (n int)
- func (x *Row) String() string
- func (x *Row) UnmarshalJSON(b []byte) error
- func (x *Row) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Row) UnmarshalVT(dAtA []byte) error
- type Row_FieldsEntry
- func (x *Row_FieldsEntry) GetKey() string
- func (x *Row_FieldsEntry) GetValue() string
- func (x *Row_FieldsEntry) MarshalJSON() ([]byte, error)
- func (x *Row_FieldsEntry) MarshalProtoJSON(s *json.MarshalState)
- func (x *Row_FieldsEntry) MarshalProtoText() string
- func (*Row_FieldsEntry) ProtoMessage()
- func (x *Row_FieldsEntry) Reset()
- func (x *Row_FieldsEntry) String() string
- func (x *Row_FieldsEntry) UnmarshalJSON(b []byte) error
- func (x *Row_FieldsEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
- 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) GetPaused() 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 ShownAbility
- func (m *ShownAbility) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ShownAbility) CloneVT() *ShownAbility
- func (this *ShownAbility) EqualMessageVT(thatMsg any) bool
- func (this *ShownAbility) EqualVT(that *ShownAbility) bool
- func (x *ShownAbility) GetAbility() uint32
- func (x *ShownAbility) GetImage() string
- func (x *ShownAbility) GetUpgrades() uint32
- func (x *ShownAbility) MarshalJSON() ([]byte, error)
- func (x *ShownAbility) MarshalProtoJSON(s *json.MarshalState)
- func (x *ShownAbility) MarshalProtoText() string
- func (m *ShownAbility) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ShownAbility) MarshalToVT(dAtA []byte) (int, error)
- func (m *ShownAbility) MarshalVT() (dAtA []byte, err error)
- func (*ShownAbility) ProtoMessage()
- func (x *ShownAbility) Reset()
- func (m *ShownAbility) SizeVT() (n int)
- func (x *ShownAbility) String() string
- func (x *ShownAbility) UnmarshalJSON(b []byte) error
- func (x *ShownAbility) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *ShownAbility) 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) GetWheel() bool
- 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) GetClip() *Clip
- 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) GetTurn() float32
- 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 Timeline
- func (m *Timeline) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Timeline) CloneVT() *Timeline
- func (this *Timeline) EqualMessageVT(thatMsg any) bool
- func (this *Timeline) EqualVT(that *Timeline) bool
- func (x *Timeline) GetClock() TimelineClock
- func (x *Timeline) GetId() string
- func (x *Timeline) GetRun() uint32
- func (x *Timeline) GetSteps() []*TimelineStep
- func (x *Timeline) MarshalJSON() ([]byte, error)
- func (x *Timeline) MarshalProtoJSON(s *json.MarshalState)
- func (x *Timeline) MarshalProtoText() string
- func (m *Timeline) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Timeline) MarshalToVT(dAtA []byte) (int, error)
- func (m *Timeline) MarshalVT() (dAtA []byte, err error)
- func (*Timeline) ProtoMessage()
- func (x *Timeline) Reset()
- func (m *Timeline) SizeVT() (n int)
- func (x *Timeline) String() string
- func (x *Timeline) UnmarshalJSON(b []byte) error
- func (x *Timeline) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Timeline) UnmarshalVT(dAtA []byte) error
- type TimelineClock
- func (x TimelineClock) Enum() *TimelineClock
- func (x TimelineClock) MarshalJSON() ([]byte, error)
- func (x TimelineClock) MarshalProtoJSON(s *json.MarshalState)
- func (x TimelineClock) MarshalProtoText() string
- func (x TimelineClock) MarshalText() ([]byte, error)
- func (x TimelineClock) String() string
- func (x *TimelineClock) UnmarshalJSON(b []byte) error
- func (x *TimelineClock) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *TimelineClock) UnmarshalText(b []byte) error
- type TimelineStep
- func (m *TimelineStep) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *TimelineStep) CloneVT() *TimelineStep
- func (this *TimelineStep) EqualMessageVT(thatMsg any) bool
- func (this *TimelineStep) EqualVT(that *TimelineStep) bool
- func (x *TimelineStep) GetAt() float32
- func (x *TimelineStep) GetClasses() []string
- func (x *TimelineStep) GetMeasure() string
- func (x *TimelineStep) GetSeconds() float32
- func (x *TimelineStep) GetSound() string
- func (x *TimelineStep) GetStyle() *Style
- func (x *TimelineStep) MarshalJSON() ([]byte, error)
- func (x *TimelineStep) MarshalProtoJSON(s *json.MarshalState)
- func (x *TimelineStep) MarshalProtoText() string
- func (m *TimelineStep) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TimelineStep) MarshalToVT(dAtA []byte) (int, error)
- func (m *TimelineStep) MarshalVT() (dAtA []byte, err error)
- func (*TimelineStep) ProtoMessage()
- func (x *TimelineStep) Reset()
- func (m *TimelineStep) SizeVT() (n int)
- func (x *TimelineStep) String() string
- func (x *TimelineStep) UnmarshalJSON(b []byte) error
- func (x *TimelineStep) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *TimelineStep) UnmarshalVT(dAtA []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) GetCurve() *Curve
- 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) GetAddon() string
- func (x *Tree) GetGeneration() uint64
- 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 UiActionEvent
- func (m *UiActionEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *UiActionEvent) CloneVT() *UiActionEvent
- func (this *UiActionEvent) EqualMessageVT(thatMsg any) bool
- func (this *UiActionEvent) EqualVT(that *UiActionEvent) bool
- func (x *UiActionEvent) GetAction() GameAction
- func (x *UiActionEvent) GetPhase() ActionPhase
- func (x *UiActionEvent) GetPlayer() int32
- func (x *UiActionEvent) MarshalJSON() ([]byte, error)
- func (x *UiActionEvent) MarshalProtoJSON(s *json.MarshalState)
- func (x *UiActionEvent) MarshalProtoText() string
- func (m *UiActionEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UiActionEvent) MarshalToVT(dAtA []byte) (int, error)
- func (m *UiActionEvent) MarshalVT() (dAtA []byte, err error)
- func (*UiActionEvent) ProtoMessage()
- func (x *UiActionEvent) Reset()
- func (m *UiActionEvent) SizeVT() (n int)
- func (x *UiActionEvent) String() string
- func (x *UiActionEvent) UnmarshalJSON(b []byte) error
- func (x *UiActionEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *UiActionEvent) UnmarshalVT(dAtA []byte) error
- type UiDocumentEvent
- func (m *UiDocumentEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *UiDocumentEvent) CloneVT() *UiDocumentEvent
- func (this *UiDocumentEvent) EqualMessageVT(thatMsg any) bool
- func (this *UiDocumentEvent) EqualVT(that *UiDocumentEvent) bool
- func (x *UiDocumentEvent) GetDelivered() *DocumentDelivered
- func (x *UiDocumentEvent) GetFailed() *DocumentFailed
- func (x *UiDocumentEvent) GetNode() string
- func (x *UiDocumentEvent) GetPlayer() int32
- func (m *UiDocumentEvent) GetResult() isUiDocumentEvent_Result
- func (x *UiDocumentEvent) MarshalJSON() ([]byte, error)
- func (x *UiDocumentEvent) MarshalProtoJSON(s *json.MarshalState)
- func (x *UiDocumentEvent) MarshalProtoText() string
- func (m *UiDocumentEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UiDocumentEvent) MarshalToVT(dAtA []byte) (int, error)
- func (m *UiDocumentEvent) MarshalVT() (dAtA []byte, err error)
- func (*UiDocumentEvent) ProtoMessage()
- func (x *UiDocumentEvent) Reset()
- func (m *UiDocumentEvent) SizeVT() (n int)
- func (x *UiDocumentEvent) String() string
- func (x *UiDocumentEvent) UnmarshalJSON(b []byte) error
- func (x *UiDocumentEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *UiDocumentEvent) UnmarshalVT(dAtA []byte) error
- type UiDocumentEvent_Delivered
- func (m *UiDocumentEvent_Delivered) CloneOneofVT() isUiDocumentEvent_Result
- func (m *UiDocumentEvent_Delivered) CloneVT() *UiDocumentEvent_Delivered
- func (this *UiDocumentEvent_Delivered) EqualVT(thatIface isUiDocumentEvent_Result) bool
- func (m *UiDocumentEvent_Delivered) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UiDocumentEvent_Delivered) MarshalToVT(dAtA []byte) (int, error)
- func (m *UiDocumentEvent_Delivered) SizeVT() (n int)
- type UiDocumentEvent_Failed
- func (m *UiDocumentEvent_Failed) CloneOneofVT() isUiDocumentEvent_Result
- func (m *UiDocumentEvent_Failed) CloneVT() *UiDocumentEvent_Failed
- func (this *UiDocumentEvent_Failed) EqualVT(thatIface isUiDocumentEvent_Result) bool
- func (m *UiDocumentEvent_Failed) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UiDocumentEvent_Failed) MarshalToVT(dAtA []byte) (int, error)
- func (m *UiDocumentEvent_Failed) SizeVT() (n int)
- 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) GetRange() *RangeEvent
- func (x *UiInputEvent) GetRow() string
- func (x *UiInputEvent) GetText() string
- func (m *UiInputEvent) GetValue() isUiInputEvent_Value
- func (x *UiInputEvent) GetWheel() *Wheel
- 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_Range
- func (m *UiInputEvent_Range) CloneOneofVT() isUiInputEvent_Value
- func (m *UiInputEvent_Range) CloneVT() *UiInputEvent_Range
- func (this *UiInputEvent_Range) EqualVT(thatIface isUiInputEvent_Value) bool
- func (m *UiInputEvent_Range) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UiInputEvent_Range) MarshalToVT(dAtA []byte) (int, error)
- func (m *UiInputEvent_Range) SizeVT() (n int)
- type UiInputEvent_Row
- func (m *UiInputEvent_Row) CloneOneofVT() isUiInputEvent_Value
- func (m *UiInputEvent_Row) CloneVT() *UiInputEvent_Row
- func (this *UiInputEvent_Row) EqualVT(thatIface isUiInputEvent_Value) bool
- func (m *UiInputEvent_Row) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UiInputEvent_Row) MarshalToVT(dAtA []byte) (int, error)
- func (m *UiInputEvent_Row) 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 UiInputEvent_Wheel
- func (m *UiInputEvent_Wheel) CloneOneofVT() isUiInputEvent_Value
- func (m *UiInputEvent_Wheel) CloneVT() *UiInputEvent_Wheel
- func (this *UiInputEvent_Wheel) EqualVT(thatIface isUiInputEvent_Value) bool
- func (m *UiInputEvent_Wheel) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UiInputEvent_Wheel) MarshalToVT(dAtA []byte) (int, error)
- func (m *UiInputEvent_Wheel) SizeVT() (n int)
- type UiOverlayEvent
- func (m *UiOverlayEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *UiOverlayEvent) CloneVT() *UiOverlayEvent
- func (this *UiOverlayEvent) EqualMessageVT(thatMsg any) bool
- func (this *UiOverlayEvent) EqualVT(that *UiOverlayEvent) bool
- func (x *UiOverlayEvent) GetOverlay() Overlay
- func (x *UiOverlayEvent) GetPlayer() int32
- func (x *UiOverlayEvent) MarshalJSON() ([]byte, error)
- func (x *UiOverlayEvent) MarshalProtoJSON(s *json.MarshalState)
- func (x *UiOverlayEvent) MarshalProtoText() string
- func (m *UiOverlayEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UiOverlayEvent) MarshalToVT(dAtA []byte) (int, error)
- func (m *UiOverlayEvent) MarshalVT() (dAtA []byte, err error)
- func (*UiOverlayEvent) ProtoMessage()
- func (x *UiOverlayEvent) Reset()
- func (m *UiOverlayEvent) SizeVT() (n int)
- func (x *UiOverlayEvent) String() string
- func (x *UiOverlayEvent) UnmarshalJSON(b []byte) error
- func (x *UiOverlayEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *UiOverlayEvent) UnmarshalVT(dAtA []byte) error
- type UiPlacementEvent
- func (m *UiPlacementEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *UiPlacementEvent) CloneVT() *UiPlacementEvent
- func (this *UiPlacementEvent) EqualMessageVT(thatMsg any) bool
- func (this *UiPlacementEvent) EqualVT(that *UiPlacementEvent) bool
- func (x *UiPlacementEvent) GetHud() *Bounds
- func (x *UiPlacementEvent) GetMeasured() []*Measured
- func (x *UiPlacementEvent) GetPlayer() int32
- func (x *UiPlacementEvent) GetScreen() *Bounds
- func (x *UiPlacementEvent) MarshalJSON() ([]byte, error)
- func (x *UiPlacementEvent) MarshalProtoJSON(s *json.MarshalState)
- func (x *UiPlacementEvent) MarshalProtoText() string
- func (m *UiPlacementEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UiPlacementEvent) MarshalToVT(dAtA []byte) (int, error)
- func (m *UiPlacementEvent) MarshalVT() (dAtA []byte, err error)
- func (*UiPlacementEvent) ProtoMessage()
- func (x *UiPlacementEvent) Reset()
- func (m *UiPlacementEvent) SizeVT() (n int)
- func (x *UiPlacementEvent) String() string
- func (x *UiPlacementEvent) UnmarshalJSON(b []byte) error
- func (x *UiPlacementEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *UiPlacementEvent) UnmarshalVT(dAtA []byte) error
- 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) GetAction() string
- func (x *UiPressEvent) GetNode() string
- func (x *UiPressEvent) GetPayload() 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 UiWindowEvent
- func (m *UiWindowEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *UiWindowEvent) CloneVT() *UiWindowEvent
- func (this *UiWindowEvent) EqualMessageVT(thatMsg any) bool
- func (this *UiWindowEvent) EqualVT(that *UiWindowEvent) bool
- func (x *UiWindowEvent) GetCount() uint32
- func (x *UiWindowEvent) GetFirst() uint32
- func (x *UiWindowEvent) GetFocus() string
- func (x *UiWindowEvent) GetNode() string
- func (x *UiWindowEvent) GetPlayer() int32
- func (x *UiWindowEvent) MarshalJSON() ([]byte, error)
- func (x *UiWindowEvent) MarshalProtoJSON(s *json.MarshalState)
- func (x *UiWindowEvent) MarshalProtoText() string
- func (m *UiWindowEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UiWindowEvent) MarshalToVT(dAtA []byte) (int, error)
- func (m *UiWindowEvent) MarshalVT() (dAtA []byte, err error)
- func (*UiWindowEvent) ProtoMessage()
- func (x *UiWindowEvent) Reset()
- func (m *UiWindowEvent) SizeVT() (n int)
- func (x *UiWindowEvent) String() string
- func (x *UiWindowEvent) UnmarshalJSON(b []byte) error
- func (x *UiWindowEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *UiWindowEvent) 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
- type Wheel
- func (m *Wheel) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Wheel) CloneVT() *Wheel
- func (this *Wheel) EqualMessageVT(thatMsg any) bool
- func (this *Wheel) EqualVT(that *Wheel) bool
- func (x *Wheel) GetDelta() float32
- func (x *Wheel) GetFraction() float32
- func (x *Wheel) MarshalJSON() ([]byte, error)
- func (x *Wheel) MarshalProtoJSON(s *json.MarshalState)
- func (x *Wheel) MarshalProtoText() string
- func (m *Wheel) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Wheel) MarshalToVT(dAtA []byte) (int, error)
- func (m *Wheel) MarshalVT() (dAtA []byte, err error)
- func (*Wheel) ProtoMessage()
- func (x *Wheel) Reset()
- func (m *Wheel) SizeVT() (n int)
- func (x *Wheel) String() string
- func (x *Wheel) UnmarshalJSON(b []byte) error
- func (x *Wheel) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Wheel) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( Frame_name = map[int32]string{ 0: "FRAME_SCREEN", 1: "FRAME_HUD", } Frame_value = map[string]int32{ "FRAME_SCREEN": 0, "FRAME_HUD": 1, } )
Enum value maps for Frame.
var ( ClockFormat_name = map[int32]string{ 0: "CLOCK_FORMAT_MINUTES", 1: "CLOCK_FORMAT_SECONDS", 2: "CLOCK_FORMAT_TENTHS", } ClockFormat_value = map[string]int32{ "CLOCK_FORMAT_MINUTES": 0, "CLOCK_FORMAT_SECONDS": 1, "CLOCK_FORMAT_TENTHS": 2, } )
Enum value maps for ClockFormat.
var ( TimelineClock_name = map[int32]string{ 0: "TIMELINE_CLOCK_WALL", 1: "TIMELINE_CLOCK_GAME", } TimelineClock_value = map[string]int32{ "TIMELINE_CLOCK_WALL": 0, "TIMELINE_CLOCK_GAME": 1, } )
Enum value maps for TimelineClock.
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 ( GameAction_name = map[int32]string{ 0: "GAME_ACTION_UNKNOWN", 1: "GAME_ACTION_SCOREBOARD", } GameAction_value = map[string]int32{ "GAME_ACTION_UNKNOWN": 0, "GAME_ACTION_SCOREBOARD": 1, } )
Enum value maps for GameAction.
var ( ActionPhase_name = map[int32]string{ 0: "ACTION_PHASE_UNKNOWN", 1: "ACTION_PHASE_PRESSED", 2: "ACTION_PHASE_RELEASED", 3: "ACTION_PHASE_CANCELLED", } ActionPhase_value = map[string]int32{ "ACTION_PHASE_UNKNOWN": 0, "ACTION_PHASE_PRESSED": 1, "ACTION_PHASE_RELEASED": 2, "ACTION_PHASE_CANCELLED": 3, } )
Enum value maps for ActionPhase.
var ( Overlay_name = map[int32]string{ 0: "OVERLAY_NONE", 1: "OVERLAY_CHAT", 2: "OVERLAY_SHOP", 3: "OVERLAY_BUILDS", 4: "OVERLAY_ITEM_DRAFT", 5: "OVERLAY_POPUP", 6: "OVERLAY_ESCAPE_MENU", } Overlay_value = map[string]int32{ "OVERLAY_NONE": 0, "OVERLAY_CHAT": 1, "OVERLAY_SHOP": 2, "OVERLAY_BUILDS": 3, "OVERLAY_ITEM_DRAFT": 4, "OVERLAY_POPUP": 5, "OVERLAY_ESCAPE_MENU": 6, } )
Enum value maps for Overlay.
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", 8: "HUD_PART_STATUS", 9: "HUD_PART_STATS", 10: "HUD_PART_HERO_PICKER", 11: "HUD_PART_BROKER_COUNTDOWN", 12: "HUD_PART_ALL", 13: "HUD_PART_MINIMAP_PLAYERS", 14: "HUD_PART_INVENTORY", 15: "HUD_PART_CROSSHAIR", 16: "HUD_PART_CAST_FAILED", 17: "HUD_PART_EVENT_INDICATORS", 18: "HUD_PART_STATUS_INDICATORS", } 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, "HUD_PART_STATUS": 8, "HUD_PART_STATS": 9, "HUD_PART_HERO_PICKER": 10, "HUD_PART_BROKER_COUNTDOWN": 11, "HUD_PART_ALL": 12, "HUD_PART_MINIMAP_PLAYERS": 13, "HUD_PART_INVENTORY": 14, "HUD_PART_CROSSHAIR": 15, "HUD_PART_CAST_FAILED": 16, "HUD_PART_EVENT_INDICATORS": 17, "HUD_PART_STATUS_INDICATORS": 18, } )
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", 9: "KIND_MENU", 10: "KIND_MENU_CLOSE", 11: "KIND_DOCUMENT_INPUT", 12: "KIND_DOCUMENT_OUTPUT", 13: "KIND_LIST", } 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, "KIND_MENU": 9, "KIND_MENU_CLOSE": 10, "KIND_DOCUMENT_INPUT": 11, "KIND_DOCUMENT_OUTPUT": 12, "KIND_LIST": 13, } )
Enum value maps for Kind.
var ( MenuMode_name = map[int32]string{ 0: "MENU_MODE_MANUAL", 1: "MENU_MODE_TOGGLE", 2: "MENU_MODE_HOLD", } MenuMode_value = map[string]int32{ "MENU_MODE_MANUAL": 0, "MENU_MODE_TOGGLE": 1, "MENU_MODE_HOLD": 2, } )
Enum value maps for MenuMode.
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.
var ( DocumentFailure_name = map[int32]string{ 0: "DOCUMENT_FAILURE_UNKNOWN", 1: "DOCUMENT_FAILURE_TOO_LARGE", 2: "DOCUMENT_FAILURE_EXPIRED", 3: "DOCUMENT_FAILURE_CANCELLED", 4: "DOCUMENT_FAILURE_MALFORMED", } DocumentFailure_value = map[string]int32{ "DOCUMENT_FAILURE_UNKNOWN": 0, "DOCUMENT_FAILURE_TOO_LARGE": 1, "DOCUMENT_FAILURE_EXPIRED": 2, "DOCUMENT_FAILURE_CANCELLED": 3, "DOCUMENT_FAILURE_MALFORMED": 4, } )
Enum value maps for DocumentFailure.
Functions ¶
This section is empty.
Types ¶
type AbilityRow ¶ added in v0.1.76
type AbilityRow struct {
// Player is the player's slot, whose hero the ability window reads its
// numbers from.
Player uint32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
// Name is the player's name, which matches the player's Tab row.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Hero is the class name of the player's hero, such as hero_atlas, which
// matches a bot's row: a bot's row shows its hero's name in place of one.
Hero string `protobuf:"bytes,3,opt,name=hero,proto3" json:"hero,omitempty"`
// Own marks the row of the player whose screen this is; its abilities go on
// the ability bar as well.
Own bool `protobuf:"varint,4,opt,name=own,proto3" json:"own,omitempty"`
// Abilities holds the four ability slots in order, at most four.
Abilities []*ShownAbility `protobuf:"bytes,5,rep,name=abilities,proto3" json:"abilities,omitempty"`
// contains filtered or unexported fields
}
AbilityRow is one player's abilities, as AbilityDisplay shows them.
func (*AbilityRow) CloneMessageVT ¶ added in v0.1.76
func (m *AbilityRow) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*AbilityRow) CloneVT ¶ added in v0.1.76
func (m *AbilityRow) CloneVT() *AbilityRow
func (*AbilityRow) EqualMessageVT ¶ added in v0.1.76
func (this *AbilityRow) EqualMessageVT(thatMsg any) bool
func (*AbilityRow) EqualVT ¶ added in v0.1.76
func (this *AbilityRow) EqualVT(that *AbilityRow) bool
func (*AbilityRow) GetAbilities ¶ added in v0.1.76
func (x *AbilityRow) GetAbilities() []*ShownAbility
func (*AbilityRow) GetHero ¶ added in v0.1.76
func (x *AbilityRow) GetHero() string
func (*AbilityRow) GetName ¶ added in v0.1.76
func (x *AbilityRow) GetName() string
func (*AbilityRow) GetOwn ¶ added in v0.1.76
func (x *AbilityRow) GetOwn() bool
func (*AbilityRow) GetPlayer ¶ added in v0.1.76
func (x *AbilityRow) GetPlayer() uint32
func (*AbilityRow) MarshalJSON ¶ added in v0.1.76
func (x *AbilityRow) MarshalJSON() ([]byte, error)
MarshalJSON marshals the AbilityRow to JSON.
func (*AbilityRow) MarshalProtoJSON ¶ added in v0.1.76
func (x *AbilityRow) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the AbilityRow message to JSON.
func (*AbilityRow) MarshalProtoText ¶ added in v0.1.76
func (x *AbilityRow) MarshalProtoText() string
func (*AbilityRow) MarshalToSizedBufferVT ¶ added in v0.1.76
func (m *AbilityRow) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AbilityRow) MarshalToVT ¶ added in v0.1.76
func (m *AbilityRow) MarshalToVT(dAtA []byte) (int, error)
func (*AbilityRow) MarshalVT ¶ added in v0.1.76
func (m *AbilityRow) MarshalVT() (dAtA []byte, err error)
func (*AbilityRow) ProtoMessage ¶ added in v0.1.76
func (*AbilityRow) ProtoMessage()
func (*AbilityRow) Reset ¶ added in v0.1.76
func (x *AbilityRow) Reset()
func (*AbilityRow) SizeVT ¶ added in v0.1.76
func (m *AbilityRow) SizeVT() (n int)
func (*AbilityRow) String ¶ added in v0.1.76
func (x *AbilityRow) String() string
func (*AbilityRow) UnmarshalJSON ¶ added in v0.1.76
func (x *AbilityRow) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the AbilityRow from JSON.
func (*AbilityRow) UnmarshalProtoJSON ¶ added in v0.1.76
func (x *AbilityRow) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the AbilityRow message from JSON.
func (*AbilityRow) UnmarshalVT ¶ added in v0.1.76
func (m *AbilityRow) UnmarshalVT(dAtA []byte) error
type ActionPhase ¶
type ActionPhase int32
ActionPhase is where a press stands: of a game action, or of a range's handle.
const ( // ACTION_PHASE_UNKNOWN names no phase. ActionPhase_ACTION_PHASE_UNKNOWN ActionPhase = 0 // ACTION_PHASE_PRESSED starts a press. ActionPhase_ACTION_PHASE_PRESSED ActionPhase = 1 // ACTION_PHASE_RELEASED ends a press as the player let go. ActionPhase_ACTION_PHASE_RELEASED ActionPhase = 2 // ACTION_PHASE_CANCELLED ends a press before the player let go, as a stock // overlay took the player's input or the screen lost the HUD. The release // that follows sends nothing. ActionPhase_ACTION_PHASE_CANCELLED ActionPhase = 3 )
func (ActionPhase) Enum ¶
func (x ActionPhase) Enum() *ActionPhase
func (ActionPhase) MarshalJSON ¶
func (x ActionPhase) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ActionPhase to JSON.
func (ActionPhase) MarshalProtoJSON ¶
func (x ActionPhase) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ActionPhase to JSON.
func (ActionPhase) MarshalProtoText ¶
func (x ActionPhase) MarshalProtoText() string
func (ActionPhase) MarshalText ¶
func (x ActionPhase) MarshalText() ([]byte, error)
MarshalText marshals the ActionPhase to text.
func (ActionPhase) String ¶
func (x ActionPhase) String() string
func (*ActionPhase) UnmarshalJSON ¶
func (x *ActionPhase) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ActionPhase from JSON.
func (*ActionPhase) UnmarshalProtoJSON ¶
func (x *ActionPhase) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ActionPhase from JSON.
func (*ActionPhase) UnmarshalText ¶
func (x *ActionPhase) UnmarshalText(b []byte) error
UnmarshalText unmarshals the ActionPhase from text.
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 Binding ¶
type Binding struct {
// Panel is the panel's id in the layout: one to 64 letters, digits, '_',
// '-' and '.'.
Panel string `protobuf:"bytes,1,opt,name=panel,proto3" json:"panel,omitempty"`
// Text is a label's words, at most 1024 bytes.
Text *string `protobuf:"bytes,2,opt,name=text,proto3,oneof" json:"text,omitempty"`
// Visible shows or hides the panel.
Visible *bool `protobuf:"varint,3,opt,name=visible,proto3,oneof" json:"visible,omitempty"`
// Press makes the panel's press reach the mod as a press of the layout
// node, as a layout's script sends one, with the panel's id as its action
// and no payload. A layout that holds any binding takes presses only from
// the bindings that press, so a press of a panel the mod no longer binds is
// refused, and so is one its script sends.
Press bool `protobuf:"varint,4,opt,name=press,proto3" json:"press,omitempty"`
// Token is localized text, as a label's token is: '#' then letters, digits,
// '_', '-' and '.', shown in the player's language in place of text.
Token *string `protobuf:"bytes,5,opt,name=token,proto3,oneof" json:"token,omitempty"`
// Variables fill the token's {s:name} places, as a label's do.
Variables map[string]string `` /* 159-byte string literal not displayed */
// Classes are added to the panel's own, for the layout's sheets to style.
Classes []string `protobuf:"bytes,7,rep,name=classes,proto3" json:"classes,omitempty"`
// Style is written over the panel's inline style, property by property, as
// a node's style is; a property it stops setting goes back to the author's.
Style *Style `protobuf:"bytes,8,opt,name=style,proto3" json:"style,omitempty"`
// Image is a path in the game's content the panel shows, as an image
// node's is. The game cannot read a panel's image back, so the last image a
// binding set stays until the layout loads again.
Image *string `protobuf:"bytes,9,opt,name=image,proto3,oneof" json:"image,omitempty"`
// contains filtered or unexported fields
}
Binding sets parts of one panel of a layout. A property the binding leaves unset keeps the author's value, and one it stops setting returns to it. The renderer looks the panel up only within the layout's own panel, so a binding reaches no other mod's panels and none of the game's. A panel the layout lacks leaves that binding undrawn, which the renderer logs once, and the rest drawn. When the game builds the layout again, the renderer finds the panels again and applies every binding.
func (*Binding) CloneMessageVT ¶
func (m *Binding) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Binding) EqualMessageVT ¶
func (*Binding) GetClasses ¶
func (*Binding) GetVariables ¶
func (*Binding) GetVisible ¶
func (*Binding) MarshalJSON ¶
MarshalJSON marshals the Binding to JSON.
func (*Binding) MarshalProtoJSON ¶
func (x *Binding) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Binding message to JSON.
func (*Binding) MarshalProtoText ¶
func (*Binding) MarshalToSizedBufferVT ¶
func (*Binding) ProtoMessage ¶
func (*Binding) ProtoMessage()
func (*Binding) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Binding from JSON.
func (*Binding) UnmarshalProtoJSON ¶
func (x *Binding) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Binding message from JSON.
func (*Binding) UnmarshalVT ¶
type Binding_VariablesEntry ¶
type Binding_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 (*Binding_VariablesEntry) GetKey ¶
func (x *Binding_VariablesEntry) GetKey() string
func (*Binding_VariablesEntry) GetValue ¶
func (x *Binding_VariablesEntry) GetValue() string
func (*Binding_VariablesEntry) MarshalJSON ¶
func (x *Binding_VariablesEntry) MarshalJSON() ([]byte, error)
MarshalJSON marshals the Binding_VariablesEntry to JSON.
func (*Binding_VariablesEntry) MarshalProtoJSON ¶
func (x *Binding_VariablesEntry) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Binding_VariablesEntry message to JSON.
func (*Binding_VariablesEntry) MarshalProtoText ¶
func (x *Binding_VariablesEntry) MarshalProtoText() string
func (*Binding_VariablesEntry) ProtoMessage ¶
func (*Binding_VariablesEntry) ProtoMessage()
func (*Binding_VariablesEntry) Reset ¶
func (x *Binding_VariablesEntry) Reset()
func (*Binding_VariablesEntry) String ¶
func (x *Binding_VariablesEntry) String() string
func (*Binding_VariablesEntry) UnmarshalJSON ¶
func (x *Binding_VariablesEntry) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the Binding_VariablesEntry from JSON.
func (*Binding_VariablesEntry) UnmarshalProtoJSON ¶
func (x *Binding_VariablesEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Binding_VariablesEntry message from JSON.
type Bounds ¶
type Bounds struct {
// X is the box's left edge.
X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
// Y is the box's top edge.
Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"`
// Width is the box's width.
Width int32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"`
// Height is the box's height.
Height int32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
// contains filtered or unexported fields
}
Bounds is a box on a player's screen in layout units, the units of a style's pixels, measured from the screen's top left corner. The screen is 1080 layout units tall at every resolution.
func (*Bounds) CloneMessageVT ¶
func (m *Bounds) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Bounds) EqualMessageVT ¶
func (*Bounds) MarshalJSON ¶
MarshalJSON marshals the Bounds to JSON.
func (*Bounds) MarshalProtoJSON ¶
func (x *Bounds) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Bounds message to JSON.
func (*Bounds) MarshalProtoText ¶
func (*Bounds) MarshalToSizedBufferVT ¶
func (*Bounds) ProtoMessage ¶
func (*Bounds) ProtoMessage()
func (*Bounds) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Bounds from JSON.
func (*Bounds) UnmarshalProtoJSON ¶
func (x *Bounds) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Bounds message from JSON.
func (*Bounds) UnmarshalVT ¶
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"`
// Generation identifies the lifetime of the UI tree. Screen relays set it
// so a reset survives coalescing with the next redraw. Zero keeps the
// current generation, except an empty reset starts the next lifetime.
// Raw native events have this field cleared before the screen owner
// handles them; a mod cannot select its lifetime. Peer snapshots and
// deltas carry the screen owner's nonzero generation unchanged.
Generation uint64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,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) GetGeneration ¶ added in v0.1.72
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 Clip ¶ added in v0.1.93
type Clip struct {
// Shape selects the shape.
//
// Types that are assignable to Shape:
// *Clip_Rect
// *Clip_Radial
Shape isClip_Shape `protobuf_oneof:"shape"`
// contains filtered or unexported fields
}
Clip is the shape a node is drawn inside.
func (*Clip) CloneMessageVT ¶ added in v0.1.93
func (m *Clip) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Clip) EqualMessageVT ¶ added in v0.1.93
func (*Clip) GetRadial ¶ added in v0.1.93
func (x *Clip) GetRadial() *ClipRadial
func (*Clip) MarshalJSON ¶ added in v0.1.93
MarshalJSON marshals the Clip to JSON.
func (*Clip) MarshalProtoJSON ¶ added in v0.1.93
func (x *Clip) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Clip message to JSON.
func (*Clip) MarshalProtoText ¶ added in v0.1.93
func (*Clip) MarshalToSizedBufferVT ¶ added in v0.1.93
func (*Clip) ProtoMessage ¶ added in v0.1.93
func (*Clip) ProtoMessage()
func (*Clip) UnmarshalJSON ¶ added in v0.1.93
UnmarshalJSON unmarshals the Clip from JSON.
func (*Clip) UnmarshalProtoJSON ¶ added in v0.1.93
func (x *Clip) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Clip message from JSON.
func (*Clip) UnmarshalVT ¶ added in v0.1.93
type ClipRadial ¶ added in v0.1.93
type ClipRadial struct {
// CenterX and CenterY are the slice's center, as percents of the node's
// size; unset is its center.
CenterX *float32 `protobuf:"fixed32,1,opt,name=center_x,json=centerX,proto3,oneof" json:"centerX,omitempty"`
CenterY *float32 `protobuf:"fixed32,2,opt,name=center_y,json=centerY,proto3,oneof" json:"centerY,omitempty"`
// Start is where the slice begins, in degrees.
Start float32 `protobuf:"fixed32,3,opt,name=start,proto3" json:"start,omitempty"`
// Sweep is the slice's angle, in degrees.
Sweep float32 `protobuf:"fixed32,4,opt,name=sweep,proto3" json:"sweep,omitempty"`
// contains filtered or unexported fields
}
ClipRadial is the slice of the node swept about a center from start through sweep degrees, as the game's radial clip draws a cooldown ring; a sweep of 360 draws the whole node.
func (*ClipRadial) CloneMessageVT ¶ added in v0.1.93
func (m *ClipRadial) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ClipRadial) CloneVT ¶ added in v0.1.93
func (m *ClipRadial) CloneVT() *ClipRadial
func (*ClipRadial) EqualMessageVT ¶ added in v0.1.93
func (this *ClipRadial) EqualMessageVT(thatMsg any) bool
func (*ClipRadial) EqualVT ¶ added in v0.1.93
func (this *ClipRadial) EqualVT(that *ClipRadial) bool
func (*ClipRadial) GetCenterX ¶ added in v0.1.93
func (x *ClipRadial) GetCenterX() float32
func (*ClipRadial) GetCenterY ¶ added in v0.1.93
func (x *ClipRadial) GetCenterY() float32
func (*ClipRadial) GetStart ¶ added in v0.1.93
func (x *ClipRadial) GetStart() float32
func (*ClipRadial) GetSweep ¶ added in v0.1.93
func (x *ClipRadial) GetSweep() float32
func (*ClipRadial) MarshalJSON ¶ added in v0.1.93
func (x *ClipRadial) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ClipRadial to JSON.
func (*ClipRadial) MarshalProtoJSON ¶ added in v0.1.93
func (x *ClipRadial) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ClipRadial message to JSON.
func (*ClipRadial) MarshalProtoText ¶ added in v0.1.93
func (x *ClipRadial) MarshalProtoText() string
func (*ClipRadial) MarshalToSizedBufferVT ¶ added in v0.1.93
func (m *ClipRadial) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ClipRadial) MarshalToVT ¶ added in v0.1.93
func (m *ClipRadial) MarshalToVT(dAtA []byte) (int, error)
func (*ClipRadial) MarshalVT ¶ added in v0.1.93
func (m *ClipRadial) MarshalVT() (dAtA []byte, err error)
func (*ClipRadial) ProtoMessage ¶ added in v0.1.93
func (*ClipRadial) ProtoMessage()
func (*ClipRadial) Reset ¶ added in v0.1.93
func (x *ClipRadial) Reset()
func (*ClipRadial) SizeVT ¶ added in v0.1.93
func (m *ClipRadial) SizeVT() (n int)
func (*ClipRadial) String ¶ added in v0.1.93
func (x *ClipRadial) String() string
func (*ClipRadial) UnmarshalJSON ¶ added in v0.1.93
func (x *ClipRadial) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ClipRadial from JSON.
func (*ClipRadial) UnmarshalProtoJSON ¶ added in v0.1.93
func (x *ClipRadial) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ClipRadial message from JSON.
func (*ClipRadial) UnmarshalVT ¶ added in v0.1.93
func (m *ClipRadial) UnmarshalVT(dAtA []byte) error
type ClipRect ¶ added in v0.1.93
type ClipRect struct {
Top float32 `protobuf:"fixed32,1,opt,name=top,proto3" json:"top,omitempty"`
Right float32 `protobuf:"fixed32,2,opt,name=right,proto3" json:"right,omitempty"`
Bottom float32 `protobuf:"fixed32,3,opt,name=bottom,proto3" json:"bottom,omitempty"`
Left float32 `protobuf:"fixed32,4,opt,name=left,proto3" json:"left,omitempty"`
// contains filtered or unexported fields
}
ClipRect is a box inside a node, each side a percent of the node's size from its top or left edge.
func (*ClipRect) CloneMessageVT ¶ added in v0.1.93
func (m *ClipRect) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ClipRect) EqualMessageVT ¶ added in v0.1.93
func (*ClipRect) MarshalJSON ¶ added in v0.1.93
MarshalJSON marshals the ClipRect to JSON.
func (*ClipRect) MarshalProtoJSON ¶ added in v0.1.93
func (x *ClipRect) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ClipRect message to JSON.
func (*ClipRect) MarshalProtoText ¶ added in v0.1.93
func (*ClipRect) MarshalToSizedBufferVT ¶ added in v0.1.93
func (*ClipRect) MarshalToVT ¶ added in v0.1.93
func (*ClipRect) ProtoMessage ¶ added in v0.1.93
func (*ClipRect) ProtoMessage()
func (*ClipRect) UnmarshalJSON ¶ added in v0.1.93
UnmarshalJSON unmarshals the ClipRect from JSON.
func (*ClipRect) UnmarshalProtoJSON ¶ added in v0.1.93
func (x *ClipRect) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ClipRect message from JSON.
func (*ClipRect) UnmarshalVT ¶ added in v0.1.93
type Clip_Radial ¶ added in v0.1.93
type Clip_Radial struct {
// Radial is a slice of a circle about a point in the node.
Radial *ClipRadial `protobuf:"bytes,2,opt,name=radial,proto3,oneof"`
}
func (*Clip_Radial) CloneOneofVT ¶ added in v0.1.93
func (m *Clip_Radial) CloneOneofVT() isClip_Shape
func (*Clip_Radial) CloneVT ¶ added in v0.1.93
func (m *Clip_Radial) CloneVT() *Clip_Radial
func (*Clip_Radial) EqualVT ¶ added in v0.1.93
func (this *Clip_Radial) EqualVT(thatIface isClip_Shape) bool
func (*Clip_Radial) MarshalToSizedBufferVT ¶ added in v0.1.93
func (m *Clip_Radial) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Clip_Radial) MarshalToVT ¶ added in v0.1.93
func (m *Clip_Radial) MarshalToVT(dAtA []byte) (int, error)
func (*Clip_Radial) SizeVT ¶ added in v0.1.93
func (m *Clip_Radial) SizeVT() (n int)
type Clip_Rect ¶ added in v0.1.93
type Clip_Rect struct {
// Rect is a box inside the node.
Rect *ClipRect `protobuf:"bytes,1,opt,name=rect,proto3,oneof"`
}
func (*Clip_Rect) CloneOneofVT ¶ added in v0.1.93
func (m *Clip_Rect) CloneOneofVT() isClip_Shape
func (*Clip_Rect) MarshalToSizedBufferVT ¶ added in v0.1.93
func (*Clip_Rect) MarshalToVT ¶ added in v0.1.93
type Clock ¶ added in v0.1.93
type Clock struct {
// Seconds is the time the clock shows as the renderer first draws it.
Seconds float64 `protobuf:"fixed64,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
// Up counts up from seconds; otherwise the clock counts down and stops at
// zero.
Up bool `protobuf:"varint,2,opt,name=up,proto3" json:"up,omitempty"`
// Paused holds the clock at seconds.
Paused bool `protobuf:"varint,3,opt,name=paused,proto3" json:"paused,omitempty"`
// Format writes the time.
Format ClockFormat `protobuf:"varint,4,opt,name=format,proto3" json:"format,omitempty"`
// Run names one run of the clock. The renderer starts counting again from
// seconds when any of the clock's fields change, so a mod changes run to
// restart a clock at the same time, such as each round's opening. A
// renderer that first draws a running clock later, as after a reload,
// starts it from seconds.
Run uint32 `protobuf:"varint,5,opt,name=run,proto3" json:"run,omitempty"`
// contains filtered or unexported fields
}
Clock is a time a label counts in the player's game.
func (*Clock) CloneMessageVT ¶ added in v0.1.93
func (m *Clock) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Clock) EqualMessageVT ¶ added in v0.1.93
func (*Clock) GetFormat ¶ added in v0.1.93
func (x *Clock) GetFormat() ClockFormat
func (*Clock) GetSeconds ¶ added in v0.1.93
func (*Clock) MarshalJSON ¶ added in v0.1.93
MarshalJSON marshals the Clock to JSON.
func (*Clock) MarshalProtoJSON ¶ added in v0.1.93
func (x *Clock) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Clock message to JSON.
func (*Clock) MarshalProtoText ¶ added in v0.1.93
func (*Clock) MarshalToSizedBufferVT ¶ added in v0.1.93
func (*Clock) ProtoMessage ¶ added in v0.1.93
func (*Clock) ProtoMessage()
func (*Clock) UnmarshalJSON ¶ added in v0.1.93
UnmarshalJSON unmarshals the Clock from JSON.
func (*Clock) UnmarshalProtoJSON ¶ added in v0.1.93
func (x *Clock) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Clock message from JSON.
func (*Clock) UnmarshalVT ¶ added in v0.1.93
type ClockFormat ¶ added in v0.1.93
type ClockFormat int32
ClockFormat writes a clock's time.
const ( // CLOCK_FORMAT_MINUTES writes minutes and seconds, such as "4:05". ClockFormat_CLOCK_FORMAT_MINUTES ClockFormat = 0 // CLOCK_FORMAT_SECONDS writes whole seconds, such as "245". ClockFormat_CLOCK_FORMAT_SECONDS ClockFormat = 1 // CLOCK_FORMAT_TENTHS writes seconds and tenths, such as "9.4", with // minutes before them from a minute up, such as "1:05.3". ClockFormat_CLOCK_FORMAT_TENTHS ClockFormat = 2 )
func (ClockFormat) Enum ¶ added in v0.1.93
func (x ClockFormat) Enum() *ClockFormat
func (ClockFormat) MarshalJSON ¶ added in v0.1.93
func (x ClockFormat) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ClockFormat to JSON.
func (ClockFormat) MarshalProtoJSON ¶ added in v0.1.93
func (x ClockFormat) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ClockFormat to JSON.
func (ClockFormat) MarshalProtoText ¶ added in v0.1.93
func (x ClockFormat) MarshalProtoText() string
func (ClockFormat) MarshalText ¶ added in v0.1.93
func (x ClockFormat) MarshalText() ([]byte, error)
MarshalText marshals the ClockFormat to text.
func (ClockFormat) String ¶ added in v0.1.93
func (x ClockFormat) String() string
func (*ClockFormat) UnmarshalJSON ¶ added in v0.1.93
func (x *ClockFormat) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ClockFormat from JSON.
func (*ClockFormat) UnmarshalProtoJSON ¶ added in v0.1.93
func (x *ClockFormat) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ClockFormat from JSON.
func (*ClockFormat) UnmarshalText ¶ added in v0.1.93
func (x *ClockFormat) UnmarshalText(b []byte) error
UnmarshalText unmarshals the ClockFormat from text.
type Cue ¶ added in v0.1.76
type Cue struct {
// Number orders the mod's cues for the player; a later cue has a higher
// number.
Number uint32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
// Sound is the game's sound event, named as Node's sound is.
Sound string `protobuf:"bytes,2,opt,name=sound,proto3" json:"sound,omitempty"`
// Seconds cuts the sound after that long, keeping only its start; zero
// plays it out.
Seconds float32 `protobuf:"fixed32,3,opt,name=seconds,proto3" json:"seconds,omitempty"`
// contains filtered or unexported fields
}
Cue is one sound played to one player.
func (*Cue) CloneMessageVT ¶ added in v0.1.76
func (m *Cue) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Cue) EqualMessageVT ¶ added in v0.1.76
func (*Cue) GetSeconds ¶ added in v0.1.76
func (*Cue) MarshalJSON ¶ added in v0.1.76
MarshalJSON marshals the Cue to JSON.
func (*Cue) MarshalProtoJSON ¶ added in v0.1.76
func (x *Cue) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Cue message to JSON.
func (*Cue) MarshalProtoText ¶ added in v0.1.76
func (*Cue) MarshalToSizedBufferVT ¶ added in v0.1.76
func (*Cue) ProtoMessage ¶ added in v0.1.76
func (*Cue) ProtoMessage()
func (*Cue) UnmarshalJSON ¶ added in v0.1.76
UnmarshalJSON unmarshals the Cue from JSON.
func (*Cue) UnmarshalProtoJSON ¶ added in v0.1.76
func (x *Cue) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Cue message from JSON.
func (*Cue) UnmarshalVT ¶ added in v0.1.76
type Curve ¶ added in v0.1.93
type Curve struct {
X1 float32 `protobuf:"fixed32,1,opt,name=x1,proto3" json:"x1,omitempty"`
Y1 float32 `protobuf:"fixed32,2,opt,name=y1,proto3" json:"y1,omitempty"`
X2 float32 `protobuf:"fixed32,3,opt,name=x2,proto3" json:"x2,omitempty"`
Y2 float32 `protobuf:"fixed32,4,opt,name=y2,proto3" json:"y2,omitempty"`
// contains filtered or unexported fields
}
Curve is a cubic Bezier easing curve's two control points. Each x is from 0 to 1; a y outside 0 to 1 overshoots.
func (*Curve) CloneMessageVT ¶ added in v0.1.93
func (m *Curve) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Curve) EqualMessageVT ¶ added in v0.1.93
func (*Curve) MarshalJSON ¶ added in v0.1.93
MarshalJSON marshals the Curve to JSON.
func (*Curve) MarshalProtoJSON ¶ added in v0.1.93
func (x *Curve) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Curve message to JSON.
func (*Curve) MarshalProtoText ¶ added in v0.1.93
func (*Curve) MarshalToSizedBufferVT ¶ added in v0.1.93
func (*Curve) ProtoMessage ¶ added in v0.1.93
func (*Curve) ProtoMessage()
func (*Curve) UnmarshalJSON ¶ added in v0.1.93
UnmarshalJSON unmarshals the Curve from JSON.
func (*Curve) UnmarshalProtoJSON ¶ added in v0.1.93
func (x *Curve) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Curve message from JSON.
func (*Curve) UnmarshalVT ¶ added in v0.1.93
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 DocumentDelivered ¶
type DocumentDelivered struct {
// Text is the document the player submitted, at most 262,144 UTF-8 bytes.
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
// contains filtered or unexported fields
}
DocumentDelivered is a submission that arrived whole.
func (*DocumentDelivered) CloneMessageVT ¶
func (m *DocumentDelivered) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*DocumentDelivered) CloneVT ¶
func (m *DocumentDelivered) CloneVT() *DocumentDelivered
func (*DocumentDelivered) EqualMessageVT ¶
func (this *DocumentDelivered) EqualMessageVT(thatMsg any) bool
func (*DocumentDelivered) EqualVT ¶
func (this *DocumentDelivered) EqualVT(that *DocumentDelivered) bool
func (*DocumentDelivered) GetText ¶
func (x *DocumentDelivered) GetText() string
func (*DocumentDelivered) MarshalJSON ¶
func (x *DocumentDelivered) MarshalJSON() ([]byte, error)
MarshalJSON marshals the DocumentDelivered to JSON.
func (*DocumentDelivered) MarshalProtoJSON ¶
func (x *DocumentDelivered) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the DocumentDelivered message to JSON.
func (*DocumentDelivered) MarshalProtoText ¶
func (x *DocumentDelivered) MarshalProtoText() string
func (*DocumentDelivered) MarshalToSizedBufferVT ¶
func (m *DocumentDelivered) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DocumentDelivered) MarshalToVT ¶
func (m *DocumentDelivered) MarshalToVT(dAtA []byte) (int, error)
func (*DocumentDelivered) MarshalVT ¶
func (m *DocumentDelivered) MarshalVT() (dAtA []byte, err error)
func (*DocumentDelivered) ProtoMessage ¶
func (*DocumentDelivered) ProtoMessage()
func (*DocumentDelivered) Reset ¶
func (x *DocumentDelivered) Reset()
func (*DocumentDelivered) SizeVT ¶
func (m *DocumentDelivered) SizeVT() (n int)
func (*DocumentDelivered) String ¶
func (x *DocumentDelivered) String() string
func (*DocumentDelivered) UnmarshalJSON ¶
func (x *DocumentDelivered) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the DocumentDelivered from JSON.
func (*DocumentDelivered) UnmarshalProtoJSON ¶
func (x *DocumentDelivered) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the DocumentDelivered message from JSON.
func (*DocumentDelivered) UnmarshalVT ¶
func (m *DocumentDelivered) UnmarshalVT(dAtA []byte) error
type DocumentFailed ¶
type DocumentFailed struct {
// Reason says why it ended.
Reason DocumentFailure `protobuf:"varint,1,opt,name=reason,proto3" json:"reason,omitempty"`
// contains filtered or unexported fields
}
DocumentFailed is a submission that ended without its document.
func (*DocumentFailed) CloneMessageVT ¶
func (m *DocumentFailed) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*DocumentFailed) CloneVT ¶
func (m *DocumentFailed) CloneVT() *DocumentFailed
func (*DocumentFailed) EqualMessageVT ¶
func (this *DocumentFailed) EqualMessageVT(thatMsg any) bool
func (*DocumentFailed) EqualVT ¶
func (this *DocumentFailed) EqualVT(that *DocumentFailed) bool
func (*DocumentFailed) GetReason ¶
func (x *DocumentFailed) GetReason() DocumentFailure
func (*DocumentFailed) MarshalJSON ¶
func (x *DocumentFailed) MarshalJSON() ([]byte, error)
MarshalJSON marshals the DocumentFailed to JSON.
func (*DocumentFailed) MarshalProtoJSON ¶
func (x *DocumentFailed) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the DocumentFailed message to JSON.
func (*DocumentFailed) MarshalProtoText ¶
func (x *DocumentFailed) MarshalProtoText() string
func (*DocumentFailed) MarshalToSizedBufferVT ¶
func (m *DocumentFailed) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DocumentFailed) MarshalToVT ¶
func (m *DocumentFailed) MarshalToVT(dAtA []byte) (int, error)
func (*DocumentFailed) MarshalVT ¶
func (m *DocumentFailed) MarshalVT() (dAtA []byte, err error)
func (*DocumentFailed) ProtoMessage ¶
func (*DocumentFailed) ProtoMessage()
func (*DocumentFailed) Reset ¶
func (x *DocumentFailed) Reset()
func (*DocumentFailed) SizeVT ¶
func (m *DocumentFailed) SizeVT() (n int)
func (*DocumentFailed) String ¶
func (x *DocumentFailed) String() string
func (*DocumentFailed) UnmarshalJSON ¶
func (x *DocumentFailed) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the DocumentFailed from JSON.
func (*DocumentFailed) UnmarshalProtoJSON ¶
func (x *DocumentFailed) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the DocumentFailed message from JSON.
func (*DocumentFailed) UnmarshalVT ¶
func (m *DocumentFailed) UnmarshalVT(dAtA []byte) error
type DocumentFailure ¶
type DocumentFailure int32
DocumentFailure says why a document input's submission did not arrive.
const ( DocumentFailure_DOCUMENT_FAILURE_UNKNOWN DocumentFailure = 0 // TooLarge is a document longer than 262,144 UTF-8 bytes. DocumentFailure_DOCUMENT_FAILURE_TOO_LARGE DocumentFailure = 1 // Expired is a transfer that did not finish within its deadline: 20 // seconds and one more for each 14,400 bytes the document declares. DocumentFailure_DOCUMENT_FAILURE_EXPIRED DocumentFailure = 2 // Cancelled is a transfer the player stopped, as by closing its menu. DocumentFailure_DOCUMENT_FAILURE_CANCELLED DocumentFailure = 3 // Malformed is a transfer whose frames were missing, out of order, or // not text. DocumentFailure_DOCUMENT_FAILURE_MALFORMED DocumentFailure = 4 )
func (DocumentFailure) Enum ¶
func (x DocumentFailure) Enum() *DocumentFailure
func (DocumentFailure) MarshalJSON ¶
func (x DocumentFailure) MarshalJSON() ([]byte, error)
MarshalJSON marshals the DocumentFailure to JSON.
func (DocumentFailure) MarshalProtoJSON ¶
func (x DocumentFailure) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the DocumentFailure to JSON.
func (DocumentFailure) MarshalProtoText ¶
func (x DocumentFailure) MarshalProtoText() string
func (DocumentFailure) MarshalText ¶
func (x DocumentFailure) MarshalText() ([]byte, error)
MarshalText marshals the DocumentFailure to text.
func (DocumentFailure) String ¶
func (x DocumentFailure) String() string
func (*DocumentFailure) UnmarshalJSON ¶
func (x *DocumentFailure) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the DocumentFailure from JSON.
func (*DocumentFailure) UnmarshalProtoJSON ¶
func (x *DocumentFailure) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the DocumentFailure from JSON.
func (*DocumentFailure) UnmarshalText ¶
func (x *DocumentFailure) UnmarshalText(b []byte) error
UnmarshalText unmarshals the DocumentFailure from text.
type DocumentInput ¶
type DocumentInput struct {
// Placeholder is shown when the draft is empty.
Placeholder string `protobuf:"bytes,1,opt,name=placeholder,proto3" json:"placeholder,omitempty"`
// SubmitLabel names the submit button; empty means "Submit".
SubmitLabel string `protobuf:"bytes,2,opt,name=submit_label,json=submitLabel,proto3" json:"submitLabel,omitempty"`
// Control identifies the current player and form lifetime. The host sets it
// on accepted trees, never taking a value written by a mod.
Control uint64 `protobuf:"varint,3,opt,name=control,proto3" json:"control,omitempty"`
// contains filtered or unexported fields
}
DocumentInput presents an initially empty, multiline draft and a submit button.
func (*DocumentInput) CloneMessageVT ¶
func (m *DocumentInput) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*DocumentInput) CloneVT ¶
func (m *DocumentInput) CloneVT() *DocumentInput
func (*DocumentInput) EqualMessageVT ¶
func (this *DocumentInput) EqualMessageVT(thatMsg any) bool
func (*DocumentInput) EqualVT ¶
func (this *DocumentInput) EqualVT(that *DocumentInput) bool
func (*DocumentInput) GetControl ¶
func (x *DocumentInput) GetControl() uint64
func (*DocumentInput) GetPlaceholder ¶
func (x *DocumentInput) GetPlaceholder() string
func (*DocumentInput) GetSubmitLabel ¶
func (x *DocumentInput) GetSubmitLabel() string
func (*DocumentInput) MarshalJSON ¶
func (x *DocumentInput) MarshalJSON() ([]byte, error)
MarshalJSON marshals the DocumentInput to JSON.
func (*DocumentInput) MarshalProtoJSON ¶
func (x *DocumentInput) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the DocumentInput message to JSON.
func (*DocumentInput) MarshalProtoText ¶
func (x *DocumentInput) MarshalProtoText() string
func (*DocumentInput) MarshalToSizedBufferVT ¶
func (m *DocumentInput) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DocumentInput) MarshalToVT ¶
func (m *DocumentInput) MarshalToVT(dAtA []byte) (int, error)
func (*DocumentInput) MarshalVT ¶
func (m *DocumentInput) MarshalVT() (dAtA []byte, err error)
func (*DocumentInput) ProtoMessage ¶
func (*DocumentInput) ProtoMessage()
func (*DocumentInput) Reset ¶
func (x *DocumentInput) Reset()
func (*DocumentInput) SizeVT ¶
func (m *DocumentInput) SizeVT() (n int)
func (*DocumentInput) String ¶
func (x *DocumentInput) String() string
func (*DocumentInput) UnmarshalJSON ¶
func (x *DocumentInput) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the DocumentInput from JSON.
func (*DocumentInput) UnmarshalProtoJSON ¶
func (x *DocumentInput) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the DocumentInput message from JSON.
func (*DocumentInput) UnmarshalVT ¶
func (m *DocumentInput) UnmarshalVT(dAtA []byte) error
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 Frame ¶
type Frame int32
Frame is the box a mod's root fills.
const ( // FRAME_SCREEN is the whole screen. Frame_FRAME_SCREEN Frame = 0 // FRAME_HUD is the box the game lays its own HUD out in: the whole screen, // or its middle 16:9 when the player keeps a wide screen's HUD there. A root // aligned to its edges sits beside the stock HUD's corners. Frame_FRAME_HUD Frame = 1 )
func (Frame) MarshalJSON ¶
MarshalJSON marshals the Frame to JSON.
func (Frame) MarshalProtoJSON ¶
func (x Frame) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Frame to JSON.
func (Frame) MarshalProtoText ¶
func (Frame) MarshalText ¶
MarshalText marshals the Frame to text.
func (*Frame) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Frame from JSON.
func (*Frame) UnmarshalProtoJSON ¶
func (x *Frame) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Frame from JSON.
func (*Frame) UnmarshalText ¶
UnmarshalText unmarshals the Frame from text.
type GameAction ¶
type GameAction int32
GameAction is one of the game's own bound actions a mod may follow.
const ( // GAME_ACTION_UNKNOWN names no action. GameAction_GAME_ACTION_UNKNOWN GameAction = 0 // GAME_ACTION_SCOREBOARD holds the game's Tab screen while it is held. GameAction_GAME_ACTION_SCOREBOARD GameAction = 1 )
func (GameAction) Enum ¶
func (x GameAction) Enum() *GameAction
func (GameAction) MarshalJSON ¶
func (x GameAction) MarshalJSON() ([]byte, error)
MarshalJSON marshals the GameAction to JSON.
func (GameAction) MarshalProtoJSON ¶
func (x GameAction) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the GameAction to JSON.
func (GameAction) MarshalProtoText ¶
func (x GameAction) MarshalProtoText() string
func (GameAction) MarshalText ¶
func (x GameAction) MarshalText() ([]byte, error)
MarshalText marshals the GameAction to text.
func (GameAction) String ¶
func (x GameAction) String() string
func (*GameAction) UnmarshalJSON ¶
func (x *GameAction) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the GameAction from JSON.
func (*GameAction) UnmarshalProtoJSON ¶
func (x *GameAction) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the GameAction from JSON.
func (*GameAction) UnmarshalText ¶
func (x *GameAction) UnmarshalText(b []byte) error
UnmarshalText unmarshals the GameAction 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 // HUD_PART_STATUS is the game's own mark in the top-left corner, for a // frame that names the session there instead. HudPart_HUD_PART_STATUS HudPart = 8 // HUD_PART_STATS is the block of the player's weapon, spirit and vitality // stats at the lower left. The souls, items and status icons beside it // stay. HudPart_HUD_PART_STATS HudPart = 9 // HUD_PART_HERO_PICKER is the screen the game shows a player who has not // picked a hero yet, with its team and spectate buttons, for a mod that // gives the hero itself. HudPart_HUD_PART_HERO_PICKER HudPart = 10 // HUD_PART_BROKER_COUNTDOWN is the countdown in the Broker's window while // the player stands at his booth, for a mod whose Broker keeps no time. HudPart_HUD_PART_BROKER_COUNTDOWN HudPart = 11 // HUD_PART_ALL is the whole of the game's HUD, for a screen that takes the // player's whole view, such as a draft before the match. The mods' own // interfaces, Hyperline's, the game's tooltips and its chat stay. HudPart_HUD_PART_ALL HudPart = 12 // HUD_PART_MINIMAP_PLAYERS is every player's icon on the minimap, the // player's own included. The map, its objectives and its hints stay. HudPart_HUD_PART_MINIMAP_PLAYERS HudPart = 13 // HUD_PART_INVENTORY is the player's purchased items at the lower right of // their stats. The stats, souls and status icons stay. HudPart_HUD_PART_INVENTORY HudPart = 14 // HUD_PART_CROSSHAIR is the crosshair with what the game draws in it: the // reticle, the clip ring and ammo count, and the stamina pips. The ammo // warnings stay. HudPart_HUD_PART_CROSSHAIR HudPart = 15 // HUD_PART_CAST_FAILED is the notice under the crosshair that names an // ability the player could not cast and why, such as a cooldown or too // little stamina. HudPart_HUD_PART_CAST_FAILED HudPart = 16 // HUD_PART_EVENT_INDICATORS is the icons and numbers the game floats at // each event that affects the player, such as a status applied to them, an // item they used or souls they picked up. HudPart_HUD_PART_EVENT_INDICATORS HudPart = 17 // HUD_PART_STATUS_INDICATORS is the event indicators that name a crowd // control status applied to the player: stunned, silenced, disarmed, asleep // or immobilized. Damage and healing numbers and items used stay. HudPart_HUD_PART_STATUS_INDICATORS HudPart = 18 )
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 sends presses back to the mod, as // UiPressEvent's action and payload, or 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 // KIND_MENU shows children only while its renderer-owned surface is open. Kind_KIND_MENU Kind = 9 // KIND_MENU_CLOSE dismisses the containing menu without a server event. Kind_KIND_MENU_CLOSE Kind = 10 // KIND_DOCUMENT_INPUT edits and explicitly submits a text document. Kind_KIND_DOCUMENT_INPUT Kind = 11 // KIND_DOCUMENT_OUTPUT shows selectable, non-editable plain text. Kind_KIND_DOCUMENT_OUTPUT Kind = 12 // KIND_LIST scrolls the keyed rows of its list, drawing each from the // list's row template. It lists no children. Kind_KIND_LIST Kind = 13 )
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 List ¶
type List struct {
// Row is the template each row draws: its nodes, at most 16, with the node
// whose id is empty as the row's own panel, whose children name the others
// by id. A label's text and a node's variables fill each "{field}" from the
// row's fields, and an image that is "{field}" shows that field, which must
// name an image from the game's content. A template node is a panel, a
// label or an image.
Row []*Node `protobuf:"bytes,1,rep,name=row,proto3" json:"row,omitempty"`
// RowHeight is each row's height in layout pixels, 1 to 1000.
RowHeight float32 `protobuf:"fixed32,2,opt,name=row_height,json=rowHeight,proto3" json:"rowHeight,omitempty"`
// First is the place of rows[0] in the whole list, and Total the number of
// rows the list holds, at most 20,000.
First uint32 `protobuf:"varint,3,opt,name=first,proto3" json:"first,omitempty"`
Total uint32 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"`
// Rows holds the rows in the window the renderer asked for, in order: at
// most 256, each key distinct.
Rows []*Row `protobuf:"bytes,5,rep,name=rows,proto3" json:"rows,omitempty"`
// FocusStyle is laid over the focused row's own style, and SelectedStyle
// over the selected row's.
FocusStyle *Style `protobuf:"bytes,6,opt,name=focus_style,json=focusStyle,proto3" json:"focusStyle,omitempty"`
SelectedStyle *Style `protobuf:"bytes,7,opt,name=selected_style,json=selectedStyle,proto3" json:"selectedStyle,omitempty"`
// Selected is the key of the row the mod draws as chosen, or empty when
// the list holds no such row.
Selected string `protobuf:"bytes,8,opt,name=selected,proto3" json:"selected,omitempty"`
// Focus is the key the renderer last said has the focus, and FocusAt its
// place in the whole list, unset when the list holds no such row. The
// renderer reads them to keep the focus on its row as rows come and go.
Focus string `protobuf:"bytes,9,opt,name=focus,proto3" json:"focus,omitempty"`
FocusAt *uint32 `protobuf:"varint,10,opt,name=focus_at,json=focusAt,proto3,oneof" json:"focusAt,omitempty"`
// contains filtered or unexported fields
}
List is a scrolling list of keyed rows, which may hold far more rows than a tree holds nodes. The mod keeps every row in order and sends here only the window of rows the player's renderer asked for with a UiWindowEvent, with the list's total, so the screen carries only the rows near the visible box and the renderer builds a panel only for those. Showing a list, or scrolling it, costs the window and not the list. The list scrolls with the mouse wheel over it.
The list takes the keyboard and controller as one panel and holds which row has the focus by key, so the focus stays on its row as rows arrive, leave or move, and passes to the next row, or the one before the last, when its own row leaves. The player chooses the focused row with Enter or the controller's confirm, or any row by clicking it, and the mod hears its key as the list's input. The mod's selected names the row it draws as chosen.
func (*List) CloneMessageVT ¶
func (m *List) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*List) EqualMessageVT ¶
func (*List) GetFocusAt ¶
func (*List) GetFocusStyle ¶
func (*List) GetRowHeight ¶
func (*List) GetSelected ¶
func (*List) GetSelectedStyle ¶
func (*List) MarshalJSON ¶
MarshalJSON marshals the List to JSON.
func (*List) MarshalProtoJSON ¶
func (x *List) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the List message to JSON.
func (*List) MarshalProtoText ¶
func (*List) MarshalToSizedBufferVT ¶
func (*List) ProtoMessage ¶
func (*List) ProtoMessage()
func (*List) UnmarshalJSON ¶
UnmarshalJSON unmarshals the List from JSON.
func (*List) UnmarshalProtoJSON ¶
func (x *List) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the List message from JSON.
func (*List) UnmarshalVT ¶
type Measured ¶
type Measured struct {
// Name is the node's measure.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Bounds is where the screen laid the node out.
Bounds *Bounds `protobuf:"bytes,2,opt,name=bounds,proto3" json:"bounds,omitempty"`
// contains filtered or unexported fields
}
Measured is the bounds of the node a tree names with measure.
func (*Measured) CloneMessageVT ¶
func (m *Measured) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Measured) EqualMessageVT ¶
func (*Measured) MarshalJSON ¶
MarshalJSON marshals the Measured to JSON.
func (*Measured) MarshalProtoJSON ¶
func (x *Measured) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Measured message to JSON.
func (*Measured) MarshalProtoText ¶
func (*Measured) MarshalToSizedBufferVT ¶
func (*Measured) ProtoMessage ¶
func (*Measured) ProtoMessage()
func (*Measured) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Measured from JSON.
func (*Measured) UnmarshalProtoJSON ¶
func (x *Measured) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Measured message from JSON.
func (*Measured) UnmarshalVT ¶
type Menu ¶
type Menu struct {
// Mode selects what the scoreboard input does.
Mode MenuMode `protobuf:"varint,1,opt,name=mode,proto3" json:"mode,omitempty"`
// OpenLabel names the optional opener shown while the children are hidden.
OpenLabel string `protobuf:"bytes,2,opt,name=open_label,json=openLabel,proto3" json:"openLabel,omitempty"`
// OpenRequest opens once when it advances within this surface's lifetime.
// A request the stock interface or another open menu blocks waits, and
// opens once nothing blocks it, unless the menu is gone by then. One
// request waits at a time: within a mod the higher priority, otherwise the
// newer.
OpenRequest uint32 `protobuf:"varint,3,opt,name=open_request,json=openRequest,proto3" json:"openRequest,omitempty"`
// Priority orders this mod's own menus: a request waits while the mod's
// open menu has a higher priority, and otherwise replaces it. Another mod's
// open menu always keeps a request waiting, and the stock interface always
// wins.
Priority int32 `protobuf:"varint,4,opt,name=priority,proto3" json:"priority,omitempty"`
// contains filtered or unexported fields
}
Menu defines a local surface, not a stream of key events for the mod.
func (*Menu) CloneMessageVT ¶
func (m *Menu) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Menu) EqualMessageVT ¶
func (*Menu) GetOpenLabel ¶
func (*Menu) GetOpenRequest ¶
func (*Menu) GetPriority ¶
func (*Menu) MarshalJSON ¶
MarshalJSON marshals the Menu to JSON.
func (*Menu) MarshalProtoJSON ¶
func (x *Menu) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Menu message to JSON.
func (*Menu) MarshalProtoText ¶
func (*Menu) MarshalToSizedBufferVT ¶
func (*Menu) ProtoMessage ¶
func (*Menu) ProtoMessage()
func (*Menu) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Menu from JSON.
func (*Menu) UnmarshalProtoJSON ¶
func (x *Menu) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Menu message from JSON.
func (*Menu) UnmarshalVT ¶
type MenuMode ¶
type MenuMode int32
MenuMode selects how the game's scoreboard input affects a menu.
const ( // MENU_MODE_MANUAL only opens on a button press or a new OpenRequest. MenuMode_MENU_MODE_MANUAL MenuMode = 0 // MENU_MODE_TOGGLE toggles on each fresh scoreboard press. MenuMode_MENU_MODE_TOGGLE MenuMode = 1 // MENU_MODE_HOLD opens on a fresh press and closes on release. MenuMode_MENU_MODE_HOLD MenuMode = 2 )
func (MenuMode) MarshalJSON ¶
MarshalJSON marshals the MenuMode to JSON.
func (MenuMode) MarshalProtoJSON ¶
func (x MenuMode) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the MenuMode to JSON.
func (MenuMode) MarshalProtoText ¶
func (MenuMode) MarshalText ¶
MarshalText marshals the MenuMode to text.
func (*MenuMode) UnmarshalJSON ¶
UnmarshalJSON unmarshals the MenuMode from JSON.
func (*MenuMode) UnmarshalProtoJSON ¶
func (x *MenuMode) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the MenuMode from JSON.
func (*MenuMode) UnmarshalText ¶
UnmarshalText unmarshals the MenuMode from text.
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". The renderer writes the name of
// the mod's content addon in place of "{addon}", so a mod names its own
// pictures as "file://{images}/{addon}/mark.png" without knowing the name
// the host mounted them under; a renderer that knows no addon for the mod
// draws the image empty.
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"`
// Item is an item's id, the game's string token of its class name, whose
// shop card the game shows while the pointer is over the node, in place of
// the tooltip. A node with an item takes the pointer.
Item uint32 `protobuf:"varint,32,opt,name=item,proto3" json:"item,omitempty"`
// Ability is an ability's id, the game's string token of its class name as
// item's is, whose window the game shows while the pointer is over the
// node, in place of the tooltip and the shop card, in the player's
// language. A node with an ability takes the pointer.
Ability uint32 `protobuf:"varint,34,opt,name=ability,proto3" json:"ability,omitempty"`
// AbilityPlayer is the player slot whose hero the ability's window reads
// its numbers from; that hero must stand on the map.
AbilityPlayer uint32 `protobuf:"varint,35,opt,name=ability_player,json=abilityPlayer,proto3" json:"abilityPlayer,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 or a range's bounds 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
// *Node_Range
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"`
// Classes names the node's classes, which the mod's style sheets select.
// The renderer adds and removes only the classes that changed, so a change
// starts the sheets' transitions. The node's style still wins over a class.
Classes []string `protobuf:"bytes,29,rep,name=classes,proto3" json:"classes,omitempty"`
// Sheets lists the mod's style sheets by their paths in its content addon's
// styles directory, such as "hud.css"; only the root's list counts. Each
// sheet styles the mod's panels and no other mod's, and a later sheet wins
// over an earlier one. The renderer loads a sheet as the layout that the
// build writes beside it, named for the sheet with ".xml" added, such as
// "hud.css.xml", so a sheet loads only where the mod's layouts do. A path is
// one or more segments of letters, digits, '_', '-' and '.', none of them
// "..", ending in ".css".
Sheets []string `protobuf:"bytes,30,rep,name=sheets,proto3" json:"sheets,omitempty"`
// FreeCursor shows the player's mouse cursor without Tab held, so they can
// click the mod's panels, while the root holds it; only the root's value
// counts. Aiming returns once no mod's root frees the cursor, so a mod that
// stops, a reset and a player who leaves all give the mouse back.
FreeCursor bool `protobuf:"varint,31,opt,name=free_cursor,json=freeCursor,proto3" json:"freeCursor,omitempty"`
// FreeCursorAsks counts the mod's explicit asks for the cursor. The player
// can put the cursor away with the game's own keys, and that choice holds
// until the count rises: a rise shows the cursor again while the root frees
// it, and a screen that changes anything else leaves the player's choice be.
FreeCursorAsks uint32 `protobuf:"varint,33,opt,name=free_cursor_asks,json=freeCursorAsks,proto3" json:"freeCursorAsks,omitempty"`
// Cues are sounds the player's game plays for them alone, each once; only
// the root's list counts. The renderer plays each cue numbered above the
// newest it has played for the mod, notes the list it first sees without
// playing it, so a reloaded renderer plays nothing old, and plays a new UI
// lifetime's list from its start. The list keeps only the last few cues.
Cues []*Cue `protobuf:"bytes,36,rep,name=cues,proto3" json:"cues,omitempty"`
// Timelines are the root's timed presentations, by id; only the root's
// list counts.
Timelines []*Timeline `protobuf:"bytes,56,rep,name=timelines,proto3" json:"timelines,omitempty"`
// AbilityBarPresses asks for clicks on the game's own ability bar: a click
// on the icon or the upgrade pips of the ability in slot N, 0 to 3, reaches
// the mod as a press of the node "ability:N", which no element's id can be.
// The renderer's stock guard sends one press per click while it may hold
// the game's HUD, so a handler left by an ended session sends nothing. Only
// the root's flag counts.
AbilityBarPresses bool `protobuf:"varint,37,opt,name=ability_bar_presses,json=abilityBarPresses,proto3" json:"abilityBarPresses,omitempty"`
// AbilityDisplay shows abilities in place of the ones the game shows for a
// player's hero: on that player's row of the game's Tab screen, and for the
// row marked own, on the player's own ability bar too. The game draws those
// from the hero's standard abilities by slot, so an ability the mod gave
// with replaceAbility shows as the one it replaced. The renderer's stock
// guard draws them in the game's own frame, ring and pips, opens the game's
// ability window for them, and gives the game's own back once the screen
// stops asking or it may no longer hold the HUD. Only the root's rows count.
AbilityDisplay []*AbilityRow `protobuf:"bytes,38,rep,name=ability_display,json=abilityDisplay,proto3" json:"abilityDisplay,omitempty"`
// Clock runs a label's time in the player's game, so the tree stays the
// same while the time changes. The label shows the time in place of its
// text, or fills its token's {s:clock} place with it.
Clock *Clock `protobuf:"bytes,39,opt,name=clock,proto3" json:"clock,omitempty"`
// HideInChat hides the node while the player has the game's chat box open,
// which then shows the chat history itself, so a node that repeats chat,
// such as a lane of chat lines, gives way to it. The renderer reads the
// chat box's state in the player's game; a renderer that finds no chat box
// always shows the node.
HideInChat bool `protobuf:"varint,40,opt,name=hide_in_chat,json=hideInChat,proto3" json:"hideInChat,omitempty"`
// Speaking shows the node only while the player sees this player name
// speak on voice chat, and for a moment after, so a pause between words
// does not blink it. The renderer reads the voice marks the game keeps on
// the stock top bar's player panels, which stay while a mod hides the top
// bar, and knows each player by the name the top bar shows; a renderer
// that finds no top bar hides the node. A mod marks who is talking this
// way without drawing the tree again as voices start and stop.
Speaking string `protobuf:"bytes,41,opt,name=speaking,proto3" json:"speaking,omitempty"`
// Menu configures the local lifetime of a menu's children.
Menu *Menu `protobuf:"bytes,42,opt,name=menu,proto3" json:"menu,omitempty"`
// DocumentInput configures a form that sends one whole document on submit.
DocumentInput *DocumentInput `protobuf:"bytes,43,opt,name=document_input,json=documentInput,proto3" json:"documentInput,omitempty"`
// DocumentText is the plain, selectable text of a document output, at most
// 262,144 UTF-8 bytes.
DocumentText string `protobuf:"bytes,44,opt,name=document_text,json=documentText,proto3" json:"documentText,omitempty"`
// GameActions asks to follow the game's own bound actions: each press,
// release and cancellation of one reaches the mod as a UiActionEvent, on
// whichever key the player bound it to. The game keeps doing what the
// action does. The renderer reports an action only while the screen may
// hold the player's HUD and no stock overlay, such as chat, the shop or the
// escape menu, has the player's input. Only the root's list counts.
GameActions []GameAction `protobuf:"varint,45,rep,packed,name=game_actions,json=gameActions,proto3" json:"gameActions,omitempty"`
// FollowsOverlay asks, on the root only, for a UiOverlay event each time a
// different stock overlay takes the player's input or gives it back, and
// once with the current overlay when the root starts to follow.
FollowsOverlay bool `protobuf:"varint,49,opt,name=follows_overlay,json=followsOverlay,proto3" json:"followsOverlay,omitempty"`
// FocusOrder places a button or input in the order the game's keyboard
// and controller navigation moves through, lowest first; zero leaves the
// control to the game's own order. The panel is remade when it changes.
FocusOrder uint32 `protobuf:"varint,46,opt,name=focus_order,json=focusOrder,proto3" json:"focusOrder,omitempty"`
// InitialFocus gives this button or input the keyboard when the menu that
// holds it opens.
InitialFocus bool `protobuf:"varint,47,opt,name=initial_focus,json=initialFocus,proto3" json:"initialFocus,omitempty"`
// Submits marks the button that Enter in a text entry presses. The entry
// and the button share a menu, or both sit outside every menu; the press
// follows the entry's edit, as any press does.
Submits bool `protobuf:"varint,48,opt,name=submits,proto3" json:"submits,omitempty"`
// Measure names the node in the placement reports its mod hears while
// the root follows placement: letters, digits, '_', '-' and '.', at most 64 bytes.
// Names are unique within a tree; of two nodes with one name, the renderer
// reports one.
Measure string `protobuf:"bytes,50,opt,name=measure,proto3" json:"measure,omitempty"`
// Frame is the box the root fills, on the root only: the screen, or the
// part of it where the game lays out its own HUD.
Frame Frame `protobuf:"varint,51,opt,name=frame,proto3" json:"frame,omitempty"`
// FollowsPlacement asks, on the root only, for a UiPlacement event with the
// screen's size, the HUD's frame and the bounds of each measured node: once
// when the root starts to follow, then each time one of them changes.
FollowsPlacement bool `protobuf:"varint,52,opt,name=follows_placement,json=followsPlacement,proto3" json:"followsPlacement,omitempty"`
// Bindings set parts of a layout node's layout, which keeps the fonts, art
// and localized strings its author drew: each binding names a panel by its
// id within the layout, and the renderer sets only what the binding sets.
// Only a layout node holds bindings, at most 64, each naming a different
// panel.
Bindings []*Binding `protobuf:"bytes,54,rep,name=bindings,proto3" json:"bindings,omitempty"`
// List draws a list node's rows from one row template, building only the
// rows near the list's visible box. Only a list node holds one.
List *List `protobuf:"bytes,55,opt,name=list,proto3" json:"list,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) GetAbility ¶ added in v0.1.76
func (*Node) GetAbilityBarPresses ¶ added in v0.1.76
func (*Node) GetAbilityDisplay ¶ added in v0.1.76
func (x *Node) GetAbilityDisplay() []*AbilityRow
func (*Node) GetAbilityPlayer ¶ added in v0.1.76
func (*Node) GetBindings ¶
func (*Node) GetChildren ¶
func (*Node) GetClasses ¶ added in v0.1.63
func (*Node) GetDisabled ¶ added in v0.1.42
func (*Node) GetDocumentInput ¶
func (x *Node) GetDocumentInput() *DocumentInput
func (*Node) GetDocumentText ¶
func (*Node) GetDropdown ¶ added in v0.1.42
func (*Node) GetFocusOrder ¶
func (*Node) GetFollowsOverlay ¶
func (*Node) GetFollowsPlacement ¶
func (*Node) GetFreeCursor ¶ added in v0.1.66
func (*Node) GetFreeCursorAsks ¶ added in v0.1.70
func (*Node) GetGameActions ¶
func (x *Node) GetGameActions() []GameAction
func (*Node) GetHeroLook ¶ added in v0.1.42
func (*Node) GetHideHud ¶ added in v0.1.13
func (*Node) GetHideInChat ¶ added in v0.1.96
func (*Node) GetHoverSound ¶ added in v0.1.42
func (*Node) GetInitialFocus ¶
func (*Node) GetMeasure ¶
func (*Node) GetScaling ¶ added in v0.1.42
func (*Node) GetSpeaking ¶
func (*Node) GetSteamId ¶ added in v0.1.42
func (*Node) GetSubmits ¶
func (*Node) GetTextEntry ¶ added in v0.1.42
func (*Node) GetTimelines ¶
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_Range ¶
type Node_Range struct {
Range *Range `protobuf:"bytes,53,opt,name=range,proto3,oneof"`
}
func (*Node_Range) CloneOneofVT ¶
func (m *Node_Range) CloneOneofVT() isNode_Input
func (*Node_Range) CloneVT ¶
func (m *Node_Range) CloneVT() *Node_Range
func (*Node_Range) EqualVT ¶
func (this *Node_Range) EqualVT(thatIface isNode_Input) bool
func (*Node_Range) MarshalToSizedBufferVT ¶
func (m *Node_Range) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Node_Range) MarshalToVT ¶
func (m *Node_Range) MarshalToVT(dAtA []byte) (int, error)
func (*Node_Range) SizeVT ¶
func (m *Node_Range) 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 Overlay ¶
type Overlay int32
Overlay names the stock interface that holds the player's input. When several are open, the renderer names the first of chat, the shop, the build editor, the item draft, a popup and the escape menu.
const ( // OVERLAY_NONE means the game has the player's input. Overlay_OVERLAY_NONE Overlay = 0 // OVERLAY_CHAT is the chat box, open for typing. Overlay_OVERLAY_CHAT Overlay = 1 // OVERLAY_SHOP is the item shop. Overlay_OVERLAY_SHOP Overlay = 2 // OVERLAY_BUILDS is the build editor. Overlay_OVERLAY_BUILDS Overlay = 3 // OVERLAY_ITEM_DRAFT is the item draft's choice. Overlay_OVERLAY_ITEM_DRAFT Overlay = 4 // OVERLAY_POPUP is a stock popup, such as a confirmation. Overlay_OVERLAY_POPUP Overlay = 5 // OVERLAY_ESCAPE_MENU is the escape menu, which pauses a local game. Overlay_OVERLAY_ESCAPE_MENU Overlay = 6 )
func (Overlay) MarshalJSON ¶
MarshalJSON marshals the Overlay to JSON.
func (Overlay) MarshalProtoJSON ¶
func (x Overlay) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Overlay to JSON.
func (Overlay) MarshalProtoText ¶
func (Overlay) MarshalText ¶
MarshalText marshals the Overlay to text.
func (*Overlay) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Overlay from JSON.
func (*Overlay) UnmarshalProtoJSON ¶
func (x *Overlay) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Overlay from JSON.
func (*Overlay) UnmarshalText ¶
UnmarshalText unmarshals the Overlay from text.
type Range ¶
type Range struct {
// Handles are the track's handles in order along it, one to eight, each
// at least the one before.
Handles []*RangeHandle `protobuf:"bytes,1,rep,name=handles,proto3" json:"handles,omitempty"`
// Min and Max bound every handle; 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 a handle stops at; zero lets it
// stop anywhere.
Step float32 `protobuf:"fixed32,4,opt,name=step,proto3" json:"step,omitempty"`
// contains filtered or unexported fields
}
Range is a track with several handles the player drags along it, such as a minimum, a favored value and a maximum. The handles share the track's bounds and step and keep their order: a handle stops at its neighbors. While the player holds a handle the renderer moves it, and a redraw leaves it alone; the mod hears where every handle ended up when the player lets go, and a cancelled hold puts the handles back.
func (*Range) CloneMessageVT ¶
func (m *Range) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Range) EqualMessageVT ¶
func (*Range) GetHandles ¶
func (x *Range) GetHandles() []*RangeHandle
func (*Range) MarshalJSON ¶
MarshalJSON marshals the Range to JSON.
func (*Range) MarshalProtoJSON ¶
func (x *Range) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Range message to JSON.
func (*Range) MarshalProtoText ¶
func (*Range) MarshalToSizedBufferVT ¶
func (*Range) ProtoMessage ¶
func (*Range) ProtoMessage()
func (*Range) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Range from JSON.
func (*Range) UnmarshalProtoJSON ¶
func (x *Range) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Range message from JSON.
func (*Range) UnmarshalVT ¶
type RangeEvent ¶
type RangeEvent struct {
// Phase is PRESSED as the player takes the handle, RELEASED as they let
// go, and CANCELLED when a stock overlay or the menu's closing ended the
// hold, which puts the handles back where they were.
Phase ActionPhase `protobuf:"varint,1,opt,name=phase,proto3" json:"phase,omitempty"`
// Handle is the name of the handle the player holds.
Handle string `protobuf:"bytes,2,opt,name=handle,proto3" json:"handle,omitempty"`
// Values are every handle's value in order, on a release: the host clamps
// each to the range and its step, and refuses values out of order.
Values []float32 `protobuf:"fixed32,3,rep,packed,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
RangeEvent reports the player's hold on one handle of a range.
func (*RangeEvent) CloneMessageVT ¶
func (m *RangeEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*RangeEvent) CloneVT ¶
func (m *RangeEvent) CloneVT() *RangeEvent
func (*RangeEvent) EqualMessageVT ¶
func (this *RangeEvent) EqualMessageVT(thatMsg any) bool
func (*RangeEvent) EqualVT ¶
func (this *RangeEvent) EqualVT(that *RangeEvent) bool
func (*RangeEvent) GetHandle ¶
func (x *RangeEvent) GetHandle() string
func (*RangeEvent) GetPhase ¶
func (x *RangeEvent) GetPhase() ActionPhase
func (*RangeEvent) GetValues ¶
func (x *RangeEvent) GetValues() []float32
func (*RangeEvent) MarshalJSON ¶
func (x *RangeEvent) MarshalJSON() ([]byte, error)
MarshalJSON marshals the RangeEvent to JSON.
func (*RangeEvent) MarshalProtoJSON ¶
func (x *RangeEvent) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the RangeEvent message to JSON.
func (*RangeEvent) MarshalProtoText ¶
func (x *RangeEvent) MarshalProtoText() string
func (*RangeEvent) MarshalToSizedBufferVT ¶
func (m *RangeEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RangeEvent) MarshalToVT ¶
func (m *RangeEvent) MarshalToVT(dAtA []byte) (int, error)
func (*RangeEvent) MarshalVT ¶
func (m *RangeEvent) MarshalVT() (dAtA []byte, err error)
func (*RangeEvent) ProtoMessage ¶
func (*RangeEvent) ProtoMessage()
func (*RangeEvent) Reset ¶
func (x *RangeEvent) Reset()
func (*RangeEvent) SizeVT ¶
func (m *RangeEvent) SizeVT() (n int)
func (*RangeEvent) String ¶
func (x *RangeEvent) String() string
func (*RangeEvent) UnmarshalJSON ¶
func (x *RangeEvent) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the RangeEvent from JSON.
func (*RangeEvent) UnmarshalProtoJSON ¶
func (x *RangeEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the RangeEvent message from JSON.
func (*RangeEvent) UnmarshalVT ¶
func (m *RangeEvent) UnmarshalVT(dAtA []byte) error
type RangeHandle ¶
type RangeHandle struct {
// Name names the handle in the events the mod hears: one to 64 letters,
// digits, '_', '-' and '.', unique within the range.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Value is the number the handle holds.
Value float32 `protobuf:"fixed32,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
RangeHandle is one handle of a range.
func (*RangeHandle) CloneMessageVT ¶
func (m *RangeHandle) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*RangeHandle) CloneVT ¶
func (m *RangeHandle) CloneVT() *RangeHandle
func (*RangeHandle) EqualMessageVT ¶
func (this *RangeHandle) EqualMessageVT(thatMsg any) bool
func (*RangeHandle) EqualVT ¶
func (this *RangeHandle) EqualVT(that *RangeHandle) bool
func (*RangeHandle) GetName ¶
func (x *RangeHandle) GetName() string
func (*RangeHandle) GetValue ¶
func (x *RangeHandle) GetValue() float32
func (*RangeHandle) MarshalJSON ¶
func (x *RangeHandle) MarshalJSON() ([]byte, error)
MarshalJSON marshals the RangeHandle to JSON.
func (*RangeHandle) MarshalProtoJSON ¶
func (x *RangeHandle) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the RangeHandle message to JSON.
func (*RangeHandle) MarshalProtoText ¶
func (x *RangeHandle) MarshalProtoText() string
func (*RangeHandle) MarshalToSizedBufferVT ¶
func (m *RangeHandle) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RangeHandle) MarshalToVT ¶
func (m *RangeHandle) MarshalToVT(dAtA []byte) (int, error)
func (*RangeHandle) MarshalVT ¶
func (m *RangeHandle) MarshalVT() (dAtA []byte, err error)
func (*RangeHandle) ProtoMessage ¶
func (*RangeHandle) ProtoMessage()
func (*RangeHandle) Reset ¶
func (x *RangeHandle) Reset()
func (*RangeHandle) SizeVT ¶
func (m *RangeHandle) SizeVT() (n int)
func (*RangeHandle) String ¶
func (x *RangeHandle) String() string
func (*RangeHandle) UnmarshalJSON ¶
func (x *RangeHandle) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the RangeHandle from JSON.
func (*RangeHandle) UnmarshalProtoJSON ¶
func (x *RangeHandle) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the RangeHandle message from JSON.
func (*RangeHandle) UnmarshalVT ¶
func (m *RangeHandle) UnmarshalVT(dAtA []byte) error
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 Row ¶
type Row struct {
// Key names the row within its list: one to 64 bytes.
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// Fields hold the values the row's template shows, at most 16, by name.
Fields map[string]string `` /* 153-byte string literal not displayed */
// contains filtered or unexported fields
}
Row is one row of a list's window, known by its key. The mod orders the rows; the renderer draws them in the order they come.
func (*Row) CloneMessageVT ¶
func (m *Row) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Row) EqualMessageVT ¶
func (*Row) MarshalJSON ¶
MarshalJSON marshals the Row to JSON.
func (*Row) MarshalProtoJSON ¶
func (x *Row) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Row message to JSON.
func (*Row) MarshalProtoText ¶
func (*Row) ProtoMessage ¶
func (*Row) ProtoMessage()
func (*Row) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Row from JSON.
func (*Row) UnmarshalProtoJSON ¶
func (x *Row) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Row message from JSON.
func (*Row) UnmarshalVT ¶
type Row_FieldsEntry ¶
type Row_FieldsEntry 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 (*Row_FieldsEntry) GetKey ¶
func (x *Row_FieldsEntry) GetKey() string
func (*Row_FieldsEntry) GetValue ¶
func (x *Row_FieldsEntry) GetValue() string
func (*Row_FieldsEntry) MarshalJSON ¶
func (x *Row_FieldsEntry) MarshalJSON() ([]byte, error)
MarshalJSON marshals the Row_FieldsEntry to JSON.
func (*Row_FieldsEntry) MarshalProtoJSON ¶
func (x *Row_FieldsEntry) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Row_FieldsEntry message to JSON.
func (*Row_FieldsEntry) MarshalProtoText ¶
func (x *Row_FieldsEntry) MarshalProtoText() string
func (*Row_FieldsEntry) ProtoMessage ¶
func (*Row_FieldsEntry) ProtoMessage()
func (*Row_FieldsEntry) Reset ¶
func (x *Row_FieldsEntry) Reset()
func (*Row_FieldsEntry) String ¶
func (x *Row_FieldsEntry) String() string
func (*Row_FieldsEntry) UnmarshalJSON ¶
func (x *Row_FieldsEntry) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the Row_FieldsEntry from JSON.
func (*Row_FieldsEntry) UnmarshalProtoJSON ¶
func (x *Row_FieldsEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Row_FieldsEntry message from JSON.
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"`
// Paused is true while the game is paused, which holds every timeline on
// the game's clock.
Paused bool `protobuf:"varint,2,opt,name=paused,proto3" json:"paused,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 ShownAbility ¶ added in v0.1.76
type ShownAbility struct {
// Ability is the ability's id, as Node.ability, whose window the game shows
// over it; zero shows none.
Ability uint32 `protobuf:"varint,1,opt,name=ability,proto3" json:"ability,omitempty"`
// Image is the ability's picture, a path in the game's content as
// Node.image is. Without one, the slot shows the game's own ability.
Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
// Upgrades holds the bought tiers, as Ability.upgrades does: bit 0 unlocks
// it and bits 1 to 3 are its upgrades.
Upgrades uint32 `protobuf:"varint,3,opt,name=upgrades,proto3" json:"upgrades,omitempty"`
// contains filtered or unexported fields
}
ShownAbility is the ability AbilityDisplay shows in one slot.
func (*ShownAbility) CloneMessageVT ¶ added in v0.1.76
func (m *ShownAbility) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ShownAbility) CloneVT ¶ added in v0.1.76
func (m *ShownAbility) CloneVT() *ShownAbility
func (*ShownAbility) EqualMessageVT ¶ added in v0.1.76
func (this *ShownAbility) EqualMessageVT(thatMsg any) bool
func (*ShownAbility) EqualVT ¶ added in v0.1.76
func (this *ShownAbility) EqualVT(that *ShownAbility) bool
func (*ShownAbility) GetAbility ¶ added in v0.1.76
func (x *ShownAbility) GetAbility() uint32
func (*ShownAbility) GetImage ¶ added in v0.1.76
func (x *ShownAbility) GetImage() string
func (*ShownAbility) GetUpgrades ¶ added in v0.1.76
func (x *ShownAbility) GetUpgrades() uint32
func (*ShownAbility) MarshalJSON ¶ added in v0.1.76
func (x *ShownAbility) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ShownAbility to JSON.
func (*ShownAbility) MarshalProtoJSON ¶ added in v0.1.76
func (x *ShownAbility) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ShownAbility message to JSON.
func (*ShownAbility) MarshalProtoText ¶ added in v0.1.76
func (x *ShownAbility) MarshalProtoText() string
func (*ShownAbility) MarshalToSizedBufferVT ¶ added in v0.1.76
func (m *ShownAbility) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ShownAbility) MarshalToVT ¶ added in v0.1.76
func (m *ShownAbility) MarshalToVT(dAtA []byte) (int, error)
func (*ShownAbility) MarshalVT ¶ added in v0.1.76
func (m *ShownAbility) MarshalVT() (dAtA []byte, err error)
func (*ShownAbility) ProtoMessage ¶ added in v0.1.76
func (*ShownAbility) ProtoMessage()
func (*ShownAbility) Reset ¶ added in v0.1.76
func (x *ShownAbility) Reset()
func (*ShownAbility) SizeVT ¶ added in v0.1.76
func (m *ShownAbility) SizeVT() (n int)
func (*ShownAbility) String ¶ added in v0.1.76
func (x *ShownAbility) String() string
func (*ShownAbility) UnmarshalJSON ¶ added in v0.1.76
func (x *ShownAbility) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ShownAbility from JSON.
func (*ShownAbility) UnmarshalProtoJSON ¶ added in v0.1.76
func (x *ShownAbility) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ShownAbility message from JSON.
func (*ShownAbility) UnmarshalVT ¶ added in v0.1.76
func (m *ShownAbility) UnmarshalVT(dAtA []byte) error
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"`
// Wheel enables scoped wheel events while the pointer is over the slider.
Wheel bool `protobuf:"varint,5,opt,name=wheel,proto3" json:"wheel,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"`
// Clip draws only the part of the node and its children inside a shape.
// A transition does not ease it: a new clip shows at once, so a mod that
// fills a ring over time draws it again as it goes. Dropping a clip makes
// the node's panel anew.
Clip *Clip `protobuf:"bytes,46,opt,name=clip,proto3" json:"clip,omitempty"`
// Turn turns the node clockwise, in degrees, before its transform, as one
// angle: a transition eases the angle itself, so a turn from 0 to 720
// spins the node twice, where a transform's rotate eases the shortest way
// between two orientations. It turns about the transform's origin.
Turn float32 `protobuf:"fixed32,47,opt,name=turn,proto3" json:"turn,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 Timeline ¶
type Timeline struct {
// Id names the timeline among the root's.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Run counts the mod's starts of the timeline: a rise starts it again from
// its start, clearing the looks the last run gave.
Run uint32 `protobuf:"varint,2,opt,name=run,proto3" json:"run,omitempty"`
// Clock is the clock the steps' times run on.
Clock TimelineClock `protobuf:"varint,4,opt,name=clock,proto3" json:"clock,omitempty"`
// Steps are the timeline's steps, in any order.
Steps []*TimelineStep `protobuf:"bytes,5,rep,name=steps,proto3" json:"steps,omitempty"`
// contains filtered or unexported fields
}
Timeline is a timed presentation: steps at times from its start that change named nodes' looks and play sounds, on one clock. A finished timeline keeps its last looks until the mod starts it again or cancels it by dropping it, which clears its looks and plays nothing more. A renderer that first sees a run already under way, such as one that reloads, joins it at its end: it shows the last looks and plays no sound.
func (*Timeline) CloneMessageVT ¶
func (m *Timeline) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Timeline) EqualMessageVT ¶
func (*Timeline) GetClock ¶
func (x *Timeline) GetClock() TimelineClock
func (*Timeline) GetSteps ¶
func (x *Timeline) GetSteps() []*TimelineStep
func (*Timeline) MarshalJSON ¶
MarshalJSON marshals the Timeline to JSON.
func (*Timeline) MarshalProtoJSON ¶
func (x *Timeline) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Timeline message to JSON.
func (*Timeline) MarshalProtoText ¶
func (*Timeline) MarshalToSizedBufferVT ¶
func (*Timeline) ProtoMessage ¶
func (*Timeline) ProtoMessage()
func (*Timeline) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Timeline from JSON.
func (*Timeline) UnmarshalProtoJSON ¶
func (x *Timeline) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Timeline message from JSON.
func (*Timeline) UnmarshalVT ¶
type TimelineClock ¶
type TimelineClock int32
TimelineClock is the clock a timeline runs on.
const ( // TIMELINE_CLOCK_WALL runs on the player's own time, through the game's // pauses. TimelineClock_TIMELINE_CLOCK_WALL TimelineClock = 0 // TIMELINE_CLOCK_GAME holds while the game is paused, and runs on after. TimelineClock_TIMELINE_CLOCK_GAME TimelineClock = 1 )
func (TimelineClock) Enum ¶
func (x TimelineClock) Enum() *TimelineClock
func (TimelineClock) MarshalJSON ¶
func (x TimelineClock) MarshalJSON() ([]byte, error)
MarshalJSON marshals the TimelineClock to JSON.
func (TimelineClock) MarshalProtoJSON ¶
func (x TimelineClock) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the TimelineClock to JSON.
func (TimelineClock) MarshalProtoText ¶
func (x TimelineClock) MarshalProtoText() string
func (TimelineClock) MarshalText ¶
func (x TimelineClock) MarshalText() ([]byte, error)
MarshalText marshals the TimelineClock to text.
func (TimelineClock) String ¶
func (x TimelineClock) String() string
func (*TimelineClock) UnmarshalJSON ¶
func (x *TimelineClock) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the TimelineClock from JSON.
func (*TimelineClock) UnmarshalProtoJSON ¶
func (x *TimelineClock) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the TimelineClock from JSON.
func (*TimelineClock) UnmarshalText ¶
func (x *TimelineClock) UnmarshalText(b []byte) error
UnmarshalText unmarshals the TimelineClock from text.
type TimelineStep ¶
type TimelineStep struct {
// At is the step's time from the timeline's start, in seconds, 0 to 60.
At float32 `protobuf:"fixed32,1,opt,name=at,proto3" json:"at,omitempty"`
// Measure names the nodes whose look the step sets by their measure, each
// node of that name taking it, or nothing for a step that only plays a
// sound.
Measure string `protobuf:"bytes,2,opt,name=measure,proto3" json:"measure,omitempty"`
// Classes and Style are the nodes' look from this step on: classes added
// to their own and a style laid over their own, replacing the look an
// earlier step gave them. A style change eases by the node's transition. As with
// hover, the style sets only the properties that a node's own style sets
// or that have a resting value to return to when the look ends.
Classes []string `protobuf:"bytes,3,rep,name=classes,proto3" json:"classes,omitempty"`
Style *Style `protobuf:"bytes,4,opt,name=style,proto3" json:"style,omitempty"`
// Sound is a game sound event to play at the step, named as Node's sound
// is, cut after seconds unless seconds is zero.
Sound string `protobuf:"bytes,5,opt,name=sound,proto3" json:"sound,omitempty"`
Seconds float32 `protobuf:"fixed32,6,opt,name=seconds,proto3" json:"seconds,omitempty"`
// contains filtered or unexported fields
}
TimelineStep is one moment of a timeline.
func (*TimelineStep) CloneMessageVT ¶
func (m *TimelineStep) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*TimelineStep) CloneVT ¶
func (m *TimelineStep) CloneVT() *TimelineStep
func (*TimelineStep) EqualMessageVT ¶
func (this *TimelineStep) EqualMessageVT(thatMsg any) bool
func (*TimelineStep) EqualVT ¶
func (this *TimelineStep) EqualVT(that *TimelineStep) bool
func (*TimelineStep) GetAt ¶
func (x *TimelineStep) GetAt() float32
func (*TimelineStep) GetClasses ¶
func (x *TimelineStep) GetClasses() []string
func (*TimelineStep) GetMeasure ¶
func (x *TimelineStep) GetMeasure() string
func (*TimelineStep) GetSeconds ¶
func (x *TimelineStep) GetSeconds() float32
func (*TimelineStep) GetSound ¶
func (x *TimelineStep) GetSound() string
func (*TimelineStep) GetStyle ¶
func (x *TimelineStep) GetStyle() *Style
func (*TimelineStep) MarshalJSON ¶
func (x *TimelineStep) MarshalJSON() ([]byte, error)
MarshalJSON marshals the TimelineStep to JSON.
func (*TimelineStep) MarshalProtoJSON ¶
func (x *TimelineStep) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the TimelineStep message to JSON.
func (*TimelineStep) MarshalProtoText ¶
func (x *TimelineStep) MarshalProtoText() string
func (*TimelineStep) MarshalToSizedBufferVT ¶
func (m *TimelineStep) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*TimelineStep) MarshalToVT ¶
func (m *TimelineStep) MarshalToVT(dAtA []byte) (int, error)
func (*TimelineStep) MarshalVT ¶
func (m *TimelineStep) MarshalVT() (dAtA []byte, err error)
func (*TimelineStep) ProtoMessage ¶
func (*TimelineStep) ProtoMessage()
func (*TimelineStep) Reset ¶
func (x *TimelineStep) Reset()
func (*TimelineStep) SizeVT ¶
func (m *TimelineStep) SizeVT() (n int)
func (*TimelineStep) String ¶
func (x *TimelineStep) String() string
func (*TimelineStep) UnmarshalJSON ¶
func (x *TimelineStep) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the TimelineStep from JSON.
func (*TimelineStep) UnmarshalProtoJSON ¶
func (x *TimelineStep) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the TimelineStep message from JSON.
func (*TimelineStep) UnmarshalVT ¶
func (m *TimelineStep) UnmarshalVT(dAtA []byte) error
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"`
// Curve shapes the change's speed in place of easing, as a cubic Bezier
// curve from (0, 0) to (1, 1) through two control points: x is the share
// of the time and y the share of the change.
Curve *Curve `protobuf:"bytes,4,opt,name=curve,proto3" json:"curve,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) GetCurve ¶ added in v0.1.93
func (x *Transition) GetCurve() *Curve
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"`
// Addon is the name of the mod's content addon, which holds the layouts and
// style sheets the tree names. The host that mounted the addon sets it; it is
// empty for a mod with no content.
Addon string `protobuf:"bytes,4,opt,name=addon,proto3" json:"addon,omitempty"`
// Generation changes when the mod clears this player's UI. A renderer
// replaces the old panels when it changes, even if their nodes match.
Generation uint64 `protobuf:"varint,5,opt,name=generation,proto3" json:"generation,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) GetGeneration ¶ added in v0.1.72
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 UiActionEvent ¶
type UiActionEvent struct {
// Player is the player who pressed.
Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
// Action is the game action.
Action GameAction `protobuf:"varint,2,opt,name=action,proto3" json:"action,omitempty"`
// Phase is where the press stands.
Phase ActionPhase `protobuf:"varint,3,opt,name=phase,proto3" json:"phase,omitempty"`
// contains filtered or unexported fields
}
UiActionEvent reports one phase of a game action the mod's root follows. Each press reaches the mod once as pressed, then once as released or cancelled.
func (*UiActionEvent) CloneMessageVT ¶
func (m *UiActionEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*UiActionEvent) CloneVT ¶
func (m *UiActionEvent) CloneVT() *UiActionEvent
func (*UiActionEvent) EqualMessageVT ¶
func (this *UiActionEvent) EqualMessageVT(thatMsg any) bool
func (*UiActionEvent) EqualVT ¶
func (this *UiActionEvent) EqualVT(that *UiActionEvent) bool
func (*UiActionEvent) GetAction ¶
func (x *UiActionEvent) GetAction() GameAction
func (*UiActionEvent) GetPhase ¶
func (x *UiActionEvent) GetPhase() ActionPhase
func (*UiActionEvent) GetPlayer ¶
func (x *UiActionEvent) GetPlayer() int32
func (*UiActionEvent) MarshalJSON ¶
func (x *UiActionEvent) MarshalJSON() ([]byte, error)
MarshalJSON marshals the UiActionEvent to JSON.
func (*UiActionEvent) MarshalProtoJSON ¶
func (x *UiActionEvent) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the UiActionEvent message to JSON.
func (*UiActionEvent) MarshalProtoText ¶
func (x *UiActionEvent) MarshalProtoText() string
func (*UiActionEvent) MarshalToSizedBufferVT ¶
func (m *UiActionEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UiActionEvent) MarshalToVT ¶
func (m *UiActionEvent) MarshalToVT(dAtA []byte) (int, error)
func (*UiActionEvent) MarshalVT ¶
func (m *UiActionEvent) MarshalVT() (dAtA []byte, err error)
func (*UiActionEvent) ProtoMessage ¶
func (*UiActionEvent) ProtoMessage()
func (*UiActionEvent) Reset ¶
func (x *UiActionEvent) Reset()
func (*UiActionEvent) SizeVT ¶
func (m *UiActionEvent) SizeVT() (n int)
func (*UiActionEvent) String ¶
func (x *UiActionEvent) String() string
func (*UiActionEvent) UnmarshalJSON ¶
func (x *UiActionEvent) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the UiActionEvent from JSON.
func (*UiActionEvent) UnmarshalProtoJSON ¶
func (x *UiActionEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the UiActionEvent message from JSON.
func (*UiActionEvent) UnmarshalVT ¶
func (m *UiActionEvent) UnmarshalVT(dAtA []byte) error
type UiDocumentEvent ¶
type UiDocumentEvent struct {
// Player is the player who submitted.
Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
// Node is the id of the document input.
Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"`
// Result is the submission's outcome.
//
// Types that are assignable to Result:
// *UiDocumentEvent_Delivered
// *UiDocumentEvent_Failed
Result isUiDocumentEvent_Result `protobuf_oneof:"result"`
// contains filtered or unexported fields
}
UiDocumentEvent ends one submission from a player's document input: the whole document, or why it did not arrive.
func (*UiDocumentEvent) CloneMessageVT ¶
func (m *UiDocumentEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*UiDocumentEvent) CloneVT ¶
func (m *UiDocumentEvent) CloneVT() *UiDocumentEvent
func (*UiDocumentEvent) EqualMessageVT ¶
func (this *UiDocumentEvent) EqualMessageVT(thatMsg any) bool
func (*UiDocumentEvent) EqualVT ¶
func (this *UiDocumentEvent) EqualVT(that *UiDocumentEvent) bool
func (*UiDocumentEvent) GetDelivered ¶
func (x *UiDocumentEvent) GetDelivered() *DocumentDelivered
func (*UiDocumentEvent) GetFailed ¶
func (x *UiDocumentEvent) GetFailed() *DocumentFailed
func (*UiDocumentEvent) GetNode ¶
func (x *UiDocumentEvent) GetNode() string
func (*UiDocumentEvent) GetPlayer ¶
func (x *UiDocumentEvent) GetPlayer() int32
func (*UiDocumentEvent) GetResult ¶
func (m *UiDocumentEvent) GetResult() isUiDocumentEvent_Result
func (*UiDocumentEvent) MarshalJSON ¶
func (x *UiDocumentEvent) MarshalJSON() ([]byte, error)
MarshalJSON marshals the UiDocumentEvent to JSON.
func (*UiDocumentEvent) MarshalProtoJSON ¶
func (x *UiDocumentEvent) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the UiDocumentEvent message to JSON.
func (*UiDocumentEvent) MarshalProtoText ¶
func (x *UiDocumentEvent) MarshalProtoText() string
func (*UiDocumentEvent) MarshalToSizedBufferVT ¶
func (m *UiDocumentEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UiDocumentEvent) MarshalToVT ¶
func (m *UiDocumentEvent) MarshalToVT(dAtA []byte) (int, error)
func (*UiDocumentEvent) MarshalVT ¶
func (m *UiDocumentEvent) MarshalVT() (dAtA []byte, err error)
func (*UiDocumentEvent) ProtoMessage ¶
func (*UiDocumentEvent) ProtoMessage()
func (*UiDocumentEvent) Reset ¶
func (x *UiDocumentEvent) Reset()
func (*UiDocumentEvent) SizeVT ¶
func (m *UiDocumentEvent) SizeVT() (n int)
func (*UiDocumentEvent) String ¶
func (x *UiDocumentEvent) String() string
func (*UiDocumentEvent) UnmarshalJSON ¶
func (x *UiDocumentEvent) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the UiDocumentEvent from JSON.
func (*UiDocumentEvent) UnmarshalProtoJSON ¶
func (x *UiDocumentEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the UiDocumentEvent message from JSON.
func (*UiDocumentEvent) UnmarshalVT ¶
func (m *UiDocumentEvent) UnmarshalVT(dAtA []byte) error
type UiDocumentEvent_Delivered ¶
type UiDocumentEvent_Delivered struct {
// Delivered holds the whole document.
Delivered *DocumentDelivered `protobuf:"bytes,3,opt,name=delivered,proto3,oneof"`
}
func (*UiDocumentEvent_Delivered) CloneOneofVT ¶
func (m *UiDocumentEvent_Delivered) CloneOneofVT() isUiDocumentEvent_Result
func (*UiDocumentEvent_Delivered) CloneVT ¶
func (m *UiDocumentEvent_Delivered) CloneVT() *UiDocumentEvent_Delivered
func (*UiDocumentEvent_Delivered) EqualVT ¶
func (this *UiDocumentEvent_Delivered) EqualVT(thatIface isUiDocumentEvent_Result) bool
func (*UiDocumentEvent_Delivered) MarshalToSizedBufferVT ¶
func (m *UiDocumentEvent_Delivered) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UiDocumentEvent_Delivered) MarshalToVT ¶
func (m *UiDocumentEvent_Delivered) MarshalToVT(dAtA []byte) (int, error)
func (*UiDocumentEvent_Delivered) SizeVT ¶
func (m *UiDocumentEvent_Delivered) SizeVT() (n int)
type UiDocumentEvent_Failed ¶
type UiDocumentEvent_Failed struct {
// Failed says why the document did not arrive. The player can submit
// again.
Failed *DocumentFailed `protobuf:"bytes,4,opt,name=failed,proto3,oneof"`
}
func (*UiDocumentEvent_Failed) CloneOneofVT ¶
func (m *UiDocumentEvent_Failed) CloneOneofVT() isUiDocumentEvent_Result
func (*UiDocumentEvent_Failed) CloneVT ¶
func (m *UiDocumentEvent_Failed) CloneVT() *UiDocumentEvent_Failed
func (*UiDocumentEvent_Failed) EqualVT ¶
func (this *UiDocumentEvent_Failed) EqualVT(thatIface isUiDocumentEvent_Result) bool
func (*UiDocumentEvent_Failed) MarshalToSizedBufferVT ¶
func (m *UiDocumentEvent_Failed) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UiDocumentEvent_Failed) MarshalToVT ¶
func (m *UiDocumentEvent_Failed) MarshalToVT(dAtA []byte) (int, error)
func (*UiDocumentEvent_Failed) SizeVT ¶
func (m *UiDocumentEvent_Failed) SizeVT() (n int)
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
// *UiInputEvent_Wheel
// *UiInputEvent_Range
// *UiInputEvent_Row
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) GetRange ¶
func (x *UiInputEvent) GetRange() *RangeEvent
func (*UiInputEvent) GetRow ¶
func (x *UiInputEvent) GetRow() string
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) GetWheel ¶ added in v0.1.68
func (x *UiInputEvent) GetWheel() *Wheel
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_Range ¶
type UiInputEvent_Range struct {
// Range is the player's hold on a handle of a range.
Range *RangeEvent `protobuf:"bytes,8,opt,name=range,proto3,oneof"`
}
func (*UiInputEvent_Range) CloneOneofVT ¶
func (m *UiInputEvent_Range) CloneOneofVT() isUiInputEvent_Value
func (*UiInputEvent_Range) CloneVT ¶
func (m *UiInputEvent_Range) CloneVT() *UiInputEvent_Range
func (*UiInputEvent_Range) EqualVT ¶
func (this *UiInputEvent_Range) EqualVT(thatIface isUiInputEvent_Value) bool
func (*UiInputEvent_Range) MarshalToSizedBufferVT ¶
func (m *UiInputEvent_Range) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UiInputEvent_Range) MarshalToVT ¶
func (m *UiInputEvent_Range) MarshalToVT(dAtA []byte) (int, error)
func (*UiInputEvent_Range) SizeVT ¶
func (m *UiInputEvent_Range) SizeVT() (n int)
type UiInputEvent_Row ¶
type UiInputEvent_Row struct {
// Row is the key of the row the player chose in a list.
Row string `protobuf:"bytes,9,opt,name=row,proto3,oneof"`
}
func (*UiInputEvent_Row) CloneOneofVT ¶
func (m *UiInputEvent_Row) CloneOneofVT() isUiInputEvent_Value
func (*UiInputEvent_Row) CloneVT ¶
func (m *UiInputEvent_Row) CloneVT() *UiInputEvent_Row
func (*UiInputEvent_Row) EqualVT ¶
func (this *UiInputEvent_Row) EqualVT(thatIface isUiInputEvent_Value) bool
func (*UiInputEvent_Row) MarshalToSizedBufferVT ¶
func (m *UiInputEvent_Row) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UiInputEvent_Row) MarshalToVT ¶
func (m *UiInputEvent_Row) MarshalToVT(dAtA []byte) (int, error)
func (*UiInputEvent_Row) SizeVT ¶
func (m *UiInputEvent_Row) 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 UiInputEvent_Wheel ¶ added in v0.1.68
type UiInputEvent_Wheel struct {
// Wheel is a wheel step over a slider that opted in to wheel events.
Wheel *Wheel `protobuf:"bytes,7,opt,name=wheel,proto3,oneof"`
}
func (*UiInputEvent_Wheel) CloneOneofVT ¶ added in v0.1.68
func (m *UiInputEvent_Wheel) CloneOneofVT() isUiInputEvent_Value
func (*UiInputEvent_Wheel) CloneVT ¶ added in v0.1.68
func (m *UiInputEvent_Wheel) CloneVT() *UiInputEvent_Wheel
func (*UiInputEvent_Wheel) EqualVT ¶ added in v0.1.68
func (this *UiInputEvent_Wheel) EqualVT(thatIface isUiInputEvent_Value) bool
func (*UiInputEvent_Wheel) MarshalToSizedBufferVT ¶ added in v0.1.68
func (m *UiInputEvent_Wheel) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UiInputEvent_Wheel) MarshalToVT ¶ added in v0.1.68
func (m *UiInputEvent_Wheel) MarshalToVT(dAtA []byte) (int, error)
func (*UiInputEvent_Wheel) SizeVT ¶ added in v0.1.68
func (m *UiInputEvent_Wheel) SizeVT() (n int)
type UiOverlayEvent ¶
type UiOverlayEvent struct {
// Player is the player whose input moved.
Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
// Overlay is the overlay that holds it, or OVERLAY_NONE.
Overlay Overlay `protobuf:"varint,2,opt,name=overlay,proto3" json:"overlay,omitempty"`
// contains filtered or unexported fields
}
UiOverlayEvent reports the stock overlay that now holds a player's input, to a mod whose root follows overlays.
func (*UiOverlayEvent) CloneMessageVT ¶
func (m *UiOverlayEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*UiOverlayEvent) CloneVT ¶
func (m *UiOverlayEvent) CloneVT() *UiOverlayEvent
func (*UiOverlayEvent) EqualMessageVT ¶
func (this *UiOverlayEvent) EqualMessageVT(thatMsg any) bool
func (*UiOverlayEvent) EqualVT ¶
func (this *UiOverlayEvent) EqualVT(that *UiOverlayEvent) bool
func (*UiOverlayEvent) GetOverlay ¶
func (x *UiOverlayEvent) GetOverlay() Overlay
func (*UiOverlayEvent) GetPlayer ¶
func (x *UiOverlayEvent) GetPlayer() int32
func (*UiOverlayEvent) MarshalJSON ¶
func (x *UiOverlayEvent) MarshalJSON() ([]byte, error)
MarshalJSON marshals the UiOverlayEvent to JSON.
func (*UiOverlayEvent) MarshalProtoJSON ¶
func (x *UiOverlayEvent) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the UiOverlayEvent message to JSON.
func (*UiOverlayEvent) MarshalProtoText ¶
func (x *UiOverlayEvent) MarshalProtoText() string
func (*UiOverlayEvent) MarshalToSizedBufferVT ¶
func (m *UiOverlayEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UiOverlayEvent) MarshalToVT ¶
func (m *UiOverlayEvent) MarshalToVT(dAtA []byte) (int, error)
func (*UiOverlayEvent) MarshalVT ¶
func (m *UiOverlayEvent) MarshalVT() (dAtA []byte, err error)
func (*UiOverlayEvent) ProtoMessage ¶
func (*UiOverlayEvent) ProtoMessage()
func (*UiOverlayEvent) Reset ¶
func (x *UiOverlayEvent) Reset()
func (*UiOverlayEvent) SizeVT ¶
func (m *UiOverlayEvent) SizeVT() (n int)
func (*UiOverlayEvent) String ¶
func (x *UiOverlayEvent) String() string
func (*UiOverlayEvent) UnmarshalJSON ¶
func (x *UiOverlayEvent) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the UiOverlayEvent from JSON.
func (*UiOverlayEvent) UnmarshalProtoJSON ¶
func (x *UiOverlayEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the UiOverlayEvent message from JSON.
func (*UiOverlayEvent) UnmarshalVT ¶
func (m *UiOverlayEvent) UnmarshalVT(dAtA []byte) error
type UiPlacementEvent ¶
type UiPlacementEvent struct {
// Player is the player whose screen this is.
Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
// Screen is the whole screen, at the origin.
Screen *Bounds `protobuf:"bytes,2,opt,name=screen,proto3" json:"screen,omitempty"`
// Hud is the frame the game lays its own HUD out in.
Hud *Bounds `protobuf:"bytes,3,opt,name=hud,proto3" json:"hud,omitempty"`
// Measured holds the bounds of each node the tree names with measure,
// once the renderer has laid it out, in the order of their names.
Measured []*Measured `protobuf:"bytes,4,rep,name=measured,proto3" json:"measured,omitempty"`
// contains filtered or unexported fields
}
UiPlacementEvent reports where a player's screen places a mod's interface, to a mod whose root follows placement. Each event holds the whole placement.
func (*UiPlacementEvent) CloneMessageVT ¶
func (m *UiPlacementEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*UiPlacementEvent) CloneVT ¶
func (m *UiPlacementEvent) CloneVT() *UiPlacementEvent
func (*UiPlacementEvent) EqualMessageVT ¶
func (this *UiPlacementEvent) EqualMessageVT(thatMsg any) bool
func (*UiPlacementEvent) EqualVT ¶
func (this *UiPlacementEvent) EqualVT(that *UiPlacementEvent) bool
func (*UiPlacementEvent) GetHud ¶
func (x *UiPlacementEvent) GetHud() *Bounds
func (*UiPlacementEvent) GetMeasured ¶
func (x *UiPlacementEvent) GetMeasured() []*Measured
func (*UiPlacementEvent) GetPlayer ¶
func (x *UiPlacementEvent) GetPlayer() int32
func (*UiPlacementEvent) GetScreen ¶
func (x *UiPlacementEvent) GetScreen() *Bounds
func (*UiPlacementEvent) MarshalJSON ¶
func (x *UiPlacementEvent) MarshalJSON() ([]byte, error)
MarshalJSON marshals the UiPlacementEvent to JSON.
func (*UiPlacementEvent) MarshalProtoJSON ¶
func (x *UiPlacementEvent) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the UiPlacementEvent message to JSON.
func (*UiPlacementEvent) MarshalProtoText ¶
func (x *UiPlacementEvent) MarshalProtoText() string
func (*UiPlacementEvent) MarshalToSizedBufferVT ¶
func (m *UiPlacementEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UiPlacementEvent) MarshalToVT ¶
func (m *UiPlacementEvent) MarshalToVT(dAtA []byte) (int, error)
func (*UiPlacementEvent) MarshalVT ¶
func (m *UiPlacementEvent) MarshalVT() (dAtA []byte, err error)
func (*UiPlacementEvent) ProtoMessage ¶
func (*UiPlacementEvent) ProtoMessage()
func (*UiPlacementEvent) Reset ¶
func (x *UiPlacementEvent) Reset()
func (*UiPlacementEvent) SizeVT ¶
func (m *UiPlacementEvent) SizeVT() (n int)
func (*UiPlacementEvent) String ¶
func (x *UiPlacementEvent) String() string
func (*UiPlacementEvent) UnmarshalJSON ¶
func (x *UiPlacementEvent) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the UiPlacementEvent from JSON.
func (*UiPlacementEvent) UnmarshalProtoJSON ¶
func (x *UiPlacementEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the UiPlacementEvent message from JSON.
func (*UiPlacementEvent) UnmarshalVT ¶
func (m *UiPlacementEvent) UnmarshalVT(dAtA []byte) error
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, or of the layout whose script
// sent the press.
Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"`
// Action names a layout's press, as its script sent it: one to 64
// letters, digits, '_', '-' and '.'. It is empty for a button's press.
Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"`
// Payload is the text a layout's press carries, which the layout library
// writes as JSON: valid UTF-8 of at most 180 bytes.
Payload string `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
// contains filtered or unexported fields
}
UiPressEvent reports a press on a button in a player's interface, or a press a layout's script sent with an action and a payload.
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) GetAction ¶ added in v0.1.86
func (x *UiPressEvent) GetAction() string
func (*UiPressEvent) GetNode ¶
func (x *UiPressEvent) GetNode() string
func (*UiPressEvent) GetPayload ¶ added in v0.1.86
func (x *UiPressEvent) GetPayload() 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 UiWindowEvent ¶
type UiWindowEvent struct {
// Player is the player whose screen this is.
Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
// Node is the list node's id.
Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"`
// First is the place of the first row, and count the number of rows, at
// most 256.
First uint32 `protobuf:"varint,3,opt,name=first,proto3" json:"first,omitempty"`
Count uint32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
// Focus is the key of the row that has the focus, or empty for none.
Focus string `protobuf:"bytes,5,opt,name=focus,proto3" json:"focus,omitempty"`
// contains filtered or unexported fields
}
UiWindowEvent is the run of a list's rows a player's renderer asks for: those near the list's visible box, which it draws as the player scrolls. The mod answers by drawing the list with that window's rows. A list the renderer has not asked about yet shows its first 50 rows.
func (*UiWindowEvent) CloneMessageVT ¶
func (m *UiWindowEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*UiWindowEvent) CloneVT ¶
func (m *UiWindowEvent) CloneVT() *UiWindowEvent
func (*UiWindowEvent) EqualMessageVT ¶
func (this *UiWindowEvent) EqualMessageVT(thatMsg any) bool
func (*UiWindowEvent) EqualVT ¶
func (this *UiWindowEvent) EqualVT(that *UiWindowEvent) bool
func (*UiWindowEvent) GetCount ¶
func (x *UiWindowEvent) GetCount() uint32
func (*UiWindowEvent) GetFirst ¶
func (x *UiWindowEvent) GetFirst() uint32
func (*UiWindowEvent) GetFocus ¶
func (x *UiWindowEvent) GetFocus() string
func (*UiWindowEvent) GetNode ¶
func (x *UiWindowEvent) GetNode() string
func (*UiWindowEvent) GetPlayer ¶
func (x *UiWindowEvent) GetPlayer() int32
func (*UiWindowEvent) MarshalJSON ¶
func (x *UiWindowEvent) MarshalJSON() ([]byte, error)
MarshalJSON marshals the UiWindowEvent to JSON.
func (*UiWindowEvent) MarshalProtoJSON ¶
func (x *UiWindowEvent) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the UiWindowEvent message to JSON.
func (*UiWindowEvent) MarshalProtoText ¶
func (x *UiWindowEvent) MarshalProtoText() string
func (*UiWindowEvent) MarshalToSizedBufferVT ¶
func (m *UiWindowEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UiWindowEvent) MarshalToVT ¶
func (m *UiWindowEvent) MarshalToVT(dAtA []byte) (int, error)
func (*UiWindowEvent) MarshalVT ¶
func (m *UiWindowEvent) MarshalVT() (dAtA []byte, err error)
func (*UiWindowEvent) ProtoMessage ¶
func (*UiWindowEvent) ProtoMessage()
func (*UiWindowEvent) Reset ¶
func (x *UiWindowEvent) Reset()
func (*UiWindowEvent) SizeVT ¶
func (m *UiWindowEvent) SizeVT() (n int)
func (*UiWindowEvent) String ¶
func (x *UiWindowEvent) String() string
func (*UiWindowEvent) UnmarshalJSON ¶
func (x *UiWindowEvent) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the UiWindowEvent from JSON.
func (*UiWindowEvent) UnmarshalProtoJSON ¶
func (x *UiWindowEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the UiWindowEvent message from JSON.
func (*UiWindowEvent) UnmarshalVT ¶
func (m *UiWindowEvent) UnmarshalVT(dAtA []byte) error
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.
type Wheel ¶ added in v0.1.68
type Wheel struct {
// Delta is 1 for up and -1 for down. It never changes the slider's value.
Delta float32 `protobuf:"fixed32,1,opt,name=delta,proto3" json:"delta,omitempty"`
// Fraction is the pointer's horizontal position, bounded from 0 to 1.
Fraction float32 `protobuf:"fixed32,2,opt,name=fraction,proto3" json:"fraction,omitempty"`
// contains filtered or unexported fields
}
Wheel reports one wheel step over a slider, anchored to its pointer position.
func (*Wheel) CloneMessageVT ¶ added in v0.1.68
func (m *Wheel) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Wheel) EqualMessageVT ¶ added in v0.1.68
func (*Wheel) GetFraction ¶ added in v0.1.68
func (*Wheel) MarshalJSON ¶ added in v0.1.68
MarshalJSON marshals the Wheel to JSON.
func (*Wheel) MarshalProtoJSON ¶ added in v0.1.68
func (x *Wheel) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Wheel message to JSON.
func (*Wheel) MarshalProtoText ¶ added in v0.1.68
func (*Wheel) MarshalToSizedBufferVT ¶ added in v0.1.68
func (*Wheel) ProtoMessage ¶ added in v0.1.68
func (*Wheel) ProtoMessage()
func (*Wheel) UnmarshalJSON ¶ added in v0.1.68
UnmarshalJSON unmarshals the Wheel from JSON.
func (*Wheel) UnmarshalProtoJSON ¶ added in v0.1.68
func (x *Wheel) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Wheel message from JSON.