ui

package
v0.1.125 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2026 License: MIT Imports: 8 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var (
	GameAction_name = map[int32]string{
		0: "GAME_ACTION_UNKNOWN",
		1: "GAME_ACTION_SCOREBOARD",
		2: "GAME_ACTION_EXTRA_INFO",
	}
	GameAction_value = map[string]int32{
		"GAME_ACTION_UNKNOWN":    0,
		"GAME_ACTION_SCOREBOARD": 1,
		"GAME_ACTION_EXTRA_INFO": 2,
	}
)

Enum value maps for GameAction.

View Source
var (
	ActionPhase_name = map[int32]string{
		0: "ACTION_PHASE_UNKNOWN",
		1: "ACTION_PHASE_PRESSED",
		2: "ACTION_PHASE_RELEASED",
		3: "ACTION_PHASE_CANCELLED",
		4: "ACTION_PHASE_MOVED",
	}
	ActionPhase_value = map[string]int32{
		"ACTION_PHASE_UNKNOWN":   0,
		"ACTION_PHASE_PRESSED":   1,
		"ACTION_PHASE_RELEASED":  2,
		"ACTION_PHASE_CANCELLED": 3,
		"ACTION_PHASE_MOVED":     4,
	}
)

Enum value maps for ActionPhase.

View Source
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.

View Source
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",
		19: "HUD_PART_KILL_FEED",
		20: "HUD_PART_OBJECTIVES",
		21: "HUD_PART_HINTS",
		22: "HUD_PART_OFFSCREEN_ATTACKERS",
		23: "HUD_PART_DAMAGED_TARGET",
		24: "HUD_PART_DAMAGE_REPORT",
		25: "HUD_PART_TESTING_TOOLS",
		26: "HUD_PART_PLAYTEST_NOTICE",
		27: "HUD_PART_SHOP_PROMPT",
		28: "HUD_PART_UNIT_MARKERS",
		29: "HUD_PART_FLEX_SLOT_NOTICE",
		30: "HUD_PART_ABILITY_REMINDERS",
	}
	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,
		"HUD_PART_KILL_FEED":           19,
		"HUD_PART_OBJECTIVES":          20,
		"HUD_PART_HINTS":               21,
		"HUD_PART_OFFSCREEN_ATTACKERS": 22,
		"HUD_PART_DAMAGED_TARGET":      23,
		"HUD_PART_DAMAGE_REPORT":       24,
		"HUD_PART_TESTING_TOOLS":       25,
		"HUD_PART_PLAYTEST_NOTICE":     26,
		"HUD_PART_SHOP_PROMPT":         27,
		"HUD_PART_UNIT_MARKERS":        28,
		"HUD_PART_FLEX_SLOT_NOTICE":    29,
		"HUD_PART_ABILITY_REMINDERS":   30,
	}
)

Enum value maps for HudPart.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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
	// ACTION_PHASE_MOVED reports where a range's handles stand while the
	// player still holds one, at most ten times a second. A game action never
	// moves.
	ActionPhase_ACTION_PHASE_MOVED ActionPhase = 4
)

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.

const (
	// ALIGN_START places it at the left or top.
	Align_ALIGN_START Align = 0
	// ALIGN_CENTER centers it.
	Align_ALIGN_CENTER Align = 1
	// ALIGN_END places it at the right or bottom.
	Align_ALIGN_END Align = 2
)

func (Align) Enum

func (x Align) Enum() *Align

func (Align) MarshalJSON

func (x Align) MarshalJSON() ([]byte, error)

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 (x Align) MarshalProtoText() string

func (Align) MarshalText

func (x Align) MarshalText() ([]byte, error)

MarshalText marshals the Align to text.

func (Align) String

func (x Align) String() string

func (*Align) UnmarshalJSON

func (x *Align) UnmarshalJSON(b []byte) error

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

func (x *Align) UnmarshalText(b []byte) error

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) CloneVT

func (m *Binding) CloneVT() *Binding

func (*Binding) EqualMessageVT

func (this *Binding) EqualMessageVT(thatMsg any) bool

func (*Binding) EqualVT

func (this *Binding) EqualVT(that *Binding) bool

func (*Binding) GetClasses

func (x *Binding) GetClasses() []string

func (*Binding) GetImage

func (x *Binding) GetImage() string

func (*Binding) GetPanel

func (x *Binding) GetPanel() string

func (*Binding) GetPress

func (x *Binding) GetPress() bool

func (*Binding) GetStyle

func (x *Binding) GetStyle() *Style

func (*Binding) GetText

func (x *Binding) GetText() string

func (*Binding) GetToken

func (x *Binding) GetToken() string

func (*Binding) GetVariables

func (x *Binding) GetVariables() map[string]string

func (*Binding) GetVisible

func (x *Binding) GetVisible() bool

func (*Binding) MarshalJSON

func (x *Binding) MarshalJSON() ([]byte, error)

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 (x *Binding) MarshalProtoText() string

func (*Binding) MarshalToSizedBufferVT

func (m *Binding) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Binding) MarshalToVT

func (m *Binding) MarshalToVT(dAtA []byte) (int, error)

func (*Binding) MarshalVT

func (m *Binding) MarshalVT() (dAtA []byte, err error)

func (*Binding) ProtoMessage

func (*Binding) ProtoMessage()

func (*Binding) Reset

func (x *Binding) Reset()

func (*Binding) SizeVT

func (m *Binding) SizeVT() (n int)

func (*Binding) String

func (x *Binding) String() string

func (*Binding) UnmarshalJSON

func (x *Binding) UnmarshalJSON(b []byte) error

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

func (m *Binding) UnmarshalVT(dAtA []byte) error

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) CloneVT

func (m *Bounds) CloneVT() *Bounds

func (*Bounds) EqualMessageVT

func (this *Bounds) EqualMessageVT(thatMsg any) bool

func (*Bounds) EqualVT

func (this *Bounds) EqualVT(that *Bounds) bool

func (*Bounds) GetHeight

func (x *Bounds) GetHeight() int32

func (*Bounds) GetWidth

func (x *Bounds) GetWidth() int32

func (*Bounds) GetX

func (x *Bounds) GetX() int32

func (*Bounds) GetY

func (x *Bounds) GetY() int32

func (*Bounds) MarshalJSON

func (x *Bounds) MarshalJSON() ([]byte, error)

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 (x *Bounds) MarshalProtoText() string

func (*Bounds) MarshalToSizedBufferVT

func (m *Bounds) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Bounds) MarshalToVT

func (m *Bounds) MarshalToVT(dAtA []byte) (int, error)

func (*Bounds) MarshalVT

func (m *Bounds) MarshalVT() (dAtA []byte, err error)

func (*Bounds) ProtoMessage

func (*Bounds) ProtoMessage()

func (*Bounds) Reset

func (x *Bounds) Reset()

func (*Bounds) SizeVT

func (m *Bounds) SizeVT() (n int)

func (*Bounds) String

func (x *Bounds) String() string

func (*Bounds) UnmarshalJSON

func (x *Bounds) UnmarshalJSON(b []byte) error

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

func (m *Bounds) UnmarshalVT(dAtA []byte) error

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) CloneVT

func (m *Change) CloneVT() *Change

func (*Change) EqualMessageVT

func (this *Change) EqualMessageVT(thatMsg any) bool

func (*Change) EqualVT

func (this *Change) EqualVT(that *Change) bool

func (*Change) GetGeneration added in v0.1.72

func (x *Change) GetGeneration() uint64

func (*Change) GetRemoved

func (x *Change) GetRemoved() []string

func (*Change) GetReset_

func (x *Change) GetReset_() bool

func (*Change) GetSet

func (x *Change) GetSet() []*Node

func (*Change) MarshalJSON

func (x *Change) MarshalJSON() ([]byte, error)

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 (x *Change) MarshalProtoText() string

func (*Change) MarshalToSizedBufferVT

func (m *Change) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Change) MarshalToVT

func (m *Change) MarshalToVT(dAtA []byte) (int, error)

func (*Change) MarshalVT

func (m *Change) MarshalVT() (dAtA []byte, err error)

func (*Change) ProtoMessage

func (*Change) ProtoMessage()

func (*Change) Reset

func (x *Change) Reset()

func (*Change) SizeVT

func (m *Change) SizeVT() (n int)

func (*Change) String

func (x *Change) String() string

func (*Change) UnmarshalJSON

func (x *Change) UnmarshalJSON(b []byte) error

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

func (m *Change) UnmarshalVT(dAtA []byte) error

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) CloneVT added in v0.1.93

func (m *Clip) CloneVT() *Clip

func (*Clip) EqualMessageVT added in v0.1.93

func (this *Clip) EqualMessageVT(thatMsg any) bool

func (*Clip) EqualVT added in v0.1.93

func (this *Clip) EqualVT(that *Clip) bool

func (*Clip) GetRadial added in v0.1.93

func (x *Clip) GetRadial() *ClipRadial

func (*Clip) GetRect added in v0.1.93

func (x *Clip) GetRect() *ClipRect

func (*Clip) GetShape added in v0.1.93

func (m *Clip) GetShape() isClip_Shape

func (*Clip) MarshalJSON added in v0.1.93

func (x *Clip) MarshalJSON() ([]byte, error)

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 (x *Clip) MarshalProtoText() string

func (*Clip) MarshalToSizedBufferVT added in v0.1.93

func (m *Clip) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Clip) MarshalToVT added in v0.1.93

func (m *Clip) MarshalToVT(dAtA []byte) (int, error)

func (*Clip) MarshalVT added in v0.1.93

func (m *Clip) MarshalVT() (dAtA []byte, err error)

func (*Clip) ProtoMessage added in v0.1.93

func (*Clip) ProtoMessage()

func (*Clip) Reset added in v0.1.93

func (x *Clip) Reset()

func (*Clip) SizeVT added in v0.1.93

func (m *Clip) SizeVT() (n int)

func (*Clip) String added in v0.1.93

func (x *Clip) String() string

func (*Clip) UnmarshalJSON added in v0.1.93

func (x *Clip) UnmarshalJSON(b []byte) error

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

func (m *Clip) UnmarshalVT(dAtA []byte) error

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) CloneVT added in v0.1.93

func (m *ClipRect) CloneVT() *ClipRect

func (*ClipRect) EqualMessageVT added in v0.1.93

func (this *ClipRect) EqualMessageVT(thatMsg any) bool

func (*ClipRect) EqualVT added in v0.1.93

func (this *ClipRect) EqualVT(that *ClipRect) bool

func (*ClipRect) GetBottom added in v0.1.93

func (x *ClipRect) GetBottom() float32

func (*ClipRect) GetLeft added in v0.1.93

func (x *ClipRect) GetLeft() float32

func (*ClipRect) GetRight added in v0.1.93

func (x *ClipRect) GetRight() float32

func (*ClipRect) GetTop added in v0.1.93

func (x *ClipRect) GetTop() float32

func (*ClipRect) MarshalJSON added in v0.1.93

func (x *ClipRect) MarshalJSON() ([]byte, error)

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 (x *ClipRect) MarshalProtoText() string

func (*ClipRect) MarshalToSizedBufferVT added in v0.1.93

func (m *ClipRect) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ClipRect) MarshalToVT added in v0.1.93

func (m *ClipRect) MarshalToVT(dAtA []byte) (int, error)

func (*ClipRect) MarshalVT added in v0.1.93

func (m *ClipRect) MarshalVT() (dAtA []byte, err error)

func (*ClipRect) ProtoMessage added in v0.1.93

func (*ClipRect) ProtoMessage()

func (*ClipRect) Reset added in v0.1.93

func (x *ClipRect) Reset()

func (*ClipRect) SizeVT added in v0.1.93

func (m *ClipRect) SizeVT() (n int)

func (*ClipRect) String added in v0.1.93

func (x *ClipRect) String() string

func (*ClipRect) UnmarshalJSON added in v0.1.93

func (x *ClipRect) UnmarshalJSON(b []byte) error

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

func (m *ClipRect) UnmarshalVT(dAtA []byte) error

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) CloneVT added in v0.1.93

func (m *Clip_Rect) CloneVT() *Clip_Rect

func (*Clip_Rect) EqualVT added in v0.1.93

func (this *Clip_Rect) EqualVT(thatIface isClip_Shape) bool

func (*Clip_Rect) MarshalToSizedBufferVT added in v0.1.93

func (m *Clip_Rect) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Clip_Rect) MarshalToVT added in v0.1.93

func (m *Clip_Rect) MarshalToVT(dAtA []byte) (int, error)

func (*Clip_Rect) SizeVT added in v0.1.93

func (m *Clip_Rect) SizeVT() (n int)

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) CloneVT added in v0.1.93

func (m *Clock) CloneVT() *Clock

func (*Clock) EqualMessageVT added in v0.1.93

func (this *Clock) EqualMessageVT(thatMsg any) bool

func (*Clock) EqualVT added in v0.1.93

func (this *Clock) EqualVT(that *Clock) bool

func (*Clock) GetFormat added in v0.1.93

func (x *Clock) GetFormat() ClockFormat

func (*Clock) GetPaused added in v0.1.93

func (x *Clock) GetPaused() bool

func (*Clock) GetRun added in v0.1.93

func (x *Clock) GetRun() uint32

func (*Clock) GetSeconds added in v0.1.93

func (x *Clock) GetSeconds() float64

func (*Clock) GetUp added in v0.1.93

func (x *Clock) GetUp() bool

func (*Clock) MarshalJSON added in v0.1.93

func (x *Clock) MarshalJSON() ([]byte, error)

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 (x *Clock) MarshalProtoText() string

func (*Clock) MarshalToSizedBufferVT added in v0.1.93

func (m *Clock) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Clock) MarshalToVT added in v0.1.93

func (m *Clock) MarshalToVT(dAtA []byte) (int, error)

func (*Clock) MarshalVT added in v0.1.93

func (m *Clock) MarshalVT() (dAtA []byte, err error)

func (*Clock) ProtoMessage added in v0.1.93

func (*Clock) ProtoMessage()

func (*Clock) Reset added in v0.1.93

func (x *Clock) Reset()

func (*Clock) SizeVT added in v0.1.93

func (m *Clock) SizeVT() (n int)

func (*Clock) String added in v0.1.93

func (x *Clock) String() string

func (*Clock) UnmarshalJSON added in v0.1.93

func (x *Clock) UnmarshalJSON(b []byte) error

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

func (m *Clock) UnmarshalVT(dAtA []byte) error

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) CloneVT added in v0.1.76

func (m *Cue) CloneVT() *Cue

func (*Cue) EqualMessageVT added in v0.1.76

func (this *Cue) EqualMessageVT(thatMsg any) bool

func (*Cue) EqualVT added in v0.1.76

func (this *Cue) EqualVT(that *Cue) bool

func (*Cue) GetNumber added in v0.1.76

func (x *Cue) GetNumber() uint32

func (*Cue) GetSeconds added in v0.1.76

func (x *Cue) GetSeconds() float32

func (*Cue) GetSound added in v0.1.76

func (x *Cue) GetSound() string

func (*Cue) MarshalJSON added in v0.1.76

func (x *Cue) MarshalJSON() ([]byte, error)

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 (x *Cue) MarshalProtoText() string

func (*Cue) MarshalToSizedBufferVT added in v0.1.76

func (m *Cue) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Cue) MarshalToVT added in v0.1.76

func (m *Cue) MarshalToVT(dAtA []byte) (int, error)

func (*Cue) MarshalVT added in v0.1.76

func (m *Cue) MarshalVT() (dAtA []byte, err error)

func (*Cue) ProtoMessage added in v0.1.76

func (*Cue) ProtoMessage()

func (*Cue) Reset added in v0.1.76

func (x *Cue) Reset()

func (*Cue) SizeVT added in v0.1.76

func (m *Cue) SizeVT() (n int)

func (*Cue) String added in v0.1.76

func (x *Cue) String() string

func (*Cue) UnmarshalJSON added in v0.1.76

func (x *Cue) UnmarshalJSON(b []byte) error

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

func (m *Cue) UnmarshalVT(dAtA []byte) error

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) CloneVT added in v0.1.93

func (m *Curve) CloneVT() *Curve

func (*Curve) EqualMessageVT added in v0.1.93

func (this *Curve) EqualMessageVT(thatMsg any) bool

func (*Curve) EqualVT added in v0.1.93

func (this *Curve) EqualVT(that *Curve) bool

func (*Curve) GetX1 added in v0.1.93

func (x *Curve) GetX1() float32

func (*Curve) GetX2 added in v0.1.93

func (x *Curve) GetX2() float32

func (*Curve) GetY1 added in v0.1.93

func (x *Curve) GetY1() float32

func (*Curve) GetY2 added in v0.1.93

func (x *Curve) GetY2() float32

func (*Curve) MarshalJSON added in v0.1.93

func (x *Curve) MarshalJSON() ([]byte, error)

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 (x *Curve) MarshalProtoText() string

func (*Curve) MarshalToSizedBufferVT added in v0.1.93

func (m *Curve) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Curve) MarshalToVT added in v0.1.93

func (m *Curve) MarshalToVT(dAtA []byte) (int, error)

func (*Curve) MarshalVT added in v0.1.93

func (m *Curve) MarshalVT() (dAtA []byte, err error)

func (*Curve) ProtoMessage added in v0.1.93

func (*Curve) ProtoMessage()

func (*Curve) Reset added in v0.1.93

func (x *Curve) Reset()

func (*Curve) SizeVT added in v0.1.93

func (m *Curve) SizeVT() (n int)

func (*Curve) String added in v0.1.93

func (x *Curve) String() string

func (*Curve) UnmarshalJSON added in v0.1.93

func (x *Curve) UnmarshalJSON(b []byte) error

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

func (m *Curve) UnmarshalVT(dAtA []byte) error

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) CloneVT added in v0.1.42

func (m *Cycle) CloneVT() *Cycle

func (*Cycle) EqualMessageVT added in v0.1.42

func (this *Cycle) EqualMessageVT(thatMsg any) bool

func (*Cycle) EqualVT added in v0.1.42

func (this *Cycle) EqualVT(that *Cycle) bool

func (*Cycle) GetCount added in v0.1.42

func (x *Cycle) GetCount() uint32

func (*Cycle) GetSeconds added in v0.1.42

func (x *Cycle) GetSeconds() float32

func (*Cycle) GetStyle added in v0.1.42

func (x *Cycle) GetStyle() *Style

func (*Cycle) MarshalJSON added in v0.1.42

func (x *Cycle) MarshalJSON() ([]byte, error)

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 (x *Cycle) MarshalProtoText() string

func (*Cycle) MarshalToSizedBufferVT added in v0.1.42

func (m *Cycle) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Cycle) MarshalToVT added in v0.1.42

func (m *Cycle) MarshalToVT(dAtA []byte) (int, error)

func (*Cycle) MarshalVT added in v0.1.42

func (m *Cycle) MarshalVT() (dAtA []byte, err error)

func (*Cycle) ProtoMessage added in v0.1.42

func (*Cycle) ProtoMessage()

func (*Cycle) Reset added in v0.1.42

func (x *Cycle) Reset()

func (*Cycle) SizeVT added in v0.1.42

func (m *Cycle) SizeVT() (n int)

func (*Cycle) String added in v0.1.42

func (x *Cycle) String() string

func (*Cycle) UnmarshalJSON added in v0.1.42

func (x *Cycle) UnmarshalJSON(b []byte) error

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

func (m *Cycle) UnmarshalVT(dAtA []byte) error

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 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 (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)

MarshalJSON marshals the Dropdown to JSON.

func (x *Dropdown) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the Dropdown message to JSON.

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

UnmarshalJSON unmarshals the Dropdown from JSON.

func (x *Dropdown) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the Dropdown message from JSON.

func (m *Dropdown) UnmarshalVT(dAtA []byte) error

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) Enum added in v0.1.42

func (x Easing) Enum() *Easing

func (Easing) MarshalJSON added in v0.1.42

func (x Easing) MarshalJSON() ([]byte, error)

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 (x Easing) MarshalProtoText() string

func (Easing) MarshalText added in v0.1.42

func (x Easing) MarshalText() ([]byte, error)

MarshalText marshals the Easing to text.

func (Easing) String added in v0.1.42

func (x Easing) String() string

func (*Easing) UnmarshalJSON added in v0.1.42

func (x *Easing) UnmarshalJSON(b []byte) error

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

func (x *Easing) UnmarshalText(b []byte) error

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) CloneVT

func (m *Edges) CloneVT() *Edges

func (*Edges) EqualMessageVT

func (this *Edges) EqualMessageVT(thatMsg any) bool

func (*Edges) EqualVT

func (this *Edges) EqualVT(that *Edges) bool

func (*Edges) GetBottom

func (x *Edges) GetBottom() float32

func (*Edges) GetLeft

func (x *Edges) GetLeft() float32

func (*Edges) GetRight

func (x *Edges) GetRight() float32

func (*Edges) GetTop

func (x *Edges) GetTop() float32

func (*Edges) MarshalJSON

func (x *Edges) MarshalJSON() ([]byte, error)

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 (x *Edges) MarshalProtoText() string

func (*Edges) MarshalToSizedBufferVT

func (m *Edges) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Edges) MarshalToVT

func (m *Edges) MarshalToVT(dAtA []byte) (int, error)

func (*Edges) MarshalVT

func (m *Edges) MarshalVT() (dAtA []byte, err error)

func (*Edges) ProtoMessage

func (*Edges) ProtoMessage()

func (*Edges) Reset

func (x *Edges) Reset()

func (*Edges) SizeVT

func (m *Edges) SizeVT() (n int)

func (*Edges) String

func (x *Edges) String() string

func (*Edges) UnmarshalJSON

func (x *Edges) UnmarshalJSON(b []byte) error

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

func (m *Edges) UnmarshalVT(dAtA []byte) error

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) Enum

func (x Face) Enum() *Face

func (Face) MarshalJSON

func (x Face) MarshalJSON() ([]byte, error)

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 (x Face) MarshalProtoText() string

func (Face) MarshalText

func (x Face) MarshalText() ([]byte, error)

MarshalText marshals the Face to text.

func (Face) String

func (x Face) String() string

func (*Face) UnmarshalJSON

func (x *Face) UnmarshalJSON(b []byte) error

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

func (x *Face) UnmarshalText(b []byte) error

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) Enum

func (x Flow) Enum() *Flow

func (Flow) MarshalJSON

func (x Flow) MarshalJSON() ([]byte, error)

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 (x Flow) MarshalProtoText() string

func (Flow) MarshalText

func (x Flow) MarshalText() ([]byte, error)

MarshalText marshals the Flow to text.

func (Flow) String

func (x Flow) String() string

func (*Flow) UnmarshalJSON

func (x *Flow) UnmarshalJSON(b []byte) error

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

func (x *Flow) UnmarshalText(b []byte) error

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) Enum

func (x Frame) Enum() *Frame

func (Frame) MarshalJSON

func (x Frame) MarshalJSON() ([]byte, error)

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 (x Frame) MarshalProtoText() string

func (Frame) MarshalText

func (x Frame) MarshalText() ([]byte, error)

MarshalText marshals the Frame to text.

func (Frame) String

func (x Frame) String() string

func (*Frame) UnmarshalJSON

func (x *Frame) UnmarshalJSON(b []byte) error

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

func (x *Frame) UnmarshalText(b []byte) error

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
	// GAME_ACTION_EXTRA_INFO shows the HUD's detail view while it is held. The
	// game reports it only as the gDetailView class on its HUD panels.
	GameAction_GAME_ACTION_EXTRA_INFO GameAction = 2
)

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) CloneVT added in v0.1.42

func (m *Gradient) CloneVT() *Gradient

func (*Gradient) EqualMessageVT added in v0.1.42

func (this *Gradient) EqualMessageVT(thatMsg any) bool

func (*Gradient) EqualVT added in v0.1.42

func (this *Gradient) EqualVT(that *Gradient) bool

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

func (x *Gradient) MarshalJSON() ([]byte, error)

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 (x *Gradient) MarshalProtoText() string

func (*Gradient) MarshalToSizedBufferVT added in v0.1.42

func (m *Gradient) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Gradient) MarshalToVT added in v0.1.42

func (m *Gradient) MarshalToVT(dAtA []byte) (int, error)

func (*Gradient) MarshalVT added in v0.1.42

func (m *Gradient) MarshalVT() (dAtA []byte, err error)

func (*Gradient) ProtoMessage added in v0.1.42

func (*Gradient) ProtoMessage()

func (*Gradient) Reset added in v0.1.42

func (x *Gradient) Reset()

func (*Gradient) SizeVT added in v0.1.42

func (m *Gradient) SizeVT() (n int)

func (*Gradient) String added in v0.1.42

func (x *Gradient) String() string

func (*Gradient) UnmarshalJSON added in v0.1.42

func (x *Gradient) UnmarshalJSON(b []byte) error

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

func (m *Gradient) UnmarshalVT(dAtA []byte) error

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) Enum added in v0.1.42

func (x HeroLook) Enum() *HeroLook

func (HeroLook) MarshalJSON added in v0.1.42

func (x HeroLook) MarshalJSON() ([]byte, error)

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 (x HeroLook) MarshalProtoText() string

func (HeroLook) MarshalText added in v0.1.42

func (x HeroLook) MarshalText() ([]byte, error)

MarshalText marshals the HeroLook to text.

func (HeroLook) String added in v0.1.42

func (x HeroLook) String() string

func (*HeroLook) UnmarshalJSON added in v0.1.42

func (x *HeroLook) UnmarshalJSON(b []byte) error

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

func (x *HeroLook) UnmarshalText(b []byte) error

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
	// HUD_PART_KILL_FEED is the feed of kills and other match events at the
	// upper right.
	HudPart_HUD_PART_KILL_FEED HudPart = 19
	// HUD_PART_OBJECTIVES is the health of each team's objectives: the bars
	// under the top bar and the final objective's markers at the screen's
	// sides.
	HudPart_HUD_PART_OBJECTIVES HudPart = 20
	// HUD_PART_HINTS is the game's tips beside the crosshair, such as how to
	// use an ability or buy an item.
	HudPart_HUD_PART_HINTS HudPart = 21
	// HUD_PART_OFFSCREEN_ATTACKERS is the markers at the edge of the screen
	// that point to an enemy who hurt the player from out of view. The
	// damage direction ring around the crosshair stays.
	HudPart_HUD_PART_OFFSCREEN_ATTACKERS HudPart = 22
	// HUD_PART_DAMAGED_TARGET is the hero badge and health bar the game shows
	// over the crosshair for the enemy the player last hurt, which names a
	// target the mod may keep hidden.
	HudPart_HUD_PART_DAMAGED_TARGET HudPart = 23
	// HUD_PART_DAMAGE_REPORT is the report of the damage the player took and
	// dealt, which the game shows after a death.
	HudPart_HUD_PART_DAMAGE_REPORT HudPart = 24
	// HUD_PART_TESTING_TOOLS is the sandbox's test tools panel at the upper
	// right, with its hint to hold a key to open it.
	HudPart_HUD_PART_TESTING_TOOLS HudPart = 25
	// HUD_PART_PLAYTEST_NOTICE is the notice the game shows over a playtest
	// build's HUD.
	HudPart_HUD_PART_PLAYTEST_NOTICE HudPart = 26
	// HUD_PART_SHOP_PROMPT is the shop's sign and the prompt to open it that
	// the game shows while the player stands at a shop. The shop itself still
	// opens.
	HudPart_HUD_PART_SHOP_PROMPT HudPart = 27
	// HUD_PART_UNIT_MARKERS is the markers with a distance that the game puts
	// over players and other units, such as a ping's target or a trooper the
	// player should follow.
	HudPart_HUD_PART_UNIT_MARKERS HudPart = 28
	// HUD_PART_FLEX_SLOT_NOTICE is the notice that a flex item slot unlocked.
	// The game's other notices stay.
	HudPart_HUD_PART_FLEX_SLOT_NOTICE HudPart = 29
	// HUD_PART_ABILITY_REMINDERS is the reminders under the abilities to hold a
	// key to unlock or upgrade an ability. The abilities stay.
	HudPart_HUD_PART_ABILITY_REMINDERS HudPart = 30
)

func (HudPart) Enum added in v0.1.13

func (x HudPart) Enum() *HudPart

func (HudPart) MarshalJSON added in v0.1.13

func (x HudPart) MarshalJSON() ([]byte, error)

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 (x HudPart) MarshalProtoText() string

func (HudPart) MarshalText added in v0.1.13

func (x HudPart) MarshalText() ([]byte, error)

MarshalText marshals the HudPart to text.

func (HudPart) String added in v0.1.13

func (x HudPart) String() string

func (*HudPart) UnmarshalJSON added in v0.1.13

func (x *HudPart) UnmarshalJSON(b []byte) error

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

func (x *HudPart) UnmarshalText(b []byte) error

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) Enum

func (x Kind) Enum() *Kind

func (Kind) MarshalJSON

func (x Kind) MarshalJSON() ([]byte, error)

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 (x Kind) MarshalProtoText() string

func (Kind) MarshalText

func (x Kind) MarshalText() ([]byte, error)

MarshalText marshals the Kind to text.

func (Kind) String

func (x Kind) String() string

func (*Kind) UnmarshalJSON

func (x *Kind) UnmarshalJSON(b []byte) error

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

func (x *Kind) UnmarshalText(b []byte) error

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) CloneVT

func (m *Length) CloneVT() *Length

func (*Length) EqualMessageVT

func (this *Length) EqualMessageVT(thatMsg any) bool

func (*Length) EqualVT

func (this *Length) EqualVT(that *Length) bool

func (*Length) GetFill

func (x *Length) GetFill() float32

func (*Length) GetFitChildren

func (x *Length) GetFitChildren() bool

func (*Length) GetPercent

func (x *Length) GetPercent() float32

func (*Length) GetPixels

func (x *Length) GetPixels() float32

func (*Length) GetValue

func (m *Length) GetValue() isLength_Value

func (*Length) MarshalJSON

func (x *Length) MarshalJSON() ([]byte, error)

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 (x *Length) MarshalProtoText() string

func (*Length) MarshalToSizedBufferVT

func (m *Length) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Length) MarshalToVT

func (m *Length) MarshalToVT(dAtA []byte) (int, error)

func (*Length) MarshalVT

func (m *Length) MarshalVT() (dAtA []byte, err error)

func (*Length) ProtoMessage

func (*Length) ProtoMessage()

func (*Length) Reset

func (x *Length) Reset()

func (*Length) SizeVT

func (m *Length) SizeVT() (n int)

func (*Length) String

func (x *Length) String() string

func (*Length) UnmarshalJSON

func (x *Length) UnmarshalJSON(b []byte) error

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

func (m *Length) UnmarshalVT(dAtA []byte) error

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) CloneVT

func (m *List) CloneVT() *List

func (*List) EqualMessageVT

func (this *List) EqualMessageVT(thatMsg any) bool

func (*List) EqualVT

func (this *List) EqualVT(that *List) bool

func (*List) GetFirst

func (x *List) GetFirst() uint32

func (*List) GetFocus

func (x *List) GetFocus() string

func (*List) GetFocusAt

func (x *List) GetFocusAt() uint32

func (*List) GetFocusStyle

func (x *List) GetFocusStyle() *Style

func (*List) GetRow

func (x *List) GetRow() []*Node

func (*List) GetRowHeight

func (x *List) GetRowHeight() float32

func (*List) GetRows

func (x *List) GetRows() []*Row

func (*List) GetSelected

func (x *List) GetSelected() string

func (*List) GetSelectedStyle

func (x *List) GetSelectedStyle() *Style

func (*List) GetTotal

func (x *List) GetTotal() uint32

func (*List) MarshalJSON

func (x *List) MarshalJSON() ([]byte, error)

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 (x *List) MarshalProtoText() string

func (*List) MarshalToSizedBufferVT

func (m *List) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*List) MarshalToVT

func (m *List) MarshalToVT(dAtA []byte) (int, error)

func (*List) MarshalVT

func (m *List) MarshalVT() (dAtA []byte, err error)

func (*List) ProtoMessage

func (*List) ProtoMessage()

func (*List) Reset

func (x *List) Reset()

func (*List) SizeVT

func (m *List) SizeVT() (n int)

func (*List) String

func (x *List) String() string

func (*List) UnmarshalJSON

func (x *List) UnmarshalJSON(b []byte) error

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

func (m *List) UnmarshalVT(dAtA []byte) error

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) CloneVT

func (m *Measured) CloneVT() *Measured

func (*Measured) EqualMessageVT

func (this *Measured) EqualMessageVT(thatMsg any) bool

func (*Measured) EqualVT

func (this *Measured) EqualVT(that *Measured) bool

func (*Measured) GetBounds

func (x *Measured) GetBounds() *Bounds

func (*Measured) GetName

func (x *Measured) GetName() string

func (*Measured) MarshalJSON

func (x *Measured) MarshalJSON() ([]byte, error)

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 (x *Measured) MarshalProtoText() string

func (*Measured) MarshalToSizedBufferVT

func (m *Measured) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Measured) MarshalToVT

func (m *Measured) MarshalToVT(dAtA []byte) (int, error)

func (*Measured) MarshalVT

func (m *Measured) MarshalVT() (dAtA []byte, err error)

func (*Measured) ProtoMessage

func (*Measured) ProtoMessage()

func (*Measured) Reset

func (x *Measured) Reset()

func (*Measured) SizeVT

func (m *Measured) SizeVT() (n int)

func (*Measured) String

func (x *Measured) String() string

func (*Measured) UnmarshalJSON

func (x *Measured) UnmarshalJSON(b []byte) error

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

func (m *Measured) UnmarshalVT(dAtA []byte) error
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 (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)

MarshalJSON marshals the Menu to JSON.

func (x *Menu) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the Menu message to JSON.

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

UnmarshalJSON unmarshals the Menu from JSON.

func (x *Menu) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the Menu message from JSON.

func (m *Menu) UnmarshalVT(dAtA []byte) error
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 (x MenuMode) Enum() *MenuMode
func (x MenuMode) MarshalJSON() ([]byte, error)

MarshalJSON marshals the MenuMode to JSON.

func (x MenuMode) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the MenuMode to JSON.

func (x MenuMode) MarshalProtoText() string
func (x MenuMode) MarshalText() ([]byte, error)

MarshalText marshals the MenuMode to text.

func (x MenuMode) String() string
func (x *MenuMode) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the MenuMode from JSON.

func (x *MenuMode) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the MenuMode from JSON.

func (x *MenuMode) UnmarshalText(b []byte) error

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) CloneVT

func (m *Node) CloneVT() *Node

func (*Node) EqualMessageVT

func (this *Node) EqualMessageVT(thatMsg any) bool

func (*Node) EqualVT

func (this *Node) EqualVT(that *Node) bool

func (*Node) GetAbility added in v0.1.76

func (x *Node) GetAbility() uint32

func (*Node) GetAbilityBarPresses added in v0.1.76

func (x *Node) GetAbilityBarPresses() bool

func (*Node) GetAbilityDisplay added in v0.1.76

func (x *Node) GetAbilityDisplay() []*AbilityRow

func (*Node) GetAbilityPlayer added in v0.1.76

func (x *Node) GetAbilityPlayer() uint32

func (*Node) GetBindings

func (x *Node) GetBindings() []*Binding

func (*Node) GetChildren

func (x *Node) GetChildren() []string

func (*Node) GetClasses added in v0.1.63

func (x *Node) GetClasses() []string

func (*Node) GetClock added in v0.1.93

func (x *Node) GetClock() *Clock

func (*Node) GetCues added in v0.1.76

func (x *Node) GetCues() []*Cue

func (*Node) GetCycle added in v0.1.42

func (x *Node) GetCycle() *Cycle

func (*Node) GetData

func (x *Node) GetData() string

func (*Node) GetDisabled added in v0.1.42

func (x *Node) GetDisabled() bool

func (*Node) GetDocumentInput

func (x *Node) GetDocumentInput() *DocumentInput

func (*Node) GetDocumentText

func (x *Node) GetDocumentText() string

func (*Node) GetDropdown added in v0.1.42

func (x *Node) GetDropdown() *Dropdown

func (*Node) GetEnter added in v0.1.42

func (x *Node) GetEnter() *Style

func (*Node) GetExit added in v0.1.42

func (x *Node) GetExit() *Style

func (*Node) GetFocusOrder

func (x *Node) GetFocusOrder() uint32

func (*Node) GetFollowsOverlay

func (x *Node) GetFollowsOverlay() bool

func (*Node) GetFollowsPlacement

func (x *Node) GetFollowsPlacement() bool

func (*Node) GetFrame

func (x *Node) GetFrame() Frame

func (*Node) GetFreeCursor added in v0.1.66

func (x *Node) GetFreeCursor() bool

func (*Node) GetFreeCursorAsks added in v0.1.70

func (x *Node) GetFreeCursorAsks() uint32

func (*Node) GetGameActions

func (x *Node) GetGameActions() []GameAction

func (*Node) GetHero added in v0.1.42

func (x *Node) GetHero() int32

func (*Node) GetHeroLook added in v0.1.42

func (x *Node) GetHeroLook() HeroLook

func (*Node) GetHideHud added in v0.1.13

func (x *Node) GetHideHud() []HudPart

func (*Node) GetHideInChat added in v0.1.96

func (x *Node) GetHideInChat() bool

func (*Node) GetHover added in v0.1.42

func (x *Node) GetHover() *Style

func (*Node) GetHoverSound added in v0.1.42

func (x *Node) GetHoverSound() string

func (*Node) GetId

func (x *Node) GetId() string

func (*Node) GetImage

func (x *Node) GetImage() string

func (*Node) GetInitialFocus

func (x *Node) GetInitialFocus() bool

func (*Node) GetInput added in v0.1.42

func (m *Node) GetInput() isNode_Input

func (*Node) GetItem added in v0.1.67

func (x *Node) GetItem() uint32

func (*Node) GetKind

func (x *Node) GetKind() Kind

func (*Node) GetLayout

func (x *Node) GetLayout() string

func (*Node) GetList

func (x *Node) GetList() *List

func (*Node) GetMeasure

func (x *Node) GetMeasure() string

func (*Node) GetMenu

func (x *Node) GetMenu() *Menu

func (*Node) GetRange

func (x *Node) GetRange() *Range

func (*Node) GetRoute added in v0.1.14

func (x *Node) GetRoute() string

func (*Node) GetScaling added in v0.1.42

func (x *Node) GetScaling() Scaling

func (*Node) GetSheets added in v0.1.63

func (x *Node) GetSheets() []string

func (*Node) GetSlider added in v0.1.42

func (x *Node) GetSlider() *Slider

func (*Node) GetSound added in v0.1.42

func (x *Node) GetSound() string

func (*Node) GetSpeaking

func (x *Node) GetSpeaking() string

func (*Node) GetSteamId added in v0.1.42

func (x *Node) GetSteamId() uint64

func (*Node) GetStyle

func (x *Node) GetStyle() *Style

func (*Node) GetSubmits

func (x *Node) GetSubmits() bool

func (*Node) GetText

func (x *Node) GetText() string

func (*Node) GetTextEntry added in v0.1.42

func (x *Node) GetTextEntry() *TextEntry

func (*Node) GetTimelines

func (x *Node) GetTimelines() []*Timeline

func (*Node) GetToggle added in v0.1.42

func (x *Node) GetToggle() *Toggle

func (*Node) GetToken added in v0.1.42

func (x *Node) GetToken() string

func (*Node) GetTooltip added in v0.1.42

func (x *Node) GetTooltip() string

func (*Node) GetVariables added in v0.1.42

func (x *Node) GetVariables() map[string]string

func (*Node) MarshalJSON

func (x *Node) MarshalJSON() ([]byte, error)

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 (x *Node) MarshalProtoText() string

func (*Node) MarshalToSizedBufferVT

func (m *Node) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Node) MarshalToVT

func (m *Node) MarshalToVT(dAtA []byte) (int, error)

func (*Node) MarshalVT

func (m *Node) MarshalVT() (dAtA []byte, err error)

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) Reset

func (x *Node) Reset()

func (*Node) SizeVT

func (m *Node) SizeVT() (n int)

func (*Node) String

func (x *Node) String() string

func (*Node) UnmarshalJSON

func (x *Node) UnmarshalJSON(b []byte) error

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

func (m *Node) UnmarshalVT(dAtA []byte) error

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) Enum added in v0.1.42

func (x Overflow) Enum() *Overflow

func (Overflow) MarshalJSON added in v0.1.42

func (x Overflow) MarshalJSON() ([]byte, error)

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 (x Overflow) MarshalProtoText() string

func (Overflow) MarshalText added in v0.1.42

func (x Overflow) MarshalText() ([]byte, error)

MarshalText marshals the Overflow to text.

func (Overflow) String added in v0.1.42

func (x Overflow) String() string

func (*Overflow) UnmarshalJSON added in v0.1.42

func (x *Overflow) UnmarshalJSON(b []byte) error

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

func (x *Overflow) UnmarshalText(b []byte) error

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) Enum

func (x Overlay) Enum() *Overlay

func (Overlay) MarshalJSON

func (x Overlay) MarshalJSON() ([]byte, error)

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 (x Overlay) MarshalProtoText() string

func (Overlay) MarshalText

func (x Overlay) MarshalText() ([]byte, error)

MarshalText marshals the Overlay to text.

func (Overlay) String

func (x Overlay) String() string

func (*Overlay) UnmarshalJSON

func (x *Overlay) UnmarshalJSON(b []byte) error

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

func (x *Overlay) UnmarshalText(b []byte) error

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 the handles move as they go and 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) CloneVT

func (m *Range) CloneVT() *Range

func (*Range) EqualMessageVT

func (this *Range) EqualMessageVT(thatMsg any) bool

func (*Range) EqualVT

func (this *Range) EqualVT(that *Range) bool

func (*Range) GetHandles

func (x *Range) GetHandles() []*RangeHandle

func (*Range) GetMax

func (x *Range) GetMax() float32

func (*Range) GetMin

func (x *Range) GetMin() float32

func (*Range) GetStep

func (x *Range) GetStep() float32

func (*Range) MarshalJSON

func (x *Range) MarshalJSON() ([]byte, error)

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 (x *Range) MarshalProtoText() string

func (*Range) MarshalToSizedBufferVT

func (m *Range) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Range) MarshalToVT

func (m *Range) MarshalToVT(dAtA []byte) (int, error)

func (*Range) MarshalVT

func (m *Range) MarshalVT() (dAtA []byte, err error)

func (*Range) ProtoMessage

func (*Range) ProtoMessage()

func (*Range) Reset

func (x *Range) Reset()

func (*Range) SizeVT

func (m *Range) SizeVT() (n int)

func (*Range) String

func (x *Range) String() string

func (*Range) UnmarshalJSON

func (x *Range) UnmarshalJSON(b []byte) error

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

func (m *Range) UnmarshalVT(dAtA []byte) error

type RangeEvent

type RangeEvent struct {

	// Phase is PRESSED as the player takes the handle, MOVED as it goes,
	// 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, so a mod showing the moves shows its own values again.
	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 move or 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) CloneVT added in v0.1.15

func (m *Region) CloneVT() *Region

func (*Region) EqualMessageVT added in v0.1.15

func (this *Region) EqualMessageVT(thatMsg any) bool

func (*Region) EqualVT added in v0.1.15

func (this *Region) EqualVT(that *Region) bool

func (*Region) GetHeight added in v0.1.15

func (x *Region) GetHeight() float32

func (*Region) GetLeft added in v0.1.15

func (x *Region) GetLeft() float32

func (*Region) GetTop added in v0.1.15

func (x *Region) GetTop() float32

func (*Region) GetWidth added in v0.1.15

func (x *Region) GetWidth() float32

func (*Region) MarshalJSON added in v0.1.15

func (x *Region) MarshalJSON() ([]byte, error)

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 (x *Region) MarshalProtoText() string

func (*Region) MarshalToSizedBufferVT added in v0.1.15

func (m *Region) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Region) MarshalToVT added in v0.1.15

func (m *Region) MarshalToVT(dAtA []byte) (int, error)

func (*Region) MarshalVT added in v0.1.15

func (m *Region) MarshalVT() (dAtA []byte, err error)

func (*Region) ProtoMessage added in v0.1.15

func (*Region) ProtoMessage()

func (*Region) Reset added in v0.1.15

func (x *Region) Reset()

func (*Region) SizeVT added in v0.1.15

func (m *Region) SizeVT() (n int)

func (*Region) String added in v0.1.15

func (x *Region) String() string

func (*Region) UnmarshalJSON added in v0.1.15

func (x *Region) UnmarshalJSON(b []byte) error

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

func (m *Region) UnmarshalVT(dAtA []byte) error

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) CloneVT

func (m *Row) CloneVT() *Row

func (*Row) EqualMessageVT

func (this *Row) EqualMessageVT(thatMsg any) bool

func (*Row) EqualVT

func (this *Row) EqualVT(that *Row) bool

func (*Row) GetFields

func (x *Row) GetFields() map[string]string

func (*Row) GetKey

func (x *Row) GetKey() string

func (*Row) MarshalJSON

func (x *Row) MarshalJSON() ([]byte, error)

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 (x *Row) MarshalProtoText() string

func (*Row) MarshalToSizedBufferVT

func (m *Row) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Row) MarshalToVT

func (m *Row) MarshalToVT(dAtA []byte) (int, error)

func (*Row) MarshalVT

func (m *Row) MarshalVT() (dAtA []byte, err error)

func (*Row) ProtoMessage

func (*Row) ProtoMessage()

func (*Row) Reset

func (x *Row) Reset()

func (*Row) SizeVT

func (m *Row) SizeVT() (n int)

func (*Row) String

func (x *Row) String() string

func (*Row) UnmarshalJSON

func (x *Row) UnmarshalJSON(b []byte) error

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

func (m *Row) UnmarshalVT(dAtA []byte) error

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) Enum added in v0.1.42

func (x Scaling) Enum() *Scaling

func (Scaling) MarshalJSON added in v0.1.42

func (x Scaling) MarshalJSON() ([]byte, error)

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 (x Scaling) MarshalProtoText() string

func (Scaling) MarshalText added in v0.1.42

func (x Scaling) MarshalText() ([]byte, error)

MarshalText marshals the Scaling to text.

func (Scaling) String added in v0.1.42

func (x Scaling) String() string

func (*Scaling) UnmarshalJSON added in v0.1.42

func (x *Scaling) UnmarshalJSON(b []byte) error

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

func (x *Scaling) UnmarshalText(b []byte) error

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) CloneVT

func (m *Screen) CloneVT() *Screen

func (*Screen) EqualMessageVT

func (this *Screen) EqualMessageVT(thatMsg any) bool

func (*Screen) EqualVT

func (this *Screen) EqualVT(that *Screen) bool

func (*Screen) GetPaused

func (x *Screen) GetPaused() bool

func (*Screen) GetTrees

func (x *Screen) GetTrees() []*Tree

func (*Screen) MarshalJSON

func (x *Screen) MarshalJSON() ([]byte, error)

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 (x *Screen) MarshalProtoText() string

func (*Screen) MarshalToSizedBufferVT

func (m *Screen) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Screen) MarshalToVT

func (m *Screen) MarshalToVT(dAtA []byte) (int, error)

func (*Screen) MarshalVT

func (m *Screen) MarshalVT() (dAtA []byte, err error)

func (*Screen) ProtoMessage

func (*Screen) ProtoMessage()

func (*Screen) Reset

func (x *Screen) Reset()

func (*Screen) SizeVT

func (m *Screen) SizeVT() (n int)

func (*Screen) String

func (x *Screen) String() string

func (*Screen) UnmarshalJSON

func (x *Screen) UnmarshalJSON(b []byte) error

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

func (m *Screen) UnmarshalVT(dAtA []byte) error

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) CloneVT added in v0.1.42

func (m *Shadow) CloneVT() *Shadow

func (*Shadow) EqualMessageVT added in v0.1.42

func (this *Shadow) EqualMessageVT(thatMsg any) bool

func (*Shadow) EqualVT added in v0.1.42

func (this *Shadow) EqualVT(that *Shadow) bool

func (*Shadow) GetBlur added in v0.1.42

func (x *Shadow) GetBlur() float32

func (*Shadow) GetColor added in v0.1.42

func (x *Shadow) GetColor() uint32

func (*Shadow) GetInset added in v0.1.42

func (x *Shadow) GetInset() bool

func (*Shadow) GetSpread added in v0.1.42

func (x *Shadow) GetSpread() float32

func (*Shadow) GetX added in v0.1.42

func (x *Shadow) GetX() float32

func (*Shadow) GetY added in v0.1.42

func (x *Shadow) GetY() float32

func (*Shadow) MarshalJSON added in v0.1.42

func (x *Shadow) MarshalJSON() ([]byte, error)

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 (x *Shadow) MarshalProtoText() string

func (*Shadow) MarshalToSizedBufferVT added in v0.1.42

func (m *Shadow) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Shadow) MarshalToVT added in v0.1.42

func (m *Shadow) MarshalToVT(dAtA []byte) (int, error)

func (*Shadow) MarshalVT added in v0.1.42

func (m *Shadow) MarshalVT() (dAtA []byte, err error)

func (*Shadow) ProtoMessage added in v0.1.42

func (*Shadow) ProtoMessage()

func (*Shadow) Reset added in v0.1.42

func (x *Shadow) Reset()

func (*Shadow) SizeVT added in v0.1.42

func (m *Shadow) SizeVT() (n int)

func (*Shadow) String added in v0.1.42

func (x *Shadow) String() string

func (*Shadow) UnmarshalJSON added in v0.1.42

func (x *Shadow) UnmarshalJSON(b []byte) error

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

func (m *Shadow) UnmarshalVT(dAtA []byte) error

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) CloneVT added in v0.1.42

func (m *Slider) CloneVT() *Slider

func (*Slider) EqualMessageVT added in v0.1.42

func (this *Slider) EqualMessageVT(thatMsg any) bool

func (*Slider) EqualVT added in v0.1.42

func (this *Slider) EqualVT(that *Slider) bool

func (*Slider) GetMax added in v0.1.42

func (x *Slider) GetMax() float32

func (*Slider) GetMin added in v0.1.42

func (x *Slider) GetMin() float32

func (*Slider) GetStep added in v0.1.42

func (x *Slider) GetStep() float32

func (*Slider) GetValue added in v0.1.42

func (x *Slider) GetValue() float32

func (*Slider) GetWheel added in v0.1.68

func (x *Slider) GetWheel() bool

func (*Slider) MarshalJSON added in v0.1.42

func (x *Slider) MarshalJSON() ([]byte, error)

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 (x *Slider) MarshalProtoText() string

func (*Slider) MarshalToSizedBufferVT added in v0.1.42

func (m *Slider) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Slider) MarshalToVT added in v0.1.42

func (m *Slider) MarshalToVT(dAtA []byte) (int, error)

func (*Slider) MarshalVT added in v0.1.42

func (m *Slider) MarshalVT() (dAtA []byte, err error)

func (*Slider) ProtoMessage added in v0.1.42

func (*Slider) ProtoMessage()

func (*Slider) Reset added in v0.1.42

func (x *Slider) Reset()

func (*Slider) SizeVT added in v0.1.42

func (m *Slider) SizeVT() (n int)

func (*Slider) String added in v0.1.42

func (x *Slider) String() string

func (*Slider) UnmarshalJSON added in v0.1.42

func (x *Slider) UnmarshalJSON(b []byte) error

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

func (m *Slider) UnmarshalVT(dAtA []byte) error

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) CloneVT

func (m *Style) CloneVT() *Style

func (*Style) EqualMessageVT

func (this *Style) EqualMessageVT(thatMsg any) bool

func (*Style) EqualVT

func (this *Style) EqualVT(that *Style) bool

func (*Style) GetBackground

func (x *Style) GetBackground() uint32

func (*Style) GetBlur added in v0.1.42

func (x *Style) GetBlur() float32

func (*Style) GetBold

func (x *Style) GetBold() bool

func (*Style) GetBorderColor

func (x *Style) GetBorderColor() uint32

func (*Style) GetBorderRadius

func (x *Style) GetBorderRadius() float32

func (*Style) GetBorderWidth

func (x *Style) GetBorderWidth() float32

func (*Style) GetBoxShadow added in v0.1.42

func (x *Style) GetBoxShadow() *Shadow

func (*Style) GetBrightness added in v0.1.42

func (x *Style) GetBrightness() float32

func (*Style) GetClip added in v0.1.93

func (x *Style) GetClip() *Clip

func (*Style) GetColor

func (x *Style) GetColor() uint32

func (*Style) GetContrast added in v0.1.42

func (x *Style) GetContrast() float32

func (*Style) GetDecoration added in v0.1.42

func (x *Style) GetDecoration() Decoration

func (*Style) GetFace

func (x *Style) GetFace() Face

func (*Style) GetFlow

func (x *Style) GetFlow() Flow

func (*Style) GetFontSize

func (x *Style) GetFontSize() float32

func (*Style) GetGradient added in v0.1.42

func (x *Style) GetGradient() *Gradient

func (*Style) GetHeight

func (x *Style) GetHeight() *Length

func (*Style) GetHorizontalAlign

func (x *Style) GetHorizontalAlign() Align

func (*Style) GetItalic added in v0.1.42

func (x *Style) GetItalic() bool

func (*Style) GetLetterSpacing

func (x *Style) GetLetterSpacing() float32

func (*Style) GetLineHeight added in v0.1.42

func (x *Style) GetLineHeight() float32

func (*Style) GetMargin

func (x *Style) GetMargin() *Edges

func (*Style) GetMaxHeight added in v0.1.42

func (x *Style) GetMaxHeight() *Length

func (*Style) GetMaxWidth added in v0.1.42

func (x *Style) GetMaxWidth() *Length

func (*Style) GetMinHeight added in v0.1.42

func (x *Style) GetMinHeight() *Length

func (*Style) GetMinWidth added in v0.1.42

func (x *Style) GetMinWidth() *Length

func (*Style) GetNoWrap added in v0.1.42

func (x *Style) GetNoWrap() bool

func (*Style) GetOpacity

func (x *Style) GetOpacity() float32

func (*Style) GetOverflowX added in v0.1.42

func (x *Style) GetOverflowX() Overflow

func (*Style) GetOverflowY added in v0.1.42

func (x *Style) GetOverflowY() Overflow

func (*Style) GetPadding

func (x *Style) GetPadding() *Edges

func (*Style) GetSaturation added in v0.1.42

func (x *Style) GetSaturation() float32

func (*Style) GetShadow

func (x *Style) GetShadow() bool

func (*Style) GetTextAlign

func (x *Style) GetTextAlign() Align

func (*Style) GetTextOverflow added in v0.1.42

func (x *Style) GetTextOverflow() TextOverflow

func (*Style) GetTextShadow added in v0.1.42

func (x *Style) GetTextShadow() *Shadow

func (*Style) GetTint added in v0.1.42

func (x *Style) GetTint() uint32

func (*Style) GetTransform added in v0.1.42

func (x *Style) GetTransform() *Transform

func (*Style) GetTransition added in v0.1.42

func (x *Style) GetTransition() *Transition

func (*Style) GetTurn added in v0.1.93

func (x *Style) GetTurn() float32

func (*Style) GetUppercase

func (x *Style) GetUppercase() bool

func (*Style) GetVerticalAlign

func (x *Style) GetVerticalAlign() Align

func (*Style) GetWeight added in v0.1.42

func (x *Style) GetWeight() Weight

func (*Style) GetWidth

func (x *Style) GetWidth() *Length

func (*Style) GetX added in v0.1.42

func (x *Style) GetX() *Length

func (*Style) GetY added in v0.1.42

func (x *Style) GetY() *Length

func (*Style) GetZIndex added in v0.1.42

func (x *Style) GetZIndex() int32

func (*Style) MarshalJSON

func (x *Style) MarshalJSON() ([]byte, error)

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 (x *Style) MarshalProtoText() string

func (*Style) MarshalToSizedBufferVT

func (m *Style) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Style) MarshalToVT

func (m *Style) MarshalToVT(dAtA []byte) (int, error)

func (*Style) MarshalVT

func (m *Style) MarshalVT() (dAtA []byte, err error)

func (*Style) ProtoMessage

func (*Style) ProtoMessage()

func (*Style) Reset

func (x *Style) Reset()

func (*Style) SizeVT

func (m *Style) SizeVT() (n int)

func (*Style) String

func (x *Style) String() string

func (*Style) UnmarshalJSON

func (x *Style) UnmarshalJSON(b []byte) error

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

func (m *Style) UnmarshalVT(dAtA []byte) error

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) CloneVT added in v0.1.42

func (m *TextEntry) CloneVT() *TextEntry

func (*TextEntry) EqualMessageVT added in v0.1.42

func (this *TextEntry) EqualMessageVT(thatMsg any) bool

func (*TextEntry) EqualVT added in v0.1.42

func (this *TextEntry) EqualVT(that *TextEntry) bool

func (*TextEntry) GetMaxLength added in v0.1.42

func (x *TextEntry) GetMaxLength() uint32

func (*TextEntry) GetPlaceholder added in v0.1.42

func (x *TextEntry) GetPlaceholder() string

func (*TextEntry) GetText added in v0.1.42

func (x *TextEntry) GetText() string

func (*TextEntry) MarshalJSON added in v0.1.42

func (x *TextEntry) MarshalJSON() ([]byte, error)

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 (x *TextEntry) MarshalProtoText() string

func (*TextEntry) MarshalToSizedBufferVT added in v0.1.42

func (m *TextEntry) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TextEntry) MarshalToVT added in v0.1.42

func (m *TextEntry) MarshalToVT(dAtA []byte) (int, error)

func (*TextEntry) MarshalVT added in v0.1.42

func (m *TextEntry) MarshalVT() (dAtA []byte, err error)

func (*TextEntry) ProtoMessage added in v0.1.42

func (*TextEntry) ProtoMessage()

func (*TextEntry) Reset added in v0.1.42

func (x *TextEntry) Reset()

func (*TextEntry) SizeVT added in v0.1.42

func (m *TextEntry) SizeVT() (n int)

func (*TextEntry) String added in v0.1.42

func (x *TextEntry) String() string

func (*TextEntry) UnmarshalJSON added in v0.1.42

func (x *TextEntry) UnmarshalJSON(b []byte) error

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

func (m *TextEntry) UnmarshalVT(dAtA []byte) error

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) CloneVT

func (m *Timeline) CloneVT() *Timeline

func (*Timeline) EqualMessageVT

func (this *Timeline) EqualMessageVT(thatMsg any) bool

func (*Timeline) EqualVT

func (this *Timeline) EqualVT(that *Timeline) bool

func (*Timeline) GetClock

func (x *Timeline) GetClock() TimelineClock

func (*Timeline) GetId

func (x *Timeline) GetId() string

func (*Timeline) GetRun

func (x *Timeline) GetRun() uint32

func (*Timeline) GetSteps

func (x *Timeline) GetSteps() []*TimelineStep

func (*Timeline) MarshalJSON

func (x *Timeline) MarshalJSON() ([]byte, error)

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 (x *Timeline) MarshalProtoText() string

func (*Timeline) MarshalToSizedBufferVT

func (m *Timeline) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Timeline) MarshalToVT

func (m *Timeline) MarshalToVT(dAtA []byte) (int, error)

func (*Timeline) MarshalVT

func (m *Timeline) MarshalVT() (dAtA []byte, err error)

func (*Timeline) ProtoMessage

func (*Timeline) ProtoMessage()

func (*Timeline) Reset

func (x *Timeline) Reset()

func (*Timeline) SizeVT

func (m *Timeline) SizeVT() (n int)

func (*Timeline) String

func (x *Timeline) String() string

func (*Timeline) UnmarshalJSON

func (x *Timeline) UnmarshalJSON(b []byte) error

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

func (m *Timeline) UnmarshalVT(dAtA []byte) error

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) CloneVT added in v0.1.42

func (m *Toggle) CloneVT() *Toggle

func (*Toggle) EqualMessageVT added in v0.1.42

func (this *Toggle) EqualMessageVT(thatMsg any) bool

func (*Toggle) EqualVT added in v0.1.42

func (this *Toggle) EqualVT(that *Toggle) bool

func (*Toggle) GetOn added in v0.1.42

func (x *Toggle) GetOn() bool

func (*Toggle) MarshalJSON added in v0.1.42

func (x *Toggle) MarshalJSON() ([]byte, error)

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 (x *Toggle) MarshalProtoText() string

func (*Toggle) MarshalToSizedBufferVT added in v0.1.42

func (m *Toggle) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Toggle) MarshalToVT added in v0.1.42

func (m *Toggle) MarshalToVT(dAtA []byte) (int, error)

func (*Toggle) MarshalVT added in v0.1.42

func (m *Toggle) MarshalVT() (dAtA []byte, err error)

func (*Toggle) ProtoMessage added in v0.1.42

func (*Toggle) ProtoMessage()

func (*Toggle) Reset added in v0.1.42

func (x *Toggle) Reset()

func (*Toggle) SizeVT added in v0.1.42

func (m *Toggle) SizeVT() (n int)

func (*Toggle) String added in v0.1.42

func (x *Toggle) String() string

func (*Toggle) UnmarshalJSON added in v0.1.42

func (x *Toggle) UnmarshalJSON(b []byte) error

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

func (m *Toggle) UnmarshalVT(dAtA []byte) error

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) CloneVT added in v0.1.42

func (m *Transform) CloneVT() *Transform

func (*Transform) EqualMessageVT added in v0.1.42

func (this *Transform) EqualMessageVT(thatMsg any) bool

func (*Transform) EqualVT added in v0.1.42

func (this *Transform) EqualVT(that *Transform) bool

func (*Transform) GetOriginX added in v0.1.42

func (x *Transform) GetOriginX() float32

func (*Transform) GetOriginY added in v0.1.42

func (x *Transform) GetOriginY() float32

func (*Transform) GetRotate added in v0.1.42

func (x *Transform) GetRotate() float32

func (*Transform) GetScaleX added in v0.1.42

func (x *Transform) GetScaleX() float32

func (*Transform) GetScaleY added in v0.1.42

func (x *Transform) GetScaleY() float32

func (*Transform) GetTranslateX added in v0.1.42

func (x *Transform) GetTranslateX() float32

func (*Transform) GetTranslateY added in v0.1.42

func (x *Transform) GetTranslateY() float32

func (*Transform) MarshalJSON added in v0.1.42

func (x *Transform) MarshalJSON() ([]byte, error)

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 (x *Transform) MarshalProtoText() string

func (*Transform) MarshalToSizedBufferVT added in v0.1.42

func (m *Transform) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Transform) MarshalToVT added in v0.1.42

func (m *Transform) MarshalToVT(dAtA []byte) (int, error)

func (*Transform) MarshalVT added in v0.1.42

func (m *Transform) MarshalVT() (dAtA []byte, err error)

func (*Transform) ProtoMessage added in v0.1.42

func (*Transform) ProtoMessage()

func (*Transform) Reset added in v0.1.42

func (x *Transform) Reset()

func (*Transform) SizeVT added in v0.1.42

func (m *Transform) SizeVT() (n int)

func (*Transform) String added in v0.1.42

func (x *Transform) String() string

func (*Transform) UnmarshalJSON added in v0.1.42

func (x *Transform) UnmarshalJSON(b []byte) error

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

func (m *Transform) UnmarshalVT(dAtA []byte) error

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) CloneVT

func (m *Tree) CloneVT() *Tree

func (*Tree) EqualMessageVT

func (this *Tree) EqualMessageVT(thatMsg any) bool

func (*Tree) EqualVT

func (this *Tree) EqualVT(that *Tree) bool

func (*Tree) GetAddon added in v0.1.70

func (x *Tree) GetAddon() string

func (*Tree) GetGeneration added in v0.1.72

func (x *Tree) GetGeneration() uint64

func (*Tree) GetMod

func (x *Tree) GetMod() string

func (*Tree) GetNodes

func (x *Tree) GetNodes() []*Node

func (*Tree) GetRegion added in v0.1.15

func (x *Tree) GetRegion() *Region

func (*Tree) MarshalJSON

func (x *Tree) MarshalJSON() ([]byte, error)

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 (x *Tree) MarshalProtoText() string

func (*Tree) MarshalToSizedBufferVT

func (m *Tree) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Tree) MarshalToVT

func (m *Tree) MarshalToVT(dAtA []byte) (int, error)

func (*Tree) MarshalVT

func (m *Tree) MarshalVT() (dAtA []byte, err error)

func (*Tree) ProtoMessage

func (*Tree) ProtoMessage()

func (*Tree) Reset

func (x *Tree) Reset()

func (*Tree) SizeVT

func (m *Tree) SizeVT() (n int)

func (*Tree) String

func (x *Tree) String() string

func (*Tree) UnmarshalJSON

func (x *Tree) UnmarshalJSON(b []byte) error

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

func (m *Tree) UnmarshalVT(dAtA []byte) error

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 (*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 (*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 (*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 (*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) CloneVT

func (m *UiRequest) CloneVT() *UiRequest

func (*UiRequest) EqualMessageVT

func (this *UiRequest) EqualMessageVT(thatMsg any) bool

func (*UiRequest) EqualVT

func (this *UiRequest) EqualVT(that *UiRequest) bool

func (*UiRequest) GetChange

func (x *UiRequest) GetChange() *Change

func (*UiRequest) GetPlayer

func (x *UiRequest) GetPlayer() int32

func (*UiRequest) MarshalJSON

func (x *UiRequest) MarshalJSON() ([]byte, error)

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 (x *UiRequest) MarshalProtoText() string

func (*UiRequest) MarshalToSizedBufferVT

func (m *UiRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UiRequest) MarshalToVT

func (m *UiRequest) MarshalToVT(dAtA []byte) (int, error)

func (*UiRequest) MarshalVT

func (m *UiRequest) MarshalVT() (dAtA []byte, err error)

func (*UiRequest) ProtoMessage

func (*UiRequest) ProtoMessage()

func (*UiRequest) Reset

func (x *UiRequest) Reset()

func (*UiRequest) SizeVT

func (m *UiRequest) SizeVT() (n int)

func (*UiRequest) String

func (x *UiRequest) String() string

func (*UiRequest) UnmarshalJSON

func (x *UiRequest) UnmarshalJSON(b []byte) error

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

func (m *UiRequest) UnmarshalVT(dAtA []byte) error

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) Enum added in v0.1.42

func (x Weight) Enum() *Weight

func (Weight) MarshalJSON added in v0.1.42

func (x Weight) MarshalJSON() ([]byte, error)

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 (x Weight) MarshalProtoText() string

func (Weight) MarshalText added in v0.1.42

func (x Weight) MarshalText() ([]byte, error)

MarshalText marshals the Weight to text.

func (Weight) String added in v0.1.42

func (x Weight) String() string

func (*Weight) UnmarshalJSON added in v0.1.42

func (x *Weight) UnmarshalJSON(b []byte) error

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

func (x *Weight) UnmarshalText(b []byte) error

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) CloneVT added in v0.1.68

func (m *Wheel) CloneVT() *Wheel

func (*Wheel) EqualMessageVT added in v0.1.68

func (this *Wheel) EqualMessageVT(thatMsg any) bool

func (*Wheel) EqualVT added in v0.1.68

func (this *Wheel) EqualVT(that *Wheel) bool

func (*Wheel) GetDelta added in v0.1.68

func (x *Wheel) GetDelta() float32

func (*Wheel) GetFraction added in v0.1.68

func (x *Wheel) GetFraction() float32

func (*Wheel) MarshalJSON added in v0.1.68

func (x *Wheel) MarshalJSON() ([]byte, error)

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 (x *Wheel) MarshalProtoText() string

func (*Wheel) MarshalToSizedBufferVT added in v0.1.68

func (m *Wheel) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Wheel) MarshalToVT added in v0.1.68

func (m *Wheel) MarshalToVT(dAtA []byte) (int, error)

func (*Wheel) MarshalVT added in v0.1.68

func (m *Wheel) MarshalVT() (dAtA []byte, err error)

func (*Wheel) ProtoMessage added in v0.1.68

func (*Wheel) ProtoMessage()

func (*Wheel) Reset added in v0.1.68

func (x *Wheel) Reset()

func (*Wheel) SizeVT added in v0.1.68

func (m *Wheel) SizeVT() (n int)

func (*Wheel) String added in v0.1.68

func (x *Wheel) String() string

func (*Wheel) UnmarshalJSON added in v0.1.68

func (x *Wheel) UnmarshalJSON(b []byte) error

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.

func (*Wheel) UnmarshalVT added in v0.1.68

func (m *Wheel) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL