Help us shape the future of Go! Take the 2026 Go Developer Survey

wasm

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MovementAction_name = map[int32]string{
		0:  "MOVEMENT_ACTION_UNKNOWN",
		1:  "MOVEMENT_ACTION_LANDED",
		2:  "MOVEMENT_ACTION_ZIPLINE_ATTACHED",
		3:  "MOVEMENT_ACTION_GROUND_DASH",
		4:  "MOVEMENT_ACTION_SLIDE",
		5:  "MOVEMENT_ACTION_BOUNCE_PAD",
		6:  "MOVEMENT_ACTION_DASH_JUMP",
		7:  "MOVEMENT_ACTION_AIR_JUMP",
		8:  "MOVEMENT_ACTION_WALL_JUMP",
		9:  "MOVEMENT_ACTION_AIR_DASH",
		10: "MOVEMENT_ACTION_MELEE_STARTED",
		11: "MOVEMENT_ACTION_ABILITY_EXECUTED",
	}
	MovementAction_value = map[string]int32{
		"MOVEMENT_ACTION_UNKNOWN":          0,
		"MOVEMENT_ACTION_LANDED":           1,
		"MOVEMENT_ACTION_ZIPLINE_ATTACHED": 2,
		"MOVEMENT_ACTION_GROUND_DASH":      3,
		"MOVEMENT_ACTION_SLIDE":            4,
		"MOVEMENT_ACTION_BOUNCE_PAD":       5,
		"MOVEMENT_ACTION_DASH_JUMP":        6,
		"MOVEMENT_ACTION_AIR_JUMP":         7,
		"MOVEMENT_ACTION_WALL_JUMP":        8,
		"MOVEMENT_ACTION_AIR_DASH":         9,
		"MOVEMENT_ACTION_MELEE_STARTED":    10,
		"MOVEMENT_ACTION_ABILITY_EXECUTED": 11,
	}
)

Enum value maps for MovementAction.

View Source
var (
	ScreenEffect_name = map[int32]string{
		0: "SCREEN_EFFECT_KILLED",
		1: "SCREEN_EFFECT_BLACK",
		2: "SCREEN_EFFECT_BLINDED",
		3: "SCREEN_EFFECT_DARKNESS",
		4: "SCREEN_EFFECT_MATCH_INTRO",
	}
	ScreenEffect_value = map[string]int32{
		"SCREEN_EFFECT_KILLED":      0,
		"SCREEN_EFFECT_BLACK":       1,
		"SCREEN_EFFECT_BLINDED":     2,
		"SCREEN_EFFECT_DARKNESS":    3,
		"SCREEN_EFFECT_MATCH_INTRO": 4,
	}
)

Enum value maps for ScreenEffect.

View Source
var (
	FieldType_name = map[int32]string{
		0:  "FIELD_TYPE_UNKNOWN",
		1:  "FIELD_TYPE_BOOL",
		2:  "FIELD_TYPE_INT8",
		3:  "FIELD_TYPE_INT16",
		4:  "FIELD_TYPE_INT32",
		5:  "FIELD_TYPE_UINT8",
		6:  "FIELD_TYPE_UINT16",
		7:  "FIELD_TYPE_UINT32",
		8:  "FIELD_TYPE_INT64",
		9:  "FIELD_TYPE_UINT64",
		10: "FIELD_TYPE_FLOAT32",
		11: "FIELD_TYPE_FLOAT64",
		12: "FIELD_TYPE_VECTOR",
		13: "FIELD_TYPE_HANDLE",
		14: "FIELD_TYPE_STRING",
	}
	FieldType_value = map[string]int32{
		"FIELD_TYPE_UNKNOWN": 0,
		"FIELD_TYPE_BOOL":    1,
		"FIELD_TYPE_INT8":    2,
		"FIELD_TYPE_INT16":   3,
		"FIELD_TYPE_INT32":   4,
		"FIELD_TYPE_UINT8":   5,
		"FIELD_TYPE_UINT16":  6,
		"FIELD_TYPE_UINT32":  7,
		"FIELD_TYPE_INT64":   8,
		"FIELD_TYPE_UINT64":  9,
		"FIELD_TYPE_FLOAT32": 10,
		"FIELD_TYPE_FLOAT64": 11,
		"FIELD_TYPE_VECTOR":  12,
		"FIELD_TYPE_HANDLE":  13,
		"FIELD_TYPE_STRING":  14,
	}
)

Enum value maps for FieldType.

View Source
var (
	PickupKind_name = map[int32]string{
		0: "PICKUP_KIND_URN",
		1: "PICKUP_KIND_MOVEMENT_BUFF",
	}
	PickupKind_value = map[string]int32{
		"PICKUP_KIND_URN":           0,
		"PICKUP_KIND_MOVEMENT_BUFF": 1,
	}
)

Enum value maps for PickupKind.

View Source
var (
	Manifest_Runtime_name = map[int32]string{
		0: "RUNTIME_UNKNOWN",
		1: "RUNTIME_WASM",
		2: "RUNTIME_QUICKJS",
		3: "RUNTIME_LUAU",
		4: "RUNTIME_PYTHON",
	}
	Manifest_Runtime_value = map[string]int32{
		"RUNTIME_UNKNOWN": 0,
		"RUNTIME_WASM":    1,
		"RUNTIME_QUICKJS": 2,
		"RUNTIME_LUAU":    3,
		"RUNTIME_PYTHON":  4,
	}
)

Enum value maps for Manifest_Runtime.

View Source
var (
	Manifest_Language_name = map[int32]string{
		0: "LANGUAGE_UNKNOWN",
		1: "LANGUAGE_GO",
		2: "LANGUAGE_TYPESCRIPT",
		3: "LANGUAGE_JAVASCRIPT",
		4: "LANGUAGE_LUAU",
		5: "LANGUAGE_PYTHON",
	}
	Manifest_Language_value = map[string]int32{
		"LANGUAGE_UNKNOWN":    0,
		"LANGUAGE_GO":         1,
		"LANGUAGE_TYPESCRIPT": 2,
		"LANGUAGE_JAVASCRIPT": 3,
		"LANGUAGE_LUAU":       4,
		"LANGUAGE_PYTHON":     5,
	}
)

Enum value maps for Manifest_Language.

View Source
var (
	Setting_Kind_name = map[int32]string{
		0: "KIND_UNKNOWN",
		1: "KIND_CHOICE",
		2: "KIND_SWITCH",
		3: "KIND_NUMBER",
	}
	Setting_Kind_value = map[string]int32{
		"KIND_UNKNOWN": 0,
		"KIND_CHOICE":  1,
		"KIND_SWITCH":  2,
		"KIND_NUMBER":  3,
	}
)

Enum value maps for Setting_Kind.

View Source
var (
	Metric_Kind_name = map[int32]string{
		0: "KIND_UNKNOWN",
		1: "KIND_COUNT",
		2: "KIND_SUM",
		3: "KIND_MAX",
	}
	Metric_Kind_value = map[string]int32{
		"KIND_UNKNOWN": 0,
		"KIND_COUNT":   1,
		"KIND_SUM":     2,
		"KIND_MAX":     3,
	}
)

Enum value maps for Metric_Kind.

View Source
var (
	Movement_Model_name = map[int32]string{
		0: "MODEL_NATIVE",
		1: "MODEL_QUAKEWORLD",
	}
	Movement_Model_value = map[string]int32{
		"MODEL_NATIVE":     0,
		"MODEL_QUAKEWORLD": 1,
	}
)

Enum value maps for Movement_Model.

Functions

This section is empty.

Types

type AbilitiesResponse

type AbilitiesResponse struct {
	Abilities []*Ability `protobuf:"bytes,1,rep,name=abilities,proto3" json:"abilities,omitempty"`
	// contains filtered or unexported fields
}

AbilitiesResponse lists a hero's abilities in the hero's order.

func (*AbilitiesResponse) CloneMessageVT

func (m *AbilitiesResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*AbilitiesResponse) CloneVT

func (m *AbilitiesResponse) CloneVT() *AbilitiesResponse

func (*AbilitiesResponse) EqualMessageVT

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

func (*AbilitiesResponse) EqualVT

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

func (*AbilitiesResponse) GetAbilities

func (x *AbilitiesResponse) GetAbilities() []*Ability

func (*AbilitiesResponse) MarshalJSON

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

MarshalJSON marshals the AbilitiesResponse to JSON.

func (*AbilitiesResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the AbilitiesResponse message to JSON.

func (*AbilitiesResponse) MarshalProtoText

func (x *AbilitiesResponse) MarshalProtoText() string

func (*AbilitiesResponse) MarshalToSizedBufferVT

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

func (*AbilitiesResponse) MarshalToVT

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

func (*AbilitiesResponse) MarshalVT

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

func (*AbilitiesResponse) ProtoMessage

func (*AbilitiesResponse) ProtoMessage()

func (*AbilitiesResponse) Reset

func (x *AbilitiesResponse) Reset()

func (*AbilitiesResponse) SizeVT

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

func (*AbilitiesResponse) String

func (x *AbilitiesResponse) String() string

func (*AbilitiesResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the AbilitiesResponse from JSON.

func (*AbilitiesResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the AbilitiesResponse message from JSON.

func (*AbilitiesResponse) UnmarshalVT

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

type Ability

type Ability struct {

	// Name is the ability's name, such as citadel_ability_hornet_snipe.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Slot is the ability's place on the hero: 0 to 3 are the ability keys.
	Slot int32 `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty"`
	// Entity is the ability's entity handle, as DamageEvent.ability reports
	// it.
	Entity uint32 `protobuf:"varint,3,opt,name=entity,proto3" json:"entity,omitempty"`
	// Upgrades holds the bought tiers: bit 0 unlocks it and bits 1 to 3 are
	// its upgrades.
	Upgrades uint32 `protobuf:"varint,4,opt,name=upgrades,proto3" json:"upgrades,omitempty"`
	// Charges is the charges the ability holds.
	Charges int32 `protobuf:"varint,5,opt,name=charges,proto3" json:"charges,omitempty"`
	// CooldownEnd is the game time its cooldown ends, or zero without one.
	CooldownEnd float32 `protobuf:"fixed32,6,opt,name=cooldown_end,json=cooldownEnd,proto3" json:"cooldownEnd,omitempty"`
	// Id identifies the ability's definition, as replays record it.
	Id uint32 `protobuf:"varint,7,opt,name=id,proto3" json:"id,omitempty"`
	// State is the packed upgrade word; its high half is upgrades.
	State uint32 `protobuf:"varint,8,opt,name=state,proto3" json:"state,omitempty"`
	// CooldownStart is the game time its cooldown began.
	CooldownStart float32 `protobuf:"fixed32,9,opt,name=cooldown_start,json=cooldownStart,proto3" json:"cooldownStart,omitempty"`
	// RechargeStart is the game time its next charge began recovering.
	RechargeStart float32 `protobuf:"fixed32,10,opt,name=recharge_start,json=rechargeStart,proto3" json:"rechargeStart,omitempty"`
	// RechargeEnd is the game time its next charge returns, or zero without
	// one.
	RechargeEnd float32 `protobuf:"fixed32,11,opt,name=recharge_end,json=rechargeEnd,proto3" json:"rechargeEnd,omitempty"`
	// contains filtered or unexported fields
}

Ability is one ability a hero owns.

func (*Ability) CloneMessageVT

func (m *Ability) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*Ability) CloneVT

func (m *Ability) CloneVT() *Ability

func (*Ability) EqualMessageVT

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

func (*Ability) EqualVT

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

func (*Ability) GetCharges

func (x *Ability) GetCharges() int32

func (*Ability) GetCooldownEnd

func (x *Ability) GetCooldownEnd() float32

func (*Ability) GetCooldownStart

func (x *Ability) GetCooldownStart() float32

func (*Ability) GetEntity

func (x *Ability) GetEntity() uint32

func (*Ability) GetId

func (x *Ability) GetId() uint32

func (*Ability) GetName

func (x *Ability) GetName() string

func (*Ability) GetRechargeEnd

func (x *Ability) GetRechargeEnd() float32

func (*Ability) GetRechargeStart

func (x *Ability) GetRechargeStart() float32

func (*Ability) GetSlot

func (x *Ability) GetSlot() int32

func (*Ability) GetState

func (x *Ability) GetState() uint32

func (*Ability) GetUpgrades

func (x *Ability) GetUpgrades() uint32

func (*Ability) MarshalJSON

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

MarshalJSON marshals the Ability to JSON.

func (*Ability) MarshalProtoJSON

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

MarshalProtoJSON marshals the Ability message to JSON.

func (*Ability) MarshalProtoText

func (x *Ability) MarshalProtoText() string

func (*Ability) MarshalToSizedBufferVT

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

func (*Ability) MarshalToVT

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

func (*Ability) MarshalVT

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

func (*Ability) ProtoMessage

func (*Ability) ProtoMessage()

func (*Ability) Reset

func (x *Ability) Reset()

func (*Ability) SizeVT

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

func (*Ability) String

func (x *Ability) String() string

func (*Ability) UnmarshalJSON

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

UnmarshalJSON unmarshals the Ability from JSON.

func (*Ability) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the Ability message from JSON.

func (*Ability) UnmarshalVT

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

type AbilityOptions

type AbilityOptions struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Ability is the ability's name.
	Ability string `protobuf:"bytes,2,opt,name=ability,proto3" json:"ability,omitempty"`
	// Upgrades replaces the bought tiers, as Ability.upgrades: 0b1111 unlocks
	// it with all three upgrades.
	Upgrades *uint32 `protobuf:"varint,3,opt,name=upgrades,proto3,oneof" json:"upgrades,omitempty"`
	// Charges replaces the charges the ability holds, keeping its timers.
	Charges *int32 `protobuf:"varint,4,opt,name=charges,proto3,oneof" json:"charges,omitempty"`
	// CooldownEnd replaces the game time its cooldown ends.
	CooldownEnd *float32 `protobuf:"fixed32,5,opt,name=cooldown_end,json=cooldownEnd,proto3,oneof" json:"cooldownEnd,omitempty"`
	// RechargeEnd replaces the game time its next charge returns.
	RechargeEnd *float32 `protobuf:"fixed32,6,opt,name=recharge_end,json=rechargeEnd,proto3,oneof" json:"rechargeEnd,omitempty"`
	// MaxCharges replaces the most charges the ability can hold, from 1 to 100;
	// 0 returns it to the game's own. The server applies it, so the hero's
	// screen can still show the game's maximum. Charges above the new maximum
	// are not removed; set them with charges.
	MaxCharges *int32 `protobuf:"varint,7,opt,name=max_charges,json=maxCharges,proto3,oneof" json:"maxCharges,omitempty"`
	// contains filtered or unexported fields
}

AbilityOptions changes one ability of a player's hero.

func (*AbilityOptions) CloneMessageVT

func (m *AbilityOptions) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*AbilityOptions) CloneVT

func (m *AbilityOptions) CloneVT() *AbilityOptions

func (*AbilityOptions) EqualMessageVT

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

func (*AbilityOptions) EqualVT

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

func (*AbilityOptions) GetAbility

func (x *AbilityOptions) GetAbility() string

func (*AbilityOptions) GetCharges

func (x *AbilityOptions) GetCharges() int32

func (*AbilityOptions) GetCooldownEnd

func (x *AbilityOptions) GetCooldownEnd() float32

func (*AbilityOptions) GetMaxCharges added in v0.1.4

func (x *AbilityOptions) GetMaxCharges() int32

func (*AbilityOptions) GetPlayer

func (x *AbilityOptions) GetPlayer() int32

func (*AbilityOptions) GetRechargeEnd

func (x *AbilityOptions) GetRechargeEnd() float32

func (*AbilityOptions) GetUpgrades

func (x *AbilityOptions) GetUpgrades() uint32

func (*AbilityOptions) MarshalJSON

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

MarshalJSON marshals the AbilityOptions to JSON.

func (*AbilityOptions) MarshalProtoJSON

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

MarshalProtoJSON marshals the AbilityOptions message to JSON.

func (*AbilityOptions) MarshalProtoText

func (x *AbilityOptions) MarshalProtoText() string

func (*AbilityOptions) MarshalToSizedBufferVT

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

func (*AbilityOptions) MarshalToVT

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

func (*AbilityOptions) MarshalVT

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

func (*AbilityOptions) ProtoMessage

func (*AbilityOptions) ProtoMessage()

func (*AbilityOptions) Reset

func (x *AbilityOptions) Reset()

func (*AbilityOptions) SizeVT

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

func (*AbilityOptions) String

func (x *AbilityOptions) String() string

func (*AbilityOptions) UnmarshalJSON

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

UnmarshalJSON unmarshals the AbilityOptions from JSON.

func (*AbilityOptions) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the AbilityOptions message from JSON.

func (*AbilityOptions) UnmarshalVT

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

type AbilityTuning

type AbilityTuning struct {

	// Ability is the ability's name, such as gunslinger_rocket_launcher.
	Ability string `protobuf:"bytes,1,opt,name=ability,proto3" json:"ability,omitempty"`
	// Properties replaces the values of the ability's named properties, such
	// as AbilityCooldown.
	Properties map[string]float32 `` /* 163-byte string literal not displayed */
	// Fields writes float schema fields, named as a path of class.field steps
	// from the ability's data, such as
	// CitadelAbilityVData.m_projectileInfo/ProjectileInfo_t.m_flSpeed.
	Fields map[string]float32 `` /* 155-byte string literal not displayed */
	// CopyFields copies the field at each value's path over the field at its
	// key's path; both must be the same size.
	CopyFields map[string]string `` /* 178-byte string literal not displayed */
	// contains filtered or unexported fields
}

AbilityTuning changes one ability's data where the game keeps it parsed.

func (*AbilityTuning) CloneMessageVT

func (m *AbilityTuning) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*AbilityTuning) CloneVT

func (m *AbilityTuning) CloneVT() *AbilityTuning

func (*AbilityTuning) EqualMessageVT

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

func (*AbilityTuning) EqualVT

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

func (*AbilityTuning) GetAbility

func (x *AbilityTuning) GetAbility() string

func (*AbilityTuning) GetCopyFields

func (x *AbilityTuning) GetCopyFields() map[string]string

func (*AbilityTuning) GetFields

func (x *AbilityTuning) GetFields() map[string]float32

func (*AbilityTuning) GetProperties

func (x *AbilityTuning) GetProperties() map[string]float32

func (*AbilityTuning) MarshalJSON

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

MarshalJSON marshals the AbilityTuning to JSON.

func (*AbilityTuning) MarshalProtoJSON

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

MarshalProtoJSON marshals the AbilityTuning message to JSON.

func (*AbilityTuning) MarshalProtoText

func (x *AbilityTuning) MarshalProtoText() string

func (*AbilityTuning) MarshalToSizedBufferVT

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

func (*AbilityTuning) MarshalToVT

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

func (*AbilityTuning) MarshalVT

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

func (*AbilityTuning) ProtoMessage

func (*AbilityTuning) ProtoMessage()

func (*AbilityTuning) Reset

func (x *AbilityTuning) Reset()

func (*AbilityTuning) SizeVT

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

func (*AbilityTuning) String

func (x *AbilityTuning) String() string

func (*AbilityTuning) UnmarshalJSON

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

UnmarshalJSON unmarshals the AbilityTuning from JSON.

func (*AbilityTuning) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the AbilityTuning message from JSON.

func (*AbilityTuning) UnmarshalVT

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

type AbilityTuning_CopyFieldsEntry

type AbilityTuning_CopyFieldsEntry 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 (*AbilityTuning_CopyFieldsEntry) GetKey

func (*AbilityTuning_CopyFieldsEntry) GetValue

func (x *AbilityTuning_CopyFieldsEntry) GetValue() string

func (*AbilityTuning_CopyFieldsEntry) MarshalJSON

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

MarshalJSON marshals the AbilityTuning_CopyFieldsEntry to JSON.

func (*AbilityTuning_CopyFieldsEntry) MarshalProtoJSON

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

MarshalProtoJSON marshals the AbilityTuning_CopyFieldsEntry message to JSON.

func (*AbilityTuning_CopyFieldsEntry) MarshalProtoText

func (x *AbilityTuning_CopyFieldsEntry) MarshalProtoText() string

func (*AbilityTuning_CopyFieldsEntry) ProtoMessage

func (*AbilityTuning_CopyFieldsEntry) ProtoMessage()

func (*AbilityTuning_CopyFieldsEntry) Reset

func (x *AbilityTuning_CopyFieldsEntry) Reset()

func (*AbilityTuning_CopyFieldsEntry) String

func (*AbilityTuning_CopyFieldsEntry) UnmarshalJSON

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

UnmarshalJSON unmarshals the AbilityTuning_CopyFieldsEntry from JSON.

func (*AbilityTuning_CopyFieldsEntry) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the AbilityTuning_CopyFieldsEntry message from JSON.

type AbilityTuning_FieldsEntry

type AbilityTuning_FieldsEntry struct {
	Key   string  `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value float32 `protobuf:"fixed32,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*AbilityTuning_FieldsEntry) GetKey

func (x *AbilityTuning_FieldsEntry) GetKey() string

func (*AbilityTuning_FieldsEntry) GetValue

func (x *AbilityTuning_FieldsEntry) GetValue() float32

func (*AbilityTuning_FieldsEntry) MarshalJSON

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

MarshalJSON marshals the AbilityTuning_FieldsEntry to JSON.

func (*AbilityTuning_FieldsEntry) MarshalProtoJSON

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

MarshalProtoJSON marshals the AbilityTuning_FieldsEntry message to JSON.

func (*AbilityTuning_FieldsEntry) MarshalProtoText

func (x *AbilityTuning_FieldsEntry) MarshalProtoText() string

func (*AbilityTuning_FieldsEntry) ProtoMessage

func (*AbilityTuning_FieldsEntry) ProtoMessage()

func (*AbilityTuning_FieldsEntry) Reset

func (x *AbilityTuning_FieldsEntry) Reset()

func (*AbilityTuning_FieldsEntry) String

func (x *AbilityTuning_FieldsEntry) String() string

func (*AbilityTuning_FieldsEntry) UnmarshalJSON

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

UnmarshalJSON unmarshals the AbilityTuning_FieldsEntry from JSON.

func (*AbilityTuning_FieldsEntry) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the AbilityTuning_FieldsEntry message from JSON.

type AbilityTuning_PropertiesEntry

type AbilityTuning_PropertiesEntry struct {
	Key   string  `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value float32 `protobuf:"fixed32,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*AbilityTuning_PropertiesEntry) GetKey

func (*AbilityTuning_PropertiesEntry) GetValue

func (x *AbilityTuning_PropertiesEntry) GetValue() float32

func (*AbilityTuning_PropertiesEntry) MarshalJSON

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

MarshalJSON marshals the AbilityTuning_PropertiesEntry to JSON.

func (*AbilityTuning_PropertiesEntry) MarshalProtoJSON

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

MarshalProtoJSON marshals the AbilityTuning_PropertiesEntry message to JSON.

func (*AbilityTuning_PropertiesEntry) MarshalProtoText

func (x *AbilityTuning_PropertiesEntry) MarshalProtoText() string

func (*AbilityTuning_PropertiesEntry) ProtoMessage

func (*AbilityTuning_PropertiesEntry) ProtoMessage()

func (*AbilityTuning_PropertiesEntry) Reset

func (x *AbilityTuning_PropertiesEntry) Reset()

func (*AbilityTuning_PropertiesEntry) String

func (*AbilityTuning_PropertiesEntry) UnmarshalJSON

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

UnmarshalJSON unmarshals the AbilityTuning_PropertiesEntry from JSON.

func (*AbilityTuning_PropertiesEntry) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the AbilityTuning_PropertiesEntry message from JSON.

type ActiveResponse

type ActiveResponse struct {
	Active bool `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"`
	// contains filtered or unexported fields
}

ActiveResponse reports whether a state is active.

func (*ActiveResponse) CloneMessageVT

func (m *ActiveResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*ActiveResponse) CloneVT

func (m *ActiveResponse) CloneVT() *ActiveResponse

func (*ActiveResponse) EqualMessageVT

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

func (*ActiveResponse) EqualVT

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

func (*ActiveResponse) GetActive

func (x *ActiveResponse) GetActive() bool

func (*ActiveResponse) MarshalJSON

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

MarshalJSON marshals the ActiveResponse to JSON.

func (*ActiveResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the ActiveResponse message to JSON.

func (*ActiveResponse) MarshalProtoText

func (x *ActiveResponse) MarshalProtoText() string

func (*ActiveResponse) MarshalToSizedBufferVT

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

func (*ActiveResponse) MarshalToVT

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

func (*ActiveResponse) MarshalVT

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

func (*ActiveResponse) ProtoMessage

func (*ActiveResponse) ProtoMessage()

func (*ActiveResponse) Reset

func (x *ActiveResponse) Reset()

func (*ActiveResponse) SizeVT

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

func (*ActiveResponse) String

func (x *ActiveResponse) String() string

func (*ActiveResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the ActiveResponse from JSON.

func (*ActiveResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the ActiveResponse message from JSON.

func (*ActiveResponse) UnmarshalVT

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

type AddMetricRequest

type AddMetricRequest struct {

	// Player is the player's server slot.
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Name names a metric the manifest declares.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Value is the amount a sum adds and the value a maximum compares; a
	// count adds one.
	Value float64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"`
	// Label is one of the metric's declared labels, or empty for a metric
	// without labels.
	Label *string `protobuf:"bytes,4,opt,name=label,proto3,oneof" json:"label,omitempty"`
	// contains filtered or unexported fields
}

AddMetricRequest adds to one of a player's metric totals.

func (*AddMetricRequest) CloneMessageVT

func (m *AddMetricRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*AddMetricRequest) CloneVT

func (m *AddMetricRequest) CloneVT() *AddMetricRequest

func (*AddMetricRequest) EqualMessageVT

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

func (*AddMetricRequest) EqualVT

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

func (*AddMetricRequest) GetLabel

func (x *AddMetricRequest) GetLabel() string

func (*AddMetricRequest) GetName

func (x *AddMetricRequest) GetName() string

func (*AddMetricRequest) GetPlayer

func (x *AddMetricRequest) GetPlayer() int32

func (*AddMetricRequest) GetValue

func (x *AddMetricRequest) GetValue() float64

func (*AddMetricRequest) MarshalJSON

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

MarshalJSON marshals the AddMetricRequest to JSON.

func (*AddMetricRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the AddMetricRequest message to JSON.

func (*AddMetricRequest) MarshalProtoText

func (x *AddMetricRequest) MarshalProtoText() string

func (*AddMetricRequest) MarshalToSizedBufferVT

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

func (*AddMetricRequest) MarshalToVT

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

func (*AddMetricRequest) MarshalVT

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

func (*AddMetricRequest) ProtoMessage

func (*AddMetricRequest) ProtoMessage()

func (*AddMetricRequest) Reset

func (x *AddMetricRequest) Reset()

func (*AddMetricRequest) SizeVT

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

func (*AddMetricRequest) String

func (x *AddMetricRequest) String() string

func (*AddMetricRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the AddMetricRequest from JSON.

func (*AddMetricRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the AddMetricRequest message from JSON.

func (*AddMetricRequest) UnmarshalVT

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

type AdjustSoulsRequest

type AdjustSoulsRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Delta adds souls, or spends them when negative.
	Delta int32 `protobuf:"varint,2,opt,name=delta,proto3" json:"delta,omitempty"`
	// Silent hides the game's souls notice.
	Silent *bool `protobuf:"varint,3,opt,name=silent,proto3,oneof" json:"silent,omitempty"`
	// contains filtered or unexported fields
}

AdjustSoulsRequest changes one player's souls.

func (*AdjustSoulsRequest) CloneMessageVT

func (m *AdjustSoulsRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*AdjustSoulsRequest) CloneVT

func (m *AdjustSoulsRequest) CloneVT() *AdjustSoulsRequest

func (*AdjustSoulsRequest) EqualMessageVT

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

func (*AdjustSoulsRequest) EqualVT

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

func (*AdjustSoulsRequest) GetDelta

func (x *AdjustSoulsRequest) GetDelta() int32

func (*AdjustSoulsRequest) GetPlayer

func (x *AdjustSoulsRequest) GetPlayer() int32

func (*AdjustSoulsRequest) GetSilent

func (x *AdjustSoulsRequest) GetSilent() bool

func (*AdjustSoulsRequest) MarshalJSON

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

MarshalJSON marshals the AdjustSoulsRequest to JSON.

func (*AdjustSoulsRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the AdjustSoulsRequest message to JSON.

func (*AdjustSoulsRequest) MarshalProtoText

func (x *AdjustSoulsRequest) MarshalProtoText() string

func (*AdjustSoulsRequest) MarshalToSizedBufferVT

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

func (*AdjustSoulsRequest) MarshalToVT

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

func (*AdjustSoulsRequest) MarshalVT

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

func (*AdjustSoulsRequest) ProtoMessage

func (*AdjustSoulsRequest) ProtoMessage()

func (*AdjustSoulsRequest) Reset

func (x *AdjustSoulsRequest) Reset()

func (*AdjustSoulsRequest) SizeVT

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

func (*AdjustSoulsRequest) String

func (x *AdjustSoulsRequest) String() string

func (*AdjustSoulsRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the AdjustSoulsRequest from JSON.

func (*AdjustSoulsRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the AdjustSoulsRequest message from JSON.

func (*AdjustSoulsRequest) UnmarshalVT

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

type AliveResponse

type AliveResponse struct {
	Alive bool `protobuf:"varint,1,opt,name=alive,proto3" json:"alive,omitempty"`
	// contains filtered or unexported fields
}

AliveResponse reports whether a unit or pickup was still in the world.

func (*AliveResponse) CloneMessageVT

func (m *AliveResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*AliveResponse) CloneVT

func (m *AliveResponse) CloneVT() *AliveResponse

func (*AliveResponse) EqualMessageVT

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

func (*AliveResponse) EqualVT

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

func (*AliveResponse) GetAlive

func (x *AliveResponse) GetAlive() bool

func (*AliveResponse) MarshalJSON

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

MarshalJSON marshals the AliveResponse to JSON.

func (*AliveResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the AliveResponse message to JSON.

func (*AliveResponse) MarshalProtoText

func (x *AliveResponse) MarshalProtoText() string

func (*AliveResponse) MarshalToSizedBufferVT

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

func (*AliveResponse) MarshalToVT

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

func (*AliveResponse) MarshalVT

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

func (*AliveResponse) ProtoMessage

func (*AliveResponse) ProtoMessage()

func (*AliveResponse) Reset

func (x *AliveResponse) Reset()

func (*AliveResponse) SizeVT

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

func (*AliveResponse) String

func (x *AliveResponse) String() string

func (*AliveResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the AliveResponse from JSON.

func (*AliveResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the AliveResponse message from JSON.

func (*AliveResponse) UnmarshalVT

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

type AnnounceRequest

type AnnounceRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Title is the announcement's heading.
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// Text is the announcement's body.
	Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

AnnounceRequest addresses a game announcement to one player.

func (*AnnounceRequest) CloneMessageVT

func (m *AnnounceRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*AnnounceRequest) CloneVT

func (m *AnnounceRequest) CloneVT() *AnnounceRequest

func (*AnnounceRequest) EqualMessageVT

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

func (*AnnounceRequest) EqualVT

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

func (*AnnounceRequest) GetPlayer

func (x *AnnounceRequest) GetPlayer() int32

func (*AnnounceRequest) GetText

func (x *AnnounceRequest) GetText() string

func (*AnnounceRequest) GetTitle

func (x *AnnounceRequest) GetTitle() string

func (*AnnounceRequest) MarshalJSON

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

MarshalJSON marshals the AnnounceRequest to JSON.

func (*AnnounceRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the AnnounceRequest message to JSON.

func (*AnnounceRequest) MarshalProtoText

func (x *AnnounceRequest) MarshalProtoText() string

func (*AnnounceRequest) MarshalToSizedBufferVT

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

func (*AnnounceRequest) MarshalToVT

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

func (*AnnounceRequest) MarshalVT

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

func (*AnnounceRequest) ProtoMessage

func (*AnnounceRequest) ProtoMessage()

func (*AnnounceRequest) Reset

func (x *AnnounceRequest) Reset()

func (*AnnounceRequest) SizeVT

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

func (*AnnounceRequest) String

func (x *AnnounceRequest) String() string

func (*AnnounceRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the AnnounceRequest from JSON.

func (*AnnounceRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the AnnounceRequest message from JSON.

func (*AnnounceRequest) UnmarshalVT

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

type BotOptions

type BotOptions struct {

	// Name is the bot's player name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Team is the team number to join: 2 or 3.
	Team int32 `protobuf:"varint,2,opt,name=team,proto3" json:"team,omitempty"`
	// Hero names the bot's hero, such as hero_wraith, or gives its identifier
	// as Pawn.hero reports it.
	//
	// Types that are assignable to Hero:
	//	*BotOptions_HeroName
	//	*BotOptions_HeroId
	Hero isBotOptions_Hero `protobuf_oneof:"hero"`
	// Position is where the bot appears.
	Position *modlock.Vec3 `protobuf:"bytes,5,opt,name=position,proto3,oneof" json:"position,omitempty"`
	// contains filtered or unexported fields
}

BotOptions describes a bot player.

func (*BotOptions) CloneMessageVT

func (m *BotOptions) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*BotOptions) CloneVT

func (m *BotOptions) CloneVT() *BotOptions

func (*BotOptions) EqualMessageVT

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

func (*BotOptions) EqualVT

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

func (*BotOptions) GetHero

func (m *BotOptions) GetHero() isBotOptions_Hero

func (*BotOptions) GetHeroId

func (x *BotOptions) GetHeroId() uint32

func (*BotOptions) GetHeroName

func (x *BotOptions) GetHeroName() string

func (*BotOptions) GetName

func (x *BotOptions) GetName() string

func (*BotOptions) GetPosition

func (x *BotOptions) GetPosition() *modlock.Vec3

func (*BotOptions) GetTeam

func (x *BotOptions) GetTeam() int32

func (*BotOptions) MarshalJSON

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

MarshalJSON marshals the BotOptions to JSON.

func (*BotOptions) MarshalProtoJSON

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

MarshalProtoJSON marshals the BotOptions message to JSON.

func (*BotOptions) MarshalProtoText

func (x *BotOptions) MarshalProtoText() string

func (*BotOptions) MarshalToSizedBufferVT

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

func (*BotOptions) MarshalToVT

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

func (*BotOptions) MarshalVT

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

func (*BotOptions) ProtoMessage

func (*BotOptions) ProtoMessage()

func (*BotOptions) Reset

func (x *BotOptions) Reset()

func (*BotOptions) SizeVT

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

func (*BotOptions) String

func (x *BotOptions) String() string

func (*BotOptions) UnmarshalJSON

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

UnmarshalJSON unmarshals the BotOptions from JSON.

func (*BotOptions) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the BotOptions message from JSON.

func (*BotOptions) UnmarshalVT

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

type BotOptions_HeroId

type BotOptions_HeroId struct {
	HeroId uint32 `protobuf:"varint,4,opt,name=hero_id,json=heroId,proto3,oneof"`
}

func (*BotOptions_HeroId) CloneOneofVT

func (m *BotOptions_HeroId) CloneOneofVT() isBotOptions_Hero

func (*BotOptions_HeroId) CloneVT

func (m *BotOptions_HeroId) CloneVT() *BotOptions_HeroId

func (*BotOptions_HeroId) EqualVT

func (this *BotOptions_HeroId) EqualVT(thatIface isBotOptions_Hero) bool

func (*BotOptions_HeroId) MarshalToSizedBufferVT

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

func (*BotOptions_HeroId) MarshalToVT

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

func (*BotOptions_HeroId) SizeVT

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

type BotOptions_HeroName

type BotOptions_HeroName struct {
	HeroName string `protobuf:"bytes,3,opt,name=hero_name,json=heroName,proto3,oneof"`
}

func (*BotOptions_HeroName) CloneOneofVT

func (m *BotOptions_HeroName) CloneOneofVT() isBotOptions_Hero

func (*BotOptions_HeroName) CloneVT

func (*BotOptions_HeroName) EqualVT

func (this *BotOptions_HeroName) EqualVT(thatIface isBotOptions_Hero) bool

func (*BotOptions_HeroName) MarshalToSizedBufferVT

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

func (*BotOptions_HeroName) MarshalToVT

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

func (*BotOptions_HeroName) SizeVT

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

type BotResponse

type BotResponse struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// contains filtered or unexported fields
}

BotResponse holds the bot AddBot added.

func (*BotResponse) CloneMessageVT

func (m *BotResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*BotResponse) CloneVT

func (m *BotResponse) CloneVT() *BotResponse

func (*BotResponse) EqualMessageVT

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

func (*BotResponse) EqualVT

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

func (*BotResponse) GetPlayer

func (x *BotResponse) GetPlayer() int32

func (*BotResponse) MarshalJSON

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

MarshalJSON marshals the BotResponse to JSON.

func (*BotResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the BotResponse message to JSON.

func (*BotResponse) MarshalProtoText

func (x *BotResponse) MarshalProtoText() string

func (*BotResponse) MarshalToSizedBufferVT

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

func (*BotResponse) MarshalToVT

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

func (*BotResponse) MarshalVT

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

func (*BotResponse) ProtoMessage

func (*BotResponse) ProtoMessage()

func (*BotResponse) Reset

func (x *BotResponse) Reset()

func (*BotResponse) SizeVT

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

func (*BotResponse) String

func (x *BotResponse) String() string

func (*BotResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the BotResponse from JSON.

func (*BotResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the BotResponse message from JSON.

func (*BotResponse) UnmarshalVT

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

type ButtonsResponse

type ButtonsResponse struct {
	Buttons uint64 `protobuf:"varint,1,opt,name=buttons,proto3" json:"buttons,omitempty"`
	// contains filtered or unexported fields
}

ButtonsResponse holds the buttons a player holds.

func (*ButtonsResponse) CloneMessageVT

func (m *ButtonsResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*ButtonsResponse) CloneVT

func (m *ButtonsResponse) CloneVT() *ButtonsResponse

func (*ButtonsResponse) EqualMessageVT

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

func (*ButtonsResponse) EqualVT

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

func (*ButtonsResponse) GetButtons

func (x *ButtonsResponse) GetButtons() uint64

func (*ButtonsResponse) MarshalJSON

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

MarshalJSON marshals the ButtonsResponse to JSON.

func (*ButtonsResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the ButtonsResponse message to JSON.

func (*ButtonsResponse) MarshalProtoText

func (x *ButtonsResponse) MarshalProtoText() string

func (*ButtonsResponse) MarshalToSizedBufferVT

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

func (*ButtonsResponse) MarshalToVT

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

func (*ButtonsResponse) MarshalVT

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

func (*ButtonsResponse) ProtoMessage

func (*ButtonsResponse) ProtoMessage()

func (*ButtonsResponse) Reset

func (x *ButtonsResponse) Reset()

func (*ButtonsResponse) SizeVT

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

func (*ButtonsResponse) String

func (x *ButtonsResponse) String() string

func (*ButtonsResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the ButtonsResponse from JSON.

func (*ButtonsResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the ButtonsResponse message from JSON.

func (*ButtonsResponse) UnmarshalVT

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

type Call

type Call struct {

	// Method names the method, such as "Chat".
	Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
	// Request is the method's encoded request.
	Request []byte `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

Call is one method call across the boundary: a mod calling the game through modlock.host_call, or the game delivering an event through the mod's modlock_event export.

func (*Call) CloneMessageVT

func (m *Call) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*Call) CloneVT

func (m *Call) CloneVT() *Call

func (*Call) EqualMessageVT

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

func (*Call) EqualVT

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

func (*Call) GetMethod

func (x *Call) GetMethod() string

func (*Call) GetRequest

func (x *Call) GetRequest() []byte

func (*Call) MarshalJSON

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

MarshalJSON marshals the Call to JSON.

func (*Call) MarshalProtoJSON

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

MarshalProtoJSON marshals the Call message to JSON.

func (*Call) MarshalProtoText

func (x *Call) MarshalProtoText() string

func (*Call) MarshalToSizedBufferVT

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

func (*Call) MarshalToVT

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

func (*Call) MarshalVT

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

func (*Call) ProtoMessage

func (*Call) ProtoMessage()

func (*Call) Reset

func (x *Call) Reset()

func (*Call) SizeVT

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

func (*Call) String

func (x *Call) String() string

func (*Call) UnmarshalJSON

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

UnmarshalJSON unmarshals the Call from JSON.

func (*Call) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the Call message from JSON.

func (*Call) UnmarshalVT

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

type CenterTextRequest

type CenterTextRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Text is the text to show; empty text clears it.
	Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

CenterTextRequest replaces one player's center text.

func (*CenterTextRequest) CloneMessageVT

func (m *CenterTextRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*CenterTextRequest) CloneVT

func (m *CenterTextRequest) CloneVT() *CenterTextRequest

func (*CenterTextRequest) EqualMessageVT

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

func (*CenterTextRequest) EqualVT

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

func (*CenterTextRequest) GetPlayer

func (x *CenterTextRequest) GetPlayer() int32

func (*CenterTextRequest) GetText

func (x *CenterTextRequest) GetText() string

func (*CenterTextRequest) MarshalJSON

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

MarshalJSON marshals the CenterTextRequest to JSON.

func (*CenterTextRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the CenterTextRequest message to JSON.

func (*CenterTextRequest) MarshalProtoText

func (x *CenterTextRequest) MarshalProtoText() string

func (*CenterTextRequest) MarshalToSizedBufferVT

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

func (*CenterTextRequest) MarshalToVT

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

func (*CenterTextRequest) MarshalVT

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

func (*CenterTextRequest) ProtoMessage

func (*CenterTextRequest) ProtoMessage()

func (*CenterTextRequest) Reset

func (x *CenterTextRequest) Reset()

func (*CenterTextRequest) SizeVT

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

func (*CenterTextRequest) String

func (x *CenterTextRequest) String() string

func (*CenterTextRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the CenterTextRequest from JSON.

func (*CenterTextRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the CenterTextRequest message from JSON.

func (*CenterTextRequest) UnmarshalVT

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

type ChatRequest

type ChatRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Text is the chat line.
	Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

ChatRequest addresses server chat to one player.

func (*ChatRequest) CloneMessageVT

func (m *ChatRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*ChatRequest) CloneVT

func (m *ChatRequest) CloneVT() *ChatRequest

func (*ChatRequest) EqualMessageVT

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

func (*ChatRequest) EqualVT

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

func (*ChatRequest) GetPlayer

func (x *ChatRequest) GetPlayer() int32

func (*ChatRequest) GetText

func (x *ChatRequest) GetText() string

func (*ChatRequest) MarshalJSON

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

MarshalJSON marshals the ChatRequest to JSON.

func (*ChatRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the ChatRequest message to JSON.

func (*ChatRequest) MarshalProtoText

func (x *ChatRequest) MarshalProtoText() string

func (*ChatRequest) MarshalToSizedBufferVT

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

func (*ChatRequest) MarshalToVT

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

func (*ChatRequest) MarshalVT

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

func (*ChatRequest) ProtoMessage

func (*ChatRequest) ProtoMessage()

func (*ChatRequest) Reset

func (x *ChatRequest) Reset()

func (*ChatRequest) SizeVT

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

func (*ChatRequest) String

func (x *ChatRequest) String() string

func (*ChatRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the ChatRequest from JSON.

func (*ChatRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the ChatRequest message from JSON.

func (*ChatRequest) UnmarshalVT

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

type ClearScreenEffectRequest

type ClearScreenEffectRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Effect is the effect to end.
	Effect ScreenEffect `protobuf:"varint,2,opt,name=effect,proto3" json:"effect,omitempty"`
	// contains filtered or unexported fields
}

ClearScreenEffectRequest ends a screen effect on one player's view.

func (*ClearScreenEffectRequest) CloneMessageVT

func (*ClearScreenEffectRequest) CloneVT

func (*ClearScreenEffectRequest) EqualMessageVT

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

func (*ClearScreenEffectRequest) EqualVT

func (*ClearScreenEffectRequest) GetEffect

func (x *ClearScreenEffectRequest) GetEffect() ScreenEffect

func (*ClearScreenEffectRequest) GetPlayer

func (x *ClearScreenEffectRequest) GetPlayer() int32

func (*ClearScreenEffectRequest) MarshalJSON

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

MarshalJSON marshals the ClearScreenEffectRequest to JSON.

func (*ClearScreenEffectRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the ClearScreenEffectRequest message to JSON.

func (*ClearScreenEffectRequest) MarshalProtoText

func (x *ClearScreenEffectRequest) MarshalProtoText() string

func (*ClearScreenEffectRequest) MarshalToSizedBufferVT

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

func (*ClearScreenEffectRequest) MarshalToVT

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

func (*ClearScreenEffectRequest) MarshalVT

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

func (*ClearScreenEffectRequest) ProtoMessage

func (*ClearScreenEffectRequest) ProtoMessage()

func (*ClearScreenEffectRequest) Reset

func (x *ClearScreenEffectRequest) Reset()

func (*ClearScreenEffectRequest) SizeVT

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

func (*ClearScreenEffectRequest) String

func (x *ClearScreenEffectRequest) String() string

func (*ClearScreenEffectRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the ClearScreenEffectRequest from JSON.

func (*ClearScreenEffectRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the ClearScreenEffectRequest message from JSON.

func (*ClearScreenEffectRequest) UnmarshalVT

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

type CommandEvent

type CommandEvent struct {

	// Player is the player who typed the command.
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Line is the complete command line, starting with the command name.
	Line string `protobuf:"bytes,2,opt,name=line,proto3" json:"line,omitempty"`
	// contains filtered or unexported fields
}

CommandEvent carries one command line from a player: a chat line that starts with a slash (or ".", "+" or "-"), without that prefix, or a console command the server received.

func (*CommandEvent) CloneMessageVT

func (m *CommandEvent) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*CommandEvent) CloneVT

func (m *CommandEvent) CloneVT() *CommandEvent

func (*CommandEvent) EqualMessageVT

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

func (*CommandEvent) EqualVT

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

func (*CommandEvent) GetLine

func (x *CommandEvent) GetLine() string

func (*CommandEvent) GetPlayer

func (x *CommandEvent) GetPlayer() int32

func (*CommandEvent) MarshalJSON

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

MarshalJSON marshals the CommandEvent to JSON.

func (*CommandEvent) MarshalProtoJSON

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

MarshalProtoJSON marshals the CommandEvent message to JSON.

func (*CommandEvent) MarshalProtoText

func (x *CommandEvent) MarshalProtoText() string

func (*CommandEvent) MarshalToSizedBufferVT

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

func (*CommandEvent) MarshalToVT

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

func (*CommandEvent) MarshalVT

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

func (*CommandEvent) ProtoMessage

func (*CommandEvent) ProtoMessage()

func (*CommandEvent) Reset

func (x *CommandEvent) Reset()

func (*CommandEvent) SizeVT

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

func (*CommandEvent) String

func (x *CommandEvent) String() string

func (*CommandEvent) UnmarshalJSON

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

UnmarshalJSON unmarshals the CommandEvent from JSON.

func (*CommandEvent) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the CommandEvent message from JSON.

func (*CommandEvent) UnmarshalVT

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

type CommandResult

type CommandResult struct {

	// Claimed ends the command's dispatch; the game and later mods do not see
	// it.
	Claimed bool `protobuf:"varint,1,opt,name=claimed,proto3" json:"claimed,omitempty"`
	// contains filtered or unexported fields
}

CommandResult answers whether the mod handled a command.

func (*CommandResult) CloneMessageVT

func (m *CommandResult) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*CommandResult) CloneVT

func (m *CommandResult) CloneVT() *CommandResult

func (*CommandResult) EqualMessageVT

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

func (*CommandResult) EqualVT

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

func (*CommandResult) GetClaimed

func (x *CommandResult) GetClaimed() bool

func (*CommandResult) MarshalJSON

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

MarshalJSON marshals the CommandResult to JSON.

func (*CommandResult) MarshalProtoJSON

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

MarshalProtoJSON marshals the CommandResult message to JSON.

func (*CommandResult) MarshalProtoText

func (x *CommandResult) MarshalProtoText() string

func (*CommandResult) MarshalToSizedBufferVT

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

func (*CommandResult) MarshalToVT

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

func (*CommandResult) MarshalVT

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

func (*CommandResult) ProtoMessage

func (*CommandResult) ProtoMessage()

func (*CommandResult) Reset

func (x *CommandResult) Reset()

func (*CommandResult) SizeVT

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

func (*CommandResult) String

func (x *CommandResult) String() string

func (*CommandResult) UnmarshalJSON

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

UnmarshalJSON unmarshals the CommandResult from JSON.

func (*CommandResult) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the CommandResult message from JSON.

func (*CommandResult) UnmarshalVT

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

type Connection

type Connection struct {

	// Player is the connection's server slot.
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// SteamId identifies a human's account, or is zero for a bot.
	SteamId uint64 `protobuf:"varint,2,opt,name=steam_id,json=steamId,proto3" json:"steamId,omitempty"`
	// Name is the player's name.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Bot is true for a bot player.
	Bot bool `protobuf:"varint,4,opt,name=bot,proto3" json:"bot,omitempty"`
	// Ready is true once a human has finished joining; bots are always ready.
	Ready bool `protobuf:"varint,5,opt,name=ready,proto3" json:"ready,omitempty"`
	// Generation changes each time a new connection takes the slot.
	Generation uint32 `protobuf:"varint,6,opt,name=generation,proto3" json:"generation,omitempty"`
	// contains filtered or unexported fields
}

Connection is one occupied player slot.

func (*Connection) CloneMessageVT

func (m *Connection) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*Connection) CloneVT

func (m *Connection) CloneVT() *Connection

func (*Connection) EqualMessageVT

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

func (*Connection) EqualVT

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

func (*Connection) GetBot

func (x *Connection) GetBot() bool

func (*Connection) GetGeneration

func (x *Connection) GetGeneration() uint32

func (*Connection) GetName

func (x *Connection) GetName() string

func (*Connection) GetPlayer

func (x *Connection) GetPlayer() int32

func (*Connection) GetReady

func (x *Connection) GetReady() bool

func (*Connection) GetSteamId

func (x *Connection) GetSteamId() uint64

func (*Connection) MarshalJSON

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

MarshalJSON marshals the Connection to JSON.

func (*Connection) MarshalProtoJSON

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

MarshalProtoJSON marshals the Connection message to JSON.

func (*Connection) MarshalProtoText

func (x *Connection) MarshalProtoText() string

func (*Connection) MarshalToSizedBufferVT

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

func (*Connection) MarshalToVT

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

func (*Connection) MarshalVT

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

func (*Connection) ProtoMessage

func (*Connection) ProtoMessage()

func (*Connection) Reset

func (x *Connection) Reset()

func (*Connection) SizeVT

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

func (*Connection) String

func (x *Connection) String() string

func (*Connection) UnmarshalJSON

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

UnmarshalJSON unmarshals the Connection from JSON.

func (*Connection) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the Connection message from JSON.

func (*Connection) UnmarshalVT

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

type CountResponse

type CountResponse struct {
	Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

CountResponse holds how many entities a call changed.

func (*CountResponse) CloneMessageVT

func (m *CountResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*CountResponse) CloneVT

func (m *CountResponse) CloneVT() *CountResponse

func (*CountResponse) EqualMessageVT

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

func (*CountResponse) EqualVT

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

func (*CountResponse) GetCount

func (x *CountResponse) GetCount() int32

func (*CountResponse) MarshalJSON

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

MarshalJSON marshals the CountResponse to JSON.

func (*CountResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the CountResponse message to JSON.

func (*CountResponse) MarshalProtoText

func (x *CountResponse) MarshalProtoText() string

func (*CountResponse) MarshalToSizedBufferVT

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

func (*CountResponse) MarshalToVT

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

func (*CountResponse) MarshalVT

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

func (*CountResponse) ProtoMessage

func (*CountResponse) ProtoMessage()

func (*CountResponse) Reset

func (x *CountResponse) Reset()

func (*CountResponse) SizeVT

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

func (*CountResponse) String

func (x *CountResponse) String() string

func (*CountResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the CountResponse from JSON.

func (*CountResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the CountResponse message from JSON.

func (*CountResponse) UnmarshalVT

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

type CreatePickupRequest

type CreatePickupRequest struct {

	// Kind is the pickup.
	Kind PickupKind `protobuf:"varint,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// Position is where the pickup rests.
	Position *modlock.Vec3 `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
	// contains filtered or unexported fields
}

CreatePickupRequest places one pickup.

func (*CreatePickupRequest) CloneMessageVT

func (*CreatePickupRequest) CloneVT

func (*CreatePickupRequest) EqualMessageVT

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

func (*CreatePickupRequest) EqualVT

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

func (*CreatePickupRequest) GetKind

func (x *CreatePickupRequest) GetKind() PickupKind

func (*CreatePickupRequest) GetPosition

func (x *CreatePickupRequest) GetPosition() *modlock.Vec3

func (*CreatePickupRequest) MarshalJSON

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

MarshalJSON marshals the CreatePickupRequest to JSON.

func (*CreatePickupRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the CreatePickupRequest message to JSON.

func (*CreatePickupRequest) MarshalProtoText

func (x *CreatePickupRequest) MarshalProtoText() string

func (*CreatePickupRequest) MarshalToSizedBufferVT

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

func (*CreatePickupRequest) MarshalToVT

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

func (*CreatePickupRequest) MarshalVT

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

func (*CreatePickupRequest) ProtoMessage

func (*CreatePickupRequest) ProtoMessage()

func (*CreatePickupRequest) Reset

func (x *CreatePickupRequest) Reset()

func (*CreatePickupRequest) SizeVT

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

func (*CreatePickupRequest) String

func (x *CreatePickupRequest) String() string

func (*CreatePickupRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the CreatePickupRequest from JSON.

func (*CreatePickupRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the CreatePickupRequest message from JSON.

func (*CreatePickupRequest) UnmarshalVT

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

type DamageEvent

type DamageEvent struct {

	// Victim is the entity taking the hit.
	Victim uint32 `protobuf:"varint,1,opt,name=victim,proto3" json:"victim,omitempty"`
	// Attacker is the entity credited with the hit. Zero makes the hit a
	// hazard, such as poison gas, which credits no one and ignores the
	// inflictor and hit group.
	Attacker uint32 `protobuf:"varint,2,opt,name=attacker,proto3" json:"attacker,omitempty"`
	// Inflictor is what delivered the hit, such as a projectile.
	Inflictor uint32 `protobuf:"varint,3,opt,name=inflictor,proto3" json:"inflictor,omitempty"`
	// Ability is the ability that dealt the hit.
	Ability uint32 `protobuf:"varint,4,opt,name=ability,proto3" json:"ability,omitempty"`
	// Flags are the game's damage flags.
	Flags uint64 `protobuf:"varint,5,opt,name=flags,proto3" json:"flags,omitempty"`
	// HitGroup is the body part hit; 1 is the head and -1 means none.
	HitGroup int32 `protobuf:"varint,6,opt,name=hit_group,json=hitGroup,proto3" json:"hitGroup,omitempty"`
	// Amount is the hit's damage before resistances.
	Amount float32 `protobuf:"fixed32,7,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

DamageEvent is one hit before the game applies it. Handles are zero when the game names no such entity.

func (*DamageEvent) CloneMessageVT

func (m *DamageEvent) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*DamageEvent) CloneVT

func (m *DamageEvent) CloneVT() *DamageEvent

func (*DamageEvent) EqualMessageVT

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

func (*DamageEvent) EqualVT

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

func (*DamageEvent) GetAbility

func (x *DamageEvent) GetAbility() uint32

func (*DamageEvent) GetAmount

func (x *DamageEvent) GetAmount() float32

func (*DamageEvent) GetAttacker

func (x *DamageEvent) GetAttacker() uint32

func (*DamageEvent) GetFlags

func (x *DamageEvent) GetFlags() uint64

func (*DamageEvent) GetHitGroup

func (x *DamageEvent) GetHitGroup() int32

func (*DamageEvent) GetInflictor

func (x *DamageEvent) GetInflictor() uint32

func (*DamageEvent) GetVictim

func (x *DamageEvent) GetVictim() uint32

func (*DamageEvent) MarshalJSON

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

MarshalJSON marshals the DamageEvent to JSON.

func (*DamageEvent) MarshalProtoJSON

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

MarshalProtoJSON marshals the DamageEvent message to JSON.

func (*DamageEvent) MarshalProtoText

func (x *DamageEvent) MarshalProtoText() string

func (*DamageEvent) MarshalToSizedBufferVT

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

func (*DamageEvent) MarshalToVT

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

func (*DamageEvent) MarshalVT

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

func (*DamageEvent) ProtoMessage

func (*DamageEvent) ProtoMessage()

func (*DamageEvent) Reset

func (x *DamageEvent) Reset()

func (*DamageEvent) SizeVT

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

func (*DamageEvent) String

func (x *DamageEvent) String() string

func (*DamageEvent) UnmarshalJSON

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

UnmarshalJSON unmarshals the DamageEvent from JSON.

func (*DamageEvent) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the DamageEvent message from JSON.

func (*DamageEvent) UnmarshalVT

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

type DamageResult

type DamageResult struct {

	// Block cancels the hit's health loss, force, effects and procs.
	Block *bool `protobuf:"varint,1,opt,name=block,proto3,oneof" json:"block,omitempty"`
	// Amount replaces the hit's damage when present.
	Amount *float32 `protobuf:"fixed32,2,opt,name=amount,proto3,oneof" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

DamageResult answers a DamageEvent. An empty result lets the hit through.

func (*DamageResult) CloneMessageVT

func (m *DamageResult) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*DamageResult) CloneVT

func (m *DamageResult) CloneVT() *DamageResult

func (*DamageResult) EqualMessageVT

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

func (*DamageResult) EqualVT

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

func (*DamageResult) GetAmount

func (x *DamageResult) GetAmount() float32

func (*DamageResult) GetBlock

func (x *DamageResult) GetBlock() bool

func (*DamageResult) MarshalJSON

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

MarshalJSON marshals the DamageResult to JSON.

func (*DamageResult) MarshalProtoJSON

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

MarshalProtoJSON marshals the DamageResult message to JSON.

func (*DamageResult) MarshalProtoText

func (x *DamageResult) MarshalProtoText() string

func (*DamageResult) MarshalToSizedBufferVT

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

func (*DamageResult) MarshalToVT

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

func (*DamageResult) MarshalVT

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

func (*DamageResult) ProtoMessage

func (*DamageResult) ProtoMessage()

func (*DamageResult) Reset

func (x *DamageResult) Reset()

func (*DamageResult) SizeVT

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

func (*DamageResult) String

func (x *DamageResult) String() string

func (*DamageResult) UnmarshalJSON

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

UnmarshalJSON unmarshals the DamageResult from JSON.

func (*DamageResult) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the DamageResult message from JSON.

func (*DamageResult) UnmarshalVT

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

type DamagedEvent

type DamagedEvent struct {

	// Victim is the entity that took the hit.
	Victim uint32 `protobuf:"varint,1,opt,name=victim,proto3" json:"victim,omitempty"`
	// Attacker is the entity credited with the hit, or zero for a hazard.
	Attacker uint32 `protobuf:"varint,2,opt,name=attacker,proto3" json:"attacker,omitempty"`
	// Ability is the ability that dealt the hit.
	Ability uint32 `protobuf:"varint,3,opt,name=ability,proto3" json:"ability,omitempty"`
	// HealthLost is the health the hit removed, after resistances.
	HealthLost int32 `protobuf:"varint,4,opt,name=health_lost,json=healthLost,proto3" json:"healthLost,omitempty"`
	// HealthBefore is the victim's health before the hit; a hit that removes
	// all of it kills.
	HealthBefore int32 `protobuf:"varint,5,opt,name=health_before,json=healthBefore,proto3" json:"healthBefore,omitempty"`
	// Dealt is the hit's damage after resistances, before the victim's health
	// capped it.
	Dealt int32 `protobuf:"varint,6,opt,name=dealt,proto3" json:"dealt,omitempty"`
	// contains filtered or unexported fields
}

DamagedEvent reports one hit the game applied.

func (*DamagedEvent) CloneMessageVT

func (m *DamagedEvent) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*DamagedEvent) CloneVT

func (m *DamagedEvent) CloneVT() *DamagedEvent

func (*DamagedEvent) EqualMessageVT

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

func (*DamagedEvent) EqualVT

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

func (*DamagedEvent) GetAbility

func (x *DamagedEvent) GetAbility() uint32

func (*DamagedEvent) GetAttacker

func (x *DamagedEvent) GetAttacker() uint32

func (*DamagedEvent) GetDealt

func (x *DamagedEvent) GetDealt() int32

func (*DamagedEvent) GetHealthBefore

func (x *DamagedEvent) GetHealthBefore() int32

func (*DamagedEvent) GetHealthLost

func (x *DamagedEvent) GetHealthLost() int32

func (*DamagedEvent) GetVictim

func (x *DamagedEvent) GetVictim() uint32

func (*DamagedEvent) MarshalJSON

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

MarshalJSON marshals the DamagedEvent to JSON.

func (*DamagedEvent) MarshalProtoJSON

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

MarshalProtoJSON marshals the DamagedEvent message to JSON.

func (*DamagedEvent) MarshalProtoText

func (x *DamagedEvent) MarshalProtoText() string

func (*DamagedEvent) MarshalToSizedBufferVT

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

func (*DamagedEvent) MarshalToVT

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

func (*DamagedEvent) MarshalVT

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

func (*DamagedEvent) ProtoMessage

func (*DamagedEvent) ProtoMessage()

func (*DamagedEvent) Reset

func (x *DamagedEvent) Reset()

func (*DamagedEvent) SizeVT

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

func (*DamagedEvent) String

func (x *DamagedEvent) String() string

func (*DamagedEvent) UnmarshalJSON

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

UnmarshalJSON unmarshals the DamagedEvent from JSON.

func (*DamagedEvent) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the DamagedEvent message from JSON.

func (*DamagedEvent) UnmarshalVT

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

type EmitSoundRequest

type EmitSoundRequest struct {

	// Entity is the entity's handle.
	Entity uint32 `protobuf:"varint,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// Sound is the game sound event's name.
	Sound string `protobuf:"bytes,2,opt,name=sound,proto3" json:"sound,omitempty"`
	// contains filtered or unexported fields
}

EmitSoundRequest plays one sound on an entity.

func (*EmitSoundRequest) CloneMessageVT

func (m *EmitSoundRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*EmitSoundRequest) CloneVT

func (m *EmitSoundRequest) CloneVT() *EmitSoundRequest

func (*EmitSoundRequest) EqualMessageVT

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

func (*EmitSoundRequest) EqualVT

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

func (*EmitSoundRequest) GetEntity

func (x *EmitSoundRequest) GetEntity() uint32

func (*EmitSoundRequest) GetSound

func (x *EmitSoundRequest) GetSound() string

func (*EmitSoundRequest) MarshalJSON

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

MarshalJSON marshals the EmitSoundRequest to JSON.

func (*EmitSoundRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the EmitSoundRequest message to JSON.

func (*EmitSoundRequest) MarshalProtoText

func (x *EmitSoundRequest) MarshalProtoText() string

func (*EmitSoundRequest) MarshalToSizedBufferVT

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

func (*EmitSoundRequest) MarshalToVT

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

func (*EmitSoundRequest) MarshalVT

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

func (*EmitSoundRequest) ProtoMessage

func (*EmitSoundRequest) ProtoMessage()

func (*EmitSoundRequest) Reset

func (x *EmitSoundRequest) Reset()

func (*EmitSoundRequest) SizeVT

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

func (*EmitSoundRequest) String

func (x *EmitSoundRequest) String() string

func (*EmitSoundRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the EmitSoundRequest from JSON.

func (*EmitSoundRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the EmitSoundRequest message from JSON.

func (*EmitSoundRequest) UnmarshalVT

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

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

Empty is a request or response without fields.

func (*Empty) CloneMessageVT

func (m *Empty) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*Empty) CloneVT

func (m *Empty) CloneVT() *Empty

func (*Empty) EqualMessageVT

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

func (*Empty) EqualVT

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

func (*Empty) MarshalJSON

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

MarshalJSON marshals the Empty to JSON.

func (*Empty) MarshalProtoJSON

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

MarshalProtoJSON marshals the Empty message to JSON.

func (*Empty) MarshalProtoText

func (x *Empty) MarshalProtoText() string

func (*Empty) MarshalToSizedBufferVT

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

func (*Empty) MarshalToVT

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

func (*Empty) MarshalVT

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

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) SizeVT

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

func (*Empty) String

func (x *Empty) String() string

func (*Empty) UnmarshalJSON

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

UnmarshalJSON unmarshals the Empty from JSON.

func (*Empty) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the Empty message from JSON.

func (*Empty) UnmarshalVT

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

type EntitiesResponse added in v0.1.3

type EntitiesResponse struct {

	// Entities are the entity handles.
	Entities []uint32 `protobuf:"varint,1,rep,packed,name=entities,proto3" json:"entities,omitempty"`
	// contains filtered or unexported fields
}

EntitiesResponse lists entities by handle.

func (*EntitiesResponse) CloneMessageVT added in v0.1.3

func (m *EntitiesResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*EntitiesResponse) CloneVT added in v0.1.3

func (m *EntitiesResponse) CloneVT() *EntitiesResponse

func (*EntitiesResponse) EqualMessageVT added in v0.1.3

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

func (*EntitiesResponse) EqualVT added in v0.1.3

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

func (*EntitiesResponse) GetEntities added in v0.1.3

func (x *EntitiesResponse) GetEntities() []uint32

func (*EntitiesResponse) MarshalJSON added in v0.1.3

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

MarshalJSON marshals the EntitiesResponse to JSON.

func (*EntitiesResponse) MarshalProtoJSON added in v0.1.3

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

MarshalProtoJSON marshals the EntitiesResponse message to JSON.

func (*EntitiesResponse) MarshalProtoText added in v0.1.3

func (x *EntitiesResponse) MarshalProtoText() string

func (*EntitiesResponse) MarshalToSizedBufferVT added in v0.1.3

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

func (*EntitiesResponse) MarshalToVT added in v0.1.3

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

func (*EntitiesResponse) MarshalVT added in v0.1.3

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

func (*EntitiesResponse) ProtoMessage added in v0.1.3

func (*EntitiesResponse) ProtoMessage()

func (*EntitiesResponse) Reset added in v0.1.3

func (x *EntitiesResponse) Reset()

func (*EntitiesResponse) SizeVT added in v0.1.3

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

func (*EntitiesResponse) String added in v0.1.3

func (x *EntitiesResponse) String() string

func (*EntitiesResponse) UnmarshalJSON added in v0.1.3

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

UnmarshalJSON unmarshals the EntitiesResponse from JSON.

func (*EntitiesResponse) UnmarshalProtoJSON added in v0.1.3

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

UnmarshalProtoJSON unmarshals the EntitiesResponse message from JSON.

func (*EntitiesResponse) UnmarshalVT added in v0.1.3

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

type EntityClassName added in v0.1.1

type EntityClassName struct {

	// ClassName is the server schema class, such as CCitadelPlayerPawn.
	ClassName string `protobuf:"bytes,1,opt,name=class_name,json=className,proto3" json:"className,omitempty"`
	// DesignerName is the name maps and spawns use, such as npc_trooper.
	DesignerName string `protobuf:"bytes,2,opt,name=designer_name,json=designerName,proto3" json:"designerName,omitempty"`
	// contains filtered or unexported fields
}

EntityClassName names one entity's class two ways.

func (*EntityClassName) CloneMessageVT added in v0.1.1

func (m *EntityClassName) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*EntityClassName) CloneVT added in v0.1.1

func (m *EntityClassName) CloneVT() *EntityClassName

func (*EntityClassName) EqualMessageVT added in v0.1.1

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

func (*EntityClassName) EqualVT added in v0.1.1

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

func (*EntityClassName) GetClassName added in v0.1.1

func (x *EntityClassName) GetClassName() string

func (*EntityClassName) GetDesignerName added in v0.1.1

func (x *EntityClassName) GetDesignerName() string

func (*EntityClassName) MarshalJSON added in v0.1.1

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

MarshalJSON marshals the EntityClassName to JSON.

func (*EntityClassName) MarshalProtoJSON added in v0.1.1

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

MarshalProtoJSON marshals the EntityClassName message to JSON.

func (*EntityClassName) MarshalProtoText added in v0.1.1

func (x *EntityClassName) MarshalProtoText() string

func (*EntityClassName) MarshalToSizedBufferVT added in v0.1.1

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

func (*EntityClassName) MarshalToVT added in v0.1.1

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

func (*EntityClassName) MarshalVT added in v0.1.1

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

func (*EntityClassName) ProtoMessage added in v0.1.1

func (*EntityClassName) ProtoMessage()

func (*EntityClassName) Reset added in v0.1.1

func (x *EntityClassName) Reset()

func (*EntityClassName) SizeVT added in v0.1.1

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

func (*EntityClassName) String added in v0.1.1

func (x *EntityClassName) String() string

func (*EntityClassName) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON unmarshals the EntityClassName from JSON.

func (*EntityClassName) UnmarshalProtoJSON added in v0.1.1

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

UnmarshalProtoJSON unmarshals the EntityClassName message from JSON.

func (*EntityClassName) UnmarshalVT added in v0.1.1

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

type EntityClassResponse added in v0.1.1

type EntityClassResponse struct {
	Name *EntityClassName `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

EntityClassResponse names a live entity's class.

func (*EntityClassResponse) CloneMessageVT added in v0.1.1

func (*EntityClassResponse) CloneVT added in v0.1.1

func (*EntityClassResponse) EqualMessageVT added in v0.1.1

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

func (*EntityClassResponse) EqualVT added in v0.1.1

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

func (*EntityClassResponse) GetName added in v0.1.1

func (x *EntityClassResponse) GetName() *EntityClassName

func (*EntityClassResponse) MarshalJSON added in v0.1.1

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

MarshalJSON marshals the EntityClassResponse to JSON.

func (*EntityClassResponse) MarshalProtoJSON added in v0.1.1

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

MarshalProtoJSON marshals the EntityClassResponse message to JSON.

func (*EntityClassResponse) MarshalProtoText added in v0.1.1

func (x *EntityClassResponse) MarshalProtoText() string

func (*EntityClassResponse) MarshalToSizedBufferVT added in v0.1.1

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

func (*EntityClassResponse) MarshalToVT added in v0.1.1

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

func (*EntityClassResponse) MarshalVT added in v0.1.1

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

func (*EntityClassResponse) ProtoMessage added in v0.1.1

func (*EntityClassResponse) ProtoMessage()

func (*EntityClassResponse) Reset added in v0.1.1

func (x *EntityClassResponse) Reset()

func (*EntityClassResponse) SizeVT added in v0.1.1

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

func (*EntityClassResponse) String added in v0.1.1

func (x *EntityClassResponse) String() string

func (*EntityClassResponse) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON unmarshals the EntityClassResponse from JSON.

func (*EntityClassResponse) UnmarshalProtoJSON added in v0.1.1

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

UnmarshalProtoJSON unmarshals the EntityClassResponse message from JSON.

func (*EntityClassResponse) UnmarshalVT added in v0.1.1

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

type EntityOptions added in v0.1.1

type EntityOptions struct {

	// DesignerName is the entity's designer name, such as npc_trooper_boss.
	DesignerName string `protobuf:"bytes,1,opt,name=designer_name,json=designerName,proto3" json:"designerName,omitempty"`
	// Subclass names the entity's game data entry, such as npc_boss_tier1 for
	// the lane Guardian, for an entity that reads one while spawning. An NPC
	// needs one.
	Subclass string `protobuf:"bytes,2,opt,name=subclass,proto3" json:"subclass,omitempty"`
	// Team is the entity's team number; 4 is neutral.
	Team int32 `protobuf:"varint,3,opt,name=team,proto3" json:"team,omitempty"`
	// Position is the entity's origin.
	Position *modlock.Vec3 `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"`
	// Facing is where the entity faces.
	Facing *modlock.EulerAngles `protobuf:"bytes,5,opt,name=facing,proto3,oneof" json:"facing,omitempty"`
	// KeyValues are the entity's spawn key values, as a map sets them, such as
	// model or rendercolor.
	KeyValues []*KeyValue `protobuf:"bytes,6,rep,name=key_values,json=keyValues,proto3" json:"keyValues,omitempty"`
	// Fields are schema fields the host writes after it creates the entity and
	// before the entity spawns. A write that fails cancels the creation.
	Fields []*FieldWrite `protobuf:"bytes,7,rep,name=fields,proto3" json:"fields,omitempty"`
	// TransmitAlways sends the entity to every client, past the game's own
	// rule, which never sends one without a model, such as a
	// point_clientui_dialog.
	TransmitAlways *bool `protobuf:"varint,8,opt,name=transmit_always,json=transmitAlways,proto3,oneof" json:"transmitAlways,omitempty"`
	// contains filtered or unexported fields
}

EntityOptions describes an entity to create.

func (*EntityOptions) CloneMessageVT added in v0.1.1

func (m *EntityOptions) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*EntityOptions) CloneVT added in v0.1.1

func (m *EntityOptions) CloneVT() *EntityOptions

func (*EntityOptions) EqualMessageVT added in v0.1.1

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

func (*EntityOptions) EqualVT added in v0.1.1

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

func (*EntityOptions) GetDesignerName added in v0.1.1

func (x *EntityOptions) GetDesignerName() string

func (*EntityOptions) GetFacing added in v0.1.1

func (x *EntityOptions) GetFacing() *modlock.EulerAngles

func (*EntityOptions) GetFields added in v0.1.1

func (x *EntityOptions) GetFields() []*FieldWrite

func (*EntityOptions) GetKeyValues added in v0.1.1

func (x *EntityOptions) GetKeyValues() []*KeyValue

func (*EntityOptions) GetPosition added in v0.1.1

func (x *EntityOptions) GetPosition() *modlock.Vec3

func (*EntityOptions) GetSubclass added in v0.1.1

func (x *EntityOptions) GetSubclass() string

func (*EntityOptions) GetTeam added in v0.1.1

func (x *EntityOptions) GetTeam() int32

func (*EntityOptions) GetTransmitAlways added in v0.1.4

func (x *EntityOptions) GetTransmitAlways() bool

func (*EntityOptions) MarshalJSON added in v0.1.1

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

MarshalJSON marshals the EntityOptions to JSON.

func (*EntityOptions) MarshalProtoJSON added in v0.1.1

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

MarshalProtoJSON marshals the EntityOptions message to JSON.

func (*EntityOptions) MarshalProtoText added in v0.1.1

func (x *EntityOptions) MarshalProtoText() string

func (*EntityOptions) MarshalToSizedBufferVT added in v0.1.1

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

func (*EntityOptions) MarshalToVT added in v0.1.1

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

func (*EntityOptions) MarshalVT added in v0.1.1

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

func (*EntityOptions) ProtoMessage added in v0.1.1

func (*EntityOptions) ProtoMessage()

func (*EntityOptions) Reset added in v0.1.1

func (x *EntityOptions) Reset()

func (*EntityOptions) SizeVT added in v0.1.1

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

func (*EntityOptions) String added in v0.1.1

func (x *EntityOptions) String() string

func (*EntityOptions) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON unmarshals the EntityOptions from JSON.

func (*EntityOptions) UnmarshalProtoJSON added in v0.1.1

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

UnmarshalProtoJSON unmarshals the EntityOptions message from JSON.

func (*EntityOptions) UnmarshalVT added in v0.1.1

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

type EntityRequest added in v0.1.1

type EntityRequest struct {

	// Entity is the entity's handle.
	Entity uint32 `protobuf:"varint,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// contains filtered or unexported fields
}

EntityRequest addresses one live entity.

func (*EntityRequest) CloneMessageVT added in v0.1.1

func (m *EntityRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*EntityRequest) CloneVT added in v0.1.1

func (m *EntityRequest) CloneVT() *EntityRequest

func (*EntityRequest) EqualMessageVT added in v0.1.1

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

func (*EntityRequest) EqualVT added in v0.1.1

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

func (*EntityRequest) GetEntity added in v0.1.1

func (x *EntityRequest) GetEntity() uint32

func (*EntityRequest) MarshalJSON added in v0.1.1

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

MarshalJSON marshals the EntityRequest to JSON.

func (*EntityRequest) MarshalProtoJSON added in v0.1.1

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

MarshalProtoJSON marshals the EntityRequest message to JSON.

func (*EntityRequest) MarshalProtoText added in v0.1.1

func (x *EntityRequest) MarshalProtoText() string

func (*EntityRequest) MarshalToSizedBufferVT added in v0.1.1

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

func (*EntityRequest) MarshalToVT added in v0.1.1

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

func (*EntityRequest) MarshalVT added in v0.1.1

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

func (*EntityRequest) ProtoMessage added in v0.1.1

func (*EntityRequest) ProtoMessage()

func (*EntityRequest) Reset added in v0.1.1

func (x *EntityRequest) Reset()

func (*EntityRequest) SizeVT added in v0.1.1

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

func (*EntityRequest) String added in v0.1.1

func (x *EntityRequest) String() string

func (*EntityRequest) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON unmarshals the EntityRequest from JSON.

func (*EntityRequest) UnmarshalProtoJSON added in v0.1.1

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

UnmarshalProtoJSON unmarshals the EntityRequest message from JSON.

func (*EntityRequest) UnmarshalVT added in v0.1.1

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

type EntityResponse

type EntityResponse struct {
	Entity uint32 `protobuf:"varint,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// contains filtered or unexported fields
}

EntityResponse holds one entity handle.

func (*EntityResponse) CloneMessageVT

func (m *EntityResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*EntityResponse) CloneVT

func (m *EntityResponse) CloneVT() *EntityResponse

func (*EntityResponse) EqualMessageVT

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

func (*EntityResponse) EqualVT

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

func (*EntityResponse) GetEntity

func (x *EntityResponse) GetEntity() uint32

func (*EntityResponse) MarshalJSON

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

MarshalJSON marshals the EntityResponse to JSON.

func (*EntityResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the EntityResponse message to JSON.

func (*EntityResponse) MarshalProtoText

func (x *EntityResponse) MarshalProtoText() string

func (*EntityResponse) MarshalToSizedBufferVT

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

func (*EntityResponse) MarshalToVT

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

func (*EntityResponse) MarshalVT

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

func (*EntityResponse) ProtoMessage

func (*EntityResponse) ProtoMessage()

func (*EntityResponse) Reset

func (x *EntityResponse) Reset()

func (*EntityResponse) SizeVT

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

func (*EntityResponse) String

func (x *EntityResponse) String() string

func (*EntityResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the EntityResponse from JSON.

func (*EntityResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the EntityResponse message from JSON.

func (*EntityResponse) UnmarshalVT

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

type EntityValue added in v0.1.1

type EntityValue struct {

	// Types that are assignable to Value:
	//	*EntityValue_Boolean
	//	*EntityValue_Integer
	//	*EntityValue_Number
	//	*EntityValue_Text
	//	*EntityValue_Vector
	//	*EntityValue_Color
	Value isEntityValue_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

EntityValue is a value a map gives an entity: a spawn key value or an input's parameter. An input reads its parameter as the type it takes, such as an integer for Skin or a color, as 0xRRGGBBAA, for Color, and does not convert text.

func (*EntityValue) CloneMessageVT added in v0.1.1

func (m *EntityValue) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*EntityValue) CloneVT added in v0.1.1

func (m *EntityValue) CloneVT() *EntityValue

func (*EntityValue) EqualMessageVT added in v0.1.1

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

func (*EntityValue) EqualVT added in v0.1.1

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

func (*EntityValue) GetBoolean added in v0.1.1

func (x *EntityValue) GetBoolean() bool

func (*EntityValue) GetColor added in v0.1.1

func (x *EntityValue) GetColor() uint32

func (*EntityValue) GetInteger added in v0.1.1

func (x *EntityValue) GetInteger() int32

func (*EntityValue) GetNumber added in v0.1.1

func (x *EntityValue) GetNumber() float32

func (*EntityValue) GetText added in v0.1.1

func (x *EntityValue) GetText() string

func (*EntityValue) GetValue added in v0.1.1

func (m *EntityValue) GetValue() isEntityValue_Value

func (*EntityValue) GetVector added in v0.1.1

func (x *EntityValue) GetVector() *modlock.Vec3

func (*EntityValue) MarshalJSON added in v0.1.1

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

MarshalJSON marshals the EntityValue to JSON.

func (*EntityValue) MarshalProtoJSON added in v0.1.1

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

MarshalProtoJSON marshals the EntityValue message to JSON.

func (*EntityValue) MarshalProtoText added in v0.1.1

func (x *EntityValue) MarshalProtoText() string

func (*EntityValue) MarshalToSizedBufferVT added in v0.1.1

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

func (*EntityValue) MarshalToVT added in v0.1.1

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

func (*EntityValue) MarshalVT added in v0.1.1

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

func (*EntityValue) ProtoMessage added in v0.1.1

func (*EntityValue) ProtoMessage()

func (*EntityValue) Reset added in v0.1.1

func (x *EntityValue) Reset()

func (*EntityValue) SizeVT added in v0.1.1

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

func (*EntityValue) String added in v0.1.1

func (x *EntityValue) String() string

func (*EntityValue) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON unmarshals the EntityValue from JSON.

func (*EntityValue) UnmarshalProtoJSON added in v0.1.1

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

UnmarshalProtoJSON unmarshals the EntityValue message from JSON.

func (*EntityValue) UnmarshalVT added in v0.1.1

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

type EntityValue_Boolean added in v0.1.1

type EntityValue_Boolean struct {
	Boolean bool `protobuf:"varint,1,opt,name=boolean,proto3,oneof"`
}

func (*EntityValue_Boolean) CloneOneofVT added in v0.1.1

func (m *EntityValue_Boolean) CloneOneofVT() isEntityValue_Value

func (*EntityValue_Boolean) CloneVT added in v0.1.1

func (*EntityValue_Boolean) EqualVT added in v0.1.1

func (this *EntityValue_Boolean) EqualVT(thatIface isEntityValue_Value) bool

func (*EntityValue_Boolean) MarshalToSizedBufferVT added in v0.1.1

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

func (*EntityValue_Boolean) MarshalToVT added in v0.1.1

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

func (*EntityValue_Boolean) SizeVT added in v0.1.1

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

type EntityValue_Color added in v0.1.1

type EntityValue_Color struct {
	Color uint32 `protobuf:"fixed32,6,opt,name=color,proto3,oneof"`
}

func (*EntityValue_Color) CloneOneofVT added in v0.1.1

func (m *EntityValue_Color) CloneOneofVT() isEntityValue_Value

func (*EntityValue_Color) CloneVT added in v0.1.1

func (m *EntityValue_Color) CloneVT() *EntityValue_Color

func (*EntityValue_Color) EqualVT added in v0.1.1

func (this *EntityValue_Color) EqualVT(thatIface isEntityValue_Value) bool

func (*EntityValue_Color) MarshalToSizedBufferVT added in v0.1.1

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

func (*EntityValue_Color) MarshalToVT added in v0.1.1

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

func (*EntityValue_Color) SizeVT added in v0.1.1

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

type EntityValue_Integer added in v0.1.1

type EntityValue_Integer struct {
	Integer int32 `protobuf:"varint,2,opt,name=integer,proto3,oneof"`
}

func (*EntityValue_Integer) CloneOneofVT added in v0.1.1

func (m *EntityValue_Integer) CloneOneofVT() isEntityValue_Value

func (*EntityValue_Integer) CloneVT added in v0.1.1

func (*EntityValue_Integer) EqualVT added in v0.1.1

func (this *EntityValue_Integer) EqualVT(thatIface isEntityValue_Value) bool

func (*EntityValue_Integer) MarshalToSizedBufferVT added in v0.1.1

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

func (*EntityValue_Integer) MarshalToVT added in v0.1.1

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

func (*EntityValue_Integer) SizeVT added in v0.1.1

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

type EntityValue_Number added in v0.1.1

type EntityValue_Number struct {
	Number float32 `protobuf:"fixed32,3,opt,name=number,proto3,oneof"`
}

func (*EntityValue_Number) CloneOneofVT added in v0.1.1

func (m *EntityValue_Number) CloneOneofVT() isEntityValue_Value

func (*EntityValue_Number) CloneVT added in v0.1.1

func (m *EntityValue_Number) CloneVT() *EntityValue_Number

func (*EntityValue_Number) EqualVT added in v0.1.1

func (this *EntityValue_Number) EqualVT(thatIface isEntityValue_Value) bool

func (*EntityValue_Number) MarshalToSizedBufferVT added in v0.1.1

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

func (*EntityValue_Number) MarshalToVT added in v0.1.1

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

func (*EntityValue_Number) SizeVT added in v0.1.1

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

type EntityValue_Text added in v0.1.1

type EntityValue_Text struct {
	Text string `protobuf:"bytes,4,opt,name=text,proto3,oneof"`
}

func (*EntityValue_Text) CloneOneofVT added in v0.1.1

func (m *EntityValue_Text) CloneOneofVT() isEntityValue_Value

func (*EntityValue_Text) CloneVT added in v0.1.1

func (m *EntityValue_Text) CloneVT() *EntityValue_Text

func (*EntityValue_Text) EqualVT added in v0.1.1

func (this *EntityValue_Text) EqualVT(thatIface isEntityValue_Value) bool

func (*EntityValue_Text) MarshalToSizedBufferVT added in v0.1.1

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

func (*EntityValue_Text) MarshalToVT added in v0.1.1

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

func (*EntityValue_Text) SizeVT added in v0.1.1

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

type EntityValue_Vector added in v0.1.1

type EntityValue_Vector struct {
	Vector *modlock.Vec3 `protobuf:"bytes,5,opt,name=vector,proto3,oneof"`
}

func (*EntityValue_Vector) CloneOneofVT added in v0.1.1

func (m *EntityValue_Vector) CloneOneofVT() isEntityValue_Value

func (*EntityValue_Vector) CloneVT added in v0.1.1

func (m *EntityValue_Vector) CloneVT() *EntityValue_Vector

func (*EntityValue_Vector) EqualVT added in v0.1.1

func (this *EntityValue_Vector) EqualVT(thatIface isEntityValue_Value) bool

func (*EntityValue_Vector) MarshalToSizedBufferVT added in v0.1.1

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

func (*EntityValue_Vector) MarshalToVT added in v0.1.1

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

func (*EntityValue_Vector) SizeVT added in v0.1.1

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

type EquipmentTarget

type EquipmentTarget struct {

	// Id identifies the definition, as Ability.id.
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Slot is its place on the hero, as Ability.slot; abilities need one, and
	// an item without one goes where the game puts it.
	Slot *int32 `protobuf:"varint,2,opt,name=slot,proto3,oneof" json:"slot,omitempty"`
	// State is the packed upgrade word, as Ability.state.
	State uint32 `protobuf:"varint,3,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

EquipmentTarget is one ability or item a HeroTarget gives the hero.

func (*EquipmentTarget) CloneMessageVT

func (m *EquipmentTarget) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*EquipmentTarget) CloneVT

func (m *EquipmentTarget) CloneVT() *EquipmentTarget

func (*EquipmentTarget) EqualMessageVT

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

func (*EquipmentTarget) EqualVT

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

func (*EquipmentTarget) GetId

func (x *EquipmentTarget) GetId() uint32

func (*EquipmentTarget) GetSlot

func (x *EquipmentTarget) GetSlot() int32

func (*EquipmentTarget) GetState

func (x *EquipmentTarget) GetState() uint32

func (*EquipmentTarget) MarshalJSON

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

MarshalJSON marshals the EquipmentTarget to JSON.

func (*EquipmentTarget) MarshalProtoJSON

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

MarshalProtoJSON marshals the EquipmentTarget message to JSON.

func (*EquipmentTarget) MarshalProtoText

func (x *EquipmentTarget) MarshalProtoText() string

func (*EquipmentTarget) MarshalToSizedBufferVT

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

func (*EquipmentTarget) MarshalToVT

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

func (*EquipmentTarget) MarshalVT

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

func (*EquipmentTarget) ProtoMessage

func (*EquipmentTarget) ProtoMessage()

func (*EquipmentTarget) Reset

func (x *EquipmentTarget) Reset()

func (*EquipmentTarget) SizeVT

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

func (*EquipmentTarget) String

func (x *EquipmentTarget) String() string

func (*EquipmentTarget) UnmarshalJSON

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

UnmarshalJSON unmarshals the EquipmentTarget from JSON.

func (*EquipmentTarget) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the EquipmentTarget message from JSON.

func (*EquipmentTarget) UnmarshalVT

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

type FieldListResponse added in v0.1.3

type FieldListResponse struct {
	Values []*FieldValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

FieldListResponse holds the elements ReadFieldList read.

func (*FieldListResponse) CloneMessageVT added in v0.1.3

func (m *FieldListResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*FieldListResponse) CloneVT added in v0.1.3

func (m *FieldListResponse) CloneVT() *FieldListResponse

func (*FieldListResponse) EqualMessageVT added in v0.1.3

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

func (*FieldListResponse) EqualVT added in v0.1.3

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

func (*FieldListResponse) GetValues added in v0.1.3

func (x *FieldListResponse) GetValues() []*FieldValue

func (*FieldListResponse) MarshalJSON added in v0.1.3

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

MarshalJSON marshals the FieldListResponse to JSON.

func (*FieldListResponse) MarshalProtoJSON added in v0.1.3

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

MarshalProtoJSON marshals the FieldListResponse message to JSON.

func (*FieldListResponse) MarshalProtoText added in v0.1.3

func (x *FieldListResponse) MarshalProtoText() string

func (*FieldListResponse) MarshalToSizedBufferVT added in v0.1.3

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

func (*FieldListResponse) MarshalToVT added in v0.1.3

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

func (*FieldListResponse) MarshalVT added in v0.1.3

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

func (*FieldListResponse) ProtoMessage added in v0.1.3

func (*FieldListResponse) ProtoMessage()

func (*FieldListResponse) Reset added in v0.1.3

func (x *FieldListResponse) Reset()

func (*FieldListResponse) SizeVT added in v0.1.3

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

func (*FieldListResponse) String added in v0.1.3

func (x *FieldListResponse) String() string

func (*FieldListResponse) UnmarshalJSON added in v0.1.3

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

UnmarshalJSON unmarshals the FieldListResponse from JSON.

func (*FieldListResponse) UnmarshalProtoJSON added in v0.1.3

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

UnmarshalProtoJSON unmarshals the FieldListResponse message from JSON.

func (*FieldListResponse) UnmarshalVT added in v0.1.3

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

type FieldResponse

type FieldResponse struct {
	Value *FieldValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

FieldResponse holds the value ReadField read.

func (*FieldResponse) CloneMessageVT

func (m *FieldResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*FieldResponse) CloneVT

func (m *FieldResponse) CloneVT() *FieldResponse

func (*FieldResponse) EqualMessageVT

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

func (*FieldResponse) EqualVT

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

func (*FieldResponse) GetValue

func (x *FieldResponse) GetValue() *FieldValue

func (*FieldResponse) MarshalJSON

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

MarshalJSON marshals the FieldResponse to JSON.

func (*FieldResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the FieldResponse message to JSON.

func (*FieldResponse) MarshalProtoText

func (x *FieldResponse) MarshalProtoText() string

func (*FieldResponse) MarshalToSizedBufferVT

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

func (*FieldResponse) MarshalToVT

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

func (*FieldResponse) MarshalVT

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

func (*FieldResponse) ProtoMessage

func (*FieldResponse) ProtoMessage()

func (*FieldResponse) Reset

func (x *FieldResponse) Reset()

func (*FieldResponse) SizeVT

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

func (*FieldResponse) String

func (x *FieldResponse) String() string

func (*FieldResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the FieldResponse from JSON.

func (*FieldResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the FieldResponse message from JSON.

func (*FieldResponse) UnmarshalVT

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

type FieldType

type FieldType int32

FieldType is how ReadField and WriteField interpret a field's storage.

const (
	// FIELD_TYPE_UNKNOWN is an unset type, which the host refuses.
	FieldType_FIELD_TYPE_UNKNOWN FieldType = 0
	// FIELD_TYPE_BOOL is one byte read as a boolean.
	FieldType_FIELD_TYPE_BOOL FieldType = 1
	// FIELD_TYPE_INT8 through FIELD_TYPE_UINT32 are integers read as numbers.
	FieldType_FIELD_TYPE_INT8   FieldType = 2
	FieldType_FIELD_TYPE_INT16  FieldType = 3
	FieldType_FIELD_TYPE_INT32  FieldType = 4
	FieldType_FIELD_TYPE_UINT8  FieldType = 5
	FieldType_FIELD_TYPE_UINT16 FieldType = 6
	FieldType_FIELD_TYPE_UINT32 FieldType = 7
	// FIELD_TYPE_INT64 and FIELD_TYPE_UINT64 are 64-bit integers.
	FieldType_FIELD_TYPE_INT64  FieldType = 8
	FieldType_FIELD_TYPE_UINT64 FieldType = 9
	// FIELD_TYPE_FLOAT32 and FIELD_TYPE_FLOAT64 are floating point numbers.
	FieldType_FIELD_TYPE_FLOAT32 FieldType = 10
	FieldType_FIELD_TYPE_FLOAT64 FieldType = 11
	// FIELD_TYPE_VECTOR is three floats, such as a position or angles.
	FieldType_FIELD_TYPE_VECTOR FieldType = 12
	// FIELD_TYPE_HANDLE is an entity handle, read as a number.
	FieldType_FIELD_TYPE_HANDLE FieldType = 13
	// FIELD_TYPE_STRING is a string the field points to.
	FieldType_FIELD_TYPE_STRING FieldType = 14
)

func (FieldType) Enum

func (x FieldType) Enum() *FieldType

func (FieldType) MarshalJSON

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

MarshalJSON marshals the FieldType to JSON.

func (FieldType) MarshalProtoJSON

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

MarshalProtoJSON marshals the FieldType to JSON.

func (FieldType) MarshalProtoText

func (x FieldType) MarshalProtoText() string

func (FieldType) MarshalText

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

MarshalText marshals the FieldType to text.

func (FieldType) String

func (x FieldType) String() string

func (*FieldType) UnmarshalJSON

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

UnmarshalJSON unmarshals the FieldType from JSON.

func (*FieldType) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the FieldType from JSON.

func (*FieldType) UnmarshalText

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

UnmarshalText unmarshals the FieldType from text.

type FieldValue

type FieldValue struct {

	// Types that are assignable to Value:
	//	*FieldValue_Boolean
	//	*FieldValue_Number
	//	*FieldValue_Integer
	//	*FieldValue_Text
	//	*FieldValue_Vector
	Value isFieldValue_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

FieldValue is one field's value. The host accepts any numeric case for a numeric type and answers with the case its type reads as: a boolean, a number for a type of 32 bits or less and a handle, an integer for a 64-bit type, a vector or text.

func (*FieldValue) CloneMessageVT

func (m *FieldValue) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*FieldValue) CloneVT

func (m *FieldValue) CloneVT() *FieldValue

func (*FieldValue) EqualMessageVT

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

func (*FieldValue) EqualVT

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

func (*FieldValue) GetBoolean

func (x *FieldValue) GetBoolean() bool

func (*FieldValue) GetInteger

func (x *FieldValue) GetInteger() int64

func (*FieldValue) GetNumber

func (x *FieldValue) GetNumber() float64

func (*FieldValue) GetText

func (x *FieldValue) GetText() string

func (*FieldValue) GetValue

func (m *FieldValue) GetValue() isFieldValue_Value

func (*FieldValue) GetVector

func (x *FieldValue) GetVector() *modlock.Vec3

func (*FieldValue) MarshalJSON

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

MarshalJSON marshals the FieldValue to JSON.

func (*FieldValue) MarshalProtoJSON

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

MarshalProtoJSON marshals the FieldValue message to JSON.

func (*FieldValue) MarshalProtoText

func (x *FieldValue) MarshalProtoText() string

func (*FieldValue) MarshalToSizedBufferVT

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

func (*FieldValue) MarshalToVT

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

func (*FieldValue) MarshalVT

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

func (*FieldValue) ProtoMessage

func (*FieldValue) ProtoMessage()

func (*FieldValue) Reset

func (x *FieldValue) Reset()

func (*FieldValue) SizeVT

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

func (*FieldValue) String

func (x *FieldValue) String() string

func (*FieldValue) UnmarshalJSON

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

UnmarshalJSON unmarshals the FieldValue from JSON.

func (*FieldValue) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the FieldValue message from JSON.

func (*FieldValue) UnmarshalVT

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

type FieldValue_Boolean

type FieldValue_Boolean struct {
	Boolean bool `protobuf:"varint,1,opt,name=boolean,proto3,oneof"`
}

func (*FieldValue_Boolean) CloneOneofVT

func (m *FieldValue_Boolean) CloneOneofVT() isFieldValue_Value

func (*FieldValue_Boolean) CloneVT

func (m *FieldValue_Boolean) CloneVT() *FieldValue_Boolean

func (*FieldValue_Boolean) EqualVT

func (this *FieldValue_Boolean) EqualVT(thatIface isFieldValue_Value) bool

func (*FieldValue_Boolean) MarshalToSizedBufferVT

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

func (*FieldValue_Boolean) MarshalToVT

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

func (*FieldValue_Boolean) SizeVT

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

type FieldValue_Integer

type FieldValue_Integer struct {
	Integer int64 `protobuf:"varint,3,opt,name=integer,proto3,oneof"`
}

func (*FieldValue_Integer) CloneOneofVT

func (m *FieldValue_Integer) CloneOneofVT() isFieldValue_Value

func (*FieldValue_Integer) CloneVT

func (m *FieldValue_Integer) CloneVT() *FieldValue_Integer

func (*FieldValue_Integer) EqualVT

func (this *FieldValue_Integer) EqualVT(thatIface isFieldValue_Value) bool

func (*FieldValue_Integer) MarshalToSizedBufferVT

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

func (*FieldValue_Integer) MarshalToVT

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

func (*FieldValue_Integer) SizeVT

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

type FieldValue_Number

type FieldValue_Number struct {
	Number float64 `protobuf:"fixed64,2,opt,name=number,proto3,oneof"`
}

func (*FieldValue_Number) CloneOneofVT

func (m *FieldValue_Number) CloneOneofVT() isFieldValue_Value

func (*FieldValue_Number) CloneVT

func (m *FieldValue_Number) CloneVT() *FieldValue_Number

func (*FieldValue_Number) EqualVT

func (this *FieldValue_Number) EqualVT(thatIface isFieldValue_Value) bool

func (*FieldValue_Number) MarshalToSizedBufferVT

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

func (*FieldValue_Number) MarshalToVT

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

func (*FieldValue_Number) SizeVT

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

type FieldValue_Text

type FieldValue_Text struct {
	Text string `protobuf:"bytes,4,opt,name=text,proto3,oneof"`
}

func (*FieldValue_Text) CloneOneofVT

func (m *FieldValue_Text) CloneOneofVT() isFieldValue_Value

func (*FieldValue_Text) CloneVT

func (m *FieldValue_Text) CloneVT() *FieldValue_Text

func (*FieldValue_Text) EqualVT

func (this *FieldValue_Text) EqualVT(thatIface isFieldValue_Value) bool

func (*FieldValue_Text) MarshalToSizedBufferVT

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

func (*FieldValue_Text) MarshalToVT

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

func (*FieldValue_Text) SizeVT

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

type FieldValue_Vector

type FieldValue_Vector struct {
	Vector *modlock.Vec3 `protobuf:"bytes,5,opt,name=vector,proto3,oneof"`
}

func (*FieldValue_Vector) CloneOneofVT

func (m *FieldValue_Vector) CloneOneofVT() isFieldValue_Value

func (*FieldValue_Vector) CloneVT

func (m *FieldValue_Vector) CloneVT() *FieldValue_Vector

func (*FieldValue_Vector) EqualVT

func (this *FieldValue_Vector) EqualVT(thatIface isFieldValue_Value) bool

func (*FieldValue_Vector) MarshalToSizedBufferVT

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

func (*FieldValue_Vector) MarshalToVT

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

func (*FieldValue_Vector) SizeVT

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

type FieldWrite added in v0.1.1

type FieldWrite struct {

	// ClassName is the server class that declares the field, or a subclass.
	ClassName string `protobuf:"bytes,1,opt,name=class_name,json=className,proto3" json:"className,omitempty"`
	// Field is the field's schema name, such as m_iLane.
	Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"`
	// Type is how to write the field.
	Type FieldType `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
	// Value is the field's value.
	Value *FieldValue `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

FieldWrite writes one schema field of an entity the host creates.

func (*FieldWrite) CloneMessageVT added in v0.1.1

func (m *FieldWrite) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*FieldWrite) CloneVT added in v0.1.1

func (m *FieldWrite) CloneVT() *FieldWrite

func (*FieldWrite) EqualMessageVT added in v0.1.1

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

func (*FieldWrite) EqualVT added in v0.1.1

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

func (*FieldWrite) GetClassName added in v0.1.1

func (x *FieldWrite) GetClassName() string

func (*FieldWrite) GetField added in v0.1.1

func (x *FieldWrite) GetField() string

func (*FieldWrite) GetType added in v0.1.1

func (x *FieldWrite) GetType() FieldType

func (*FieldWrite) GetValue added in v0.1.1

func (x *FieldWrite) GetValue() *FieldValue

func (*FieldWrite) MarshalJSON added in v0.1.1

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

MarshalJSON marshals the FieldWrite to JSON.

func (*FieldWrite) MarshalProtoJSON added in v0.1.1

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

MarshalProtoJSON marshals the FieldWrite message to JSON.

func (*FieldWrite) MarshalProtoText added in v0.1.1

func (x *FieldWrite) MarshalProtoText() string

func (*FieldWrite) MarshalToSizedBufferVT added in v0.1.1

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

func (*FieldWrite) MarshalToVT added in v0.1.1

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

func (*FieldWrite) MarshalVT added in v0.1.1

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

func (*FieldWrite) ProtoMessage added in v0.1.1

func (*FieldWrite) ProtoMessage()

func (*FieldWrite) Reset added in v0.1.1

func (x *FieldWrite) Reset()

func (*FieldWrite) SizeVT added in v0.1.1

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

func (*FieldWrite) String added in v0.1.1

func (x *FieldWrite) String() string

func (*FieldWrite) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON unmarshals the FieldWrite from JSON.

func (*FieldWrite) UnmarshalProtoJSON added in v0.1.1

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

UnmarshalProtoJSON unmarshals the FieldWrite message from JSON.

func (*FieldWrite) UnmarshalVT added in v0.1.1

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

type FindEntitiesRequest added in v0.1.3

type FindEntitiesRequest struct {

	// ClassName is the exact entity class, such as zip_line_node.
	ClassName string `protobuf:"bytes,1,opt,name=class_name,json=className,proto3" json:"className,omitempty"`
	// contains filtered or unexported fields
}

FindEntitiesRequest names the entity class to find.

func (*FindEntitiesRequest) CloneMessageVT added in v0.1.3

func (*FindEntitiesRequest) CloneVT added in v0.1.3

func (*FindEntitiesRequest) EqualMessageVT added in v0.1.3

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

func (*FindEntitiesRequest) EqualVT added in v0.1.3

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

func (*FindEntitiesRequest) GetClassName added in v0.1.3

func (x *FindEntitiesRequest) GetClassName() string

func (*FindEntitiesRequest) MarshalJSON added in v0.1.3

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

MarshalJSON marshals the FindEntitiesRequest to JSON.

func (*FindEntitiesRequest) MarshalProtoJSON added in v0.1.3

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

MarshalProtoJSON marshals the FindEntitiesRequest message to JSON.

func (*FindEntitiesRequest) MarshalProtoText added in v0.1.3

func (x *FindEntitiesRequest) MarshalProtoText() string

func (*FindEntitiesRequest) MarshalToSizedBufferVT added in v0.1.3

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

func (*FindEntitiesRequest) MarshalToVT added in v0.1.3

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

func (*FindEntitiesRequest) MarshalVT added in v0.1.3

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

func (*FindEntitiesRequest) ProtoMessage added in v0.1.3

func (*FindEntitiesRequest) ProtoMessage()

func (*FindEntitiesRequest) Reset added in v0.1.3

func (x *FindEntitiesRequest) Reset()

func (*FindEntitiesRequest) SizeVT added in v0.1.3

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

func (*FindEntitiesRequest) String added in v0.1.3

func (x *FindEntitiesRequest) String() string

func (*FindEntitiesRequest) UnmarshalJSON added in v0.1.3

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

UnmarshalJSON unmarshals the FindEntitiesRequest from JSON.

func (*FindEntitiesRequest) UnmarshalProtoJSON added in v0.1.3

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

UnmarshalProtoJSON unmarshals the FindEntitiesRequest message from JSON.

func (*FindEntitiesRequest) UnmarshalVT added in v0.1.3

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

type FireInputRequest added in v0.1.1

type FireInputRequest struct {

	// Entity is the entity's handle.
	Entity uint32 `protobuf:"varint,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// Input is the input's name, such as Skin or Kill.
	Input string `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"`
	// Value is the input's parameter, absent for an input that takes none.
	Value *EntityValue `protobuf:"bytes,3,opt,name=value,proto3,oneof" json:"value,omitempty"`
	// Activator is the handle of the entity that caused the input, such as a
	// player's hero. Inputs that act on one player, such as
	// LocalPlayerAddCSSClass, act on the activator's player.
	Activator *uint32 `protobuf:"varint,4,opt,name=activator,proto3,oneof" json:"activator,omitempty"`
	// contains filtered or unexported fields
}

FireInputRequest sends one input to an entity.

func (*FireInputRequest) CloneMessageVT added in v0.1.1

func (m *FireInputRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*FireInputRequest) CloneVT added in v0.1.1

func (m *FireInputRequest) CloneVT() *FireInputRequest

func (*FireInputRequest) EqualMessageVT added in v0.1.1

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

func (*FireInputRequest) EqualVT added in v0.1.1

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

func (*FireInputRequest) GetActivator added in v0.1.3

func (x *FireInputRequest) GetActivator() uint32

func (*FireInputRequest) GetEntity added in v0.1.1

func (x *FireInputRequest) GetEntity() uint32

func (*FireInputRequest) GetInput added in v0.1.1

func (x *FireInputRequest) GetInput() string

func (*FireInputRequest) GetValue added in v0.1.1

func (x *FireInputRequest) GetValue() *EntityValue

func (*FireInputRequest) MarshalJSON added in v0.1.1

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

MarshalJSON marshals the FireInputRequest to JSON.

func (*FireInputRequest) MarshalProtoJSON added in v0.1.1

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

MarshalProtoJSON marshals the FireInputRequest message to JSON.

func (*FireInputRequest) MarshalProtoText added in v0.1.1

func (x *FireInputRequest) MarshalProtoText() string

func (*FireInputRequest) MarshalToSizedBufferVT added in v0.1.1

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

func (*FireInputRequest) MarshalToVT added in v0.1.1

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

func (*FireInputRequest) MarshalVT added in v0.1.1

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

func (*FireInputRequest) ProtoMessage added in v0.1.1

func (*FireInputRequest) ProtoMessage()

func (*FireInputRequest) Reset added in v0.1.1

func (x *FireInputRequest) Reset()

func (*FireInputRequest) SizeVT added in v0.1.1

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

func (*FireInputRequest) String added in v0.1.1

func (x *FireInputRequest) String() string

func (*FireInputRequest) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON unmarshals the FireInputRequest from JSON.

func (*FireInputRequest) UnmarshalProtoJSON added in v0.1.1

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

UnmarshalProtoJSON unmarshals the FireInputRequest message from JSON.

func (*FireInputRequest) UnmarshalVT added in v0.1.1

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

type FogOptions

type FogOptions struct {

	// Position is the box's origin.
	Position *modlock.Vec3 `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"`
	// Facing is the box's rotation.
	Facing *modlock.EulerAngles `protobuf:"bytes,2,opt,name=facing,proto3,oneof" json:"facing,omitempty"`
	// Mins is the box's lower corner, relative to position.
	Mins *modlock.Vec3 `protobuf:"bytes,3,opt,name=mins,proto3" json:"mins,omitempty"`
	// Maxs is the box's upper corner, relative to position.
	Maxs *modlock.Vec3 `protobuf:"bytes,4,opt,name=maxs,proto3" json:"maxs,omitempty"`
	// Strength is the fog's density.
	Strength float32 `protobuf:"fixed32,5,opt,name=strength,proto3" json:"strength,omitempty"`
	// Color tints the fog as 0xRRGGBBAA; alpha is ignored.
	Color uint32 `protobuf:"fixed32,6,opt,name=color,proto3" json:"color,omitempty"`
	// contains filtered or unexported fields
}

FogOptions describes an oriented box of tinted fog.

func (*FogOptions) CloneMessageVT

func (m *FogOptions) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*FogOptions) CloneVT

func (m *FogOptions) CloneVT() *FogOptions

func (*FogOptions) EqualMessageVT

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

func (*FogOptions) EqualVT

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

func (*FogOptions) GetColor

func (x *FogOptions) GetColor() uint32

func (*FogOptions) GetFacing

func (x *FogOptions) GetFacing() *modlock.EulerAngles

func (*FogOptions) GetMaxs

func (x *FogOptions) GetMaxs() *modlock.Vec3

func (*FogOptions) GetMins

func (x *FogOptions) GetMins() *modlock.Vec3

func (*FogOptions) GetPosition

func (x *FogOptions) GetPosition() *modlock.Vec3

func (*FogOptions) GetStrength

func (x *FogOptions) GetStrength() float32

func (*FogOptions) MarshalJSON

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

MarshalJSON marshals the FogOptions to JSON.

func (*FogOptions) MarshalProtoJSON

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

MarshalProtoJSON marshals the FogOptions message to JSON.

func (*FogOptions) MarshalProtoText

func (x *FogOptions) MarshalProtoText() string

func (*FogOptions) MarshalToSizedBufferVT

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

func (*FogOptions) MarshalToVT

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

func (*FogOptions) MarshalVT

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

func (*FogOptions) ProtoMessage

func (*FogOptions) ProtoMessage()

func (*FogOptions) Reset

func (x *FogOptions) Reset()

func (*FogOptions) SizeVT

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

func (*FogOptions) String

func (x *FogOptions) String() string

func (*FogOptions) UnmarshalJSON

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

UnmarshalJSON unmarshals the FogOptions from JSON.

func (*FogOptions) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the FogOptions message from JSON.

func (*FogOptions) UnmarshalVT

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

type FrameEvent

type FrameEvent struct {

	// Tick is the server tick, or zero when the clock is unavailable.
	Tick uint64 `protobuf:"varint,1,opt,name=tick,proto3" json:"tick,omitempty"`
	// TimeSeconds is the game clock at this frame, in seconds.
	TimeSeconds float64 `protobuf:"fixed64,2,opt,name=time_seconds,json=timeSeconds,proto3" json:"timeSeconds,omitempty"`
	// Movement holds one sample per watched, live hero when this frame starts a
	// new tick, and is empty otherwise.
	Movement []*MovementSample `protobuf:"bytes,3,rep,name=movement,proto3" json:"movement,omitempty"`
	// contains filtered or unexported fields
}

FrameEvent identifies one server frame.

func (*FrameEvent) CloneMessageVT

func (m *FrameEvent) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*FrameEvent) CloneVT

func (m *FrameEvent) CloneVT() *FrameEvent

func (*FrameEvent) EqualMessageVT

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

func (*FrameEvent) EqualVT

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

func (*FrameEvent) GetMovement

func (x *FrameEvent) GetMovement() []*MovementSample

func (*FrameEvent) GetTick

func (x *FrameEvent) GetTick() uint64

func (*FrameEvent) GetTimeSeconds

func (x *FrameEvent) GetTimeSeconds() float64

func (*FrameEvent) MarshalJSON

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

MarshalJSON marshals the FrameEvent to JSON.

func (*FrameEvent) MarshalProtoJSON

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

MarshalProtoJSON marshals the FrameEvent message to JSON.

func (*FrameEvent) MarshalProtoText

func (x *FrameEvent) MarshalProtoText() string

func (*FrameEvent) MarshalToSizedBufferVT

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

func (*FrameEvent) MarshalToVT

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

func (*FrameEvent) MarshalVT

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

func (*FrameEvent) ProtoMessage

func (*FrameEvent) ProtoMessage()

func (*FrameEvent) Reset

func (x *FrameEvent) Reset()

func (*FrameEvent) SizeVT

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

func (*FrameEvent) String

func (x *FrameEvent) String() string

func (*FrameEvent) UnmarshalJSON

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

UnmarshalJSON unmarshals the FrameEvent from JSON.

func (*FrameEvent) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the FrameEvent message from JSON.

func (*FrameEvent) UnmarshalVT

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

type FreezeRequest

type FreezeRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Frozen holds the hero when true or omitted; false releases it.
	Frozen *bool `protobuf:"varint,2,opt,name=frozen,proto3,oneof" json:"frozen,omitempty"`
	// contains filtered or unexported fields
}

FreezeRequest holds or releases one player's hero.

func (*FreezeRequest) CloneMessageVT

func (m *FreezeRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*FreezeRequest) CloneVT

func (m *FreezeRequest) CloneVT() *FreezeRequest

func (*FreezeRequest) EqualMessageVT

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

func (*FreezeRequest) EqualVT

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

func (*FreezeRequest) GetFrozen

func (x *FreezeRequest) GetFrozen() bool

func (*FreezeRequest) GetPlayer

func (x *FreezeRequest) GetPlayer() int32

func (*FreezeRequest) MarshalJSON

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

MarshalJSON marshals the FreezeRequest to JSON.

func (*FreezeRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the FreezeRequest message to JSON.

func (*FreezeRequest) MarshalProtoText

func (x *FreezeRequest) MarshalProtoText() string

func (*FreezeRequest) MarshalToSizedBufferVT

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

func (*FreezeRequest) MarshalToVT

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

func (*FreezeRequest) MarshalVT

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

func (*FreezeRequest) ProtoMessage

func (*FreezeRequest) ProtoMessage()

func (*FreezeRequest) Reset

func (x *FreezeRequest) Reset()

func (*FreezeRequest) SizeVT

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

func (*FreezeRequest) String

func (x *FreezeRequest) String() string

func (*FreezeRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the FreezeRequest from JSON.

func (*FreezeRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the FreezeRequest message from JSON.

func (*FreezeRequest) UnmarshalVT

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

type GiveItemRequest

type GiveItemRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Item is the item's name, such as upgrade_fleetfoot_boots.
	Item string `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

GiveItemRequest gives one player's hero an item.

func (*GiveItemRequest) CloneMessageVT

func (m *GiveItemRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*GiveItemRequest) CloneVT

func (m *GiveItemRequest) CloneVT() *GiveItemRequest

func (*GiveItemRequest) EqualMessageVT

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

func (*GiveItemRequest) EqualVT

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

func (*GiveItemRequest) GetItem

func (x *GiveItemRequest) GetItem() string

func (*GiveItemRequest) GetPlayer

func (x *GiveItemRequest) GetPlayer() int32

func (*GiveItemRequest) MarshalJSON

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

MarshalJSON marshals the GiveItemRequest to JSON.

func (*GiveItemRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the GiveItemRequest message to JSON.

func (*GiveItemRequest) MarshalProtoText

func (x *GiveItemRequest) MarshalProtoText() string

func (*GiveItemRequest) MarshalToSizedBufferVT

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

func (*GiveItemRequest) MarshalToVT

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

func (*GiveItemRequest) MarshalVT

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

func (*GiveItemRequest) ProtoMessage

func (*GiveItemRequest) ProtoMessage()

func (*GiveItemRequest) Reset

func (x *GiveItemRequest) Reset()

func (*GiveItemRequest) SizeVT

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

func (*GiveItemRequest) String

func (x *GiveItemRequest) String() string

func (*GiveItemRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the GiveItemRequest from JSON.

func (*GiveItemRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the GiveItemRequest message from JSON.

func (*GiveItemRequest) UnmarshalVT

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

type GiveModifierRequest

type GiveModifierRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Modifier names the modifier as "<ability>/<modifier>", such as
	// ability_smoke_bomb/smokebomb_modifier_invis.
	Modifier string `protobuf:"bytes,2,opt,name=modifier,proto3" json:"modifier,omitempty"`
	// Seconds is how long the modifier lasts.
	Seconds float32 `protobuf:"fixed32,3,opt,name=seconds,proto3" json:"seconds,omitempty"`
	// contains filtered or unexported fields
}

GiveModifierRequest gives one player's living hero an ability's modifier.

func (*GiveModifierRequest) CloneMessageVT

func (*GiveModifierRequest) CloneVT

func (*GiveModifierRequest) EqualMessageVT

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

func (*GiveModifierRequest) EqualVT

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

func (*GiveModifierRequest) GetModifier

func (x *GiveModifierRequest) GetModifier() string

func (*GiveModifierRequest) GetPlayer

func (x *GiveModifierRequest) GetPlayer() int32

func (*GiveModifierRequest) GetSeconds

func (x *GiveModifierRequest) GetSeconds() float32

func (*GiveModifierRequest) MarshalJSON

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

MarshalJSON marshals the GiveModifierRequest to JSON.

func (*GiveModifierRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the GiveModifierRequest message to JSON.

func (*GiveModifierRequest) MarshalProtoText

func (x *GiveModifierRequest) MarshalProtoText() string

func (*GiveModifierRequest) MarshalToSizedBufferVT

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

func (*GiveModifierRequest) MarshalToVT

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

func (*GiveModifierRequest) MarshalVT

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

func (*GiveModifierRequest) ProtoMessage

func (*GiveModifierRequest) ProtoMessage()

func (*GiveModifierRequest) Reset

func (x *GiveModifierRequest) Reset()

func (*GiveModifierRequest) SizeVT

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

func (*GiveModifierRequest) String

func (x *GiveModifierRequest) String() string

func (*GiveModifierRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the GiveModifierRequest from JSON.

func (*GiveModifierRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the GiveModifierRequest message from JSON.

func (*GiveModifierRequest) UnmarshalVT

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

type HealRequest

type HealRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Amount is the health to add; the hero stops at its maximum.
	Amount int32 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

HealRequest restores health to a player's hero.

func (*HealRequest) CloneMessageVT

func (m *HealRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*HealRequest) CloneVT

func (m *HealRequest) CloneVT() *HealRequest

func (*HealRequest) EqualMessageVT

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

func (*HealRequest) EqualVT

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

func (*HealRequest) GetAmount

func (x *HealRequest) GetAmount() int32

func (*HealRequest) GetPlayer

func (x *HealRequest) GetPlayer() int32

func (*HealRequest) MarshalJSON

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

MarshalJSON marshals the HealRequest to JSON.

func (*HealRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the HealRequest message to JSON.

func (*HealRequest) MarshalProtoText

func (x *HealRequest) MarshalProtoText() string

func (*HealRequest) MarshalToSizedBufferVT

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

func (*HealRequest) MarshalToVT

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

func (*HealRequest) MarshalVT

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

func (*HealRequest) ProtoMessage

func (*HealRequest) ProtoMessage()

func (*HealRequest) Reset

func (x *HealRequest) Reset()

func (*HealRequest) SizeVT

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

func (*HealRequest) String

func (x *HealRequest) String() string

func (*HealRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the HealRequest from JSON.

func (*HealRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the HealRequest message from JSON.

func (*HealRequest) UnmarshalVT

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

type HeroResponse

type HeroResponse struct {
	Hero uint32 `protobuf:"varint,1,opt,name=hero,proto3" json:"hero,omitempty"`
	// contains filtered or unexported fields
}

HeroResponse identifies the hero SelectHero gave.

func (*HeroResponse) CloneMessageVT

func (m *HeroResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*HeroResponse) CloneVT

func (m *HeroResponse) CloneVT() *HeroResponse

func (*HeroResponse) EqualMessageVT

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

func (*HeroResponse) EqualVT

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

func (*HeroResponse) GetHero

func (x *HeroResponse) GetHero() uint32

func (*HeroResponse) MarshalJSON

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

MarshalJSON marshals the HeroResponse to JSON.

func (*HeroResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the HeroResponse message to JSON.

func (*HeroResponse) MarshalProtoText

func (x *HeroResponse) MarshalProtoText() string

func (*HeroResponse) MarshalToSizedBufferVT

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

func (*HeroResponse) MarshalToVT

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

func (*HeroResponse) MarshalVT

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

func (*HeroResponse) ProtoMessage

func (*HeroResponse) ProtoMessage()

func (*HeroResponse) Reset

func (x *HeroResponse) Reset()

func (*HeroResponse) SizeVT

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

func (*HeroResponse) String

func (x *HeroResponse) String() string

func (*HeroResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the HeroResponse from JSON.

func (*HeroResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the HeroResponse message from JSON.

func (*HeroResponse) UnmarshalVT

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

type HeroTarget

type HeroTarget struct {

	// Position is the hero's origin.
	Position *modlock.Vec3 `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"`
	// Facing is where the camera faces; a bot's hero faces it.
	Facing *modlock.EulerAngles `protobuf:"bytes,2,opt,name=facing,proto3" json:"facing,omitempty"`
	// Fresh gives full health and stamina and readies every ability, in place
	// of health, max health, upgrade bonuses and timers. A bot's ability
	// upgrades may grow while the restore runs.
	Fresh *bool `protobuf:"varint,3,opt,name=fresh,proto3,oneof" json:"fresh,omitempty"`
	// Level sets the hero's level.
	Level *int32 `protobuf:"varint,4,opt,name=level,proto3,oneof" json:"level,omitempty"`
	// Health and MaxHealth set the hero's health and its base maximum. Both
	// are required unless the target is fresh.
	Health    *int32 `protobuf:"varint,5,opt,name=health,proto3,oneof" json:"health,omitempty"`
	MaxHealth *int32 `protobuf:"varint,6,opt,name=max_health,json=maxHealth,proto3,oneof" json:"maxHealth,omitempty"`
	// UpgradeBonuses are the three stat bonuses purchases add, as replays
	// record them.
	UpgradeBonuses []float32 `protobuf:"fixed32,7,rep,packed,name=upgrade_bonuses,json=upgradeBonuses,proto3" json:"upgradeBonuses,omitempty"`
	// Abilities sets the hero's abilities in their slots.
	Abilities []*EquipmentTarget `protobuf:"bytes,8,rep,name=abilities,proto3" json:"abilities,omitempty"`
	// Items lists the items that replace the hero's when ReplaceItems is set.
	Items []*EquipmentTarget `protobuf:"bytes,9,rep,name=items,proto3" json:"items,omitempty"`
	// ReplaceItems replaces every item the hero owns with Items; an empty list
	// removes them.
	ReplaceItems *bool `protobuf:"varint,10,opt,name=replace_items,json=replaceItems,proto3,oneof" json:"replaceItems,omitempty"`
	// Timers sets the charges and cooldowns of owned abilities and items.
	Timers []*TimerTarget `protobuf:"bytes,11,rep,name=timers,proto3" json:"timers,omitempty"`
	// contains filtered or unexported fields
}

HeroTarget is the state RestoreHero gives one hero. Omitted parts keep the hero's own.

func (*HeroTarget) CloneMessageVT

func (m *HeroTarget) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*HeroTarget) CloneVT

func (m *HeroTarget) CloneVT() *HeroTarget

func (*HeroTarget) EqualMessageVT

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

func (*HeroTarget) EqualVT

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

func (*HeroTarget) GetAbilities

func (x *HeroTarget) GetAbilities() []*EquipmentTarget

func (*HeroTarget) GetFacing

func (x *HeroTarget) GetFacing() *modlock.EulerAngles

func (*HeroTarget) GetFresh

func (x *HeroTarget) GetFresh() bool

func (*HeroTarget) GetHealth

func (x *HeroTarget) GetHealth() int32

func (*HeroTarget) GetItems

func (x *HeroTarget) GetItems() []*EquipmentTarget

func (*HeroTarget) GetLevel

func (x *HeroTarget) GetLevel() int32

func (*HeroTarget) GetMaxHealth

func (x *HeroTarget) GetMaxHealth() int32

func (*HeroTarget) GetPosition

func (x *HeroTarget) GetPosition() *modlock.Vec3

func (*HeroTarget) GetReplaceItems

func (x *HeroTarget) GetReplaceItems() bool

func (*HeroTarget) GetTimers

func (x *HeroTarget) GetTimers() []*TimerTarget

func (*HeroTarget) GetUpgradeBonuses

func (x *HeroTarget) GetUpgradeBonuses() []float32

func (*HeroTarget) MarshalJSON

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

MarshalJSON marshals the HeroTarget to JSON.

func (*HeroTarget) MarshalProtoJSON

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

MarshalProtoJSON marshals the HeroTarget message to JSON.

func (*HeroTarget) MarshalProtoText

func (x *HeroTarget) MarshalProtoText() string

func (*HeroTarget) MarshalToSizedBufferVT

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

func (*HeroTarget) MarshalToVT

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

func (*HeroTarget) MarshalVT

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

func (*HeroTarget) ProtoMessage

func (*HeroTarget) ProtoMessage()

func (*HeroTarget) Reset

func (x *HeroTarget) Reset()

func (*HeroTarget) SizeVT

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

func (*HeroTarget) String

func (x *HeroTarget) String() string

func (*HeroTarget) UnmarshalJSON

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

UnmarshalJSON unmarshals the HeroTarget from JSON.

func (*HeroTarget) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the HeroTarget message from JSON.

func (*HeroTarget) UnmarshalVT

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

type HitOptions

type HitOptions struct {

	// Victim is the entity to hurt.
	Victim uint32 `protobuf:"varint,1,opt,name=victim,proto3" json:"victim,omitempty"`
	// Attacker is the entity credited with the hit. Without one the hit is a
	// hazard, such as poison gas, which credits no one and ignores the
	// inflictor and hit group.
	Attacker *uint32 `protobuf:"varint,2,opt,name=attacker,proto3,oneof" json:"attacker,omitempty"`
	// Inflictor is what delivered the hit; the default is the attacker.
	Inflictor *uint32 `protobuf:"varint,3,opt,name=inflictor,proto3,oneof" json:"inflictor,omitempty"`
	// Amount is the damage before resistances.
	Amount float32 `protobuf:"fixed32,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// HitGroup is the body part hit; 1 is the head. The default is the game's
	// choice.
	HitGroup *int32 `protobuf:"varint,5,opt,name=hit_group,json=hitGroup,proto3,oneof" json:"hitGroup,omitempty"`
	// Ability is the entity handle of the ability that dealt the hit, as
	// Ability.entity reports it.
	Ability *uint32 `protobuf:"varint,6,opt,name=ability,proto3,oneof" json:"ability,omitempty"`
	// contains filtered or unexported fields
}

HitOptions describes damage the mod deals.

func (*HitOptions) CloneMessageVT

func (m *HitOptions) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*HitOptions) CloneVT

func (m *HitOptions) CloneVT() *HitOptions

func (*HitOptions) EqualMessageVT

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

func (*HitOptions) EqualVT

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

func (*HitOptions) GetAbility

func (x *HitOptions) GetAbility() uint32

func (*HitOptions) GetAmount

func (x *HitOptions) GetAmount() float32

func (*HitOptions) GetAttacker

func (x *HitOptions) GetAttacker() uint32

func (*HitOptions) GetHitGroup

func (x *HitOptions) GetHitGroup() int32

func (*HitOptions) GetInflictor

func (x *HitOptions) GetInflictor() uint32

func (*HitOptions) GetVictim

func (x *HitOptions) GetVictim() uint32

func (*HitOptions) MarshalJSON

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

MarshalJSON marshals the HitOptions to JSON.

func (*HitOptions) MarshalProtoJSON

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

MarshalProtoJSON marshals the HitOptions message to JSON.

func (*HitOptions) MarshalProtoText

func (x *HitOptions) MarshalProtoText() string

func (*HitOptions) MarshalToSizedBufferVT

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

func (*HitOptions) MarshalToVT

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

func (*HitOptions) MarshalVT

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

func (*HitOptions) ProtoMessage

func (*HitOptions) ProtoMessage()

func (*HitOptions) Reset

func (x *HitOptions) Reset()

func (*HitOptions) SizeVT

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

func (*HitOptions) String

func (x *HitOptions) String() string

func (*HitOptions) UnmarshalJSON

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

UnmarshalJSON unmarshals the HitOptions from JSON.

func (*HitOptions) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the HitOptions message from JSON.

func (*HitOptions) UnmarshalVT

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

type HoldMatchClockRequest

type HoldMatchClockRequest struct {

	// Seconds is the time to hold; omitted releases the clock.
	Seconds *float32 `protobuf:"fixed32,1,opt,name=seconds,proto3,oneof" json:"seconds,omitempty"`
	// contains filtered or unexported fields
}

HoldMatchClockRequest holds the match clock, or releases it.

func (*HoldMatchClockRequest) CloneMessageVT

func (*HoldMatchClockRequest) CloneVT

func (*HoldMatchClockRequest) EqualMessageVT

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

func (*HoldMatchClockRequest) EqualVT

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

func (*HoldMatchClockRequest) GetSeconds

func (x *HoldMatchClockRequest) GetSeconds() float32

func (*HoldMatchClockRequest) MarshalJSON

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

MarshalJSON marshals the HoldMatchClockRequest to JSON.

func (*HoldMatchClockRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the HoldMatchClockRequest message to JSON.

func (*HoldMatchClockRequest) MarshalProtoText

func (x *HoldMatchClockRequest) MarshalProtoText() string

func (*HoldMatchClockRequest) MarshalToSizedBufferVT

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

func (*HoldMatchClockRequest) MarshalToVT

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

func (*HoldMatchClockRequest) MarshalVT

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

func (*HoldMatchClockRequest) ProtoMessage

func (*HoldMatchClockRequest) ProtoMessage()

func (*HoldMatchClockRequest) Reset

func (x *HoldMatchClockRequest) Reset()

func (*HoldMatchClockRequest) SizeVT

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

func (*HoldMatchClockRequest) String

func (x *HoldMatchClockRequest) String() string

func (*HoldMatchClockRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the HoldMatchClockRequest from JSON.

func (*HoldMatchClockRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the HoldMatchClockRequest message from JSON.

func (*HoldMatchClockRequest) UnmarshalVT

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

type HoldModifierRequest

type HoldModifierRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Modifier names the modifier as "<ability>/<modifier>", such as
	// upgrade_fleetfoot_boots/modifier_fleetfoot_boots.
	Modifier string `protobuf:"bytes,2,opt,name=modifier,proto3" json:"modifier,omitempty"`
	// Active holds the modifier when true or omitted; false releases the hold.
	Active *bool `protobuf:"varint,3,opt,name=active,proto3,oneof" json:"active,omitempty"`
	// contains filtered or unexported fields
}

HoldModifierRequest holds or releases an ability's modifier on one player's hero.

func (*HoldModifierRequest) CloneMessageVT

func (*HoldModifierRequest) CloneVT

func (*HoldModifierRequest) EqualMessageVT

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

func (*HoldModifierRequest) EqualVT

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

func (*HoldModifierRequest) GetActive

func (x *HoldModifierRequest) GetActive() bool

func (*HoldModifierRequest) GetModifier

func (x *HoldModifierRequest) GetModifier() string

func (*HoldModifierRequest) GetPlayer

func (x *HoldModifierRequest) GetPlayer() int32

func (*HoldModifierRequest) MarshalJSON

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

MarshalJSON marshals the HoldModifierRequest to JSON.

func (*HoldModifierRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the HoldModifierRequest message to JSON.

func (*HoldModifierRequest) MarshalProtoText

func (x *HoldModifierRequest) MarshalProtoText() string

func (*HoldModifierRequest) MarshalToSizedBufferVT

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

func (*HoldModifierRequest) MarshalToVT

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

func (*HoldModifierRequest) MarshalVT

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

func (*HoldModifierRequest) ProtoMessage

func (*HoldModifierRequest) ProtoMessage()

func (*HoldModifierRequest) Reset

func (x *HoldModifierRequest) Reset()

func (*HoldModifierRequest) SizeVT

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

func (*HoldModifierRequest) String

func (x *HoldModifierRequest) String() string

func (*HoldModifierRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the HoldModifierRequest from JSON.

func (*HoldModifierRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the HoldModifierRequest message from JSON.

func (*HoldModifierRequest) UnmarshalVT

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

type HoldModifierStateRequest

type HoldModifierStateRequest struct {

	// Entity is the entity handle, such as Pawn.entity.
	Entity uint32 `protobuf:"varint,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// State is the state's name, such as MODIFIER_STATE_ITEMS_DISABLED.
	State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// Active holds the state when true or omitted; false releases the hold.
	Active *bool `protobuf:"varint,3,opt,name=active,proto3,oneof" json:"active,omitempty"`
	// contains filtered or unexported fields
}

HoldModifierStateRequest holds one modifier state on an entity, or releases it.

func (*HoldModifierStateRequest) CloneMessageVT

func (*HoldModifierStateRequest) CloneVT

func (*HoldModifierStateRequest) EqualMessageVT

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

func (*HoldModifierStateRequest) EqualVT

func (*HoldModifierStateRequest) GetActive

func (x *HoldModifierStateRequest) GetActive() bool

func (*HoldModifierStateRequest) GetEntity

func (x *HoldModifierStateRequest) GetEntity() uint32

func (*HoldModifierStateRequest) GetState

func (x *HoldModifierStateRequest) GetState() string

func (*HoldModifierStateRequest) MarshalJSON

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

MarshalJSON marshals the HoldModifierStateRequest to JSON.

func (*HoldModifierStateRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the HoldModifierStateRequest message to JSON.

func (*HoldModifierStateRequest) MarshalProtoText

func (x *HoldModifierStateRequest) MarshalProtoText() string

func (*HoldModifierStateRequest) MarshalToSizedBufferVT

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

func (*HoldModifierStateRequest) MarshalToVT

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

func (*HoldModifierStateRequest) MarshalVT

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

func (*HoldModifierStateRequest) ProtoMessage

func (*HoldModifierStateRequest) ProtoMessage()

func (*HoldModifierStateRequest) Reset

func (x *HoldModifierStateRequest) Reset()

func (*HoldModifierStateRequest) SizeVT

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

func (*HoldModifierStateRequest) String

func (x *HoldModifierStateRequest) String() string

func (*HoldModifierStateRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the HoldModifierStateRequest from JSON.

func (*HoldModifierStateRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the HoldModifierStateRequest message from JSON.

func (*HoldModifierStateRequest) UnmarshalVT

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

type HoldReloadRequest added in v0.1.2

type HoldReloadRequest struct {

	// Held is true to keep the running build through a reload, and false to
	// let a waiting reload apply.
	Held bool `protobuf:"varint,1,opt,name=held,proto3" json:"held,omitempty"`
	// contains filtered or unexported fields
}

HoldReloadRequest holds or releases the mod's running build.

func (*HoldReloadRequest) CloneMessageVT added in v0.1.2

func (m *HoldReloadRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*HoldReloadRequest) CloneVT added in v0.1.2

func (m *HoldReloadRequest) CloneVT() *HoldReloadRequest

func (*HoldReloadRequest) EqualMessageVT added in v0.1.2

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

func (*HoldReloadRequest) EqualVT added in v0.1.2

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

func (*HoldReloadRequest) GetHeld added in v0.1.2

func (x *HoldReloadRequest) GetHeld() bool

func (*HoldReloadRequest) MarshalJSON added in v0.1.2

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

MarshalJSON marshals the HoldReloadRequest to JSON.

func (*HoldReloadRequest) MarshalProtoJSON added in v0.1.2

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

MarshalProtoJSON marshals the HoldReloadRequest message to JSON.

func (*HoldReloadRequest) MarshalProtoText added in v0.1.2

func (x *HoldReloadRequest) MarshalProtoText() string

func (*HoldReloadRequest) MarshalToSizedBufferVT added in v0.1.2

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

func (*HoldReloadRequest) MarshalToVT added in v0.1.2

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

func (*HoldReloadRequest) MarshalVT added in v0.1.2

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

func (*HoldReloadRequest) ProtoMessage added in v0.1.2

func (*HoldReloadRequest) ProtoMessage()

func (*HoldReloadRequest) Reset added in v0.1.2

func (x *HoldReloadRequest) Reset()

func (*HoldReloadRequest) SizeVT added in v0.1.2

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

func (*HoldReloadRequest) String added in v0.1.2

func (x *HoldReloadRequest) String() string

func (*HoldReloadRequest) UnmarshalJSON added in v0.1.2

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

UnmarshalJSON unmarshals the HoldReloadRequest from JSON.

func (*HoldReloadRequest) UnmarshalProtoJSON added in v0.1.2

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

UnmarshalProtoJSON unmarshals the HoldReloadRequest message from JSON.

func (*HoldReloadRequest) UnmarshalVT added in v0.1.2

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

type ImpactEvent

type ImpactEvent struct {

	// Entity is the projectile's entity handle.
	Entity uint32 `protobuf:"varint,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// Name is the projectile's designer name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Owner is the entity that fired it, or zero.
	Owner uint32 `protobuf:"varint,3,opt,name=owner,proto3" json:"owner,omitempty"`
	// Player is the slot of the player whose hero fired it, or -1.
	Player int32 `protobuf:"varint,4,opt,name=player,proto3" json:"player,omitempty"`
	// Start and End are the projectile's movement this frame, which ended in
	// the strike.
	Start *modlock.Vec3 `protobuf:"bytes,5,opt,name=start,proto3" json:"start,omitempty"`
	End   *modlock.Vec3 `protobuf:"bytes,6,opt,name=end,proto3" json:"end,omitempty"`
	// Position is where it struck.
	Position *modlock.Vec3 `protobuf:"bytes,7,opt,name=position,proto3" json:"position,omitempty"`
	// Hit is the entity struck, or zero for the world.
	Hit uint32 `protobuf:"varint,8,opt,name=hit,proto3" json:"hit,omitempty"`
	// contains filtered or unexported fields
}

ImpactEvent is a watched projectile striking something.

func (*ImpactEvent) CloneMessageVT

func (m *ImpactEvent) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*ImpactEvent) CloneVT

func (m *ImpactEvent) CloneVT() *ImpactEvent

func (*ImpactEvent) EqualMessageVT

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

func (*ImpactEvent) EqualVT

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

func (*ImpactEvent) GetEnd

func (x *ImpactEvent) GetEnd() *modlock.Vec3

func (*ImpactEvent) GetEntity

func (x *ImpactEvent) GetEntity() uint32

func (*ImpactEvent) GetHit

func (x *ImpactEvent) GetHit() uint32

func (*ImpactEvent) GetName

func (x *ImpactEvent) GetName() string

func (*ImpactEvent) GetOwner

func (x *ImpactEvent) GetOwner() uint32

func (*ImpactEvent) GetPlayer

func (x *ImpactEvent) GetPlayer() int32

func (*ImpactEvent) GetPosition

func (x *ImpactEvent) GetPosition() *modlock.Vec3

func (*ImpactEvent) GetStart

func (x *ImpactEvent) GetStart() *modlock.Vec3

func (*ImpactEvent) MarshalJSON

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

MarshalJSON marshals the ImpactEvent to JSON.

func (*ImpactEvent) MarshalProtoJSON

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

MarshalProtoJSON marshals the ImpactEvent message to JSON.

func (*ImpactEvent) MarshalProtoText

func (x *ImpactEvent) MarshalProtoText() string

func (*ImpactEvent) MarshalToSizedBufferVT

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

func (*ImpactEvent) MarshalToVT

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

func (*ImpactEvent) MarshalVT

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

func (*ImpactEvent) ProtoMessage

func (*ImpactEvent) ProtoMessage()

func (*ImpactEvent) Reset

func (x *ImpactEvent) Reset()

func (*ImpactEvent) SizeVT

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

func (*ImpactEvent) String

func (x *ImpactEvent) String() string

func (*ImpactEvent) UnmarshalJSON

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

UnmarshalJSON unmarshals the ImpactEvent from JSON.

func (*ImpactEvent) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the ImpactEvent message from JSON.

func (*ImpactEvent) UnmarshalVT

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

type InputEvent

type InputEvent struct {

	// Player is the player who pressed.
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Pressed holds one bit per button that went down.
	Pressed uint64 `protobuf:"varint,2,opt,name=pressed,proto3" json:"pressed,omitempty"`
	// Released holds one bit per button that went up.
	Released uint64 `protobuf:"varint,3,opt,name=released,proto3" json:"released,omitempty"`
	// contains filtered or unexported fields
}

InputEvent is one player's watched buttons that went down or up.

func (*InputEvent) CloneMessageVT

func (m *InputEvent) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*InputEvent) CloneVT

func (m *InputEvent) CloneVT() *InputEvent

func (*InputEvent) EqualMessageVT

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

func (*InputEvent) EqualVT

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

func (*InputEvent) GetPlayer

func (x *InputEvent) GetPlayer() int32

func (*InputEvent) GetPressed

func (x *InputEvent) GetPressed() uint64

func (*InputEvent) GetReleased

func (x *InputEvent) GetReleased() uint64

func (*InputEvent) MarshalJSON

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

MarshalJSON marshals the InputEvent to JSON.

func (*InputEvent) MarshalProtoJSON

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

MarshalProtoJSON marshals the InputEvent message to JSON.

func (*InputEvent) MarshalProtoText

func (x *InputEvent) MarshalProtoText() string

func (*InputEvent) MarshalToSizedBufferVT

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

func (*InputEvent) MarshalToVT

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

func (*InputEvent) MarshalVT

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

func (*InputEvent) ProtoMessage

func (*InputEvent) ProtoMessage()

func (*InputEvent) Reset

func (x *InputEvent) Reset()

func (*InputEvent) SizeVT

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

func (*InputEvent) String

func (x *InputEvent) String() string

func (*InputEvent) UnmarshalJSON

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

UnmarshalJSON unmarshals the InputEvent from JSON.

func (*InputEvent) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the InputEvent message from JSON.

func (*InputEvent) UnmarshalVT

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

type InputRequest

type InputRequest struct {

	// Buttons holds one bit per button; zero names none.
	Buttons uint64 `protobuf:"varint,1,opt,name=buttons,proto3" json:"buttons,omitempty"`
	// contains filtered or unexported fields
}

InputRequest names buttons for every player. Buttons are the game's input bits; bit 42 is parry.

func (*InputRequest) CloneMessageVT

func (m *InputRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*InputRequest) CloneVT

func (m *InputRequest) CloneVT() *InputRequest

func (*InputRequest) EqualMessageVT

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

func (*InputRequest) EqualVT

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

func (*InputRequest) GetButtons

func (x *InputRequest) GetButtons() uint64

func (*InputRequest) MarshalJSON

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

MarshalJSON marshals the InputRequest to JSON.

func (*InputRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the InputRequest message to JSON.

func (*InputRequest) MarshalProtoText

func (x *InputRequest) MarshalProtoText() string

func (*InputRequest) MarshalToSizedBufferVT

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

func (*InputRequest) MarshalToVT

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

func (*InputRequest) MarshalVT

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

func (*InputRequest) ProtoMessage

func (*InputRequest) ProtoMessage()

func (*InputRequest) Reset

func (x *InputRequest) Reset()

func (*InputRequest) SizeVT

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

func (*InputRequest) String

func (x *InputRequest) String() string

func (*InputRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the InputRequest from JSON.

func (*InputRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the InputRequest message from JSON.

func (*InputRequest) UnmarshalVT

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

type KeyValue added in v0.1.1

type KeyValue struct {

	// Key is the key value's name, such as skin.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Value is the key value's value.
	Value *EntityValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

KeyValue is one spawn key value.

func (*KeyValue) CloneMessageVT added in v0.1.1

func (m *KeyValue) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*KeyValue) CloneVT added in v0.1.1

func (m *KeyValue) CloneVT() *KeyValue

func (*KeyValue) EqualMessageVT added in v0.1.1

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

func (*KeyValue) EqualVT added in v0.1.1

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

func (*KeyValue) GetKey added in v0.1.1

func (x *KeyValue) GetKey() string

func (*KeyValue) GetValue added in v0.1.1

func (x *KeyValue) GetValue() *EntityValue

func (*KeyValue) MarshalJSON added in v0.1.1

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

MarshalJSON marshals the KeyValue to JSON.

func (*KeyValue) MarshalProtoJSON added in v0.1.1

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

MarshalProtoJSON marshals the KeyValue message to JSON.

func (*KeyValue) MarshalProtoText added in v0.1.1

func (x *KeyValue) MarshalProtoText() string

func (*KeyValue) MarshalToSizedBufferVT added in v0.1.1

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

func (*KeyValue) MarshalToVT added in v0.1.1

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

func (*KeyValue) MarshalVT added in v0.1.1

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

func (*KeyValue) ProtoMessage added in v0.1.1

func (*KeyValue) ProtoMessage()

func (*KeyValue) Reset added in v0.1.1

func (x *KeyValue) Reset()

func (*KeyValue) SizeVT added in v0.1.1

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

func (*KeyValue) String added in v0.1.1

func (x *KeyValue) String() string

func (*KeyValue) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON unmarshals the KeyValue from JSON.

func (*KeyValue) UnmarshalProtoJSON added in v0.1.1

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

UnmarshalProtoJSON unmarshals the KeyValue message from JSON.

func (*KeyValue) UnmarshalVT added in v0.1.1

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

type LandedEvent

type LandedEvent struct {

	// Player is the slot of the player who landed.
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// On is the slot of the player landed on, or -1 for the world.
	On int32 `protobuf:"varint,2,opt,name=on,proto3" json:"on,omitempty"`
	// Speed is the downward speed just before landing, in units per second.
	Speed float32 `protobuf:"fixed32,3,opt,name=speed,proto3" json:"speed,omitempty"`
	// contains filtered or unexported fields
}

LandedEvent is one hero landing.

func (*LandedEvent) CloneMessageVT

func (m *LandedEvent) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*LandedEvent) CloneVT

func (m *LandedEvent) CloneVT() *LandedEvent

func (*LandedEvent) EqualMessageVT

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

func (*LandedEvent) EqualVT

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

func (*LandedEvent) GetOn

func (x *LandedEvent) GetOn() int32

func (*LandedEvent) GetPlayer

func (x *LandedEvent) GetPlayer() int32

func (*LandedEvent) GetSpeed

func (x *LandedEvent) GetSpeed() float32

func (*LandedEvent) MarshalJSON

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

MarshalJSON marshals the LandedEvent to JSON.

func (*LandedEvent) MarshalProtoJSON

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

MarshalProtoJSON marshals the LandedEvent message to JSON.

func (*LandedEvent) MarshalProtoText

func (x *LandedEvent) MarshalProtoText() string

func (*LandedEvent) MarshalToSizedBufferVT

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

func (*LandedEvent) MarshalToVT

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

func (*LandedEvent) MarshalVT

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

func (*LandedEvent) ProtoMessage

func (*LandedEvent) ProtoMessage()

func (*LandedEvent) Reset

func (x *LandedEvent) Reset()

func (*LandedEvent) SizeVT

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

func (*LandedEvent) String

func (x *LandedEvent) String() string

func (*LandedEvent) UnmarshalJSON

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

UnmarshalJSON unmarshals the LandedEvent from JSON.

func (*LandedEvent) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the LandedEvent message from JSON.

func (*LandedEvent) UnmarshalVT

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

type LaunchEvent

type LaunchEvent struct {

	// Entity is the projectile's entity handle.
	Entity uint32 `protobuf:"varint,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// Name is the projectile's designer name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Owner is the entity that fired it, or zero.
	Owner uint32 `protobuf:"varint,3,opt,name=owner,proto3" json:"owner,omitempty"`
	// Player is the slot of the player whose hero fired it, or -1.
	Player int32 `protobuf:"varint,4,opt,name=player,proto3" json:"player,omitempty"`
	// Position is where the projectile is.
	Position *modlock.Vec3 `protobuf:"bytes,5,opt,name=position,proto3" json:"position,omitempty"`
	// contains filtered or unexported fields
}

LaunchEvent is a watched projectile's first frame.

func (*LaunchEvent) CloneMessageVT

func (m *LaunchEvent) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*LaunchEvent) CloneVT

func (m *LaunchEvent) CloneVT() *LaunchEvent

func (*LaunchEvent) EqualMessageVT

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

func (*LaunchEvent) EqualVT

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

func (*LaunchEvent) GetEntity

func (x *LaunchEvent) GetEntity() uint32

func (*LaunchEvent) GetName

func (x *LaunchEvent) GetName() string

func (*LaunchEvent) GetOwner

func (x *LaunchEvent) GetOwner() uint32

func (*LaunchEvent) GetPlayer

func (x *LaunchEvent) GetPlayer() int32

func (*LaunchEvent) GetPosition

func (x *LaunchEvent) GetPosition() *modlock.Vec3

func (*LaunchEvent) MarshalJSON

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

MarshalJSON marshals the LaunchEvent to JSON.

func (*LaunchEvent) MarshalProtoJSON

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

MarshalProtoJSON marshals the LaunchEvent message to JSON.

func (*LaunchEvent) MarshalProtoText

func (x *LaunchEvent) MarshalProtoText() string

func (*LaunchEvent) MarshalToSizedBufferVT

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

func (*LaunchEvent) MarshalToVT

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

func (*LaunchEvent) MarshalVT

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

func (*LaunchEvent) ProtoMessage

func (*LaunchEvent) ProtoMessage()

func (*LaunchEvent) Reset

func (x *LaunchEvent) Reset()

func (*LaunchEvent) SizeVT

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

func (*LaunchEvent) String

func (x *LaunchEvent) String() string

func (*LaunchEvent) UnmarshalJSON

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

UnmarshalJSON unmarshals the LaunchEvent from JSON.

func (*LaunchEvent) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the LaunchEvent message from JSON.

func (*LaunchEvent) UnmarshalVT

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

type LogRequest

type LogRequest struct {

	// Message is the text to log, without a trailing newline.
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

LogRequest carries one log line.

func (*LogRequest) CloneMessageVT

func (m *LogRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*LogRequest) CloneVT

func (m *LogRequest) CloneVT() *LogRequest

func (*LogRequest) EqualMessageVT

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

func (*LogRequest) EqualVT

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

func (*LogRequest) GetMessage

func (x *LogRequest) GetMessage() string

func (*LogRequest) MarshalJSON

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

MarshalJSON marshals the LogRequest to JSON.

func (*LogRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the LogRequest message to JSON.

func (*LogRequest) MarshalProtoText

func (x *LogRequest) MarshalProtoText() string

func (*LogRequest) MarshalToSizedBufferVT

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

func (*LogRequest) MarshalToVT

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

func (*LogRequest) MarshalVT

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

func (*LogRequest) ProtoMessage

func (*LogRequest) ProtoMessage()

func (*LogRequest) Reset

func (x *LogRequest) Reset()

func (*LogRequest) SizeVT

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

func (*LogRequest) String

func (x *LogRequest) String() string

func (*LogRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the LogRequest from JSON.

func (*LogRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the LogRequest message from JSON.

func (*LogRequest) UnmarshalVT

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

type Manifest

type Manifest struct {

	// Slug identifies the mod: lowercase letters, digits and hyphens.
	Slug string `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`
	// Name is the mod's display name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Version is the mod's semantic version.
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// Language is the source language, set in a source project.
	Language Manifest_Language `protobuf:"varint,4,opt,name=language,proto3" json:"language,omitempty"`
	// Runtime is the module that runs the built mod. A script mod's source
	// project sets RUNTIME_WASM to publish a module compiled with scriptc
	// instead of a bundle for QuickJS.
	Runtime Manifest_Runtime `protobuf:"varint,5,opt,name=runtime,proto3" json:"runtime,omitempty"`
	// Entry is the built mod's entry file, relative to mod.json.
	Entry string `protobuf:"bytes,6,opt,name=entry,proto3" json:"entry,omitempty"`
	// Map is the map the mod plays on; empty plays the default map.
	Map string `protobuf:"bytes,7,opt,name=map,proto3" json:"map,omitempty"`
	// Movement replaces how heroes move on the server and in each player's
	// game.
	Movement *Movement `protobuf:"bytes,8,opt,name=movement,proto3" json:"movement,omitempty"`
	// Abilities change abilities' data on the server and in each player's
	// game.
	Abilities []*AbilityTuning `protobuf:"bytes,9,rep,name=abilities,proto3" json:"abilities,omitempty"`
	// Settings are the choices each player makes about the mod, which the mod
	// reads with PlayerSetting.
	Settings []*Setting `protobuf:"bytes,10,rep,name=settings,proto3" json:"settings,omitempty"`
	// Metrics are the measures the mod keeps for each player, which the mod
	// adds to with AddMetric.
	Metrics []*Metric `protobuf:"bytes,11,rep,name=metrics,proto3" json:"metrics,omitempty"`
	// FreeForAll starts the mod in free-for-all: the game shows no team screen,
	// the host seats each new player on the smaller team and opens the hero
	// picker, and every hero can damage every other. The mod can change it
	// while it runs with SetFreeForAll. Meant for dedicated servers.
	FreeForAll bool `protobuf:"varint,12,opt,name=free_for_all,json=freeForAll,proto3" json:"freeForAll,omitempty"`
	// contains filtered or unexported fields
}

Manifest describes a mod in its mod.json. A source project's manifest names its language; modlock build writes a built mod's manifest beside the entry, naming its runtime and entry instead.

func (*Manifest) CloneMessageVT

func (m *Manifest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*Manifest) CloneVT

func (m *Manifest) CloneVT() *Manifest

func (*Manifest) EqualMessageVT

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

func (*Manifest) EqualVT

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

func (*Manifest) GetAbilities

func (x *Manifest) GetAbilities() []*AbilityTuning

func (*Manifest) GetEntry

func (x *Manifest) GetEntry() string

func (*Manifest) GetFreeForAll added in v0.1.4

func (x *Manifest) GetFreeForAll() bool

func (*Manifest) GetLanguage

func (x *Manifest) GetLanguage() Manifest_Language

func (*Manifest) GetMap

func (x *Manifest) GetMap() string

func (*Manifest) GetMetrics

func (x *Manifest) GetMetrics() []*Metric

func (*Manifest) GetMovement

func (x *Manifest) GetMovement() *Movement

func (*Manifest) GetName

func (x *Manifest) GetName() string

func (*Manifest) GetRuntime

func (x *Manifest) GetRuntime() Manifest_Runtime

func (*Manifest) GetSettings

func (x *Manifest) GetSettings() []*Setting

func (*Manifest) GetSlug

func (x *Manifest) GetSlug() string

func (*Manifest) GetVersion

func (x *Manifest) GetVersion() string

func (*Manifest) MarshalJSON

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

MarshalJSON marshals the Manifest to JSON.

func (*Manifest) MarshalProtoJSON

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

MarshalProtoJSON marshals the Manifest message to JSON.

func (*Manifest) MarshalProtoText

func (x *Manifest) MarshalProtoText() string

func (*Manifest) MarshalToSizedBufferVT

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

func (*Manifest) MarshalToVT

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

func (*Manifest) MarshalVT

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

func (*Manifest) ProtoMessage

func (*Manifest) ProtoMessage()

func (*Manifest) Reset

func (x *Manifest) Reset()

func (*Manifest) SizeVT

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

func (*Manifest) String

func (x *Manifest) String() string

func (*Manifest) UnmarshalJSON

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

UnmarshalJSON unmarshals the Manifest from JSON.

func (*Manifest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the Manifest message from JSON.

func (*Manifest) UnmarshalVT

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

type Manifest_Language

type Manifest_Language int32

Language is the language a mod's source is written in.

const (
	// LANGUAGE_UNKNOWN is an unset or unsupported language.
	Manifest_LANGUAGE_UNKNOWN Manifest_Language = 0
	// LANGUAGE_GO builds with Go into a module of its own.
	Manifest_LANGUAGE_GO Manifest_Language = 1
	// LANGUAGE_TYPESCRIPT bundles to JavaScript for QuickJS.
	Manifest_LANGUAGE_TYPESCRIPT Manifest_Language = 2
	// LANGUAGE_JAVASCRIPT bundles for QuickJS, type checked from JSDoc.
	Manifest_LANGUAGE_JAVASCRIPT Manifest_Language = 3
	// LANGUAGE_LUAU runs on Luau.
	Manifest_LANGUAGE_LUAU Manifest_Language = 4
	// LANGUAGE_PYTHON runs on CPython.
	Manifest_LANGUAGE_PYTHON Manifest_Language = 5
)

func (Manifest_Language) Enum

func (Manifest_Language) MarshalJSON

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

MarshalJSON marshals the Manifest_Language to JSON.

func (Manifest_Language) MarshalProtoJSON

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

MarshalProtoJSON marshals the Manifest_Language to JSON.

func (Manifest_Language) MarshalProtoText

func (x Manifest_Language) MarshalProtoText() string

func (Manifest_Language) MarshalText

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

MarshalText marshals the Manifest_Language to text.

func (Manifest_Language) String

func (x Manifest_Language) String() string

func (*Manifest_Language) UnmarshalJSON

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

UnmarshalJSON unmarshals the Manifest_Language from JSON.

func (*Manifest_Language) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the Manifest_Language from JSON.

func (*Manifest_Language) UnmarshalText

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

UnmarshalText unmarshals the Manifest_Language from text.

type Manifest_Runtime

type Manifest_Runtime int32

Runtime is the WebAssembly module that runs a built mod.

const (
	// RUNTIME_UNKNOWN is an unset or unsupported runtime.
	Manifest_RUNTIME_UNKNOWN Manifest_Runtime = 0
	// RUNTIME_WASM runs the entry itself, a module compiled from the mod.
	Manifest_RUNTIME_WASM Manifest_Runtime = 1
	// RUNTIME_QUICKJS runs the entry, one JavaScript bundle, on QuickJS.
	Manifest_RUNTIME_QUICKJS Manifest_Runtime = 2
	// RUNTIME_LUAU runs the entry, a zip of Luau sources, on Luau.
	Manifest_RUNTIME_LUAU Manifest_Runtime = 3
	// RUNTIME_PYTHON runs the entry, a zip of Python sources, on CPython.
	Manifest_RUNTIME_PYTHON Manifest_Runtime = 4
)

func (Manifest_Runtime) Enum

func (Manifest_Runtime) MarshalJSON

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

MarshalJSON marshals the Manifest_Runtime to JSON.

func (Manifest_Runtime) MarshalProtoJSON

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

MarshalProtoJSON marshals the Manifest_Runtime to JSON.

func (Manifest_Runtime) MarshalProtoText

func (x Manifest_Runtime) MarshalProtoText() string

func (Manifest_Runtime) MarshalText

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

MarshalText marshals the Manifest_Runtime to text.

func (Manifest_Runtime) String

func (x Manifest_Runtime) String() string

func (*Manifest_Runtime) UnmarshalJSON

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

UnmarshalJSON unmarshals the Manifest_Runtime from JSON.

func (*Manifest_Runtime) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the Manifest_Runtime from JSON.

func (*Manifest_Runtime) UnmarshalText

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

UnmarshalText unmarshals the Manifest_Runtime from text.

type MatchClockResponse

type MatchClockResponse struct {
	Seconds float32 `protobuf:"fixed32,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
	// contains filtered or unexported fields
}

MatchClockResponse holds the match time.

func (*MatchClockResponse) CloneMessageVT

func (m *MatchClockResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*MatchClockResponse) CloneVT

func (m *MatchClockResponse) CloneVT() *MatchClockResponse

func (*MatchClockResponse) EqualMessageVT

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

func (*MatchClockResponse) EqualVT

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

func (*MatchClockResponse) GetSeconds

func (x *MatchClockResponse) GetSeconds() float32

func (*MatchClockResponse) MarshalJSON

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

MarshalJSON marshals the MatchClockResponse to JSON.

func (*MatchClockResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the MatchClockResponse message to JSON.

func (*MatchClockResponse) MarshalProtoText

func (x *MatchClockResponse) MarshalProtoText() string

func (*MatchClockResponse) MarshalToSizedBufferVT

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

func (*MatchClockResponse) MarshalToVT

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

func (*MatchClockResponse) MarshalVT

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

func (*MatchClockResponse) ProtoMessage

func (*MatchClockResponse) ProtoMessage()

func (*MatchClockResponse) Reset

func (x *MatchClockResponse) Reset()

func (*MatchClockResponse) SizeVT

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

func (*MatchClockResponse) String

func (x *MatchClockResponse) String() string

func (*MatchClockResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the MatchClockResponse from JSON.

func (*MatchClockResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the MatchClockResponse message from JSON.

func (*MatchClockResponse) UnmarshalVT

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

type Metric

type Metric struct {

	// Name names the metric in the mod's code: up to 64 letters, digits,
	// underscores and dots, starting with a letter or an underscore.
	Name string      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Kind Metric_Kind `protobuf:"varint,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// Labels are the values a call may label the metric with: letters,
	// digits, dots, underscores and hyphens. Empty takes no label.
	Labels []string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

Metric is one measure a mod keeps for each player, such as how often the player opens a HUD panel. A metric with labels keeps one total per label, such as one per HUD layout.

func (*Metric) CloneMessageVT

func (m *Metric) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*Metric) CloneVT

func (m *Metric) CloneVT() *Metric

func (*Metric) EqualMessageVT

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

func (*Metric) EqualVT

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

func (*Metric) GetKind

func (x *Metric) GetKind() Metric_Kind

func (*Metric) GetLabels

func (x *Metric) GetLabels() []string

func (*Metric) GetName

func (x *Metric) GetName() string

func (*Metric) MarshalJSON

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

MarshalJSON marshals the Metric to JSON.

func (*Metric) MarshalProtoJSON

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

MarshalProtoJSON marshals the Metric message to JSON.

func (*Metric) MarshalProtoText

func (x *Metric) MarshalProtoText() string

func (*Metric) MarshalToSizedBufferVT

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

func (*Metric) MarshalToVT

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

func (*Metric) MarshalVT

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

func (*Metric) ProtoMessage

func (*Metric) ProtoMessage()

func (*Metric) Reset

func (x *Metric) Reset()

func (*Metric) SizeVT

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

func (*Metric) String

func (x *Metric) String() string

func (*Metric) UnmarshalJSON

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

UnmarshalJSON unmarshals the Metric from JSON.

func (*Metric) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the Metric message from JSON.

func (*Metric) UnmarshalVT

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

type MetricTotal

type MetricTotal struct {
	Name  string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Label string  `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	Value float64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

MetricTotal is one player's total of one metric and label.

func (*MetricTotal) CloneMessageVT

func (m *MetricTotal) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*MetricTotal) CloneVT

func (m *MetricTotal) CloneVT() *MetricTotal

func (*MetricTotal) EqualMessageVT

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

func (*MetricTotal) EqualVT

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

func (*MetricTotal) GetLabel

func (x *MetricTotal) GetLabel() string

func (*MetricTotal) GetName

func (x *MetricTotal) GetName() string

func (*MetricTotal) GetValue

func (x *MetricTotal) GetValue() float64

func (*MetricTotal) MarshalJSON

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

MarshalJSON marshals the MetricTotal to JSON.

func (*MetricTotal) MarshalProtoJSON

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

MarshalProtoJSON marshals the MetricTotal message to JSON.

func (*MetricTotal) MarshalProtoText

func (x *MetricTotal) MarshalProtoText() string

func (*MetricTotal) MarshalToSizedBufferVT

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

func (*MetricTotal) MarshalToVT

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

func (*MetricTotal) MarshalVT

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

func (*MetricTotal) ProtoMessage

func (*MetricTotal) ProtoMessage()

func (*MetricTotal) Reset

func (x *MetricTotal) Reset()

func (*MetricTotal) SizeVT

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

func (*MetricTotal) String

func (x *MetricTotal) String() string

func (*MetricTotal) UnmarshalJSON

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

UnmarshalJSON unmarshals the MetricTotal from JSON.

func (*MetricTotal) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the MetricTotal message from JSON.

func (*MetricTotal) UnmarshalVT

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

type MetricTotals

type MetricTotals struct {
	Totals []*MetricTotal `protobuf:"bytes,1,rep,name=totals,proto3" json:"totals,omitempty"`
	// contains filtered or unexported fields
}

MetricTotals are one player's totals for one mod's session.

func (*MetricTotals) CloneMessageVT

func (m *MetricTotals) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*MetricTotals) CloneVT

func (m *MetricTotals) CloneVT() *MetricTotals

func (*MetricTotals) EqualMessageVT

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

func (*MetricTotals) EqualVT

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

func (*MetricTotals) GetTotals

func (x *MetricTotals) GetTotals() []*MetricTotal

func (*MetricTotals) MarshalJSON

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

MarshalJSON marshals the MetricTotals to JSON.

func (*MetricTotals) MarshalProtoJSON

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

MarshalProtoJSON marshals the MetricTotals message to JSON.

func (*MetricTotals) MarshalProtoText

func (x *MetricTotals) MarshalProtoText() string

func (*MetricTotals) MarshalToSizedBufferVT

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

func (*MetricTotals) MarshalToVT

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

func (*MetricTotals) MarshalVT

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

func (*MetricTotals) ProtoMessage

func (*MetricTotals) ProtoMessage()

func (*MetricTotals) Reset

func (x *MetricTotals) Reset()

func (*MetricTotals) SizeVT

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

func (*MetricTotals) String

func (x *MetricTotals) String() string

func (*MetricTotals) UnmarshalJSON

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

UnmarshalJSON unmarshals the MetricTotals from JSON.

func (*MetricTotals) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the MetricTotals message from JSON.

func (*MetricTotals) UnmarshalVT

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

type Metric_Kind

type Metric_Kind int32

Kind is how a metric combines the values added to it.

const (
	// KIND_UNKNOWN is an unset or unsupported kind.
	Metric_KIND_UNKNOWN Metric_Kind = 0
	// KIND_COUNT counts the calls.
	Metric_KIND_COUNT Metric_Kind = 1
	// KIND_SUM adds the values.
	Metric_KIND_SUM Metric_Kind = 2
	// KIND_MAX keeps the largest value.
	Metric_KIND_MAX Metric_Kind = 3
)

func (Metric_Kind) Enum

func (x Metric_Kind) Enum() *Metric_Kind

func (Metric_Kind) MarshalJSON

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

MarshalJSON marshals the Metric_Kind to JSON.

func (Metric_Kind) MarshalProtoJSON

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

MarshalProtoJSON marshals the Metric_Kind to JSON.

func (Metric_Kind) MarshalProtoText

func (x Metric_Kind) MarshalProtoText() string

func (Metric_Kind) MarshalText

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

MarshalText marshals the Metric_Kind to text.

func (Metric_Kind) String

func (x Metric_Kind) String() string

func (*Metric_Kind) UnmarshalJSON

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

UnmarshalJSON unmarshals the Metric_Kind from JSON.

func (*Metric_Kind) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the Metric_Kind from JSON.

func (*Metric_Kind) UnmarshalText

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

UnmarshalText unmarshals the Metric_Kind from text.

type ModelOptions

type ModelOptions struct {

	// Resource is the model's path, which the mod precached.
	Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// Position is the model's origin.
	Position *modlock.Vec3 `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
	// Facing is the model's rotation.
	Facing *modlock.EulerAngles `protobuf:"bytes,3,opt,name=facing,proto3,oneof" json:"facing,omitempty"`
	// Scale multiplies the model's size; the default is 1.
	Scale *float32 `protobuf:"fixed32,4,opt,name=scale,proto3,oneof" json:"scale,omitempty"`
	// Color tints the model as 0xRRGGBBAA.
	Color *uint32 `protobuf:"fixed32,5,opt,name=color,proto3,oneof" json:"color,omitempty"`
	// Glow outlines the model through walls.
	Glow *bool `protobuf:"varint,6,opt,name=glow,proto3,oneof" json:"glow,omitempty"`
	// Solid makes heroes and traces collide with the model's physics shape,
	// scaled with the model. Without it, everything passes through.
	Solid *bool `protobuf:"varint,7,opt,name=solid,proto3,oneof" json:"solid,omitempty"`
	// contains filtered or unexported fields
}

ModelOptions describes a model placed in the world.

func (*ModelOptions) CloneMessageVT

func (m *ModelOptions) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*ModelOptions) CloneVT

func (m *ModelOptions) CloneVT() *ModelOptions

func (*ModelOptions) EqualMessageVT

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

func (*ModelOptions) EqualVT

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

func (*ModelOptions) GetColor

func (x *ModelOptions) GetColor() uint32

func (*ModelOptions) GetFacing

func (x *ModelOptions) GetFacing() *modlock.EulerAngles

func (*ModelOptions) GetGlow

func (x *ModelOptions) GetGlow() bool

func (*ModelOptions) GetPosition

func (x *ModelOptions) GetPosition() *modlock.Vec3

func (*ModelOptions) GetResource

func (x *ModelOptions) GetResource() string

func (*ModelOptions) GetScale

func (x *ModelOptions) GetScale() float32

func (*ModelOptions) GetSolid

func (x *ModelOptions) GetSolid() bool

func (*ModelOptions) MarshalJSON

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

MarshalJSON marshals the ModelOptions to JSON.

func (*ModelOptions) MarshalProtoJSON

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

MarshalProtoJSON marshals the ModelOptions message to JSON.

func (*ModelOptions) MarshalProtoText

func (x *ModelOptions) MarshalProtoText() string

func (*ModelOptions) MarshalToSizedBufferVT

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

func (*ModelOptions) MarshalToVT

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

func (*ModelOptions) MarshalVT

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

func (*ModelOptions) ProtoMessage

func (*ModelOptions) ProtoMessage()

func (*ModelOptions) Reset

func (x *ModelOptions) Reset()

func (*ModelOptions) SizeVT

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

func (*ModelOptions) String

func (x *ModelOptions) String() string

func (*ModelOptions) UnmarshalJSON

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

UnmarshalJSON unmarshals the ModelOptions from JSON.

func (*ModelOptions) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the ModelOptions message from JSON.

func (*ModelOptions) UnmarshalVT

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

type ModifierStateRequest

type ModifierStateRequest struct {

	// Entity is the entity's handle.
	Entity uint32 `protobuf:"varint,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// State is the EModifierState name, such as MODIFIER_STATE_PARRY_ACTIVE.
	State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

ModifierStateRequest asks whether a modifier state is active on an entity.

func (*ModifierStateRequest) CloneMessageVT

func (*ModifierStateRequest) CloneVT

func (*ModifierStateRequest) EqualMessageVT

func (this *ModifierStateRequest) EqualMessageVT(thatMsg any) bool

func (*ModifierStateRequest) EqualVT

func (this *ModifierStateRequest) EqualVT(that *ModifierStateRequest) bool

func (*ModifierStateRequest) GetEntity

func (x *ModifierStateRequest) GetEntity() uint32

func (*ModifierStateRequest) GetState

func (x *ModifierStateRequest) GetState() string

func (*ModifierStateRequest) MarshalJSON

func (x *ModifierStateRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ModifierStateRequest to JSON.

func (*ModifierStateRequest) MarshalProtoJSON

func (x *ModifierStateRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ModifierStateRequest message to JSON.

func (*ModifierStateRequest) MarshalProtoText

func (x *ModifierStateRequest) MarshalProtoText() string

func (*ModifierStateRequest) MarshalToSizedBufferVT

func (m *ModifierStateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ModifierStateRequest) MarshalToVT

func (m *ModifierStateRequest) MarshalToVT(dAtA []byte) (int, error)

func (*ModifierStateRequest) MarshalVT

func (m *ModifierStateRequest) MarshalVT() (dAtA []byte, err error)

func (*ModifierStateRequest) ProtoMessage

func (*ModifierStateRequest) ProtoMessage()

func (*ModifierStateRequest) Reset

func (x *ModifierStateRequest) Reset()

func (*ModifierStateRequest) SizeVT

func (m *ModifierStateRequest) SizeVT() (n int)

func (*ModifierStateRequest) String

func (x *ModifierStateRequest) String() string

func (*ModifierStateRequest) UnmarshalJSON

func (x *ModifierStateRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ModifierStateRequest from JSON.

func (*ModifierStateRequest) UnmarshalProtoJSON

func (x *ModifierStateRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ModifierStateRequest message from JSON.

func (*ModifierStateRequest) UnmarshalVT

func (m *ModifierStateRequest) UnmarshalVT(dAtA []byte) error

type MoveEntityRequest

type MoveEntityRequest struct {

	// Entity is the entity's handle.
	Entity uint32 `protobuf:"varint,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// Position is the entity's new origin.
	Position *modlock.Vec3 `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
	// Facing replaces the entity's angles when present.
	Facing *modlock.EulerAngles `protobuf:"bytes,3,opt,name=facing,proto3,oneof" json:"facing,omitempty"`
	// Velocity replaces the entity's motion when present.
	Velocity *modlock.Vec3 `protobuf:"bytes,4,opt,name=velocity,proto3,oneof" json:"velocity,omitempty"`
	// contains filtered or unexported fields
}

MoveEntityRequest places one entity.

func (*MoveEntityRequest) CloneMessageVT

func (m *MoveEntityRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*MoveEntityRequest) CloneVT

func (m *MoveEntityRequest) CloneVT() *MoveEntityRequest

func (*MoveEntityRequest) EqualMessageVT

func (this *MoveEntityRequest) EqualMessageVT(thatMsg any) bool

func (*MoveEntityRequest) EqualVT

func (this *MoveEntityRequest) EqualVT(that *MoveEntityRequest) bool

func (*MoveEntityRequest) GetEntity

func (x *MoveEntityRequest) GetEntity() uint32

func (*MoveEntityRequest) GetFacing

func (x *MoveEntityRequest) GetFacing() *modlock.EulerAngles

func (*MoveEntityRequest) GetPosition

func (x *MoveEntityRequest) GetPosition() *modlock.Vec3

func (*MoveEntityRequest) GetVelocity

func (x *MoveEntityRequest) GetVelocity() *modlock.Vec3

func (*MoveEntityRequest) MarshalJSON

func (x *MoveEntityRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the MoveEntityRequest to JSON.

func (*MoveEntityRequest) MarshalProtoJSON

func (x *MoveEntityRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the MoveEntityRequest message to JSON.

func (*MoveEntityRequest) MarshalProtoText

func (x *MoveEntityRequest) MarshalProtoText() string

func (*MoveEntityRequest) MarshalToSizedBufferVT

func (m *MoveEntityRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*MoveEntityRequest) MarshalToVT

func (m *MoveEntityRequest) MarshalToVT(dAtA []byte) (int, error)

func (*MoveEntityRequest) MarshalVT

func (m *MoveEntityRequest) MarshalVT() (dAtA []byte, err error)

func (*MoveEntityRequest) ProtoMessage

func (*MoveEntityRequest) ProtoMessage()

func (*MoveEntityRequest) Reset

func (x *MoveEntityRequest) Reset()

func (*MoveEntityRequest) SizeVT

func (m *MoveEntityRequest) SizeVT() (n int)

func (*MoveEntityRequest) String

func (x *MoveEntityRequest) String() string

func (*MoveEntityRequest) UnmarshalJSON

func (x *MoveEntityRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the MoveEntityRequest from JSON.

func (*MoveEntityRequest) UnmarshalProtoJSON

func (x *MoveEntityRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the MoveEntityRequest message from JSON.

func (*MoveEntityRequest) UnmarshalVT

func (m *MoveEntityRequest) UnmarshalVT(dAtA []byte) error

type MoveNpcRequest

type MoveNpcRequest struct {
	Npc uint32 `protobuf:"varint,1,opt,name=npc,proto3" json:"npc,omitempty"`
	// Position is the unit's new origin.
	Position *modlock.Vec3 `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
	// Facing is where the unit faces afterwards.
	Facing *modlock.EulerAngles `protobuf:"bytes,3,opt,name=facing,proto3,oneof" json:"facing,omitempty"`
	// Velocity is the unit's motion, which drives its walk animation.
	Velocity *modlock.Vec3 `protobuf:"bytes,4,opt,name=velocity,proto3,oneof" json:"velocity,omitempty"`
	// contains filtered or unexported fields
}

MoveNpcRequest places one unit.

func (*MoveNpcRequest) CloneMessageVT

func (m *MoveNpcRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*MoveNpcRequest) CloneVT

func (m *MoveNpcRequest) CloneVT() *MoveNpcRequest

func (*MoveNpcRequest) EqualMessageVT

func (this *MoveNpcRequest) EqualMessageVT(thatMsg any) bool

func (*MoveNpcRequest) EqualVT

func (this *MoveNpcRequest) EqualVT(that *MoveNpcRequest) bool

func (*MoveNpcRequest) GetFacing

func (x *MoveNpcRequest) GetFacing() *modlock.EulerAngles

func (*MoveNpcRequest) GetNpc

func (x *MoveNpcRequest) GetNpc() uint32

func (*MoveNpcRequest) GetPosition

func (x *MoveNpcRequest) GetPosition() *modlock.Vec3

func (*MoveNpcRequest) GetVelocity

func (x *MoveNpcRequest) GetVelocity() *modlock.Vec3

func (*MoveNpcRequest) MarshalJSON

func (x *MoveNpcRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the MoveNpcRequest to JSON.

func (*MoveNpcRequest) MarshalProtoJSON

func (x *MoveNpcRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the MoveNpcRequest message to JSON.

func (*MoveNpcRequest) MarshalProtoText

func (x *MoveNpcRequest) MarshalProtoText() string

func (*MoveNpcRequest) MarshalToSizedBufferVT

func (m *MoveNpcRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*MoveNpcRequest) MarshalToVT

func (m *MoveNpcRequest) MarshalToVT(dAtA []byte) (int, error)

func (*MoveNpcRequest) MarshalVT

func (m *MoveNpcRequest) MarshalVT() (dAtA []byte, err error)

func (*MoveNpcRequest) ProtoMessage

func (*MoveNpcRequest) ProtoMessage()

func (*MoveNpcRequest) Reset

func (x *MoveNpcRequest) Reset()

func (*MoveNpcRequest) SizeVT

func (m *MoveNpcRequest) SizeVT() (n int)

func (*MoveNpcRequest) String

func (x *MoveNpcRequest) String() string

func (*MoveNpcRequest) UnmarshalJSON

func (x *MoveNpcRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the MoveNpcRequest from JSON.

func (*MoveNpcRequest) UnmarshalProtoJSON

func (x *MoveNpcRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the MoveNpcRequest message from JSON.

func (*MoveNpcRequest) UnmarshalVT

func (m *MoveNpcRequest) UnmarshalVT(dAtA []byte) error

type MoveObjectRequest

type MoveObjectRequest struct {
	Object uint32 `protobuf:"varint,1,opt,name=object,proto3" json:"object,omitempty"`
	// Position is the object's new origin.
	Position *modlock.Vec3 `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
	// Facing is the object's new rotation, kept when omitted.
	Facing *modlock.EulerAngles `protobuf:"bytes,3,opt,name=facing,proto3,oneof" json:"facing,omitempty"`
	// contains filtered or unexported fields
}

MoveObjectRequest moves one object the mod created.

func (*MoveObjectRequest) CloneMessageVT

func (m *MoveObjectRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*MoveObjectRequest) CloneVT

func (m *MoveObjectRequest) CloneVT() *MoveObjectRequest

func (*MoveObjectRequest) EqualMessageVT

func (this *MoveObjectRequest) EqualMessageVT(thatMsg any) bool

func (*MoveObjectRequest) EqualVT

func (this *MoveObjectRequest) EqualVT(that *MoveObjectRequest) bool

func (*MoveObjectRequest) GetFacing

func (x *MoveObjectRequest) GetFacing() *modlock.EulerAngles

func (*MoveObjectRequest) GetObject

func (x *MoveObjectRequest) GetObject() uint32

func (*MoveObjectRequest) GetPosition

func (x *MoveObjectRequest) GetPosition() *modlock.Vec3

func (*MoveObjectRequest) MarshalJSON

func (x *MoveObjectRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the MoveObjectRequest to JSON.

func (*MoveObjectRequest) MarshalProtoJSON

func (x *MoveObjectRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the MoveObjectRequest message to JSON.

func (*MoveObjectRequest) MarshalProtoText

func (x *MoveObjectRequest) MarshalProtoText() string

func (*MoveObjectRequest) MarshalToSizedBufferVT

func (m *MoveObjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*MoveObjectRequest) MarshalToVT

func (m *MoveObjectRequest) MarshalToVT(dAtA []byte) (int, error)

func (*MoveObjectRequest) MarshalVT

func (m *MoveObjectRequest) MarshalVT() (dAtA []byte, err error)

func (*MoveObjectRequest) ProtoMessage

func (*MoveObjectRequest) ProtoMessage()

func (*MoveObjectRequest) Reset

func (x *MoveObjectRequest) Reset()

func (*MoveObjectRequest) SizeVT

func (m *MoveObjectRequest) SizeVT() (n int)

func (*MoveObjectRequest) String

func (x *MoveObjectRequest) String() string

func (*MoveObjectRequest) UnmarshalJSON

func (x *MoveObjectRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the MoveObjectRequest from JSON.

func (*MoveObjectRequest) UnmarshalProtoJSON

func (x *MoveObjectRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the MoveObjectRequest message from JSON.

func (*MoveObjectRequest) UnmarshalVT

func (m *MoveObjectRequest) UnmarshalVT(dAtA []byte) error

type MovePlayerRequest added in v0.1.1

type MovePlayerRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Position is the hero's new origin.
	Position *modlock.Vec3 `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
	// Facing is where the hero aims; the body turns only by its yaw.
	Facing *modlock.EulerAngles `protobuf:"bytes,3,opt,name=facing,proto3" json:"facing,omitempty"`
	// Velocity is the hero's motion, which drives its run animation.
	Velocity *modlock.Vec3 `protobuf:"bytes,4,opt,name=velocity,proto3,oneof" json:"velocity,omitempty"`
	// contains filtered or unexported fields
}

MovePlayerRequest moves one player's hero a step.

func (*MovePlayerRequest) CloneMessageVT added in v0.1.1

func (m *MovePlayerRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*MovePlayerRequest) CloneVT added in v0.1.1

func (m *MovePlayerRequest) CloneVT() *MovePlayerRequest

func (*MovePlayerRequest) EqualMessageVT added in v0.1.1

func (this *MovePlayerRequest) EqualMessageVT(thatMsg any) bool

func (*MovePlayerRequest) EqualVT added in v0.1.1

func (this *MovePlayerRequest) EqualVT(that *MovePlayerRequest) bool

func (*MovePlayerRequest) GetFacing added in v0.1.1

func (x *MovePlayerRequest) GetFacing() *modlock.EulerAngles

func (*MovePlayerRequest) GetPlayer added in v0.1.1

func (x *MovePlayerRequest) GetPlayer() int32

func (*MovePlayerRequest) GetPosition added in v0.1.1

func (x *MovePlayerRequest) GetPosition() *modlock.Vec3

func (*MovePlayerRequest) GetVelocity added in v0.1.1

func (x *MovePlayerRequest) GetVelocity() *modlock.Vec3

func (*MovePlayerRequest) MarshalJSON added in v0.1.1

func (x *MovePlayerRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the MovePlayerRequest to JSON.

func (*MovePlayerRequest) MarshalProtoJSON added in v0.1.1

func (x *MovePlayerRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the MovePlayerRequest message to JSON.

func (*MovePlayerRequest) MarshalProtoText added in v0.1.1

func (x *MovePlayerRequest) MarshalProtoText() string

func (*MovePlayerRequest) MarshalToSizedBufferVT added in v0.1.1

func (m *MovePlayerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*MovePlayerRequest) MarshalToVT added in v0.1.1

func (m *MovePlayerRequest) MarshalToVT(dAtA []byte) (int, error)

func (*MovePlayerRequest) MarshalVT added in v0.1.1

func (m *MovePlayerRequest) MarshalVT() (dAtA []byte, err error)

func (*MovePlayerRequest) ProtoMessage added in v0.1.1

func (*MovePlayerRequest) ProtoMessage()

func (*MovePlayerRequest) Reset added in v0.1.1

func (x *MovePlayerRequest) Reset()

func (*MovePlayerRequest) SizeVT added in v0.1.1

func (m *MovePlayerRequest) SizeVT() (n int)

func (*MovePlayerRequest) String added in v0.1.1

func (x *MovePlayerRequest) String() string

func (*MovePlayerRequest) UnmarshalJSON added in v0.1.1

func (x *MovePlayerRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the MovePlayerRequest from JSON.

func (*MovePlayerRequest) UnmarshalProtoJSON added in v0.1.1

func (x *MovePlayerRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the MovePlayerRequest message from JSON.

func (*MovePlayerRequest) UnmarshalVT added in v0.1.1

func (m *MovePlayerRequest) UnmarshalVT(dAtA []byte) error

type Movement

type Movement struct {
	Model Movement_Model `protobuf:"varint,1,opt,name=model,proto3" json:"model,omitempty"`
	// Scale is game units per Quake unit; zero means 1.
	Scale float32 `protobuf:"fixed32,2,opt,name=scale,proto3" json:"scale,omitempty"`
	// Unpredicted_buttons are left out of the commands the client predicts.
	// They name inputs the mod remaps or blocks on the server, so the client
	// predicts no cast or shot the server will not make.
	UnpredictedButtons uint64 `protobuf:"varint,3,opt,name=unpredicted_buttons,json=unpredictedButtons,proto3" json:"unpredictedButtons,omitempty"`
	// contains filtered or unexported fields
}

Movement selects the movement model heroes walk and jump with.

func (*Movement) CloneMessageVT

func (m *Movement) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*Movement) CloneVT

func (m *Movement) CloneVT() *Movement

func (*Movement) EqualMessageVT

func (this *Movement) EqualMessageVT(thatMsg any) bool

func (*Movement) EqualVT

func (this *Movement) EqualVT(that *Movement) bool

func (*Movement) GetModel

func (x *Movement) GetModel() Movement_Model

func (*Movement) GetScale

func (x *Movement) GetScale() float32

func (*Movement) GetUnpredictedButtons

func (x *Movement) GetUnpredictedButtons() uint64

func (*Movement) MarshalJSON

func (x *Movement) MarshalJSON() ([]byte, error)

MarshalJSON marshals the Movement to JSON.

func (*Movement) MarshalProtoJSON

func (x *Movement) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the Movement message to JSON.

func (*Movement) MarshalProtoText

func (x *Movement) MarshalProtoText() string

func (*Movement) MarshalToSizedBufferVT

func (m *Movement) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Movement) MarshalToVT

func (m *Movement) MarshalToVT(dAtA []byte) (int, error)

func (*Movement) MarshalVT

func (m *Movement) MarshalVT() (dAtA []byte, err error)

func (*Movement) ProtoMessage

func (*Movement) ProtoMessage()

func (*Movement) Reset

func (x *Movement) Reset()

func (*Movement) SizeVT

func (m *Movement) SizeVT() (n int)

func (*Movement) String

func (x *Movement) String() string

func (*Movement) UnmarshalJSON

func (x *Movement) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the Movement from JSON.

func (*Movement) UnmarshalProtoJSON

func (x *Movement) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the Movement message from JSON.

func (*Movement) UnmarshalVT

func (m *Movement) UnmarshalVT(dAtA []byte) error

type MovementAction

type MovementAction int32

MovementAction is a movement fact the game announced for a hero.

const (
	MovementAction_MOVEMENT_ACTION_UNKNOWN          MovementAction = 0
	MovementAction_MOVEMENT_ACTION_LANDED           MovementAction = 1
	MovementAction_MOVEMENT_ACTION_ZIPLINE_ATTACHED MovementAction = 2
	MovementAction_MOVEMENT_ACTION_GROUND_DASH      MovementAction = 3
	MovementAction_MOVEMENT_ACTION_SLIDE            MovementAction = 4
	MovementAction_MOVEMENT_ACTION_BOUNCE_PAD       MovementAction = 5
	MovementAction_MOVEMENT_ACTION_DASH_JUMP        MovementAction = 6
	MovementAction_MOVEMENT_ACTION_AIR_JUMP         MovementAction = 7
	MovementAction_MOVEMENT_ACTION_WALL_JUMP        MovementAction = 8
	MovementAction_MOVEMENT_ACTION_AIR_DASH         MovementAction = 9
	MovementAction_MOVEMENT_ACTION_MELEE_STARTED    MovementAction = 10
	// AbilityExecuted is any ability the hero cast.
	MovementAction_MOVEMENT_ACTION_ABILITY_EXECUTED MovementAction = 11
)

func (MovementAction) Enum

func (x MovementAction) Enum() *MovementAction

func (MovementAction) MarshalJSON

func (x MovementAction) MarshalJSON() ([]byte, error)

MarshalJSON marshals the MovementAction to JSON.

func (MovementAction) MarshalProtoJSON

func (x MovementAction) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the MovementAction to JSON.

func (MovementAction) MarshalProtoText

func (x MovementAction) MarshalProtoText() string

func (MovementAction) MarshalText

func (x MovementAction) MarshalText() ([]byte, error)

MarshalText marshals the MovementAction to text.

func (MovementAction) String

func (x MovementAction) String() string

func (*MovementAction) UnmarshalJSON

func (x *MovementAction) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the MovementAction from JSON.

func (*MovementAction) UnmarshalProtoJSON

func (x *MovementAction) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the MovementAction from JSON.

func (*MovementAction) UnmarshalText

func (x *MovementAction) UnmarshalText(b []byte) error

UnmarshalText unmarshals the MovementAction from text.

type MovementCommand added in v0.1.1

type MovementCommand struct {

	// Held, Changed and Scroll are the game's InButtonState masks as Buttons
	// bits: the buttons down, the buttons that went down or up, and the
	// presses of scroll-wheel buttons.
	Held    uint64 `protobuf:"varint,1,opt,name=held,proto3" json:"held,omitempty"`
	Changed uint64 `protobuf:"varint,2,opt,name=changed,proto3" json:"changed,omitempty"`
	Scroll  uint64 `protobuf:"varint,3,opt,name=scroll,proto3" json:"scroll,omitempty"`
	// Forward, Left and Up are the movement axes, from -1 to 1.
	Forward float32 `protobuf:"fixed32,4,opt,name=forward,proto3" json:"forward,omitempty"`
	Left    float32 `protobuf:"fixed32,5,opt,name=left,proto3" json:"left,omitempty"`
	Up      float32 `protobuf:"fixed32,6,opt,name=up,proto3" json:"up,omitempty"`
	// Grounded is true when the hero stood on something as the tick began.
	Grounded bool `protobuf:"varint,7,opt,name=grounded,proto3" json:"grounded,omitempty"`
	// contains filtered or unexported fields
}

MovementCommand is the movement a player commanded over one tick. The server runs a player's commands as they arrive, so a tick may run several or none: every press among them is kept once, and a tick that ran none holds the last buttons without pressing them again.

func (*MovementCommand) CloneMessageVT added in v0.1.1

func (m *MovementCommand) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*MovementCommand) CloneVT added in v0.1.1

func (m *MovementCommand) CloneVT() *MovementCommand

func (*MovementCommand) EqualMessageVT added in v0.1.1

func (this *MovementCommand) EqualMessageVT(thatMsg any) bool

func (*MovementCommand) EqualVT added in v0.1.1

func (this *MovementCommand) EqualVT(that *MovementCommand) bool

func (*MovementCommand) GetChanged added in v0.1.1

func (x *MovementCommand) GetChanged() uint64

func (*MovementCommand) GetForward added in v0.1.1

func (x *MovementCommand) GetForward() float32

func (*MovementCommand) GetGrounded added in v0.1.1

func (x *MovementCommand) GetGrounded() bool

func (*MovementCommand) GetHeld added in v0.1.1

func (x *MovementCommand) GetHeld() uint64

func (*MovementCommand) GetLeft added in v0.1.1

func (x *MovementCommand) GetLeft() float32

func (*MovementCommand) GetScroll added in v0.1.1

func (x *MovementCommand) GetScroll() uint64

func (*MovementCommand) GetUp added in v0.1.1

func (x *MovementCommand) GetUp() float32

func (*MovementCommand) MarshalJSON added in v0.1.1

func (x *MovementCommand) MarshalJSON() ([]byte, error)

MarshalJSON marshals the MovementCommand to JSON.

func (*MovementCommand) MarshalProtoJSON added in v0.1.1

func (x *MovementCommand) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the MovementCommand message to JSON.

func (*MovementCommand) MarshalProtoText added in v0.1.1

func (x *MovementCommand) MarshalProtoText() string

func (*MovementCommand) MarshalToSizedBufferVT added in v0.1.1

func (m *MovementCommand) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*MovementCommand) MarshalToVT added in v0.1.1

func (m *MovementCommand) MarshalToVT(dAtA []byte) (int, error)

func (*MovementCommand) MarshalVT added in v0.1.1

func (m *MovementCommand) MarshalVT() (dAtA []byte, err error)

func (*MovementCommand) ProtoMessage added in v0.1.1

func (*MovementCommand) ProtoMessage()

func (*MovementCommand) Reset added in v0.1.1

func (x *MovementCommand) Reset()

func (*MovementCommand) SizeVT added in v0.1.1

func (m *MovementCommand) SizeVT() (n int)

func (*MovementCommand) String added in v0.1.1

func (x *MovementCommand) String() string

func (*MovementCommand) UnmarshalJSON added in v0.1.1

func (x *MovementCommand) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the MovementCommand from JSON.

func (*MovementCommand) UnmarshalProtoJSON added in v0.1.1

func (x *MovementCommand) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the MovementCommand message from JSON.

func (*MovementCommand) UnmarshalVT added in v0.1.1

func (m *MovementCommand) UnmarshalVT(dAtA []byte) error

type MovementSample

type MovementSample struct {

	// Player is the hero's player slot.
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Pawn is the hero's entity handle.
	Pawn uint32 `protobuf:"varint,2,opt,name=pawn,proto3" json:"pawn,omitempty"`
	// Position is the hero's origin, at its feet.
	Position *modlock.Vec3 `protobuf:"bytes,3,opt,name=position,proto3" json:"position,omitempty"`
	// Velocity is the hero's motion in units per second.
	Velocity *modlock.Vec3 `protobuf:"bytes,4,opt,name=velocity,proto3" json:"velocity,omitempty"`
	// Grounded is true while the hero stands on something. Sliding, Mantling,
	// Climbing and Dashing are the game's movement states.
	Grounded bool `protobuf:"varint,6,opt,name=grounded,proto3" json:"grounded,omitempty"`
	Sliding  bool `protobuf:"varint,7,opt,name=sliding,proto3" json:"sliding,omitempty"`
	Mantling bool `protobuf:"varint,8,opt,name=mantling,proto3" json:"mantling,omitempty"`
	Climbing bool `protobuf:"varint,9,opt,name=climbing,proto3" json:"climbing,omitempty"`
	Dashing  bool `protobuf:"varint,10,opt,name=dashing,proto3" json:"dashing,omitempty"`
	// JumpAbility is the hero's jump ability, and WallJumps the game's count of
	// consecutive wall jumps on it.
	JumpAbility uint32 `protobuf:"varint,11,opt,name=jump_ability,json=jumpAbility,proto3" json:"jumpAbility,omitempty"`
	WallJumps   int32  `protobuf:"varint,12,opt,name=wall_jumps,json=wallJumps,proto3" json:"wallJumps,omitempty"`
	// MantleAbility is the hero's mantle ability, and MantleStart the game time
	// its latest mantle began.
	MantleAbility uint32  `protobuf:"varint,13,opt,name=mantle_ability,json=mantleAbility,proto3" json:"mantleAbility,omitempty"`
	MantleStart   float32 `protobuf:"fixed32,14,opt,name=mantle_start,json=mantleStart,proto3" json:"mantleStart,omitempty"`
	// WallContact is where the hero was when the jump ability last found a wall
	// to jump off; it holds still once no wall qualifies.
	WallContact *modlock.Vec3 `protobuf:"bytes,15,opt,name=wall_contact,json=wallContact,proto3" json:"wallContact,omitempty"`
	// WallNormal is the last wall touched, never cleared.
	WallNormal *modlock.Vec3 `protobuf:"bytes,16,opt,name=wall_normal,json=wallNormal,proto3" json:"wallNormal,omitempty"`
	// WallJumpNormal is the normal the latest wall jump used.
	WallJumpNormal *modlock.Vec3 `protobuf:"bytes,17,opt,name=wall_jump_normal,json=wallJumpNormal,proto3" json:"wallJumpNormal,omitempty"`
	// WallJumpFacing is the game's EWallJumpFacing, zero when not on a wall.
	WallJumpFacing uint32 `protobuf:"varint,18,opt,name=wall_jump_facing,json=wallJumpFacing,proto3" json:"wallJumpFacing,omitempty"`
	// ZiplineTime is the game time the hero last rode a zipline; it advances on
	// every tick of a ride.
	ZiplineTime *float32 `protobuf:"fixed32,19,opt,name=zipline_time,json=ziplineTime,proto3,oneof" json:"ziplineTime,omitempty"`
	// Actions are the movement facts the game announced since the last tick.
	Actions []MovementAction `protobuf:"varint,20,rep,packed,name=actions,proto3" json:"actions,omitempty"`
	// Casts are the abilities the hero cast since the last tick, one per
	// MOVEMENT_ACTION_ABILITY_EXECUTED, by entity handle as Ability.entity
	// reports it; Abilities names each one's slot.
	Casts []uint32 `protobuf:"varint,21,rep,packed,name=casts,proto3" json:"casts,omitempty"`
	// Command is the movement the hero's player commanded since the last
	// sample, absent before the game ran any of it.
	Command *MovementCommand `protobuf:"bytes,22,opt,name=command,proto3,oneof" json:"command,omitempty"`
	// contains filtered or unexported fields
}

MovementSample is one watched hero's movement on one tick, as the game keeps it. A hero whose position, velocity or ground the game does not provide has no sample; another field the game did not provide is absent or zero.

func (*MovementSample) CloneMessageVT

func (m *MovementSample) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*MovementSample) CloneVT

func (m *MovementSample) CloneVT() *MovementSample

func (*MovementSample) EqualMessageVT

func (this *MovementSample) EqualMessageVT(thatMsg any) bool

func (*MovementSample) EqualVT

func (this *MovementSample) EqualVT(that *MovementSample) bool

func (*MovementSample) GetActions

func (x *MovementSample) GetActions() []MovementAction

func (*MovementSample) GetCasts

func (x *MovementSample) GetCasts() []uint32

func (*MovementSample) GetClimbing

func (x *MovementSample) GetClimbing() bool

func (*MovementSample) GetCommand added in v0.1.1

func (x *MovementSample) GetCommand() *MovementCommand

func (*MovementSample) GetDashing

func (x *MovementSample) GetDashing() bool

func (*MovementSample) GetGrounded

func (x *MovementSample) GetGrounded() bool

func (*MovementSample) GetJumpAbility

func (x *MovementSample) GetJumpAbility() uint32

func (*MovementSample) GetMantleAbility

func (x *MovementSample) GetMantleAbility() uint32

func (*MovementSample) GetMantleStart

func (x *MovementSample) GetMantleStart() float32

func (*MovementSample) GetMantling

func (x *MovementSample) GetMantling() bool

func (*MovementSample) GetPawn

func (x *MovementSample) GetPawn() uint32

func (*MovementSample) GetPlayer

func (x *MovementSample) GetPlayer() int32

func (*MovementSample) GetPosition

func (x *MovementSample) GetPosition() *modlock.Vec3

func (*MovementSample) GetSliding

func (x *MovementSample) GetSliding() bool

func (*MovementSample) GetVelocity

func (x *MovementSample) GetVelocity() *modlock.Vec3

func (*MovementSample) GetWallContact

func (x *MovementSample) GetWallContact() *modlock.Vec3

func (*MovementSample) GetWallJumpFacing

func (x *MovementSample) GetWallJumpFacing() uint32

func (*MovementSample) GetWallJumpNormal

func (x *MovementSample) GetWallJumpNormal() *modlock.Vec3

func (*MovementSample) GetWallJumps

func (x *MovementSample) GetWallJumps() int32

func (*MovementSample) GetWallNormal

func (x *MovementSample) GetWallNormal() *modlock.Vec3

func (*MovementSample) GetZiplineTime

func (x *MovementSample) GetZiplineTime() float32

func (*MovementSample) MarshalJSON

func (x *MovementSample) MarshalJSON() ([]byte, error)

MarshalJSON marshals the MovementSample to JSON.

func (*MovementSample) MarshalProtoJSON

func (x *MovementSample) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the MovementSample message to JSON.

func (*MovementSample) MarshalProtoText

func (x *MovementSample) MarshalProtoText() string

func (*MovementSample) MarshalToSizedBufferVT

func (m *MovementSample) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*MovementSample) MarshalToVT

func (m *MovementSample) MarshalToVT(dAtA []byte) (int, error)

func (*MovementSample) MarshalVT

func (m *MovementSample) MarshalVT() (dAtA []byte, err error)

func (*MovementSample) ProtoMessage

func (*MovementSample) ProtoMessage()

func (*MovementSample) Reset

func (x *MovementSample) Reset()

func (*MovementSample) SizeVT

func (m *MovementSample) SizeVT() (n int)

func (*MovementSample) String

func (x *MovementSample) String() string

func (*MovementSample) UnmarshalJSON

func (x *MovementSample) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the MovementSample from JSON.

func (*MovementSample) UnmarshalProtoJSON

func (x *MovementSample) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the MovementSample message from JSON.

func (*MovementSample) UnmarshalVT

func (m *MovementSample) UnmarshalVT(dAtA []byte) error

type Movement_Model

type Movement_Model int32

Model is a movement model the host runs every tick.

const (
	// MODEL_NATIVE is the game's own movement.
	Movement_MODEL_NATIVE Movement_Model = 0
	// MODEL_QUAKEWORLD is QuakeWorld's player movement against the map's
	// Quake collision, maps/<map>.bsp, a version 29 BSP. Heroes are solid
	// boxes to each other, and a landing raises a Landed event.
	Movement_MODEL_QUAKEWORLD Movement_Model = 1
)

func (Movement_Model) Enum

func (x Movement_Model) Enum() *Movement_Model

func (Movement_Model) MarshalJSON

func (x Movement_Model) MarshalJSON() ([]byte, error)

MarshalJSON marshals the Movement_Model to JSON.

func (Movement_Model) MarshalProtoJSON

func (x Movement_Model) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the Movement_Model to JSON.

func (Movement_Model) MarshalProtoText

func (x Movement_Model) MarshalProtoText() string

func (Movement_Model) MarshalText

func (x Movement_Model) MarshalText() ([]byte, error)

MarshalText marshals the Movement_Model to text.

func (Movement_Model) String

func (x Movement_Model) String() string

func (*Movement_Model) UnmarshalJSON

func (x *Movement_Model) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the Movement_Model from JSON.

func (*Movement_Model) UnmarshalProtoJSON

func (x *Movement_Model) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the Movement_Model from JSON.

func (*Movement_Model) UnmarshalText

func (x *Movement_Model) UnmarshalText(b []byte) error

UnmarshalText unmarshals the Movement_Model from text.

type NpcOptions

type NpcOptions struct {

	// ClassName is the unit's entity class, such as npc_trooper or
	// npc_trooper_boss.
	ClassName string `protobuf:"bytes,1,opt,name=class_name,json=className,proto3" json:"className,omitempty"`
	// Unit names the unit's game data entry, such as trooper_melee, or is empty
	// for a unit that needs none.
	Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"`
	// Team is the unit's team number; 4 is neutral.
	Team int32 `protobuf:"varint,3,opt,name=team,proto3" json:"team,omitempty"`
	// Position is the unit's origin, at its feet.
	Position *modlock.Vec3 `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"`
	// Facing is where the unit faces.
	Facing *modlock.EulerAngles `protobuf:"bytes,5,opt,name=facing,proto3,oneof" json:"facing,omitempty"`
	// Health is the unit's health; the default is the unit's own.
	Health *int32 `protobuf:"varint,6,opt,name=health,proto3,oneof" json:"health,omitempty"`
	// MaxHealth is the unit's maximum health; the default is health.
	MaxHealth *int32 `protobuf:"varint,7,opt,name=max_health,json=maxHealth,proto3,oneof" json:"maxHealth,omitempty"`
	// Lane is the lane the unit walks. A unit whose class walks none, unlike a
	// trooper, refuses it.
	Lane *uint32 `protobuf:"varint,8,opt,name=lane,proto3,oneof" json:"lane,omitempty"`
	// Fields are schema fields the host writes after it creates the unit and
	// before the unit spawns, such as m_iInitialTeamNum, which the game reads
	// only while spawning. A write that fails cancels the spawn.
	Fields []*FieldWrite `protobuf:"bytes,9,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

NpcOptions describes a unit that is not a player, such as a trooper.

func (*NpcOptions) CloneMessageVT

func (m *NpcOptions) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*NpcOptions) CloneVT

func (m *NpcOptions) CloneVT() *NpcOptions

func (*NpcOptions) EqualMessageVT

func (this *NpcOptions) EqualMessageVT(thatMsg any) bool

func (*NpcOptions) EqualVT

func (this *NpcOptions) EqualVT(that *NpcOptions) bool

func (*NpcOptions) GetClassName

func (x *NpcOptions) GetClassName() string

func (*NpcOptions) GetFacing

func (x *NpcOptions) GetFacing() *modlock.EulerAngles

func (*NpcOptions) GetFields added in v0.1.1

func (x *NpcOptions) GetFields() []*FieldWrite

func (*NpcOptions) GetHealth

func (x *NpcOptions) GetHealth() int32

func (*NpcOptions) GetLane

func (x *NpcOptions) GetLane() uint32

func (*NpcOptions) GetMaxHealth

func (x *NpcOptions) GetMaxHealth() int32

func (*NpcOptions) GetPosition

func (x *NpcOptions) GetPosition() *modlock.Vec3

func (*NpcOptions) GetTeam

func (x *NpcOptions) GetTeam() int32

func (*NpcOptions) GetUnit

func (x *NpcOptions) GetUnit() string

func (*NpcOptions) MarshalJSON

func (x *NpcOptions) MarshalJSON() ([]byte, error)

MarshalJSON marshals the NpcOptions to JSON.

func (*NpcOptions) MarshalProtoJSON

func (x *NpcOptions) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the NpcOptions message to JSON.

func (*NpcOptions) MarshalProtoText

func (x *NpcOptions) MarshalProtoText() string

func (*NpcOptions) MarshalToSizedBufferVT

func (m *NpcOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*NpcOptions) MarshalToVT

func (m *NpcOptions) MarshalToVT(dAtA []byte) (int, error)

func (*NpcOptions) MarshalVT

func (m *NpcOptions) MarshalVT() (dAtA []byte, err error)

func (*NpcOptions) ProtoMessage

func (*NpcOptions) ProtoMessage()

func (*NpcOptions) Reset

func (x *NpcOptions) Reset()

func (*NpcOptions) SizeVT

func (m *NpcOptions) SizeVT() (n int)

func (*NpcOptions) String

func (x *NpcOptions) String() string

func (*NpcOptions) UnmarshalJSON

func (x *NpcOptions) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the NpcOptions from JSON.

func (*NpcOptions) UnmarshalProtoJSON

func (x *NpcOptions) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the NpcOptions message from JSON.

func (*NpcOptions) UnmarshalVT

func (m *NpcOptions) UnmarshalVT(dAtA []byte) error

type NpcRequest

type NpcRequest struct {

	// Npc is the unit's entity handle, as damage events report it.
	Npc uint32 `protobuf:"varint,1,opt,name=npc,proto3" json:"npc,omitempty"`
	// contains filtered or unexported fields
}

NpcRequest addresses one unit the mod spawned.

func (*NpcRequest) CloneMessageVT

func (m *NpcRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*NpcRequest) CloneVT

func (m *NpcRequest) CloneVT() *NpcRequest

func (*NpcRequest) EqualMessageVT

func (this *NpcRequest) EqualMessageVT(thatMsg any) bool

func (*NpcRequest) EqualVT

func (this *NpcRequest) EqualVT(that *NpcRequest) bool

func (*NpcRequest) GetNpc

func (x *NpcRequest) GetNpc() uint32

func (*NpcRequest) MarshalJSON

func (x *NpcRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the NpcRequest to JSON.

func (*NpcRequest) MarshalProtoJSON

func (x *NpcRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the NpcRequest message to JSON.

func (*NpcRequest) MarshalProtoText

func (x *NpcRequest) MarshalProtoText() string

func (*NpcRequest) MarshalToSizedBufferVT

func (m *NpcRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*NpcRequest) MarshalToVT

func (m *NpcRequest) MarshalToVT(dAtA []byte) (int, error)

func (*NpcRequest) MarshalVT

func (m *NpcRequest) MarshalVT() (dAtA []byte, err error)

func (*NpcRequest) ProtoMessage

func (*NpcRequest) ProtoMessage()

func (*NpcRequest) Reset

func (x *NpcRequest) Reset()

func (*NpcRequest) SizeVT

func (m *NpcRequest) SizeVT() (n int)

func (*NpcRequest) String

func (x *NpcRequest) String() string

func (*NpcRequest) UnmarshalJSON

func (x *NpcRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the NpcRequest from JSON.

func (*NpcRequest) UnmarshalProtoJSON

func (x *NpcRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the NpcRequest message from JSON.

func (*NpcRequest) UnmarshalVT

func (m *NpcRequest) UnmarshalVT(dAtA []byte) error

type NpcResponse

type NpcResponse struct {
	Npc uint32 `protobuf:"varint,1,opt,name=npc,proto3" json:"npc,omitempty"`
	// contains filtered or unexported fields
}

NpcResponse holds the unit SpawnNpc added.

func (*NpcResponse) CloneMessageVT

func (m *NpcResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*NpcResponse) CloneVT

func (m *NpcResponse) CloneVT() *NpcResponse

func (*NpcResponse) EqualMessageVT

func (this *NpcResponse) EqualMessageVT(thatMsg any) bool

func (*NpcResponse) EqualVT

func (this *NpcResponse) EqualVT(that *NpcResponse) bool

func (*NpcResponse) GetNpc

func (x *NpcResponse) GetNpc() uint32

func (*NpcResponse) MarshalJSON

func (x *NpcResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the NpcResponse to JSON.

func (*NpcResponse) MarshalProtoJSON

func (x *NpcResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the NpcResponse message to JSON.

func (*NpcResponse) MarshalProtoText

func (x *NpcResponse) MarshalProtoText() string

func (*NpcResponse) MarshalToSizedBufferVT

func (m *NpcResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*NpcResponse) MarshalToVT

func (m *NpcResponse) MarshalToVT(dAtA []byte) (int, error)

func (*NpcResponse) MarshalVT

func (m *NpcResponse) MarshalVT() (dAtA []byte, err error)

func (*NpcResponse) ProtoMessage

func (*NpcResponse) ProtoMessage()

func (*NpcResponse) Reset

func (x *NpcResponse) Reset()

func (*NpcResponse) SizeVT

func (m *NpcResponse) SizeVT() (n int)

func (*NpcResponse) String

func (x *NpcResponse) String() string

func (*NpcResponse) UnmarshalJSON

func (x *NpcResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the NpcResponse from JSON.

func (*NpcResponse) UnmarshalProtoJSON

func (x *NpcResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the NpcResponse message from JSON.

func (*NpcResponse) UnmarshalVT

func (m *NpcResponse) UnmarshalVT(dAtA []byte) error

type NpcState

type NpcState struct {

	// Position is the unit's origin.
	Position *modlock.Vec3 `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"`
	// Facing is where the unit faces.
	Facing *modlock.EulerAngles `protobuf:"bytes,2,opt,name=facing,proto3" json:"facing,omitempty"`
	// Health is the unit's health.
	Health int32 `protobuf:"varint,3,opt,name=health,proto3" json:"health,omitempty"`
	// MaxHealth is the unit's maximum health.
	MaxHealth int32 `protobuf:"varint,4,opt,name=max_health,json=maxHealth,proto3" json:"maxHealth,omitempty"`
	// Team is the unit's team number.
	Team int32 `protobuf:"varint,5,opt,name=team,proto3" json:"team,omitempty"`
	// contains filtered or unexported fields
}

NpcState is a unit's state this frame.

func (*NpcState) CloneMessageVT

func (m *NpcState) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*NpcState) CloneVT

func (m *NpcState) CloneVT() *NpcState

func (*NpcState) EqualMessageVT

func (this *NpcState) EqualMessageVT(thatMsg any) bool

func (*NpcState) EqualVT

func (this *NpcState) EqualVT(that *NpcState) bool

func (*NpcState) GetFacing

func (x *NpcState) GetFacing() *modlock.EulerAngles

func (*NpcState) GetHealth

func (x *NpcState) GetHealth() int32

func (*NpcState) GetMaxHealth

func (x *NpcState) GetMaxHealth() int32

func (*NpcState) GetPosition

func (x *NpcState) GetPosition() *modlock.Vec3

func (*NpcState) GetTeam

func (x *NpcState) GetTeam() int32

func (*NpcState) MarshalJSON

func (x *NpcState) MarshalJSON() ([]byte, error)

MarshalJSON marshals the NpcState to JSON.

func (*NpcState) MarshalProtoJSON

func (x *NpcState) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the NpcState message to JSON.

func (*NpcState) MarshalProtoText

func (x *NpcState) MarshalProtoText() string

func (*NpcState) MarshalToSizedBufferVT

func (m *NpcState) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*NpcState) MarshalToVT

func (m *NpcState) MarshalToVT(dAtA []byte) (int, error)

func (*NpcState) MarshalVT

func (m *NpcState) MarshalVT() (dAtA []byte, err error)

func (*NpcState) ProtoMessage

func (*NpcState) ProtoMessage()

func (*NpcState) Reset

func (x *NpcState) Reset()

func (*NpcState) SizeVT

func (m *NpcState) SizeVT() (n int)

func (*NpcState) String

func (x *NpcState) String() string

func (*NpcState) UnmarshalJSON

func (x *NpcState) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the NpcState from JSON.

func (*NpcState) UnmarshalProtoJSON

func (x *NpcState) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the NpcState message from JSON.

func (*NpcState) UnmarshalVT

func (m *NpcState) UnmarshalVT(dAtA []byte) error

type NpcStateResponse

type NpcStateResponse struct {
	State *NpcState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

NpcStateResponse holds a live unit's state, absent once it is gone.

func (*NpcStateResponse) CloneMessageVT

func (m *NpcStateResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*NpcStateResponse) CloneVT

func (m *NpcStateResponse) CloneVT() *NpcStateResponse

func (*NpcStateResponse) EqualMessageVT

func (this *NpcStateResponse) EqualMessageVT(thatMsg any) bool

func (*NpcStateResponse) EqualVT

func (this *NpcStateResponse) EqualVT(that *NpcStateResponse) bool

func (*NpcStateResponse) GetState

func (x *NpcStateResponse) GetState() *NpcState

func (*NpcStateResponse) MarshalJSON

func (x *NpcStateResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the NpcStateResponse to JSON.

func (*NpcStateResponse) MarshalProtoJSON

func (x *NpcStateResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the NpcStateResponse message to JSON.

func (*NpcStateResponse) MarshalProtoText

func (x *NpcStateResponse) MarshalProtoText() string

func (*NpcStateResponse) MarshalToSizedBufferVT

func (m *NpcStateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*NpcStateResponse) MarshalToVT

func (m *NpcStateResponse) MarshalToVT(dAtA []byte) (int, error)

func (*NpcStateResponse) MarshalVT

func (m *NpcStateResponse) MarshalVT() (dAtA []byte, err error)

func (*NpcStateResponse) ProtoMessage

func (*NpcStateResponse) ProtoMessage()

func (*NpcStateResponse) Reset

func (x *NpcStateResponse) Reset()

func (*NpcStateResponse) SizeVT

func (m *NpcStateResponse) SizeVT() (n int)

func (*NpcStateResponse) String

func (x *NpcStateResponse) String() string

func (*NpcStateResponse) UnmarshalJSON

func (x *NpcStateResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the NpcStateResponse from JSON.

func (*NpcStateResponse) UnmarshalProtoJSON

func (x *NpcStateResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the NpcStateResponse message from JSON.

func (*NpcStateResponse) UnmarshalVT

func (m *NpcStateResponse) UnmarshalVT(dAtA []byte) error

type NpcTarget

type NpcTarget struct {

	// ClassName is the unit's entity class: npc_trooper, npc_trooper_neutral,
	// npc_boss_tier2, npc_boss_tier3, npc_barrack_boss,
	// npc_base_defense_sentry, npc_super_neutral or
	// npc_neutral_sinners_sacrifice.
	ClassName string `protobuf:"bytes,1,opt,name=class_name,json=className,proto3" json:"className,omitempty"`
	// Id identifies the unit's game data entry.
	Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// Team is the unit's team number; 4 is neutral.
	Team int32 `protobuf:"varint,3,opt,name=team,proto3" json:"team,omitempty"`
	// Position is the unit's origin, at its feet.
	Position *modlock.Vec3 `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"`
	// Facing is where the unit faces.
	Facing *modlock.EulerAngles `protobuf:"bytes,5,opt,name=facing,proto3" json:"facing,omitempty"`
	// Velocity is the unit's motion in units per second.
	Velocity *modlock.Vec3 `protobuf:"bytes,6,opt,name=velocity,proto3,oneof" json:"velocity,omitempty"`
	// Health and MaxHealth are the unit's health.
	Health    int32 `protobuf:"varint,7,opt,name=health,proto3" json:"health,omitempty"`
	MaxHealth int32 `protobuf:"varint,8,opt,name=max_health,json=maxHealth,proto3" json:"maxHealth,omitempty"`
	// Lane is the lane a trooper walks; troopers need one.
	Lane *uint32 `protobuf:"varint,9,opt,name=lane,proto3,oneof" json:"lane,omitempty"`
	// contains filtered or unexported fields
}

NpcTarget is one unit or objective RestoreNpcs places, as replays record it.

func (*NpcTarget) CloneMessageVT

func (m *NpcTarget) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*NpcTarget) CloneVT

func (m *NpcTarget) CloneVT() *NpcTarget

func (*NpcTarget) EqualMessageVT

func (this *NpcTarget) EqualMessageVT(thatMsg any) bool

func (*NpcTarget) EqualVT

func (this *NpcTarget) EqualVT(that *NpcTarget) bool

func (*NpcTarget) GetClassName

func (x *NpcTarget) GetClassName() string

func (*NpcTarget) GetFacing

func (x *NpcTarget) GetFacing() *modlock.EulerAngles

func (*NpcTarget) GetHealth

func (x *NpcTarget) GetHealth() int32

func (*NpcTarget) GetId

func (x *NpcTarget) GetId() uint32

func (*NpcTarget) GetLane

func (x *NpcTarget) GetLane() uint32

func (*NpcTarget) GetMaxHealth

func (x *NpcTarget) GetMaxHealth() int32

func (*NpcTarget) GetPosition

func (x *NpcTarget) GetPosition() *modlock.Vec3

func (*NpcTarget) GetTeam

func (x *NpcTarget) GetTeam() int32

func (*NpcTarget) GetVelocity

func (x *NpcTarget) GetVelocity() *modlock.Vec3

func (*NpcTarget) MarshalJSON

func (x *NpcTarget) MarshalJSON() ([]byte, error)

MarshalJSON marshals the NpcTarget to JSON.

func (*NpcTarget) MarshalProtoJSON

func (x *NpcTarget) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the NpcTarget message to JSON.

func (*NpcTarget) MarshalProtoText

func (x *NpcTarget) MarshalProtoText() string

func (*NpcTarget) MarshalToSizedBufferVT

func (m *NpcTarget) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*NpcTarget) MarshalToVT

func (m *NpcTarget) MarshalToVT(dAtA []byte) (int, error)

func (*NpcTarget) MarshalVT

func (m *NpcTarget) MarshalVT() (dAtA []byte, err error)

func (*NpcTarget) ProtoMessage

func (*NpcTarget) ProtoMessage()

func (*NpcTarget) Reset

func (x *NpcTarget) Reset()

func (*NpcTarget) SizeVT

func (m *NpcTarget) SizeVT() (n int)

func (*NpcTarget) String

func (x *NpcTarget) String() string

func (*NpcTarget) UnmarshalJSON

func (x *NpcTarget) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the NpcTarget from JSON.

func (*NpcTarget) UnmarshalProtoJSON

func (x *NpcTarget) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the NpcTarget message from JSON.

func (*NpcTarget) UnmarshalVT

func (m *NpcTarget) UnmarshalVT(dAtA []byte) error

type NpcsRestoredEvent

type NpcsRestoredEvent struct {

	// Error describes the unit that does not match its target, or is empty
	// when every target was found in place.
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

NpcsRestoredEvent reports how a RestoreNpcs ended.

func (*NpcsRestoredEvent) CloneMessageVT

func (m *NpcsRestoredEvent) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*NpcsRestoredEvent) CloneVT

func (m *NpcsRestoredEvent) CloneVT() *NpcsRestoredEvent

func (*NpcsRestoredEvent) EqualMessageVT

func (this *NpcsRestoredEvent) EqualMessageVT(thatMsg any) bool

func (*NpcsRestoredEvent) EqualVT

func (this *NpcsRestoredEvent) EqualVT(that *NpcsRestoredEvent) bool

func (*NpcsRestoredEvent) GetError

func (x *NpcsRestoredEvent) GetError() string

func (*NpcsRestoredEvent) MarshalJSON

func (x *NpcsRestoredEvent) MarshalJSON() ([]byte, error)

MarshalJSON marshals the NpcsRestoredEvent to JSON.

func (*NpcsRestoredEvent) MarshalProtoJSON

func (x *NpcsRestoredEvent) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the NpcsRestoredEvent message to JSON.

func (*NpcsRestoredEvent) MarshalProtoText

func (x *NpcsRestoredEvent) MarshalProtoText() string

func (*NpcsRestoredEvent) MarshalToSizedBufferVT

func (m *NpcsRestoredEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*NpcsRestoredEvent) MarshalToVT

func (m *NpcsRestoredEvent) MarshalToVT(dAtA []byte) (int, error)

func (*NpcsRestoredEvent) MarshalVT

func (m *NpcsRestoredEvent) MarshalVT() (dAtA []byte, err error)

func (*NpcsRestoredEvent) ProtoMessage

func (*NpcsRestoredEvent) ProtoMessage()

func (*NpcsRestoredEvent) Reset

func (x *NpcsRestoredEvent) Reset()

func (*NpcsRestoredEvent) SizeVT

func (m *NpcsRestoredEvent) SizeVT() (n int)

func (*NpcsRestoredEvent) String

func (x *NpcsRestoredEvent) String() string

func (*NpcsRestoredEvent) UnmarshalJSON

func (x *NpcsRestoredEvent) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the NpcsRestoredEvent from JSON.

func (*NpcsRestoredEvent) UnmarshalProtoJSON

func (x *NpcsRestoredEvent) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the NpcsRestoredEvent message from JSON.

func (*NpcsRestoredEvent) UnmarshalVT

func (m *NpcsRestoredEvent) UnmarshalVT(dAtA []byte) error

type ObjectRequest

type ObjectRequest struct {

	// Object identifies the object among the mod's objects.
	Object uint32 `protobuf:"varint,1,opt,name=object,proto3" json:"object,omitempty"`
	// contains filtered or unexported fields
}

ObjectRequest addresses one object the mod created.

func (*ObjectRequest) CloneMessageVT

func (m *ObjectRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*ObjectRequest) CloneVT

func (m *ObjectRequest) CloneVT() *ObjectRequest

func (*ObjectRequest) EqualMessageVT

func (this *ObjectRequest) EqualMessageVT(thatMsg any) bool

func (*ObjectRequest) EqualVT

func (this *ObjectRequest) EqualVT(that *ObjectRequest) bool

func (*ObjectRequest) GetObject

func (x *ObjectRequest) GetObject() uint32

func (*ObjectRequest) MarshalJSON

func (x *ObjectRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ObjectRequest to JSON.

func (*ObjectRequest) MarshalProtoJSON

func (x *ObjectRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ObjectRequest message to JSON.

func (*ObjectRequest) MarshalProtoText

func (x *ObjectRequest) MarshalProtoText() string

func (*ObjectRequest) MarshalToSizedBufferVT

func (m *ObjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ObjectRequest) MarshalToVT

func (m *ObjectRequest) MarshalToVT(dAtA []byte) (int, error)

func (*ObjectRequest) MarshalVT

func (m *ObjectRequest) MarshalVT() (dAtA []byte, err error)

func (*ObjectRequest) ProtoMessage

func (*ObjectRequest) ProtoMessage()

func (*ObjectRequest) Reset

func (x *ObjectRequest) Reset()

func (*ObjectRequest) SizeVT

func (m *ObjectRequest) SizeVT() (n int)

func (*ObjectRequest) String

func (x *ObjectRequest) String() string

func (*ObjectRequest) UnmarshalJSON

func (x *ObjectRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ObjectRequest from JSON.

func (*ObjectRequest) UnmarshalProtoJSON

func (x *ObjectRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ObjectRequest message from JSON.

func (*ObjectRequest) UnmarshalVT

func (m *ObjectRequest) UnmarshalVT(dAtA []byte) error

type ObjectResponse

type ObjectResponse struct {
	Object uint32 `protobuf:"varint,1,opt,name=object,proto3" json:"object,omitempty"`
	// contains filtered or unexported fields
}

ObjectResponse holds the object a Create call placed.

func (*ObjectResponse) CloneMessageVT

func (m *ObjectResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*ObjectResponse) CloneVT

func (m *ObjectResponse) CloneVT() *ObjectResponse

func (*ObjectResponse) EqualMessageVT

func (this *ObjectResponse) EqualMessageVT(thatMsg any) bool

func (*ObjectResponse) EqualVT

func (this *ObjectResponse) EqualVT(that *ObjectResponse) bool

func (*ObjectResponse) GetObject

func (x *ObjectResponse) GetObject() uint32

func (*ObjectResponse) MarshalJSON

func (x *ObjectResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ObjectResponse to JSON.

func (*ObjectResponse) MarshalProtoJSON

func (x *ObjectResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ObjectResponse message to JSON.

func (*ObjectResponse) MarshalProtoText

func (x *ObjectResponse) MarshalProtoText() string

func (*ObjectResponse) MarshalToSizedBufferVT

func (m *ObjectResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ObjectResponse) MarshalToVT

func (m *ObjectResponse) MarshalToVT(dAtA []byte) (int, error)

func (*ObjectResponse) MarshalVT

func (m *ObjectResponse) MarshalVT() (dAtA []byte, err error)

func (*ObjectResponse) ProtoMessage

func (*ObjectResponse) ProtoMessage()

func (*ObjectResponse) Reset

func (x *ObjectResponse) Reset()

func (*ObjectResponse) SizeVT

func (m *ObjectResponse) SizeVT() (n int)

func (*ObjectResponse) String

func (x *ObjectResponse) String() string

func (*ObjectResponse) UnmarshalJSON

func (x *ObjectResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ObjectResponse from JSON.

func (*ObjectResponse) UnmarshalProtoJSON

func (x *ObjectResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ObjectResponse message from JSON.

func (*ObjectResponse) UnmarshalVT

func (m *ObjectResponse) UnmarshalVT(dAtA []byte) error

type ParticleOptions

type ParticleOptions struct {

	// Resource is the particle system's path, which the mod precached, such
	// as particles/abilities/assassinate_laser_targetting.vpcf.
	Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// Position is the effect's origin.
	Position *modlock.Vec3 `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
	// Facing is the effect's rotation.
	Facing *modlock.EulerAngles `protobuf:"bytes,3,opt,name=facing,proto3,oneof" json:"facing,omitempty"`
	// Color tints the effect as 0xRRGGBBAA.
	Color *uint32 `protobuf:"fixed32,4,opt,name=color,proto3,oneof" json:"color,omitempty"`
	// TintPoint is the control point the color sets.
	TintPoint *int32 `protobuf:"varint,5,opt,name=tint_point,json=tintPoint,proto3,oneof" json:"tintPoint,omitempty"`
	// Point sets one control point to a position, such as a beam's far end.
	Point *ParticlePoint `protobuf:"bytes,6,opt,name=point,proto3,oneof" json:"point,omitempty"`
	// Parent is the handle of an entity the effect follows, such as a hero's.
	Parent *uint32 `protobuf:"varint,7,opt,name=parent,proto3,oneof" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

ParticleOptions describes a particle effect.

func (*ParticleOptions) CloneMessageVT

func (m *ParticleOptions) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*ParticleOptions) CloneVT

func (m *ParticleOptions) CloneVT() *ParticleOptions

func (*ParticleOptions) EqualMessageVT

func (this *ParticleOptions) EqualMessageVT(thatMsg any) bool

func (*ParticleOptions) EqualVT

func (this *ParticleOptions) EqualVT(that *ParticleOptions) bool

func (*ParticleOptions) GetColor

func (x *ParticleOptions) GetColor() uint32

func (*ParticleOptions) GetFacing

func (x *ParticleOptions) GetFacing() *modlock.EulerAngles

func (*ParticleOptions) GetParent

func (x *ParticleOptions) GetParent() uint32

func (*ParticleOptions) GetPoint

func (x *ParticleOptions) GetPoint() *ParticlePoint

func (*ParticleOptions) GetPosition

func (x *ParticleOptions) GetPosition() *modlock.Vec3

func (*ParticleOptions) GetResource

func (x *ParticleOptions) GetResource() string

func (*ParticleOptions) GetTintPoint

func (x *ParticleOptions) GetTintPoint() int32

func (*ParticleOptions) MarshalJSON

func (x *ParticleOptions) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ParticleOptions to JSON.

func (*ParticleOptions) MarshalProtoJSON

func (x *ParticleOptions) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ParticleOptions message to JSON.

func (*ParticleOptions) MarshalProtoText

func (x *ParticleOptions) MarshalProtoText() string

func (*ParticleOptions) MarshalToSizedBufferVT

func (m *ParticleOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ParticleOptions) MarshalToVT

func (m *ParticleOptions) MarshalToVT(dAtA []byte) (int, error)

func (*ParticleOptions) MarshalVT

func (m *ParticleOptions) MarshalVT() (dAtA []byte, err error)

func (*ParticleOptions) ProtoMessage

func (*ParticleOptions) ProtoMessage()

func (*ParticleOptions) Reset

func (x *ParticleOptions) Reset()

func (*ParticleOptions) SizeVT

func (m *ParticleOptions) SizeVT() (n int)

func (*ParticleOptions) String

func (x *ParticleOptions) String() string

func (*ParticleOptions) UnmarshalJSON

func (x *ParticleOptions) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ParticleOptions from JSON.

func (*ParticleOptions) UnmarshalProtoJSON

func (x *ParticleOptions) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ParticleOptions message from JSON.

func (*ParticleOptions) UnmarshalVT

func (m *ParticleOptions) UnmarshalVT(dAtA []byte) error

type ParticlePoint

type ParticlePoint struct {

	// Index is the control point's number.
	Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	// Position is the control point's value.
	Position *modlock.Vec3 `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
	// contains filtered or unexported fields
}

ParticlePoint places one control point of a particle effect.

func (*ParticlePoint) CloneMessageVT

func (m *ParticlePoint) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*ParticlePoint) CloneVT

func (m *ParticlePoint) CloneVT() *ParticlePoint

func (*ParticlePoint) EqualMessageVT

func (this *ParticlePoint) EqualMessageVT(thatMsg any) bool

func (*ParticlePoint) EqualVT

func (this *ParticlePoint) EqualVT(that *ParticlePoint) bool

func (*ParticlePoint) GetIndex

func (x *ParticlePoint) GetIndex() int32

func (*ParticlePoint) GetPosition

func (x *ParticlePoint) GetPosition() *modlock.Vec3

func (*ParticlePoint) MarshalJSON

func (x *ParticlePoint) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ParticlePoint to JSON.

func (*ParticlePoint) MarshalProtoJSON

func (x *ParticlePoint) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ParticlePoint message to JSON.

func (*ParticlePoint) MarshalProtoText

func (x *ParticlePoint) MarshalProtoText() string

func (*ParticlePoint) MarshalToSizedBufferVT

func (m *ParticlePoint) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ParticlePoint) MarshalToVT

func (m *ParticlePoint) MarshalToVT(dAtA []byte) (int, error)

func (*ParticlePoint) MarshalVT

func (m *ParticlePoint) MarshalVT() (dAtA []byte, err error)

func (*ParticlePoint) ProtoMessage

func (*ParticlePoint) ProtoMessage()

func (*ParticlePoint) Reset

func (x *ParticlePoint) Reset()

func (*ParticlePoint) SizeVT

func (m *ParticlePoint) SizeVT() (n int)

func (*ParticlePoint) String

func (x *ParticlePoint) String() string

func (*ParticlePoint) UnmarshalJSON

func (x *ParticlePoint) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ParticlePoint from JSON.

func (*ParticlePoint) UnmarshalProtoJSON

func (x *ParticlePoint) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ParticlePoint message from JSON.

func (*ParticlePoint) UnmarshalVT

func (m *ParticlePoint) UnmarshalVT(dAtA []byte) error

type PauseRequest

type PauseRequest struct {
	Paused bool `protobuf:"varint,1,opt,name=paused,proto3" json:"paused,omitempty"`
	// contains filtered or unexported fields
}

PauseRequest pauses or resumes the game.

func (*PauseRequest) CloneMessageVT

func (m *PauseRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*PauseRequest) CloneVT

func (m *PauseRequest) CloneVT() *PauseRequest

func (*PauseRequest) EqualMessageVT

func (this *PauseRequest) EqualMessageVT(thatMsg any) bool

func (*PauseRequest) EqualVT

func (this *PauseRequest) EqualVT(that *PauseRequest) bool

func (*PauseRequest) GetPaused

func (x *PauseRequest) GetPaused() bool

func (*PauseRequest) MarshalJSON

func (x *PauseRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the PauseRequest to JSON.

func (*PauseRequest) MarshalProtoJSON

func (x *PauseRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the PauseRequest message to JSON.

func (*PauseRequest) MarshalProtoText

func (x *PauseRequest) MarshalProtoText() string

func (*PauseRequest) MarshalToSizedBufferVT

func (m *PauseRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PauseRequest) MarshalToVT

func (m *PauseRequest) MarshalToVT(dAtA []byte) (int, error)

func (*PauseRequest) MarshalVT

func (m *PauseRequest) MarshalVT() (dAtA []byte, err error)

func (*PauseRequest) ProtoMessage

func (*PauseRequest) ProtoMessage()

func (*PauseRequest) Reset

func (x *PauseRequest) Reset()

func (*PauseRequest) SizeVT

func (m *PauseRequest) SizeVT() (n int)

func (*PauseRequest) String

func (x *PauseRequest) String() string

func (*PauseRequest) UnmarshalJSON

func (x *PauseRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the PauseRequest from JSON.

func (*PauseRequest) UnmarshalProtoJSON

func (x *PauseRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the PauseRequest message from JSON.

func (*PauseRequest) UnmarshalVT

func (m *PauseRequest) UnmarshalVT(dAtA []byte) error

type Pawn

type Pawn struct {

	// Entity is the hero's entity handle, which ReadField reads.
	Entity uint32 `protobuf:"varint,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// Hero identifies the hero, as SelectHero returns it.
	Hero uint32 `protobuf:"varint,2,opt,name=hero,proto3" json:"hero,omitempty"`
	// Team is the hero's team number.
	Team int32 `protobuf:"varint,3,opt,name=team,proto3" json:"team,omitempty"`
	// Health is the hero's health; zero or less is dead.
	Health int32 `protobuf:"varint,4,opt,name=health,proto3" json:"health,omitempty"`
	// MaxHealth is the hero's networked maximum health.
	MaxHealth int32 `protobuf:"varint,5,opt,name=max_health,json=maxHealth,proto3" json:"maxHealth,omitempty"`
	// Position is the hero's origin, at its feet.
	Position *modlock.Vec3 `protobuf:"bytes,6,opt,name=position,proto3" json:"position,omitempty"`
	// EyeAngles is where the hero aims.
	EyeAngles *modlock.EulerAngles `protobuf:"bytes,7,opt,name=eye_angles,json=eyeAngles,proto3" json:"eyeAngles,omitempty"`
	// CameraAngles is where the player's camera looks.
	CameraAngles *modlock.EulerAngles `protobuf:"bytes,8,opt,name=camera_angles,json=cameraAngles,proto3" json:"cameraAngles,omitempty"`
	// Stamina is the hero's stamina, absent until it has spawned fully.
	Stamina *float32 `protobuf:"fixed32,9,opt,name=stamina,proto3,oneof" json:"stamina,omitempty"`
	// MaxStamina is the hero's maximum stamina, present with stamina.
	MaxStamina *float32 `protobuf:"fixed32,10,opt,name=max_stamina,json=maxStamina,proto3,oneof" json:"maxStamina,omitempty"`
	// Generation is the connection generation the hero belongs to.
	Generation uint32 `protobuf:"varint,11,opt,name=generation,proto3" json:"generation,omitempty"`
	// Souls is the souls the player holds.
	Souls int32 `protobuf:"varint,12,opt,name=souls,proto3" json:"souls,omitempty"`
	// EyePosition is where the hero's view starts, for aiming traces.
	EyePosition *modlock.Vec3 `protobuf:"bytes,13,opt,name=eye_position,json=eyePosition,proto3" json:"eyePosition,omitempty"`
	// Velocity is the hero's motion in units per second.
	Velocity *modlock.Vec3 `protobuf:"bytes,14,opt,name=velocity,proto3" json:"velocity,omitempty"`
	// CarryingUrn is whether the hero carries the soul urn, absent when the
	// game's modifier states cannot be read.
	CarryingUrn *bool `protobuf:"varint,15,opt,name=carrying_urn,json=carryingUrn,proto3,oneof" json:"carryingUrn,omitempty"`
	// Score is the player's scoreboard, absent when the game's scoreboard
	// cannot be read.
	Score *Score `protobuf:"bytes,16,opt,name=score,proto3,oneof" json:"score,omitempty"`
	// contains filtered or unexported fields
}

Pawn is one player's hero this frame.

func (*Pawn) CloneMessageVT

func (m *Pawn) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*Pawn) CloneVT

func (m *Pawn) CloneVT() *Pawn

func (*Pawn) EqualMessageVT

func (this *Pawn) EqualMessageVT(thatMsg any) bool

func (*Pawn) EqualVT

func (this *Pawn) EqualVT(that *Pawn) bool

func (*Pawn) GetCameraAngles

func (x *Pawn) GetCameraAngles() *modlock.EulerAngles

func (*Pawn) GetCarryingUrn added in v0.1.1

func (x *Pawn) GetCarryingUrn() bool

func (*Pawn) GetEntity

func (x *Pawn) GetEntity() uint32

func (*Pawn) GetEyeAngles

func (x *Pawn) GetEyeAngles() *modlock.EulerAngles

func (*Pawn) GetEyePosition

func (x *Pawn) GetEyePosition() *modlock.Vec3

func (*Pawn) GetGeneration

func (x *Pawn) GetGeneration() uint32

func (*Pawn) GetHealth

func (x *Pawn) GetHealth() int32

func (*Pawn) GetHero

func (x *Pawn) GetHero() uint32

func (*Pawn) GetMaxHealth

func (x *Pawn) GetMaxHealth() int32

func (*Pawn) GetMaxStamina

func (x *Pawn) GetMaxStamina() float32

func (*Pawn) GetPosition

func (x *Pawn) GetPosition() *modlock.Vec3

func (*Pawn) GetScore added in v0.1.3

func (x *Pawn) GetScore() *Score

func (*Pawn) GetSouls

func (x *Pawn) GetSouls() int32

func (*Pawn) GetStamina

func (x *Pawn) GetStamina() float32

func (*Pawn) GetTeam

func (x *Pawn) GetTeam() int32

func (*Pawn) GetVelocity

func (x *Pawn) GetVelocity() *modlock.Vec3

func (*Pawn) MarshalJSON

func (x *Pawn) MarshalJSON() ([]byte, error)

MarshalJSON marshals the Pawn to JSON.

func (*Pawn) MarshalProtoJSON

func (x *Pawn) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the Pawn message to JSON.

func (*Pawn) MarshalProtoText

func (x *Pawn) MarshalProtoText() string

func (*Pawn) MarshalToSizedBufferVT

func (m *Pawn) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Pawn) MarshalToVT

func (m *Pawn) MarshalToVT(dAtA []byte) (int, error)

func (*Pawn) MarshalVT

func (m *Pawn) MarshalVT() (dAtA []byte, err error)

func (*Pawn) ProtoMessage

func (*Pawn) ProtoMessage()

func (*Pawn) Reset

func (x *Pawn) Reset()

func (*Pawn) SizeVT

func (m *Pawn) SizeVT() (n int)

func (*Pawn) String

func (x *Pawn) String() string

func (*Pawn) UnmarshalJSON

func (x *Pawn) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the Pawn from JSON.

func (*Pawn) UnmarshalProtoJSON

func (x *Pawn) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the Pawn message from JSON.

func (*Pawn) UnmarshalVT

func (m *Pawn) UnmarshalVT(dAtA []byte) error

type PawnResponse

type PawnResponse struct {
	Pawn *Pawn `protobuf:"bytes,1,opt,name=pawn,proto3" json:"pawn,omitempty"`
	// contains filtered or unexported fields
}

PawnResponse holds the player's hero, absent without a live one.

func (*PawnResponse) CloneMessageVT

func (m *PawnResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*PawnResponse) CloneVT

func (m *PawnResponse) CloneVT() *PawnResponse

func (*PawnResponse) EqualMessageVT

func (this *PawnResponse) EqualMessageVT(thatMsg any) bool

func (*PawnResponse) EqualVT

func (this *PawnResponse) EqualVT(that *PawnResponse) bool

func (*PawnResponse) GetPawn

func (x *PawnResponse) GetPawn() *Pawn

func (*PawnResponse) MarshalJSON

func (x *PawnResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the PawnResponse to JSON.

func (*PawnResponse) MarshalProtoJSON

func (x *PawnResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the PawnResponse message to JSON.

func (*PawnResponse) MarshalProtoText

func (x *PawnResponse) MarshalProtoText() string

func (*PawnResponse) MarshalToSizedBufferVT

func (m *PawnResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PawnResponse) MarshalToVT

func (m *PawnResponse) MarshalToVT(dAtA []byte) (int, error)

func (*PawnResponse) MarshalVT

func (m *PawnResponse) MarshalVT() (dAtA []byte, err error)

func (*PawnResponse) ProtoMessage

func (*PawnResponse) ProtoMessage()

func (*PawnResponse) Reset

func (x *PawnResponse) Reset()

func (*PawnResponse) SizeVT

func (m *PawnResponse) SizeVT() (n int)

func (*PawnResponse) String

func (x *PawnResponse) String() string

func (*PawnResponse) UnmarshalJSON

func (x *PawnResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the PawnResponse from JSON.

func (*PawnResponse) UnmarshalProtoJSON

func (x *PawnResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the PawnResponse message from JSON.

func (*PawnResponse) UnmarshalVT

func (m *PawnResponse) UnmarshalVT(dAtA []byte) error

type PickupKind

type PickupKind int32

PickupKind is a kind of item players collect by walking over it.

const (
	// PICKUP_KIND_URN is the soul urn, which its carrier delivers.
	PickupKind_PICKUP_KIND_URN PickupKind = 0
	// PICKUP_KIND_MOVEMENT_BUFF is the movement speed buff.
	PickupKind_PICKUP_KIND_MOVEMENT_BUFF PickupKind = 1
)

func (PickupKind) Enum

func (x PickupKind) Enum() *PickupKind

func (PickupKind) MarshalJSON

func (x PickupKind) MarshalJSON() ([]byte, error)

MarshalJSON marshals the PickupKind to JSON.

func (PickupKind) MarshalProtoJSON

func (x PickupKind) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the PickupKind to JSON.

func (PickupKind) MarshalProtoText

func (x PickupKind) MarshalProtoText() string

func (PickupKind) MarshalText

func (x PickupKind) MarshalText() ([]byte, error)

MarshalText marshals the PickupKind to text.

func (PickupKind) String

func (x PickupKind) String() string

func (*PickupKind) UnmarshalJSON

func (x *PickupKind) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the PickupKind from JSON.

func (*PickupKind) UnmarshalProtoJSON

func (x *PickupKind) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the PickupKind from JSON.

func (*PickupKind) UnmarshalText

func (x *PickupKind) UnmarshalText(b []byte) error

UnmarshalText unmarshals the PickupKind from text.

type PickupRequest

type PickupRequest struct {

	// Pickup is the pickup's entity handle.
	Pickup uint32 `protobuf:"varint,1,opt,name=pickup,proto3" json:"pickup,omitempty"`
	// contains filtered or unexported fields
}

PickupRequest addresses one pickup the mod placed.

func (*PickupRequest) CloneMessageVT

func (m *PickupRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*PickupRequest) CloneVT

func (m *PickupRequest) CloneVT() *PickupRequest

func (*PickupRequest) EqualMessageVT

func (this *PickupRequest) EqualMessageVT(thatMsg any) bool

func (*PickupRequest) EqualVT

func (this *PickupRequest) EqualVT(that *PickupRequest) bool

func (*PickupRequest) GetPickup

func (x *PickupRequest) GetPickup() uint32

func (*PickupRequest) MarshalJSON

func (x *PickupRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the PickupRequest to JSON.

func (*PickupRequest) MarshalProtoJSON

func (x *PickupRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the PickupRequest message to JSON.

func (*PickupRequest) MarshalProtoText

func (x *PickupRequest) MarshalProtoText() string

func (*PickupRequest) MarshalToSizedBufferVT

func (m *PickupRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PickupRequest) MarshalToVT

func (m *PickupRequest) MarshalToVT(dAtA []byte) (int, error)

func (*PickupRequest) MarshalVT

func (m *PickupRequest) MarshalVT() (dAtA []byte, err error)

func (*PickupRequest) ProtoMessage

func (*PickupRequest) ProtoMessage()

func (*PickupRequest) Reset

func (x *PickupRequest) Reset()

func (*PickupRequest) SizeVT

func (m *PickupRequest) SizeVT() (n int)

func (*PickupRequest) String

func (x *PickupRequest) String() string

func (*PickupRequest) UnmarshalJSON

func (x *PickupRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the PickupRequest from JSON.

func (*PickupRequest) UnmarshalProtoJSON

func (x *PickupRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the PickupRequest message from JSON.

func (*PickupRequest) UnmarshalVT

func (m *PickupRequest) UnmarshalVT(dAtA []byte) error

type PickupResponse

type PickupResponse struct {
	Pickup uint32 `protobuf:"varint,1,opt,name=pickup,proto3" json:"pickup,omitempty"`
	// contains filtered or unexported fields
}

PickupResponse holds the pickup CreatePickup placed.

func (*PickupResponse) CloneMessageVT

func (m *PickupResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*PickupResponse) CloneVT

func (m *PickupResponse) CloneVT() *PickupResponse

func (*PickupResponse) EqualMessageVT

func (this *PickupResponse) EqualMessageVT(thatMsg any) bool

func (*PickupResponse) EqualVT

func (this *PickupResponse) EqualVT(that *PickupResponse) bool

func (*PickupResponse) GetPickup

func (x *PickupResponse) GetPickup() uint32

func (*PickupResponse) MarshalJSON

func (x *PickupResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the PickupResponse to JSON.

func (*PickupResponse) MarshalProtoJSON

func (x *PickupResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the PickupResponse message to JSON.

func (*PickupResponse) MarshalProtoText

func (x *PickupResponse) MarshalProtoText() string

func (*PickupResponse) MarshalToSizedBufferVT

func (m *PickupResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PickupResponse) MarshalToVT

func (m *PickupResponse) MarshalToVT(dAtA []byte) (int, error)

func (*PickupResponse) MarshalVT

func (m *PickupResponse) MarshalVT() (dAtA []byte, err error)

func (*PickupResponse) ProtoMessage

func (*PickupResponse) ProtoMessage()

func (*PickupResponse) Reset

func (x *PickupResponse) Reset()

func (*PickupResponse) SizeVT

func (m *PickupResponse) SizeVT() (n int)

func (*PickupResponse) String

func (x *PickupResponse) String() string

func (*PickupResponse) UnmarshalJSON

func (x *PickupResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the PickupResponse from JSON.

func (*PickupResponse) UnmarshalProtoJSON

func (x *PickupResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the PickupResponse message from JSON.

func (*PickupResponse) UnmarshalVT

func (m *PickupResponse) UnmarshalVT(dAtA []byte) error

type PlayerInputRequest

type PlayerInputRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Buttons holds one bit per button.
	Buttons uint64 `protobuf:"varint,2,opt,name=buttons,proto3" json:"buttons,omitempty"`
	// contains filtered or unexported fields
}

PlayerInputRequest names buttons for one player.

func (*PlayerInputRequest) CloneMessageVT

func (m *PlayerInputRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*PlayerInputRequest) CloneVT

func (m *PlayerInputRequest) CloneVT() *PlayerInputRequest

func (*PlayerInputRequest) EqualMessageVT

func (this *PlayerInputRequest) EqualMessageVT(thatMsg any) bool

func (*PlayerInputRequest) EqualVT

func (this *PlayerInputRequest) EqualVT(that *PlayerInputRequest) bool

func (*PlayerInputRequest) GetButtons

func (x *PlayerInputRequest) GetButtons() uint64

func (*PlayerInputRequest) GetPlayer

func (x *PlayerInputRequest) GetPlayer() int32

func (*PlayerInputRequest) MarshalJSON

func (x *PlayerInputRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the PlayerInputRequest to JSON.

func (*PlayerInputRequest) MarshalProtoJSON

func (x *PlayerInputRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the PlayerInputRequest message to JSON.

func (*PlayerInputRequest) MarshalProtoText

func (x *PlayerInputRequest) MarshalProtoText() string

func (*PlayerInputRequest) MarshalToSizedBufferVT

func (m *PlayerInputRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PlayerInputRequest) MarshalToVT

func (m *PlayerInputRequest) MarshalToVT(dAtA []byte) (int, error)

func (*PlayerInputRequest) MarshalVT

func (m *PlayerInputRequest) MarshalVT() (dAtA []byte, err error)

func (*PlayerInputRequest) ProtoMessage

func (*PlayerInputRequest) ProtoMessage()

func (*PlayerInputRequest) Reset

func (x *PlayerInputRequest) Reset()

func (*PlayerInputRequest) SizeVT

func (m *PlayerInputRequest) SizeVT() (n int)

func (*PlayerInputRequest) String

func (x *PlayerInputRequest) String() string

func (*PlayerInputRequest) UnmarshalJSON

func (x *PlayerInputRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the PlayerInputRequest from JSON.

func (*PlayerInputRequest) UnmarshalProtoJSON

func (x *PlayerInputRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the PlayerInputRequest message from JSON.

func (*PlayerInputRequest) UnmarshalVT

func (m *PlayerInputRequest) UnmarshalVT(dAtA []byte) error

type PlayerRequest

type PlayerRequest struct {

	// Player is the player's server slot.
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// contains filtered or unexported fields
}

PlayerRequest addresses one player.

func (*PlayerRequest) CloneMessageVT

func (m *PlayerRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*PlayerRequest) CloneVT

func (m *PlayerRequest) CloneVT() *PlayerRequest

func (*PlayerRequest) EqualMessageVT

func (this *PlayerRequest) EqualMessageVT(thatMsg any) bool

func (*PlayerRequest) EqualVT

func (this *PlayerRequest) EqualVT(that *PlayerRequest) bool

func (*PlayerRequest) GetPlayer

func (x *PlayerRequest) GetPlayer() int32

func (*PlayerRequest) MarshalJSON

func (x *PlayerRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the PlayerRequest to JSON.

func (*PlayerRequest) MarshalProtoJSON

func (x *PlayerRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the PlayerRequest message to JSON.

func (*PlayerRequest) MarshalProtoText

func (x *PlayerRequest) MarshalProtoText() string

func (*PlayerRequest) MarshalToSizedBufferVT

func (m *PlayerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PlayerRequest) MarshalToVT

func (m *PlayerRequest) MarshalToVT(dAtA []byte) (int, error)

func (*PlayerRequest) MarshalVT

func (m *PlayerRequest) MarshalVT() (dAtA []byte, err error)

func (*PlayerRequest) ProtoMessage

func (*PlayerRequest) ProtoMessage()

func (*PlayerRequest) Reset

func (x *PlayerRequest) Reset()

func (*PlayerRequest) SizeVT

func (m *PlayerRequest) SizeVT() (n int)

func (*PlayerRequest) String

func (x *PlayerRequest) String() string

func (*PlayerRequest) UnmarshalJSON

func (x *PlayerRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the PlayerRequest from JSON.

func (*PlayerRequest) UnmarshalProtoJSON

func (x *PlayerRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the PlayerRequest message from JSON.

func (*PlayerRequest) UnmarshalVT

func (m *PlayerRequest) UnmarshalVT(dAtA []byte) error

type PlayerSettingRequest

type PlayerSettingRequest struct {

	// Player is the player's server slot.
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Key names a setting the manifest declares.
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

PlayerSettingRequest names one of a player's settings.

func (*PlayerSettingRequest) CloneMessageVT

func (*PlayerSettingRequest) CloneVT

func (*PlayerSettingRequest) EqualMessageVT

func (this *PlayerSettingRequest) EqualMessageVT(thatMsg any) bool

func (*PlayerSettingRequest) EqualVT

func (this *PlayerSettingRequest) EqualVT(that *PlayerSettingRequest) bool

func (*PlayerSettingRequest) GetKey

func (x *PlayerSettingRequest) GetKey() string

func (*PlayerSettingRequest) GetPlayer

func (x *PlayerSettingRequest) GetPlayer() int32

func (*PlayerSettingRequest) MarshalJSON

func (x *PlayerSettingRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the PlayerSettingRequest to JSON.

func (*PlayerSettingRequest) MarshalProtoJSON

func (x *PlayerSettingRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the PlayerSettingRequest message to JSON.

func (*PlayerSettingRequest) MarshalProtoText

func (x *PlayerSettingRequest) MarshalProtoText() string

func (*PlayerSettingRequest) MarshalToSizedBufferVT

func (m *PlayerSettingRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PlayerSettingRequest) MarshalToVT

func (m *PlayerSettingRequest) MarshalToVT(dAtA []byte) (int, error)

func (*PlayerSettingRequest) MarshalVT

func (m *PlayerSettingRequest) MarshalVT() (dAtA []byte, err error)

func (*PlayerSettingRequest) ProtoMessage

func (*PlayerSettingRequest) ProtoMessage()

func (*PlayerSettingRequest) Reset

func (x *PlayerSettingRequest) Reset()

func (*PlayerSettingRequest) SizeVT

func (m *PlayerSettingRequest) SizeVT() (n int)

func (*PlayerSettingRequest) String

func (x *PlayerSettingRequest) String() string

func (*PlayerSettingRequest) UnmarshalJSON

func (x *PlayerSettingRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the PlayerSettingRequest from JSON.

func (*PlayerSettingRequest) UnmarshalProtoJSON

func (x *PlayerSettingRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the PlayerSettingRequest message from JSON.

func (*PlayerSettingRequest) UnmarshalVT

func (m *PlayerSettingRequest) UnmarshalVT(dAtA []byte) error

type PlayersChangedEvent added in v0.1.4

type PlayersChangedEvent struct {
	Players []*Connection `protobuf:"bytes,1,rep,name=players,proto3" json:"players,omitempty"`
	// contains filtered or unexported fields
}

PlayersChangedEvent holds every occupied player slot, as Players lists them.

func (*PlayersChangedEvent) CloneMessageVT added in v0.1.4

func (*PlayersChangedEvent) CloneVT added in v0.1.4

func (*PlayersChangedEvent) EqualMessageVT added in v0.1.4

func (this *PlayersChangedEvent) EqualMessageVT(thatMsg any) bool

func (*PlayersChangedEvent) EqualVT added in v0.1.4

func (this *PlayersChangedEvent) EqualVT(that *PlayersChangedEvent) bool

func (*PlayersChangedEvent) GetPlayers added in v0.1.4

func (x *PlayersChangedEvent) GetPlayers() []*Connection

func (*PlayersChangedEvent) MarshalJSON added in v0.1.4

func (x *PlayersChangedEvent) MarshalJSON() ([]byte, error)

MarshalJSON marshals the PlayersChangedEvent to JSON.

func (*PlayersChangedEvent) MarshalProtoJSON added in v0.1.4

func (x *PlayersChangedEvent) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the PlayersChangedEvent message to JSON.

func (*PlayersChangedEvent) MarshalProtoText added in v0.1.4

func (x *PlayersChangedEvent) MarshalProtoText() string

func (*PlayersChangedEvent) MarshalToSizedBufferVT added in v0.1.4

func (m *PlayersChangedEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PlayersChangedEvent) MarshalToVT added in v0.1.4

func (m *PlayersChangedEvent) MarshalToVT(dAtA []byte) (int, error)

func (*PlayersChangedEvent) MarshalVT added in v0.1.4

func (m *PlayersChangedEvent) MarshalVT() (dAtA []byte, err error)

func (*PlayersChangedEvent) ProtoMessage added in v0.1.4

func (*PlayersChangedEvent) ProtoMessage()

func (*PlayersChangedEvent) Reset added in v0.1.4

func (x *PlayersChangedEvent) Reset()

func (*PlayersChangedEvent) SizeVT added in v0.1.4

func (m *PlayersChangedEvent) SizeVT() (n int)

func (*PlayersChangedEvent) String added in v0.1.4

func (x *PlayersChangedEvent) String() string

func (*PlayersChangedEvent) UnmarshalJSON added in v0.1.4

func (x *PlayersChangedEvent) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the PlayersChangedEvent from JSON.

func (*PlayersChangedEvent) UnmarshalProtoJSON added in v0.1.4

func (x *PlayersChangedEvent) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the PlayersChangedEvent message from JSON.

func (*PlayersChangedEvent) UnmarshalVT added in v0.1.4

func (m *PlayersChangedEvent) UnmarshalVT(dAtA []byte) error

type PlayersResponse

type PlayersResponse struct {
	Players []*Connection `protobuf:"bytes,1,rep,name=players,proto3" json:"players,omitempty"`
	// contains filtered or unexported fields
}

PlayersResponse lists the occupied player slots in slot order.

func (*PlayersResponse) CloneMessageVT

func (m *PlayersResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*PlayersResponse) CloneVT

func (m *PlayersResponse) CloneVT() *PlayersResponse

func (*PlayersResponse) EqualMessageVT

func (this *PlayersResponse) EqualMessageVT(thatMsg any) bool

func (*PlayersResponse) EqualVT

func (this *PlayersResponse) EqualVT(that *PlayersResponse) bool

func (*PlayersResponse) GetPlayers

func (x *PlayersResponse) GetPlayers() []*Connection

func (*PlayersResponse) MarshalJSON

func (x *PlayersResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the PlayersResponse to JSON.

func (*PlayersResponse) MarshalProtoJSON

func (x *PlayersResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the PlayersResponse message to JSON.

func (*PlayersResponse) MarshalProtoText

func (x *PlayersResponse) MarshalProtoText() string

func (*PlayersResponse) MarshalToSizedBufferVT

func (m *PlayersResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PlayersResponse) MarshalToVT

func (m *PlayersResponse) MarshalToVT(dAtA []byte) (int, error)

func (*PlayersResponse) MarshalVT

func (m *PlayersResponse) MarshalVT() (dAtA []byte, err error)

func (*PlayersResponse) ProtoMessage

func (*PlayersResponse) ProtoMessage()

func (*PlayersResponse) Reset

func (x *PlayersResponse) Reset()

func (*PlayersResponse) SizeVT

func (m *PlayersResponse) SizeVT() (n int)

func (*PlayersResponse) String

func (x *PlayersResponse) String() string

func (*PlayersResponse) UnmarshalJSON

func (x *PlayersResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the PlayersResponse from JSON.

func (*PlayersResponse) UnmarshalProtoJSON

func (x *PlayersResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the PlayersResponse message from JSON.

func (*PlayersResponse) UnmarshalVT

func (m *PlayersResponse) UnmarshalVT(dAtA []byte) error

type PrecacheOptions

type PrecacheOptions struct {

	// Heroes are hero names, such as hero_wraith.
	Heroes []string `protobuf:"bytes,1,rep,name=heroes,proto3" json:"heroes,omitempty"`
	// Resources are model and particle paths, such as models/props/crate.vmdl.
	Resources []string `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

PrecacheOptions names what the next world loads ahead of use.

func (*PrecacheOptions) CloneMessageVT

func (m *PrecacheOptions) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*PrecacheOptions) CloneVT

func (m *PrecacheOptions) CloneVT() *PrecacheOptions

func (*PrecacheOptions) EqualMessageVT

func (this *PrecacheOptions) EqualMessageVT(thatMsg any) bool

func (*PrecacheOptions) EqualVT

func (this *PrecacheOptions) EqualVT(that *PrecacheOptions) bool

func (*PrecacheOptions) GetHeroes

func (x *PrecacheOptions) GetHeroes() []string

func (*PrecacheOptions) GetResources

func (x *PrecacheOptions) GetResources() []string

func (*PrecacheOptions) MarshalJSON

func (x *PrecacheOptions) MarshalJSON() ([]byte, error)

MarshalJSON marshals the PrecacheOptions to JSON.

func (*PrecacheOptions) MarshalProtoJSON

func (x *PrecacheOptions) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the PrecacheOptions message to JSON.

func (*PrecacheOptions) MarshalProtoText

func (x *PrecacheOptions) MarshalProtoText() string

func (*PrecacheOptions) MarshalToSizedBufferVT

func (m *PrecacheOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PrecacheOptions) MarshalToVT

func (m *PrecacheOptions) MarshalToVT(dAtA []byte) (int, error)

func (*PrecacheOptions) MarshalVT

func (m *PrecacheOptions) MarshalVT() (dAtA []byte, err error)

func (*PrecacheOptions) ProtoMessage

func (*PrecacheOptions) ProtoMessage()

func (*PrecacheOptions) Reset

func (x *PrecacheOptions) Reset()

func (*PrecacheOptions) SizeVT

func (m *PrecacheOptions) SizeVT() (n int)

func (*PrecacheOptions) String

func (x *PrecacheOptions) String() string

func (*PrecacheOptions) UnmarshalJSON

func (x *PrecacheOptions) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the PrecacheOptions from JSON.

func (*PrecacheOptions) UnmarshalProtoJSON

func (x *PrecacheOptions) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the PrecacheOptions message from JSON.

func (*PrecacheOptions) UnmarshalVT

func (m *PrecacheOptions) UnmarshalVT(dAtA []byte) error

type ProjectileOptions

type ProjectileOptions struct {

	// Names lists designer names, such as rocket_launcher_rocket_projectile.
	Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	// KeepMomentum gives each live hero back the motion it had before a
	// watched projectile's explosion, so the mod's Impact handler sets the
	// push.
	KeepMomentum *bool `protobuf:"varint,2,opt,name=keep_momentum,json=keepMomentum,proto3,oneof" json:"keepMomentum,omitempty"`
	// contains filtered or unexported fields
}

ProjectileOptions selects the projectiles a mod watches.

func (*ProjectileOptions) CloneMessageVT

func (m *ProjectileOptions) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*ProjectileOptions) CloneVT

func (m *ProjectileOptions) CloneVT() *ProjectileOptions

func (*ProjectileOptions) EqualMessageVT

func (this *ProjectileOptions) EqualMessageVT(thatMsg any) bool

func (*ProjectileOptions) EqualVT

func (this *ProjectileOptions) EqualVT(that *ProjectileOptions) bool

func (*ProjectileOptions) GetKeepMomentum

func (x *ProjectileOptions) GetKeepMomentum() bool

func (*ProjectileOptions) GetNames

func (x *ProjectileOptions) GetNames() []string

func (*ProjectileOptions) MarshalJSON

func (x *ProjectileOptions) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ProjectileOptions to JSON.

func (*ProjectileOptions) MarshalProtoJSON

func (x *ProjectileOptions) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ProjectileOptions message to JSON.

func (*ProjectileOptions) MarshalProtoText

func (x *ProjectileOptions) MarshalProtoText() string

func (*ProjectileOptions) MarshalToSizedBufferVT

func (m *ProjectileOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ProjectileOptions) MarshalToVT

func (m *ProjectileOptions) MarshalToVT(dAtA []byte) (int, error)

func (*ProjectileOptions) MarshalVT

func (m *ProjectileOptions) MarshalVT() (dAtA []byte, err error)

func (*ProjectileOptions) ProtoMessage

func (*ProjectileOptions) ProtoMessage()

func (*ProjectileOptions) Reset

func (x *ProjectileOptions) Reset()

func (*ProjectileOptions) SizeVT

func (m *ProjectileOptions) SizeVT() (n int)

func (*ProjectileOptions) String

func (x *ProjectileOptions) String() string

func (*ProjectileOptions) UnmarshalJSON

func (x *ProjectileOptions) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ProjectileOptions from JSON.

func (*ProjectileOptions) UnmarshalProtoJSON

func (x *ProjectileOptions) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ProjectileOptions message from JSON.

func (*ProjectileOptions) UnmarshalVT

func (m *ProjectileOptions) UnmarshalVT(dAtA []byte) error

type ReadFieldRequest

type ReadFieldRequest struct {

	// Entity is the entity's handle.
	Entity uint32 `protobuf:"varint,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// ClassName is the server class that declares the field, or a subclass.
	ClassName string `protobuf:"bytes,2,opt,name=class_name,json=className,proto3" json:"className,omitempty"`
	// Field is the field's schema name, such as m_iHealth.
	Field string `protobuf:"bytes,3,opt,name=field,proto3" json:"field,omitempty"`
	// Type is how to read the field.
	Type FieldType `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

ReadFieldRequest names one schema field of a live entity.

func (*ReadFieldRequest) CloneMessageVT

func (m *ReadFieldRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*ReadFieldRequest) CloneVT

func (m *ReadFieldRequest) CloneVT() *ReadFieldRequest

func (*ReadFieldRequest) EqualMessageVT

func (this *ReadFieldRequest) EqualMessageVT(thatMsg any) bool

func (*ReadFieldRequest) EqualVT

func (this *ReadFieldRequest) EqualVT(that *ReadFieldRequest) bool

func (*ReadFieldRequest) GetClassName

func (x *ReadFieldRequest) GetClassName() string

func (*ReadFieldRequest) GetEntity

func (x *ReadFieldRequest) GetEntity() uint32

func (*ReadFieldRequest) GetField

func (x *ReadFieldRequest) GetField() string

func (*ReadFieldRequest) GetType

func (x *ReadFieldRequest) GetType() FieldType

func (*ReadFieldRequest) MarshalJSON

func (x *ReadFieldRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ReadFieldRequest to JSON.

func (*ReadFieldRequest) MarshalProtoJSON

func (x *ReadFieldRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ReadFieldRequest message to JSON.

func (*ReadFieldRequest) MarshalProtoText

func (x *ReadFieldRequest) MarshalProtoText() string

func (*ReadFieldRequest) MarshalToSizedBufferVT

func (m *ReadFieldRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ReadFieldRequest) MarshalToVT

func (m *ReadFieldRequest) MarshalToVT(dAtA []byte) (int, error)

func (*ReadFieldRequest) MarshalVT

func (m *ReadFieldRequest) MarshalVT() (dAtA []byte, err error)

func (*ReadFieldRequest) ProtoMessage

func (*ReadFieldRequest) ProtoMessage()

func (*ReadFieldRequest) Reset

func (x *ReadFieldRequest) Reset()

func (*ReadFieldRequest) SizeVT

func (m *ReadFieldRequest) SizeVT() (n int)

func (*ReadFieldRequest) String

func (x *ReadFieldRequest) String() string

func (*ReadFieldRequest) UnmarshalJSON

func (x *ReadFieldRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ReadFieldRequest from JSON.

func (*ReadFieldRequest) UnmarshalProtoJSON

func (x *ReadFieldRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ReadFieldRequest message from JSON.

func (*ReadFieldRequest) UnmarshalVT

func (m *ReadFieldRequest) UnmarshalVT(dAtA []byte) error

type RefreshAbilityRequest

type RefreshAbilityRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Ability is the ability's name.
	Ability string `protobuf:"bytes,2,opt,name=ability,proto3" json:"ability,omitempty"`
	// contains filtered or unexported fields
}

RefreshAbilityRequest names one ability of a player's hero.

func (*RefreshAbilityRequest) CloneMessageVT

func (*RefreshAbilityRequest) CloneVT

func (*RefreshAbilityRequest) EqualMessageVT

func (this *RefreshAbilityRequest) EqualMessageVT(thatMsg any) bool

func (*RefreshAbilityRequest) EqualVT

func (this *RefreshAbilityRequest) EqualVT(that *RefreshAbilityRequest) bool

func (*RefreshAbilityRequest) GetAbility

func (x *RefreshAbilityRequest) GetAbility() string

func (*RefreshAbilityRequest) GetPlayer

func (x *RefreshAbilityRequest) GetPlayer() int32

func (*RefreshAbilityRequest) MarshalJSON

func (x *RefreshAbilityRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the RefreshAbilityRequest to JSON.

func (*RefreshAbilityRequest) MarshalProtoJSON

func (x *RefreshAbilityRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the RefreshAbilityRequest message to JSON.

func (*RefreshAbilityRequest) MarshalProtoText

func (x *RefreshAbilityRequest) MarshalProtoText() string

func (*RefreshAbilityRequest) MarshalToSizedBufferVT

func (m *RefreshAbilityRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RefreshAbilityRequest) MarshalToVT

func (m *RefreshAbilityRequest) MarshalToVT(dAtA []byte) (int, error)

func (*RefreshAbilityRequest) MarshalVT

func (m *RefreshAbilityRequest) MarshalVT() (dAtA []byte, err error)

func (*RefreshAbilityRequest) ProtoMessage

func (*RefreshAbilityRequest) ProtoMessage()

func (*RefreshAbilityRequest) Reset

func (x *RefreshAbilityRequest) Reset()

func (*RefreshAbilityRequest) SizeVT

func (m *RefreshAbilityRequest) SizeVT() (n int)

func (*RefreshAbilityRequest) String

func (x *RefreshAbilityRequest) String() string

func (*RefreshAbilityRequest) UnmarshalJSON

func (x *RefreshAbilityRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the RefreshAbilityRequest from JSON.

func (*RefreshAbilityRequest) UnmarshalProtoJSON

func (x *RefreshAbilityRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the RefreshAbilityRequest message from JSON.

func (*RefreshAbilityRequest) UnmarshalVT

func (m *RefreshAbilityRequest) UnmarshalVT(dAtA []byte) error

type RemapInputRequest

type RemapInputRequest struct {

	// From holds the buttons the player presses; zero stops remapping.
	From uint64 `protobuf:"varint,1,opt,name=from,proto3" json:"from,omitempty"`
	// To holds the buttons the hero receives in their place.
	To uint64 `protobuf:"varint,2,opt,name=to,proto3" json:"to,omitempty"`
	// Repeat marks to as newly pressed in every input while from is held.
	Repeat *bool `protobuf:"varint,3,opt,name=repeat,proto3,oneof" json:"repeat,omitempty"`
	// contains filtered or unexported fields
}

RemapInputRequest replaces the button the mod remaps for every hero.

func (*RemapInputRequest) CloneMessageVT

func (m *RemapInputRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*RemapInputRequest) CloneVT

func (m *RemapInputRequest) CloneVT() *RemapInputRequest

func (*RemapInputRequest) EqualMessageVT

func (this *RemapInputRequest) EqualMessageVT(thatMsg any) bool

func (*RemapInputRequest) EqualVT

func (this *RemapInputRequest) EqualVT(that *RemapInputRequest) bool

func (*RemapInputRequest) GetFrom

func (x *RemapInputRequest) GetFrom() uint64

func (*RemapInputRequest) GetRepeat

func (x *RemapInputRequest) GetRepeat() bool

func (*RemapInputRequest) GetTo

func (x *RemapInputRequest) GetTo() uint64

func (*RemapInputRequest) MarshalJSON

func (x *RemapInputRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the RemapInputRequest to JSON.

func (*RemapInputRequest) MarshalProtoJSON

func (x *RemapInputRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the RemapInputRequest message to JSON.

func (*RemapInputRequest) MarshalProtoText

func (x *RemapInputRequest) MarshalProtoText() string

func (*RemapInputRequest) MarshalToSizedBufferVT

func (m *RemapInputRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RemapInputRequest) MarshalToVT

func (m *RemapInputRequest) MarshalToVT(dAtA []byte) (int, error)

func (*RemapInputRequest) MarshalVT

func (m *RemapInputRequest) MarshalVT() (dAtA []byte, err error)

func (*RemapInputRequest) ProtoMessage

func (*RemapInputRequest) ProtoMessage()

func (*RemapInputRequest) Reset

func (x *RemapInputRequest) Reset()

func (*RemapInputRequest) SizeVT

func (m *RemapInputRequest) SizeVT() (n int)

func (*RemapInputRequest) String

func (x *RemapInputRequest) String() string

func (*RemapInputRequest) UnmarshalJSON

func (x *RemapInputRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the RemapInputRequest from JSON.

func (*RemapInputRequest) UnmarshalProtoJSON

func (x *RemapInputRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the RemapInputRequest message from JSON.

func (*RemapInputRequest) UnmarshalVT

func (m *RemapInputRequest) UnmarshalVT(dAtA []byte) error

type RemoveEntitiesRequest

type RemoveEntitiesRequest struct {

	// ClassName is the exact entity class, such as npc_trooper.
	ClassName string `protobuf:"bytes,1,opt,name=class_name,json=className,proto3" json:"className,omitempty"`
	// contains filtered or unexported fields
}

RemoveEntitiesRequest names the entity class to remove.

func (*RemoveEntitiesRequest) CloneMessageVT

func (*RemoveEntitiesRequest) CloneVT

func (*RemoveEntitiesRequest) EqualMessageVT

func (this *RemoveEntitiesRequest) EqualMessageVT(thatMsg any) bool

func (*RemoveEntitiesRequest) EqualVT

func (this *RemoveEntitiesRequest) EqualVT(that *RemoveEntitiesRequest) bool

func (*RemoveEntitiesRequest) GetClassName

func (x *RemoveEntitiesRequest) GetClassName() string

func (*RemoveEntitiesRequest) MarshalJSON

func (x *RemoveEntitiesRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the RemoveEntitiesRequest to JSON.

func (*RemoveEntitiesRequest) MarshalProtoJSON

func (x *RemoveEntitiesRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the RemoveEntitiesRequest message to JSON.

func (*RemoveEntitiesRequest) MarshalProtoText

func (x *RemoveEntitiesRequest) MarshalProtoText() string

func (*RemoveEntitiesRequest) MarshalToSizedBufferVT

func (m *RemoveEntitiesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RemoveEntitiesRequest) MarshalToVT

func (m *RemoveEntitiesRequest) MarshalToVT(dAtA []byte) (int, error)

func (*RemoveEntitiesRequest) MarshalVT

func (m *RemoveEntitiesRequest) MarshalVT() (dAtA []byte, err error)

func (*RemoveEntitiesRequest) ProtoMessage

func (*RemoveEntitiesRequest) ProtoMessage()

func (*RemoveEntitiesRequest) Reset

func (x *RemoveEntitiesRequest) Reset()

func (*RemoveEntitiesRequest) SizeVT

func (m *RemoveEntitiesRequest) SizeVT() (n int)

func (*RemoveEntitiesRequest) String

func (x *RemoveEntitiesRequest) String() string

func (*RemoveEntitiesRequest) UnmarshalJSON

func (x *RemoveEntitiesRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the RemoveEntitiesRequest from JSON.

func (*RemoveEntitiesRequest) UnmarshalProtoJSON

func (x *RemoveEntitiesRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the RemoveEntitiesRequest message from JSON.

func (*RemoveEntitiesRequest) UnmarshalVT

func (m *RemoveEntitiesRequest) UnmarshalVT(dAtA []byte) error

type ReplaceAbilityRequest

type ReplaceAbilityRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Index is the ability slot, as Ability.slot.
	Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	// Ability is the new ability's name, such as ability_viper_slide.
	Ability string `protobuf:"bytes,3,opt,name=ability,proto3" json:"ability,omitempty"`
	// contains filtered or unexported fields
}

ReplaceAbilityRequest puts an ability in one of a player's ability slots.

func (*ReplaceAbilityRequest) CloneMessageVT

func (*ReplaceAbilityRequest) CloneVT

func (*ReplaceAbilityRequest) EqualMessageVT

func (this *ReplaceAbilityRequest) EqualMessageVT(thatMsg any) bool

func (*ReplaceAbilityRequest) EqualVT

func (this *ReplaceAbilityRequest) EqualVT(that *ReplaceAbilityRequest) bool

func (*ReplaceAbilityRequest) GetAbility

func (x *ReplaceAbilityRequest) GetAbility() string

func (*ReplaceAbilityRequest) GetIndex

func (x *ReplaceAbilityRequest) GetIndex() uint32

func (*ReplaceAbilityRequest) GetPlayer

func (x *ReplaceAbilityRequest) GetPlayer() int32

func (*ReplaceAbilityRequest) MarshalJSON

func (x *ReplaceAbilityRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ReplaceAbilityRequest to JSON.

func (*ReplaceAbilityRequest) MarshalProtoJSON

func (x *ReplaceAbilityRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ReplaceAbilityRequest message to JSON.

func (*ReplaceAbilityRequest) MarshalProtoText

func (x *ReplaceAbilityRequest) MarshalProtoText() string

func (*ReplaceAbilityRequest) MarshalToSizedBufferVT

func (m *ReplaceAbilityRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ReplaceAbilityRequest) MarshalToVT

func (m *ReplaceAbilityRequest) MarshalToVT(dAtA []byte) (int, error)

func (*ReplaceAbilityRequest) MarshalVT

func (m *ReplaceAbilityRequest) MarshalVT() (dAtA []byte, err error)

func (*ReplaceAbilityRequest) ProtoMessage

func (*ReplaceAbilityRequest) ProtoMessage()

func (*ReplaceAbilityRequest) Reset

func (x *ReplaceAbilityRequest) Reset()

func (*ReplaceAbilityRequest) SizeVT

func (m *ReplaceAbilityRequest) SizeVT() (n int)

func (*ReplaceAbilityRequest) String

func (x *ReplaceAbilityRequest) String() string

func (*ReplaceAbilityRequest) UnmarshalJSON

func (x *ReplaceAbilityRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ReplaceAbilityRequest from JSON.

func (*ReplaceAbilityRequest) UnmarshalProtoJSON

func (x *ReplaceAbilityRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ReplaceAbilityRequest message from JSON.

func (*ReplaceAbilityRequest) UnmarshalVT

func (m *ReplaceAbilityRequest) UnmarshalVT(dAtA []byte) error

type Reply

type Reply struct {

	// Error describes why the call failed, or is empty on success.
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	// Response is the method's encoded response.
	Response []byte `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
	// contains filtered or unexported fields
}

Reply answers one Call.

func (*Reply) CloneMessageVT

func (m *Reply) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*Reply) CloneVT

func (m *Reply) CloneVT() *Reply

func (*Reply) EqualMessageVT

func (this *Reply) EqualMessageVT(thatMsg any) bool

func (*Reply) EqualVT

func (this *Reply) EqualVT(that *Reply) bool

func (*Reply) GetError

func (x *Reply) GetError() string

func (*Reply) GetResponse

func (x *Reply) GetResponse() []byte

func (*Reply) MarshalJSON

func (x *Reply) MarshalJSON() ([]byte, error)

MarshalJSON marshals the Reply to JSON.

func (*Reply) MarshalProtoJSON

func (x *Reply) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the Reply message to JSON.

func (*Reply) MarshalProtoText

func (x *Reply) MarshalProtoText() string

func (*Reply) MarshalToSizedBufferVT

func (m *Reply) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Reply) MarshalToVT

func (m *Reply) MarshalToVT(dAtA []byte) (int, error)

func (*Reply) MarshalVT

func (m *Reply) MarshalVT() (dAtA []byte, err error)

func (*Reply) ProtoMessage

func (*Reply) ProtoMessage()

func (*Reply) Reset

func (x *Reply) Reset()

func (*Reply) SizeVT

func (m *Reply) SizeVT() (n int)

func (*Reply) String

func (x *Reply) String() string

func (*Reply) UnmarshalJSON

func (x *Reply) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the Reply from JSON.

func (*Reply) UnmarshalProtoJSON

func (x *Reply) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the Reply message from JSON.

func (*Reply) UnmarshalVT

func (m *Reply) UnmarshalVT(dAtA []byte) error

type ResetHeroRequest added in v0.1.3

type ResetHeroRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Souls is the amount the player holds after the reset.
	Souls int32 `protobuf:"varint,2,opt,name=souls,proto3" json:"souls,omitempty"`
	// contains filtered or unexported fields
}

ResetHeroRequest rebuilds one player's hero with a fresh build.

func (*ResetHeroRequest) CloneMessageVT added in v0.1.3

func (m *ResetHeroRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*ResetHeroRequest) CloneVT added in v0.1.3

func (m *ResetHeroRequest) CloneVT() *ResetHeroRequest

func (*ResetHeroRequest) EqualMessageVT added in v0.1.3

func (this *ResetHeroRequest) EqualMessageVT(thatMsg any) bool

func (*ResetHeroRequest) EqualVT added in v0.1.3

func (this *ResetHeroRequest) EqualVT(that *ResetHeroRequest) bool

func (*ResetHeroRequest) GetPlayer added in v0.1.3

func (x *ResetHeroRequest) GetPlayer() int32

func (*ResetHeroRequest) GetSouls added in v0.1.3

func (x *ResetHeroRequest) GetSouls() int32

func (*ResetHeroRequest) MarshalJSON added in v0.1.3

func (x *ResetHeroRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ResetHeroRequest to JSON.

func (*ResetHeroRequest) MarshalProtoJSON added in v0.1.3

func (x *ResetHeroRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ResetHeroRequest message to JSON.

func (*ResetHeroRequest) MarshalProtoText added in v0.1.3

func (x *ResetHeroRequest) MarshalProtoText() string

func (*ResetHeroRequest) MarshalToSizedBufferVT added in v0.1.3

func (m *ResetHeroRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ResetHeroRequest) MarshalToVT added in v0.1.3

func (m *ResetHeroRequest) MarshalToVT(dAtA []byte) (int, error)

func (*ResetHeroRequest) MarshalVT added in v0.1.3

func (m *ResetHeroRequest) MarshalVT() (dAtA []byte, err error)

func (*ResetHeroRequest) ProtoMessage added in v0.1.3

func (*ResetHeroRequest) ProtoMessage()

func (*ResetHeroRequest) Reset added in v0.1.3

func (x *ResetHeroRequest) Reset()

func (*ResetHeroRequest) SizeVT added in v0.1.3

func (m *ResetHeroRequest) SizeVT() (n int)

func (*ResetHeroRequest) String added in v0.1.3

func (x *ResetHeroRequest) String() string

func (*ResetHeroRequest) UnmarshalJSON added in v0.1.3

func (x *ResetHeroRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ResetHeroRequest from JSON.

func (*ResetHeroRequest) UnmarshalProtoJSON added in v0.1.3

func (x *ResetHeroRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ResetHeroRequest message from JSON.

func (*ResetHeroRequest) UnmarshalVT added in v0.1.3

func (m *ResetHeroRequest) UnmarshalVT(dAtA []byte) error

type RestoreHeroRequest

type RestoreHeroRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Target is the state to give the hero.
	Target *HeroTarget `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

RestoreHeroRequest starts restoring a player's live hero to a target.

func (*RestoreHeroRequest) CloneMessageVT

func (m *RestoreHeroRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*RestoreHeroRequest) CloneVT

func (m *RestoreHeroRequest) CloneVT() *RestoreHeroRequest

func (*RestoreHeroRequest) EqualMessageVT

func (this *RestoreHeroRequest) EqualMessageVT(thatMsg any) bool

func (*RestoreHeroRequest) EqualVT

func (this *RestoreHeroRequest) EqualVT(that *RestoreHeroRequest) bool

func (*RestoreHeroRequest) GetPlayer

func (x *RestoreHeroRequest) GetPlayer() int32

func (*RestoreHeroRequest) GetTarget

func (x *RestoreHeroRequest) GetTarget() *HeroTarget

func (*RestoreHeroRequest) MarshalJSON

func (x *RestoreHeroRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the RestoreHeroRequest to JSON.

func (*RestoreHeroRequest) MarshalProtoJSON

func (x *RestoreHeroRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the RestoreHeroRequest message to JSON.

func (*RestoreHeroRequest) MarshalProtoText

func (x *RestoreHeroRequest) MarshalProtoText() string

func (*RestoreHeroRequest) MarshalToSizedBufferVT

func (m *RestoreHeroRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RestoreHeroRequest) MarshalToVT

func (m *RestoreHeroRequest) MarshalToVT(dAtA []byte) (int, error)

func (*RestoreHeroRequest) MarshalVT

func (m *RestoreHeroRequest) MarshalVT() (dAtA []byte, err error)

func (*RestoreHeroRequest) ProtoMessage

func (*RestoreHeroRequest) ProtoMessage()

func (*RestoreHeroRequest) Reset

func (x *RestoreHeroRequest) Reset()

func (*RestoreHeroRequest) SizeVT

func (m *RestoreHeroRequest) SizeVT() (n int)

func (*RestoreHeroRequest) String

func (x *RestoreHeroRequest) String() string

func (*RestoreHeroRequest) UnmarshalJSON

func (x *RestoreHeroRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the RestoreHeroRequest from JSON.

func (*RestoreHeroRequest) UnmarshalProtoJSON

func (x *RestoreHeroRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the RestoreHeroRequest message from JSON.

func (*RestoreHeroRequest) UnmarshalVT

func (m *RestoreHeroRequest) UnmarshalVT(dAtA []byte) error

type RestoreNpcsRequest

type RestoreNpcsRequest struct {
	Npcs []*NpcTarget `protobuf:"bytes,1,rep,name=npcs,proto3" json:"npcs,omitempty"`
	// contains filtered or unexported fields
}

RestoreNpcsRequest lists the units the map should hold.

func (*RestoreNpcsRequest) CloneMessageVT

func (m *RestoreNpcsRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*RestoreNpcsRequest) CloneVT

func (m *RestoreNpcsRequest) CloneVT() *RestoreNpcsRequest

func (*RestoreNpcsRequest) EqualMessageVT

func (this *RestoreNpcsRequest) EqualMessageVT(thatMsg any) bool

func (*RestoreNpcsRequest) EqualVT

func (this *RestoreNpcsRequest) EqualVT(that *RestoreNpcsRequest) bool

func (*RestoreNpcsRequest) GetNpcs

func (x *RestoreNpcsRequest) GetNpcs() []*NpcTarget

func (*RestoreNpcsRequest) MarshalJSON

func (x *RestoreNpcsRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the RestoreNpcsRequest to JSON.

func (*RestoreNpcsRequest) MarshalProtoJSON

func (x *RestoreNpcsRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the RestoreNpcsRequest message to JSON.

func (*RestoreNpcsRequest) MarshalProtoText

func (x *RestoreNpcsRequest) MarshalProtoText() string

func (*RestoreNpcsRequest) MarshalToSizedBufferVT

func (m *RestoreNpcsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RestoreNpcsRequest) MarshalToVT

func (m *RestoreNpcsRequest) MarshalToVT(dAtA []byte) (int, error)

func (*RestoreNpcsRequest) MarshalVT

func (m *RestoreNpcsRequest) MarshalVT() (dAtA []byte, err error)

func (*RestoreNpcsRequest) ProtoMessage

func (*RestoreNpcsRequest) ProtoMessage()

func (*RestoreNpcsRequest) Reset

func (x *RestoreNpcsRequest) Reset()

func (*RestoreNpcsRequest) SizeVT

func (m *RestoreNpcsRequest) SizeVT() (n int)

func (*RestoreNpcsRequest) String

func (x *RestoreNpcsRequest) String() string

func (*RestoreNpcsRequest) UnmarshalJSON

func (x *RestoreNpcsRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the RestoreNpcsRequest from JSON.

func (*RestoreNpcsRequest) UnmarshalProtoJSON

func (x *RestoreNpcsRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the RestoreNpcsRequest message from JSON.

func (*RestoreNpcsRequest) UnmarshalVT

func (m *RestoreNpcsRequest) UnmarshalVT(dAtA []byte) error

type RestoredEvent

type RestoredEvent struct {

	// Player is the player whose hero was restored.
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Error describes why the hero does not match its target, or is empty when
	// it held the target for a second.
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

RestoredEvent reports how a RestoreHero ended.

func (*RestoredEvent) CloneMessageVT

func (m *RestoredEvent) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*RestoredEvent) CloneVT

func (m *RestoredEvent) CloneVT() *RestoredEvent

func (*RestoredEvent) EqualMessageVT

func (this *RestoredEvent) EqualMessageVT(thatMsg any) bool

func (*RestoredEvent) EqualVT

func (this *RestoredEvent) EqualVT(that *RestoredEvent) bool

func (*RestoredEvent) GetError

func (x *RestoredEvent) GetError() string

func (*RestoredEvent) GetPlayer

func (x *RestoredEvent) GetPlayer() int32

func (*RestoredEvent) MarshalJSON

func (x *RestoredEvent) MarshalJSON() ([]byte, error)

MarshalJSON marshals the RestoredEvent to JSON.

func (*RestoredEvent) MarshalProtoJSON

func (x *RestoredEvent) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the RestoredEvent message to JSON.

func (*RestoredEvent) MarshalProtoText

func (x *RestoredEvent) MarshalProtoText() string

func (*RestoredEvent) MarshalToSizedBufferVT

func (m *RestoredEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RestoredEvent) MarshalToVT

func (m *RestoredEvent) MarshalToVT(dAtA []byte) (int, error)

func (*RestoredEvent) MarshalVT

func (m *RestoredEvent) MarshalVT() (dAtA []byte, err error)

func (*RestoredEvent) ProtoMessage

func (*RestoredEvent) ProtoMessage()

func (*RestoredEvent) Reset

func (x *RestoredEvent) Reset()

func (*RestoredEvent) SizeVT

func (m *RestoredEvent) SizeVT() (n int)

func (*RestoredEvent) String

func (x *RestoredEvent) String() string

func (*RestoredEvent) UnmarshalJSON

func (x *RestoredEvent) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the RestoredEvent from JSON.

func (*RestoredEvent) UnmarshalProtoJSON

func (x *RestoredEvent) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the RestoredEvent message from JSON.

func (*RestoredEvent) UnmarshalVT

func (m *RestoredEvent) UnmarshalVT(dAtA []byte) error

type RiftResponse

type RiftResponse struct {
	State *RiftState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

RiftResponse holds the Rift objective's state.

func (*RiftResponse) CloneMessageVT

func (m *RiftResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*RiftResponse) CloneVT

func (m *RiftResponse) CloneVT() *RiftResponse

func (*RiftResponse) EqualMessageVT

func (this *RiftResponse) EqualMessageVT(thatMsg any) bool

func (*RiftResponse) EqualVT

func (this *RiftResponse) EqualVT(that *RiftResponse) bool

func (*RiftResponse) GetState

func (x *RiftResponse) GetState() *RiftState

func (*RiftResponse) MarshalJSON

func (x *RiftResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the RiftResponse to JSON.

func (*RiftResponse) MarshalProtoJSON

func (x *RiftResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the RiftResponse message to JSON.

func (*RiftResponse) MarshalProtoText

func (x *RiftResponse) MarshalProtoText() string

func (*RiftResponse) MarshalToSizedBufferVT

func (m *RiftResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RiftResponse) MarshalToVT

func (m *RiftResponse) MarshalToVT(dAtA []byte) (int, error)

func (*RiftResponse) MarshalVT

func (m *RiftResponse) MarshalVT() (dAtA []byte, err error)

func (*RiftResponse) ProtoMessage

func (*RiftResponse) ProtoMessage()

func (*RiftResponse) Reset

func (x *RiftResponse) Reset()

func (*RiftResponse) SizeVT

func (m *RiftResponse) SizeVT() (n int)

func (*RiftResponse) String

func (x *RiftResponse) String() string

func (*RiftResponse) UnmarshalJSON

func (x *RiftResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the RiftResponse from JSON.

func (*RiftResponse) UnmarshalProtoJSON

func (x *RiftResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the RiftResponse message from JSON.

func (*RiftResponse) UnmarshalVT

func (m *RiftResponse) UnmarshalVT(dAtA []byte) error

type RiftState

type RiftState struct {

	// ScoringTeam is the team holding the Rift, or zero.
	ScoringTeam   int32   `protobuf:"varint,1,opt,name=scoring_team,json=scoringTeam,proto3" json:"scoringTeam,omitempty"`
	ScoringTime   float32 `protobuf:"fixed32,2,opt,name=scoring_time,json=scoringTime,proto3" json:"scoringTime,omitempty"`
	CashInStarted float32 `protobuf:"fixed32,3,opt,name=cash_in_started,json=cashInStarted,proto3" json:"cashInStarted,omitempty"`
	GiveUpTime    float32 `protobuf:"fixed32,4,opt,name=give_up_time,json=giveUpTime,proto3" json:"giveUpTime,omitempty"`
	// NextSpawn is when the Rift next opens.
	NextSpawn   float32 `protobuf:"fixed32,5,opt,name=next_spawn,json=nextSpawn,proto3" json:"nextSpawn,omitempty"`
	SpawnWindow float32 `protobuf:"fixed32,6,opt,name=spawn_window,json=spawnWindow,proto3" json:"spawnWindow,omitempty"`
	// contains filtered or unexported fields
}

RiftState is the Rift objective's timing as the game holds it. Times are game times in seconds, or zero when unset.

func (*RiftState) CloneMessageVT

func (m *RiftState) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*RiftState) CloneVT

func (m *RiftState) CloneVT() *RiftState

func (*RiftState) EqualMessageVT

func (this *RiftState) EqualMessageVT(thatMsg any) bool

func (*RiftState) EqualVT

func (this *RiftState) EqualVT(that *RiftState) bool

func (*RiftState) GetCashInStarted

func (x *RiftState) GetCashInStarted() float32

func (*RiftState) GetGiveUpTime

func (x *RiftState) GetGiveUpTime() float32

func (*RiftState) GetNextSpawn

func (x *RiftState) GetNextSpawn() float32

func (*RiftState) GetScoringTeam

func (x *RiftState) GetScoringTeam() int32

func (*RiftState) GetScoringTime

func (x *RiftState) GetScoringTime() float32

func (*RiftState) GetSpawnWindow

func (x *RiftState) GetSpawnWindow() float32

func (*RiftState) MarshalJSON

func (x *RiftState) MarshalJSON() ([]byte, error)

MarshalJSON marshals the RiftState to JSON.

func (*RiftState) MarshalProtoJSON

func (x *RiftState) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the RiftState message to JSON.

func (*RiftState) MarshalProtoText

func (x *RiftState) MarshalProtoText() string

func (*RiftState) MarshalToSizedBufferVT

func (m *RiftState) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RiftState) MarshalToVT

func (m *RiftState) MarshalToVT(dAtA []byte) (int, error)

func (*RiftState) MarshalVT

func (m *RiftState) MarshalVT() (dAtA []byte, err error)

func (*RiftState) ProtoMessage

func (*RiftState) ProtoMessage()

func (*RiftState) Reset

func (x *RiftState) Reset()

func (*RiftState) SizeVT

func (m *RiftState) SizeVT() (n int)

func (*RiftState) String

func (x *RiftState) String() string

func (*RiftState) UnmarshalJSON

func (x *RiftState) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the RiftState from JSON.

func (*RiftState) UnmarshalProtoJSON

func (x *RiftState) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the RiftState message from JSON.

func (*RiftState) UnmarshalVT

func (m *RiftState) UnmarshalVT(dAtA []byte) error

type Score added in v0.1.3

type Score struct {
	Kills   int32 `protobuf:"varint,1,opt,name=kills,proto3" json:"kills,omitempty"`
	Deaths  int32 `protobuf:"varint,2,opt,name=deaths,proto3" json:"deaths,omitempty"`
	Assists int32 `protobuf:"varint,3,opt,name=assists,proto3" json:"assists,omitempty"`
	// LastHits counts enemy troopers and neutrals the player finished.
	LastHits int32 `protobuf:"varint,4,opt,name=last_hits,json=lastHits,proto3" json:"lastHits,omitempty"`
	// Denies counts allied troopers the player finished before an enemy could.
	Denies int32 `protobuf:"varint,5,opt,name=denies,proto3" json:"denies,omitempty"`
	// HeroDamage is the damage the player dealt to enemy heroes.
	HeroDamage int32 `protobuf:"varint,6,opt,name=hero_damage,json=heroDamage,proto3" json:"heroDamage,omitempty"`
	// HeroHealing is the healing the player gave other heroes.
	HeroHealing int32 `protobuf:"varint,7,opt,name=hero_healing,json=heroHealing,proto3" json:"heroHealing,omitempty"`
	// NetWorth is the souls the player has earned, spent or not.
	NetWorth int32 `protobuf:"varint,8,opt,name=net_worth,json=netWorth,proto3" json:"netWorth,omitempty"`
	// contains filtered or unexported fields
}

Score is one player's scoreboard counters since the match began, as the game counts them.

func (*Score) CloneMessageVT added in v0.1.3

func (m *Score) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*Score) CloneVT added in v0.1.3

func (m *Score) CloneVT() *Score

func (*Score) EqualMessageVT added in v0.1.3

func (this *Score) EqualMessageVT(thatMsg any) bool

func (*Score) EqualVT added in v0.1.3

func (this *Score) EqualVT(that *Score) bool

func (*Score) GetAssists added in v0.1.3

func (x *Score) GetAssists() int32

func (*Score) GetDeaths added in v0.1.3

func (x *Score) GetDeaths() int32

func (*Score) GetDenies added in v0.1.3

func (x *Score) GetDenies() int32

func (*Score) GetHeroDamage added in v0.1.3

func (x *Score) GetHeroDamage() int32

func (*Score) GetHeroHealing added in v0.1.3

func (x *Score) GetHeroHealing() int32

func (*Score) GetKills added in v0.1.3

func (x *Score) GetKills() int32

func (*Score) GetLastHits added in v0.1.3

func (x *Score) GetLastHits() int32

func (*Score) GetNetWorth added in v0.1.3

func (x *Score) GetNetWorth() int32

func (*Score) MarshalJSON added in v0.1.3

func (x *Score) MarshalJSON() ([]byte, error)

MarshalJSON marshals the Score to JSON.

func (*Score) MarshalProtoJSON added in v0.1.3

func (x *Score) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the Score message to JSON.

func (*Score) MarshalProtoText added in v0.1.3

func (x *Score) MarshalProtoText() string

func (*Score) MarshalToSizedBufferVT added in v0.1.3

func (m *Score) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Score) MarshalToVT added in v0.1.3

func (m *Score) MarshalToVT(dAtA []byte) (int, error)

func (*Score) MarshalVT added in v0.1.3

func (m *Score) MarshalVT() (dAtA []byte, err error)

func (*Score) ProtoMessage added in v0.1.3

func (*Score) ProtoMessage()

func (*Score) Reset added in v0.1.3

func (x *Score) Reset()

func (*Score) SizeVT added in v0.1.3

func (m *Score) SizeVT() (n int)

func (*Score) String added in v0.1.3

func (x *Score) String() string

func (*Score) UnmarshalJSON added in v0.1.3

func (x *Score) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the Score from JSON.

func (*Score) UnmarshalProtoJSON added in v0.1.3

func (x *Score) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the Score message from JSON.

func (*Score) UnmarshalVT added in v0.1.3

func (m *Score) UnmarshalVT(dAtA []byte) error

type ScreenEffect

type ScreenEffect int32

ScreenEffect is a stock full-screen view effect.

const (
	// SCREEN_EFFECT_KILLED is the death treatment.
	ScreenEffect_SCREEN_EFFECT_KILLED ScreenEffect = 0
	// SCREEN_EFFECT_BLACK fades the view to black.
	ScreenEffect_SCREEN_EFFECT_BLACK ScreenEffect = 1
	// SCREEN_EFFECT_BLINDED is the blind treatment.
	ScreenEffect_SCREEN_EFFECT_BLINDED ScreenEffect = 2
	// SCREEN_EFFECT_DARKNESS is Drifter's darkness view.
	ScreenEffect_SCREEN_EFFECT_DARKNESS ScreenEffect = 3
	// SCREEN_EFFECT_MATCH_INTRO is the match start treatment.
	ScreenEffect_SCREEN_EFFECT_MATCH_INTRO ScreenEffect = 4
)

func (ScreenEffect) Enum

func (x ScreenEffect) Enum() *ScreenEffect

func (ScreenEffect) MarshalJSON

func (x ScreenEffect) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ScreenEffect to JSON.

func (ScreenEffect) MarshalProtoJSON

func (x ScreenEffect) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ScreenEffect to JSON.

func (ScreenEffect) MarshalProtoText

func (x ScreenEffect) MarshalProtoText() string

func (ScreenEffect) MarshalText

func (x ScreenEffect) MarshalText() ([]byte, error)

MarshalText marshals the ScreenEffect to text.

func (ScreenEffect) String

func (x ScreenEffect) String() string

func (*ScreenEffect) UnmarshalJSON

func (x *ScreenEffect) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ScreenEffect from JSON.

func (*ScreenEffect) UnmarshalProtoJSON

func (x *ScreenEffect) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ScreenEffect from JSON.

func (*ScreenEffect) UnmarshalText

func (x *ScreenEffect) UnmarshalText(b []byte) error

UnmarshalText unmarshals the ScreenEffect from text.

type ScreenEffectRequest

type ScreenEffectRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Effect is the effect to play.
	Effect ScreenEffect `protobuf:"varint,2,opt,name=effect,proto3" json:"effect,omitempty"`
	// Timing is the effect's timing; omitted, the effect's own.
	Timing *ScreenTiming `protobuf:"bytes,3,opt,name=timing,proto3,oneof" json:"timing,omitempty"`
	// contains filtered or unexported fields
}

ScreenEffectRequest plays a screen effect on one player's view.

func (*ScreenEffectRequest) CloneMessageVT

func (*ScreenEffectRequest) CloneVT

func (*ScreenEffectRequest) EqualMessageVT

func (this *ScreenEffectRequest) EqualMessageVT(thatMsg any) bool

func (*ScreenEffectRequest) EqualVT

func (this *ScreenEffectRequest) EqualVT(that *ScreenEffectRequest) bool

func (*ScreenEffectRequest) GetEffect

func (x *ScreenEffectRequest) GetEffect() ScreenEffect

func (*ScreenEffectRequest) GetPlayer

func (x *ScreenEffectRequest) GetPlayer() int32

func (*ScreenEffectRequest) GetTiming

func (x *ScreenEffectRequest) GetTiming() *ScreenTiming

func (*ScreenEffectRequest) MarshalJSON

func (x *ScreenEffectRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ScreenEffectRequest to JSON.

func (*ScreenEffectRequest) MarshalProtoJSON

func (x *ScreenEffectRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ScreenEffectRequest message to JSON.

func (*ScreenEffectRequest) MarshalProtoText

func (x *ScreenEffectRequest) MarshalProtoText() string

func (*ScreenEffectRequest) MarshalToSizedBufferVT

func (m *ScreenEffectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ScreenEffectRequest) MarshalToVT

func (m *ScreenEffectRequest) MarshalToVT(dAtA []byte) (int, error)

func (*ScreenEffectRequest) MarshalVT

func (m *ScreenEffectRequest) MarshalVT() (dAtA []byte, err error)

func (*ScreenEffectRequest) ProtoMessage

func (*ScreenEffectRequest) ProtoMessage()

func (*ScreenEffectRequest) Reset

func (x *ScreenEffectRequest) Reset()

func (*ScreenEffectRequest) SizeVT

func (m *ScreenEffectRequest) SizeVT() (n int)

func (*ScreenEffectRequest) String

func (x *ScreenEffectRequest) String() string

func (*ScreenEffectRequest) UnmarshalJSON

func (x *ScreenEffectRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ScreenEffectRequest from JSON.

func (*ScreenEffectRequest) UnmarshalProtoJSON

func (x *ScreenEffectRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ScreenEffectRequest message from JSON.

func (*ScreenEffectRequest) UnmarshalVT

func (m *ScreenEffectRequest) UnmarshalVT(dAtA []byte) error

type ScreenTiming

type ScreenTiming struct {

	// Delay is the time before the effect starts.
	Delay *float32 `protobuf:"fixed32,1,opt,name=delay,proto3,oneof" json:"delay,omitempty"`
	// FadeIn is the time the effect takes to reach full strength.
	FadeIn *float32 `protobuf:"fixed32,2,opt,name=fade_in,json=fadeIn,proto3,oneof" json:"fadeIn,omitempty"`
	// Hold is the time the effect stays at full strength.
	Hold *float32 `protobuf:"fixed32,3,opt,name=hold,proto3,oneof" json:"hold,omitempty"`
	// FadeOut is the time the effect takes to end.
	FadeOut *float32 `protobuf:"fixed32,4,opt,name=fade_out,json=fadeOut,proto3,oneof" json:"fadeOut,omitempty"`
	// contains filtered or unexported fields
}

ScreenTiming is a screen effect's timing in seconds.

func (*ScreenTiming) CloneMessageVT

func (m *ScreenTiming) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*ScreenTiming) CloneVT

func (m *ScreenTiming) CloneVT() *ScreenTiming

func (*ScreenTiming) EqualMessageVT

func (this *ScreenTiming) EqualMessageVT(thatMsg any) bool

func (*ScreenTiming) EqualVT

func (this *ScreenTiming) EqualVT(that *ScreenTiming) bool

func (*ScreenTiming) GetDelay

func (x *ScreenTiming) GetDelay() float32

func (*ScreenTiming) GetFadeIn

func (x *ScreenTiming) GetFadeIn() float32

func (*ScreenTiming) GetFadeOut

func (x *ScreenTiming) GetFadeOut() float32

func (*ScreenTiming) GetHold

func (x *ScreenTiming) GetHold() float32

func (*ScreenTiming) MarshalJSON

func (x *ScreenTiming) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ScreenTiming to JSON.

func (*ScreenTiming) MarshalProtoJSON

func (x *ScreenTiming) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ScreenTiming message to JSON.

func (*ScreenTiming) MarshalProtoText

func (x *ScreenTiming) MarshalProtoText() string

func (*ScreenTiming) MarshalToSizedBufferVT

func (m *ScreenTiming) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ScreenTiming) MarshalToVT

func (m *ScreenTiming) MarshalToVT(dAtA []byte) (int, error)

func (*ScreenTiming) MarshalVT

func (m *ScreenTiming) MarshalVT() (dAtA []byte, err error)

func (*ScreenTiming) ProtoMessage

func (*ScreenTiming) ProtoMessage()

func (*ScreenTiming) Reset

func (x *ScreenTiming) Reset()

func (*ScreenTiming) SizeVT

func (m *ScreenTiming) SizeVT() (n int)

func (*ScreenTiming) String

func (x *ScreenTiming) String() string

func (*ScreenTiming) UnmarshalJSON

func (x *ScreenTiming) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ScreenTiming from JSON.

func (*ScreenTiming) UnmarshalProtoJSON

func (x *ScreenTiming) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ScreenTiming message from JSON.

func (*ScreenTiming) UnmarshalVT

func (m *ScreenTiming) UnmarshalVT(dAtA []byte) error

type SelectHeroRequest

type SelectHeroRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Hero names the hero, such as hero_wraith, or gives its identifier as
	// Pawn.hero reports it.
	//
	// Types that are assignable to Hero:
	//	*SelectHeroRequest_HeroName
	//	*SelectHeroRequest_HeroId
	Hero isSelectHeroRequest_Hero `protobuf_oneof:"hero"`
	// Team is the team number to join: 2 or 3.
	Team int32 `protobuf:"varint,4,opt,name=team,proto3" json:"team,omitempty"`
	// contains filtered or unexported fields
}

SelectHeroRequest gives a player a hero.

func (*SelectHeroRequest) CloneMessageVT

func (m *SelectHeroRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*SelectHeroRequest) CloneVT

func (m *SelectHeroRequest) CloneVT() *SelectHeroRequest

func (*SelectHeroRequest) EqualMessageVT

func (this *SelectHeroRequest) EqualMessageVT(thatMsg any) bool

func (*SelectHeroRequest) EqualVT

func (this *SelectHeroRequest) EqualVT(that *SelectHeroRequest) bool

func (*SelectHeroRequest) GetHero

func (m *SelectHeroRequest) GetHero() isSelectHeroRequest_Hero

func (*SelectHeroRequest) GetHeroId

func (x *SelectHeroRequest) GetHeroId() uint32

func (*SelectHeroRequest) GetHeroName

func (x *SelectHeroRequest) GetHeroName() string

func (*SelectHeroRequest) GetPlayer

func (x *SelectHeroRequest) GetPlayer() int32

func (*SelectHeroRequest) GetTeam

func (x *SelectHeroRequest) GetTeam() int32

func (*SelectHeroRequest) MarshalJSON

func (x *SelectHeroRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the SelectHeroRequest to JSON.

func (*SelectHeroRequest) MarshalProtoJSON

func (x *SelectHeroRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the SelectHeroRequest message to JSON.

func (*SelectHeroRequest) MarshalProtoText

func (x *SelectHeroRequest) MarshalProtoText() string

func (*SelectHeroRequest) MarshalToSizedBufferVT

func (m *SelectHeroRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SelectHeroRequest) MarshalToVT

func (m *SelectHeroRequest) MarshalToVT(dAtA []byte) (int, error)

func (*SelectHeroRequest) MarshalVT

func (m *SelectHeroRequest) MarshalVT() (dAtA []byte, err error)

func (*SelectHeroRequest) ProtoMessage

func (*SelectHeroRequest) ProtoMessage()

func (*SelectHeroRequest) Reset

func (x *SelectHeroRequest) Reset()

func (*SelectHeroRequest) SizeVT

func (m *SelectHeroRequest) SizeVT() (n int)

func (*SelectHeroRequest) String

func (x *SelectHeroRequest) String() string

func (*SelectHeroRequest) UnmarshalJSON

func (x *SelectHeroRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the SelectHeroRequest from JSON.

func (*SelectHeroRequest) UnmarshalProtoJSON

func (x *SelectHeroRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the SelectHeroRequest message from JSON.

func (*SelectHeroRequest) UnmarshalVT

func (m *SelectHeroRequest) UnmarshalVT(dAtA []byte) error

type SelectHeroRequest_HeroId

type SelectHeroRequest_HeroId struct {
	HeroId uint32 `protobuf:"varint,3,opt,name=hero_id,json=heroId,proto3,oneof"`
}

func (*SelectHeroRequest_HeroId) CloneOneofVT

func (m *SelectHeroRequest_HeroId) CloneOneofVT() isSelectHeroRequest_Hero

func (*SelectHeroRequest_HeroId) CloneVT

func (*SelectHeroRequest_HeroId) EqualVT

func (this *SelectHeroRequest_HeroId) EqualVT(thatIface isSelectHeroRequest_Hero) bool

func (*SelectHeroRequest_HeroId) MarshalToSizedBufferVT

func (m *SelectHeroRequest_HeroId) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SelectHeroRequest_HeroId) MarshalToVT

func (m *SelectHeroRequest_HeroId) MarshalToVT(dAtA []byte) (int, error)

func (*SelectHeroRequest_HeroId) SizeVT

func (m *SelectHeroRequest_HeroId) SizeVT() (n int)

type SelectHeroRequest_HeroName

type SelectHeroRequest_HeroName struct {
	HeroName string `protobuf:"bytes,2,opt,name=hero_name,json=heroName,proto3,oneof"`
}

func (*SelectHeroRequest_HeroName) CloneOneofVT

func (m *SelectHeroRequest_HeroName) CloneOneofVT() isSelectHeroRequest_Hero

func (*SelectHeroRequest_HeroName) CloneVT

func (*SelectHeroRequest_HeroName) EqualVT

func (this *SelectHeroRequest_HeroName) EqualVT(thatIface isSelectHeroRequest_Hero) bool

func (*SelectHeroRequest_HeroName) MarshalToSizedBufferVT

func (m *SelectHeroRequest_HeroName) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SelectHeroRequest_HeroName) MarshalToVT

func (m *SelectHeroRequest_HeroName) MarshalToVT(dAtA []byte) (int, error)

func (*SelectHeroRequest_HeroName) SizeVT

func (m *SelectHeroRequest_HeroName) SizeVT() (n int)

type ServerCommandRequest

type ServerCommandRequest struct {

	// Command is the console line, without a trailing newline.
	Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
	// contains filtered or unexported fields
}

ServerCommandRequest carries one server console line.

func (*ServerCommandRequest) CloneMessageVT

func (*ServerCommandRequest) CloneVT

func (*ServerCommandRequest) EqualMessageVT

func (this *ServerCommandRequest) EqualMessageVT(thatMsg any) bool

func (*ServerCommandRequest) EqualVT

func (this *ServerCommandRequest) EqualVT(that *ServerCommandRequest) bool

func (*ServerCommandRequest) GetCommand

func (x *ServerCommandRequest) GetCommand() string

func (*ServerCommandRequest) MarshalJSON

func (x *ServerCommandRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ServerCommandRequest to JSON.

func (*ServerCommandRequest) MarshalProtoJSON

func (x *ServerCommandRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ServerCommandRequest message to JSON.

func (*ServerCommandRequest) MarshalProtoText

func (x *ServerCommandRequest) MarshalProtoText() string

func (*ServerCommandRequest) MarshalToSizedBufferVT

func (m *ServerCommandRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ServerCommandRequest) MarshalToVT

func (m *ServerCommandRequest) MarshalToVT(dAtA []byte) (int, error)

func (*ServerCommandRequest) MarshalVT

func (m *ServerCommandRequest) MarshalVT() (dAtA []byte, err error)

func (*ServerCommandRequest) ProtoMessage

func (*ServerCommandRequest) ProtoMessage()

func (*ServerCommandRequest) Reset

func (x *ServerCommandRequest) Reset()

func (*ServerCommandRequest) SizeVT

func (m *ServerCommandRequest) SizeVT() (n int)

func (*ServerCommandRequest) String

func (x *ServerCommandRequest) String() string

func (*ServerCommandRequest) UnmarshalJSON

func (x *ServerCommandRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ServerCommandRequest from JSON.

func (*ServerCommandRequest) UnmarshalProtoJSON

func (x *ServerCommandRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ServerCommandRequest message from JSON.

func (*ServerCommandRequest) UnmarshalVT

func (m *ServerCommandRequest) UnmarshalVT(dAtA []byte) error

type ServiceCall

type ServiceCall struct {

	// Service names the service, such as "arena.match".
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// Method names the method within the service.
	Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
	// Payload is the call's argument.
	Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

ServiceCall calls one method of a service outside Modlock. A host that embeds Modlock provides services of its own, such as a game mode's match, and a mod may serve one to the host. The service and its caller agree on the payload's encoding.

func (*ServiceCall) CloneMessageVT

func (m *ServiceCall) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*ServiceCall) CloneVT

func (m *ServiceCall) CloneVT() *ServiceCall

func (*ServiceCall) EqualMessageVT

func (this *ServiceCall) EqualMessageVT(thatMsg any) bool

func (*ServiceCall) EqualVT

func (this *ServiceCall) EqualVT(that *ServiceCall) bool

func (*ServiceCall) GetMethod

func (x *ServiceCall) GetMethod() string

func (*ServiceCall) GetPayload

func (x *ServiceCall) GetPayload() []byte

func (*ServiceCall) GetService

func (x *ServiceCall) GetService() string

func (*ServiceCall) MarshalJSON

func (x *ServiceCall) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ServiceCall to JSON.

func (*ServiceCall) MarshalProtoJSON

func (x *ServiceCall) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ServiceCall message to JSON.

func (*ServiceCall) MarshalProtoText

func (x *ServiceCall) MarshalProtoText() string

func (*ServiceCall) MarshalToSizedBufferVT

func (m *ServiceCall) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ServiceCall) MarshalToVT

func (m *ServiceCall) MarshalToVT(dAtA []byte) (int, error)

func (*ServiceCall) MarshalVT

func (m *ServiceCall) MarshalVT() (dAtA []byte, err error)

func (*ServiceCall) ProtoMessage

func (*ServiceCall) ProtoMessage()

func (*ServiceCall) Reset

func (x *ServiceCall) Reset()

func (*ServiceCall) SizeVT

func (m *ServiceCall) SizeVT() (n int)

func (*ServiceCall) String

func (x *ServiceCall) String() string

func (*ServiceCall) UnmarshalJSON

func (x *ServiceCall) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ServiceCall from JSON.

func (*ServiceCall) UnmarshalProtoJSON

func (x *ServiceCall) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ServiceCall message from JSON.

func (*ServiceCall) UnmarshalVT

func (m *ServiceCall) UnmarshalVT(dAtA []byte) error

type ServiceReply

type ServiceReply struct {

	// Payload is the answer.
	Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

ServiceReply is a service's answer.

func (*ServiceReply) CloneMessageVT

func (m *ServiceReply) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*ServiceReply) CloneVT

func (m *ServiceReply) CloneVT() *ServiceReply

func (*ServiceReply) EqualMessageVT

func (this *ServiceReply) EqualMessageVT(thatMsg any) bool

func (*ServiceReply) EqualVT

func (this *ServiceReply) EqualVT(that *ServiceReply) bool

func (*ServiceReply) GetPayload

func (x *ServiceReply) GetPayload() []byte

func (*ServiceReply) MarshalJSON

func (x *ServiceReply) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ServiceReply to JSON.

func (*ServiceReply) MarshalProtoJSON

func (x *ServiceReply) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ServiceReply message to JSON.

func (*ServiceReply) MarshalProtoText

func (x *ServiceReply) MarshalProtoText() string

func (*ServiceReply) MarshalToSizedBufferVT

func (m *ServiceReply) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ServiceReply) MarshalToVT

func (m *ServiceReply) MarshalToVT(dAtA []byte) (int, error)

func (*ServiceReply) MarshalVT

func (m *ServiceReply) MarshalVT() (dAtA []byte, err error)

func (*ServiceReply) ProtoMessage

func (*ServiceReply) ProtoMessage()

func (*ServiceReply) Reset

func (x *ServiceReply) Reset()

func (*ServiceReply) SizeVT

func (m *ServiceReply) SizeVT() (n int)

func (*ServiceReply) String

func (x *ServiceReply) String() string

func (*ServiceReply) UnmarshalJSON

func (x *ServiceReply) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ServiceReply from JSON.

func (*ServiceReply) UnmarshalProtoJSON

func (x *ServiceReply) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ServiceReply message from JSON.

func (*ServiceReply) UnmarshalVT

func (m *ServiceReply) UnmarshalVT(dAtA []byte) error

type SetFreeForAllRequest added in v0.1.4

type SetFreeForAllRequest struct {

	// Enabled turns free-for-all on when true and off when false.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

SetFreeForAllRequest turns free-for-all on or off.

func (*SetFreeForAllRequest) CloneMessageVT added in v0.1.4

func (*SetFreeForAllRequest) CloneVT added in v0.1.4

func (*SetFreeForAllRequest) EqualMessageVT added in v0.1.4

func (this *SetFreeForAllRequest) EqualMessageVT(thatMsg any) bool

func (*SetFreeForAllRequest) EqualVT added in v0.1.4

func (this *SetFreeForAllRequest) EqualVT(that *SetFreeForAllRequest) bool

func (*SetFreeForAllRequest) GetEnabled added in v0.1.4

func (x *SetFreeForAllRequest) GetEnabled() bool

func (*SetFreeForAllRequest) MarshalJSON added in v0.1.4

func (x *SetFreeForAllRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the SetFreeForAllRequest to JSON.

func (*SetFreeForAllRequest) MarshalProtoJSON added in v0.1.4

func (x *SetFreeForAllRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the SetFreeForAllRequest message to JSON.

func (*SetFreeForAllRequest) MarshalProtoText added in v0.1.4

func (x *SetFreeForAllRequest) MarshalProtoText() string

func (*SetFreeForAllRequest) MarshalToSizedBufferVT added in v0.1.4

func (m *SetFreeForAllRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SetFreeForAllRequest) MarshalToVT added in v0.1.4

func (m *SetFreeForAllRequest) MarshalToVT(dAtA []byte) (int, error)

func (*SetFreeForAllRequest) MarshalVT added in v0.1.4

func (m *SetFreeForAllRequest) MarshalVT() (dAtA []byte, err error)

func (*SetFreeForAllRequest) ProtoMessage added in v0.1.4

func (*SetFreeForAllRequest) ProtoMessage()

func (*SetFreeForAllRequest) Reset added in v0.1.4

func (x *SetFreeForAllRequest) Reset()

func (*SetFreeForAllRequest) SizeVT added in v0.1.4

func (m *SetFreeForAllRequest) SizeVT() (n int)

func (*SetFreeForAllRequest) String added in v0.1.4

func (x *SetFreeForAllRequest) String() string

func (*SetFreeForAllRequest) UnmarshalJSON added in v0.1.4

func (x *SetFreeForAllRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the SetFreeForAllRequest from JSON.

func (*SetFreeForAllRequest) UnmarshalProtoJSON added in v0.1.4

func (x *SetFreeForAllRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the SetFreeForAllRequest message from JSON.

func (*SetFreeForAllRequest) UnmarshalVT added in v0.1.4

func (m *SetFreeForAllRequest) UnmarshalVT(dAtA []byte) error

type SetNpcHealthRequest

type SetNpcHealthRequest struct {
	Npc uint32 `protobuf:"varint,1,opt,name=npc,proto3" json:"npc,omitempty"`
	// Health is the unit's new health.
	Health int32 `protobuf:"varint,2,opt,name=health,proto3" json:"health,omitempty"`
	// MaxHealth is the unit's new maximum health; the default is health.
	MaxHealth *int32 `protobuf:"varint,3,opt,name=max_health,json=maxHealth,proto3,oneof" json:"maxHealth,omitempty"`
	// contains filtered or unexported fields
}

SetNpcHealthRequest sets one unit's health.

func (*SetNpcHealthRequest) CloneMessageVT

func (*SetNpcHealthRequest) CloneVT

func (*SetNpcHealthRequest) EqualMessageVT

func (this *SetNpcHealthRequest) EqualMessageVT(thatMsg any) bool

func (*SetNpcHealthRequest) EqualVT

func (this *SetNpcHealthRequest) EqualVT(that *SetNpcHealthRequest) bool

func (*SetNpcHealthRequest) GetHealth

func (x *SetNpcHealthRequest) GetHealth() int32

func (*SetNpcHealthRequest) GetMaxHealth

func (x *SetNpcHealthRequest) GetMaxHealth() int32

func (*SetNpcHealthRequest) GetNpc

func (x *SetNpcHealthRequest) GetNpc() uint32

func (*SetNpcHealthRequest) MarshalJSON

func (x *SetNpcHealthRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the SetNpcHealthRequest to JSON.

func (*SetNpcHealthRequest) MarshalProtoJSON

func (x *SetNpcHealthRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the SetNpcHealthRequest message to JSON.

func (*SetNpcHealthRequest) MarshalProtoText

func (x *SetNpcHealthRequest) MarshalProtoText() string

func (*SetNpcHealthRequest) MarshalToSizedBufferVT

func (m *SetNpcHealthRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SetNpcHealthRequest) MarshalToVT

func (m *SetNpcHealthRequest) MarshalToVT(dAtA []byte) (int, error)

func (*SetNpcHealthRequest) MarshalVT

func (m *SetNpcHealthRequest) MarshalVT() (dAtA []byte, err error)

func (*SetNpcHealthRequest) ProtoMessage

func (*SetNpcHealthRequest) ProtoMessage()

func (*SetNpcHealthRequest) Reset

func (x *SetNpcHealthRequest) Reset()

func (*SetNpcHealthRequest) SizeVT

func (m *SetNpcHealthRequest) SizeVT() (n int)

func (*SetNpcHealthRequest) String

func (x *SetNpcHealthRequest) String() string

func (*SetNpcHealthRequest) UnmarshalJSON

func (x *SetNpcHealthRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the SetNpcHealthRequest from JSON.

func (*SetNpcHealthRequest) UnmarshalProtoJSON

func (x *SetNpcHealthRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the SetNpcHealthRequest message from JSON.

func (*SetNpcHealthRequest) UnmarshalVT

func (m *SetNpcHealthRequest) UnmarshalVT(dAtA []byte) error

type SetObjectHiddenRequest added in v0.1.2

type SetObjectHiddenRequest struct {
	Object uint32 `protobuf:"varint,1,opt,name=object,proto3" json:"object,omitempty"`
	// Player is the server slot of the player who stops or resumes seeing it.
	Player int32 `protobuf:"varint,2,opt,name=player,proto3" json:"player,omitempty"`
	// Hidden is true to hide the object and false to show it.
	Hidden bool `protobuf:"varint,3,opt,name=hidden,proto3" json:"hidden,omitempty"`
	// contains filtered or unexported fields
}

SetObjectHiddenRequest hides one object from one player or shows it again.

func (*SetObjectHiddenRequest) CloneMessageVT added in v0.1.2

func (*SetObjectHiddenRequest) CloneVT added in v0.1.2

func (*SetObjectHiddenRequest) EqualMessageVT added in v0.1.2

func (this *SetObjectHiddenRequest) EqualMessageVT(thatMsg any) bool

func (*SetObjectHiddenRequest) EqualVT added in v0.1.2

func (this *SetObjectHiddenRequest) EqualVT(that *SetObjectHiddenRequest) bool

func (*SetObjectHiddenRequest) GetHidden added in v0.1.2

func (x *SetObjectHiddenRequest) GetHidden() bool

func (*SetObjectHiddenRequest) GetObject added in v0.1.2

func (x *SetObjectHiddenRequest) GetObject() uint32

func (*SetObjectHiddenRequest) GetPlayer added in v0.1.2

func (x *SetObjectHiddenRequest) GetPlayer() int32

func (*SetObjectHiddenRequest) MarshalJSON added in v0.1.2

func (x *SetObjectHiddenRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the SetObjectHiddenRequest to JSON.

func (*SetObjectHiddenRequest) MarshalProtoJSON added in v0.1.2

func (x *SetObjectHiddenRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the SetObjectHiddenRequest message to JSON.

func (*SetObjectHiddenRequest) MarshalProtoText added in v0.1.2

func (x *SetObjectHiddenRequest) MarshalProtoText() string

func (*SetObjectHiddenRequest) MarshalToSizedBufferVT added in v0.1.2

func (m *SetObjectHiddenRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SetObjectHiddenRequest) MarshalToVT added in v0.1.2

func (m *SetObjectHiddenRequest) MarshalToVT(dAtA []byte) (int, error)

func (*SetObjectHiddenRequest) MarshalVT added in v0.1.2

func (m *SetObjectHiddenRequest) MarshalVT() (dAtA []byte, err error)

func (*SetObjectHiddenRequest) ProtoMessage added in v0.1.2

func (*SetObjectHiddenRequest) ProtoMessage()

func (*SetObjectHiddenRequest) Reset added in v0.1.2

func (x *SetObjectHiddenRequest) Reset()

func (*SetObjectHiddenRequest) SizeVT added in v0.1.2

func (m *SetObjectHiddenRequest) SizeVT() (n int)

func (*SetObjectHiddenRequest) String added in v0.1.2

func (x *SetObjectHiddenRequest) String() string

func (*SetObjectHiddenRequest) UnmarshalJSON added in v0.1.2

func (x *SetObjectHiddenRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the SetObjectHiddenRequest from JSON.

func (*SetObjectHiddenRequest) UnmarshalProtoJSON added in v0.1.2

func (x *SetObjectHiddenRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the SetObjectHiddenRequest message from JSON.

func (*SetObjectHiddenRequest) UnmarshalVT added in v0.1.2

func (m *SetObjectHiddenRequest) UnmarshalVT(dAtA []byte) error

type SetPlayerSettingRequest

type SetPlayerSettingRequest struct {

	// Player is the player's server slot.
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Key names a setting the manifest declares.
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// Value is one of the setting's values, as SettingResponse holds it.
	Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

SetPlayerSettingRequest changes one of a player's settings.

func (*SetPlayerSettingRequest) CloneMessageVT

func (*SetPlayerSettingRequest) CloneVT

func (*SetPlayerSettingRequest) EqualMessageVT

func (this *SetPlayerSettingRequest) EqualMessageVT(thatMsg any) bool

func (*SetPlayerSettingRequest) EqualVT

func (*SetPlayerSettingRequest) GetKey

func (x *SetPlayerSettingRequest) GetKey() string

func (*SetPlayerSettingRequest) GetPlayer

func (x *SetPlayerSettingRequest) GetPlayer() int32

func (*SetPlayerSettingRequest) GetValue

func (x *SetPlayerSettingRequest) GetValue() string

func (*SetPlayerSettingRequest) MarshalJSON

func (x *SetPlayerSettingRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the SetPlayerSettingRequest to JSON.

func (*SetPlayerSettingRequest) MarshalProtoJSON

func (x *SetPlayerSettingRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the SetPlayerSettingRequest message to JSON.

func (*SetPlayerSettingRequest) MarshalProtoText

func (x *SetPlayerSettingRequest) MarshalProtoText() string

func (*SetPlayerSettingRequest) MarshalToSizedBufferVT

func (m *SetPlayerSettingRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SetPlayerSettingRequest) MarshalToVT

func (m *SetPlayerSettingRequest) MarshalToVT(dAtA []byte) (int, error)

func (*SetPlayerSettingRequest) MarshalVT

func (m *SetPlayerSettingRequest) MarshalVT() (dAtA []byte, err error)

func (*SetPlayerSettingRequest) ProtoMessage

func (*SetPlayerSettingRequest) ProtoMessage()

func (*SetPlayerSettingRequest) Reset

func (x *SetPlayerSettingRequest) Reset()

func (*SetPlayerSettingRequest) SizeVT

func (m *SetPlayerSettingRequest) SizeVT() (n int)

func (*SetPlayerSettingRequest) String

func (x *SetPlayerSettingRequest) String() string

func (*SetPlayerSettingRequest) UnmarshalJSON

func (x *SetPlayerSettingRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the SetPlayerSettingRequest from JSON.

func (*SetPlayerSettingRequest) UnmarshalProtoJSON

func (x *SetPlayerSettingRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the SetPlayerSettingRequest message from JSON.

func (*SetPlayerSettingRequest) UnmarshalVT

func (m *SetPlayerSettingRequest) UnmarshalVT(dAtA []byte) error

type SetStaminaRequest added in v0.1.3

type SetStaminaRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Stamina is the hero's new stamina; the hero stops at zero and at its
	// maximum.
	Stamina float32 `protobuf:"fixed32,2,opt,name=stamina,proto3" json:"stamina,omitempty"`
	// contains filtered or unexported fields
}

SetStaminaRequest sets one player's stamina.

func (*SetStaminaRequest) CloneMessageVT added in v0.1.3

func (m *SetStaminaRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*SetStaminaRequest) CloneVT added in v0.1.3

func (m *SetStaminaRequest) CloneVT() *SetStaminaRequest

func (*SetStaminaRequest) EqualMessageVT added in v0.1.3

func (this *SetStaminaRequest) EqualMessageVT(thatMsg any) bool

func (*SetStaminaRequest) EqualVT added in v0.1.3

func (this *SetStaminaRequest) EqualVT(that *SetStaminaRequest) bool

func (*SetStaminaRequest) GetPlayer added in v0.1.3

func (x *SetStaminaRequest) GetPlayer() int32

func (*SetStaminaRequest) GetStamina added in v0.1.3

func (x *SetStaminaRequest) GetStamina() float32

func (*SetStaminaRequest) MarshalJSON added in v0.1.3

func (x *SetStaminaRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the SetStaminaRequest to JSON.

func (*SetStaminaRequest) MarshalProtoJSON added in v0.1.3

func (x *SetStaminaRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the SetStaminaRequest message to JSON.

func (*SetStaminaRequest) MarshalProtoText added in v0.1.3

func (x *SetStaminaRequest) MarshalProtoText() string

func (*SetStaminaRequest) MarshalToSizedBufferVT added in v0.1.3

func (m *SetStaminaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SetStaminaRequest) MarshalToVT added in v0.1.3

func (m *SetStaminaRequest) MarshalToVT(dAtA []byte) (int, error)

func (*SetStaminaRequest) MarshalVT added in v0.1.3

func (m *SetStaminaRequest) MarshalVT() (dAtA []byte, err error)

func (*SetStaminaRequest) ProtoMessage added in v0.1.3

func (*SetStaminaRequest) ProtoMessage()

func (*SetStaminaRequest) Reset added in v0.1.3

func (x *SetStaminaRequest) Reset()

func (*SetStaminaRequest) SizeVT added in v0.1.3

func (m *SetStaminaRequest) SizeVT() (n int)

func (*SetStaminaRequest) String added in v0.1.3

func (x *SetStaminaRequest) String() string

func (*SetStaminaRequest) UnmarshalJSON added in v0.1.3

func (x *SetStaminaRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the SetStaminaRequest from JSON.

func (*SetStaminaRequest) UnmarshalProtoJSON added in v0.1.3

func (x *SetStaminaRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the SetStaminaRequest message from JSON.

func (*SetStaminaRequest) UnmarshalVT added in v0.1.3

func (m *SetStaminaRequest) UnmarshalVT(dAtA []byte) error

type SetTextRequest

type SetTextRequest struct {
	Object uint32 `protobuf:"varint,1,opt,name=object,proto3" json:"object,omitempty"`
	// Text is the new words.
	Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

SetTextRequest replaces a text object's words.

func (*SetTextRequest) CloneMessageVT

func (m *SetTextRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*SetTextRequest) CloneVT

func (m *SetTextRequest) CloneVT() *SetTextRequest

func (*SetTextRequest) EqualMessageVT

func (this *SetTextRequest) EqualMessageVT(thatMsg any) bool

func (*SetTextRequest) EqualVT

func (this *SetTextRequest) EqualVT(that *SetTextRequest) bool

func (*SetTextRequest) GetObject

func (x *SetTextRequest) GetObject() uint32

func (*SetTextRequest) GetText

func (x *SetTextRequest) GetText() string

func (*SetTextRequest) MarshalJSON

func (x *SetTextRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the SetTextRequest to JSON.

func (*SetTextRequest) MarshalProtoJSON

func (x *SetTextRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the SetTextRequest message to JSON.

func (*SetTextRequest) MarshalProtoText

func (x *SetTextRequest) MarshalProtoText() string

func (*SetTextRequest) MarshalToSizedBufferVT

func (m *SetTextRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SetTextRequest) MarshalToVT

func (m *SetTextRequest) MarshalToVT(dAtA []byte) (int, error)

func (*SetTextRequest) MarshalVT

func (m *SetTextRequest) MarshalVT() (dAtA []byte, err error)

func (*SetTextRequest) ProtoMessage

func (*SetTextRequest) ProtoMessage()

func (*SetTextRequest) Reset

func (x *SetTextRequest) Reset()

func (*SetTextRequest) SizeVT

func (m *SetTextRequest) SizeVT() (n int)

func (*SetTextRequest) String

func (x *SetTextRequest) String() string

func (*SetTextRequest) UnmarshalJSON

func (x *SetTextRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the SetTextRequest from JSON.

func (*SetTextRequest) UnmarshalProtoJSON

func (x *SetTextRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the SetTextRequest message from JSON.

func (*SetTextRequest) UnmarshalVT

func (m *SetTextRequest) UnmarshalVT(dAtA []byte) error

type SetVelocityRequest

type SetVelocityRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Velocity is the hero's new motion in units per second.
	Velocity *modlock.Vec3 `protobuf:"bytes,2,opt,name=velocity,proto3" json:"velocity,omitempty"`
	// contains filtered or unexported fields
}

SetVelocityRequest replaces one hero's motion.

func (*SetVelocityRequest) CloneMessageVT

func (m *SetVelocityRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*SetVelocityRequest) CloneVT

func (m *SetVelocityRequest) CloneVT() *SetVelocityRequest

func (*SetVelocityRequest) EqualMessageVT

func (this *SetVelocityRequest) EqualMessageVT(thatMsg any) bool

func (*SetVelocityRequest) EqualVT

func (this *SetVelocityRequest) EqualVT(that *SetVelocityRequest) bool

func (*SetVelocityRequest) GetPlayer

func (x *SetVelocityRequest) GetPlayer() int32

func (*SetVelocityRequest) GetVelocity

func (x *SetVelocityRequest) GetVelocity() *modlock.Vec3

func (*SetVelocityRequest) MarshalJSON

func (x *SetVelocityRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the SetVelocityRequest to JSON.

func (*SetVelocityRequest) MarshalProtoJSON

func (x *SetVelocityRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the SetVelocityRequest message to JSON.

func (*SetVelocityRequest) MarshalProtoText

func (x *SetVelocityRequest) MarshalProtoText() string

func (*SetVelocityRequest) MarshalToSizedBufferVT

func (m *SetVelocityRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SetVelocityRequest) MarshalToVT

func (m *SetVelocityRequest) MarshalToVT(dAtA []byte) (int, error)

func (*SetVelocityRequest) MarshalVT

func (m *SetVelocityRequest) MarshalVT() (dAtA []byte, err error)

func (*SetVelocityRequest) ProtoMessage

func (*SetVelocityRequest) ProtoMessage()

func (*SetVelocityRequest) Reset

func (x *SetVelocityRequest) Reset()

func (*SetVelocityRequest) SizeVT

func (m *SetVelocityRequest) SizeVT() (n int)

func (*SetVelocityRequest) String

func (x *SetVelocityRequest) String() string

func (*SetVelocityRequest) UnmarshalJSON

func (x *SetVelocityRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the SetVelocityRequest from JSON.

func (*SetVelocityRequest) UnmarshalProtoJSON

func (x *SetVelocityRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the SetVelocityRequest message from JSON.

func (*SetVelocityRequest) UnmarshalVT

func (m *SetVelocityRequest) UnmarshalVT(dAtA []byte) error

type Setting

type Setting struct {

	// Key names the setting in the mod's code: up to 64 letters, digits and
	// underscores, not starting with a digit.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Label names the setting to players.
	Label string       `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	Kind  Setting_Kind `protobuf:"varint,3,opt,name=kind,proto3" json:"kind,omitempty"`
	// Choices are a choice setting's values, in the order players see them.
	Choices []*SettingChoice `protobuf:"bytes,4,rep,name=choices,proto3" json:"choices,omitempty"`
	// Min, max and step bound a number setting.
	Min  float64 `protobuf:"fixed64,5,opt,name=min,proto3" json:"min,omitempty"`
	Max  float64 `protobuf:"fixed64,6,opt,name=max,proto3" json:"max,omitempty"`
	Step float64 `protobuf:"fixed64,7,opt,name=step,proto3" json:"step,omitempty"`
	// Default is the value a player starts with. Empty means the first choice,
	// off, or min.
	DefaultValue string `protobuf:"bytes,8,opt,name=default_value,json=default,proto3" json:"default,omitempty"`
	// contains filtered or unexported fields
}

Setting is one choice a player makes about a mod, such as a HUD layout. Each value is text: a choice's value, "true" or "false", or a number.

func (*Setting) CloneMessageVT

func (m *Setting) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*Setting) CloneVT

func (m *Setting) CloneVT() *Setting

func (*Setting) EqualMessageVT

func (this *Setting) EqualMessageVT(thatMsg any) bool

func (*Setting) EqualVT

func (this *Setting) EqualVT(that *Setting) bool

func (*Setting) GetChoices

func (x *Setting) GetChoices() []*SettingChoice

func (*Setting) GetDefaultValue

func (x *Setting) GetDefaultValue() string

func (*Setting) GetKey

func (x *Setting) GetKey() string

func (*Setting) GetKind

func (x *Setting) GetKind() Setting_Kind

func (*Setting) GetLabel

func (x *Setting) GetLabel() string

func (*Setting) GetMax

func (x *Setting) GetMax() float64

func (*Setting) GetMin

func (x *Setting) GetMin() float64

func (*Setting) GetStep

func (x *Setting) GetStep() float64

func (*Setting) MarshalJSON

func (x *Setting) MarshalJSON() ([]byte, error)

MarshalJSON marshals the Setting to JSON.

func (*Setting) MarshalProtoJSON

func (x *Setting) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the Setting message to JSON.

func (*Setting) MarshalProtoText

func (x *Setting) MarshalProtoText() string

func (*Setting) MarshalToSizedBufferVT

func (m *Setting) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Setting) MarshalToVT

func (m *Setting) MarshalToVT(dAtA []byte) (int, error)

func (*Setting) MarshalVT

func (m *Setting) MarshalVT() (dAtA []byte, err error)

func (*Setting) ProtoMessage

func (*Setting) ProtoMessage()

func (*Setting) Reset

func (x *Setting) Reset()

func (*Setting) SizeVT

func (m *Setting) SizeVT() (n int)

func (*Setting) String

func (x *Setting) String() string

func (*Setting) UnmarshalJSON

func (x *Setting) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the Setting from JSON.

func (*Setting) UnmarshalProtoJSON

func (x *Setting) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the Setting message from JSON.

func (*Setting) UnmarshalVT

func (m *Setting) UnmarshalVT(dAtA []byte) error

type SettingChangedEvent

type SettingChangedEvent struct {

	// Player is the player's server slot.
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Key names the setting.
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// Value is the new value.
	Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

SettingChangedEvent is one player's new value of one setting.

func (*SettingChangedEvent) CloneMessageVT

func (*SettingChangedEvent) CloneVT

func (*SettingChangedEvent) EqualMessageVT

func (this *SettingChangedEvent) EqualMessageVT(thatMsg any) bool

func (*SettingChangedEvent) EqualVT

func (this *SettingChangedEvent) EqualVT(that *SettingChangedEvent) bool

func (*SettingChangedEvent) GetKey

func (x *SettingChangedEvent) GetKey() string

func (*SettingChangedEvent) GetPlayer

func (x *SettingChangedEvent) GetPlayer() int32

func (*SettingChangedEvent) GetValue

func (x *SettingChangedEvent) GetValue() string

func (*SettingChangedEvent) MarshalJSON

func (x *SettingChangedEvent) MarshalJSON() ([]byte, error)

MarshalJSON marshals the SettingChangedEvent to JSON.

func (*SettingChangedEvent) MarshalProtoJSON

func (x *SettingChangedEvent) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the SettingChangedEvent message to JSON.

func (*SettingChangedEvent) MarshalProtoText

func (x *SettingChangedEvent) MarshalProtoText() string

func (*SettingChangedEvent) MarshalToSizedBufferVT

func (m *SettingChangedEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SettingChangedEvent) MarshalToVT

func (m *SettingChangedEvent) MarshalToVT(dAtA []byte) (int, error)

func (*SettingChangedEvent) MarshalVT

func (m *SettingChangedEvent) MarshalVT() (dAtA []byte, err error)

func (*SettingChangedEvent) ProtoMessage

func (*SettingChangedEvent) ProtoMessage()

func (*SettingChangedEvent) Reset

func (x *SettingChangedEvent) Reset()

func (*SettingChangedEvent) SizeVT

func (m *SettingChangedEvent) SizeVT() (n int)

func (*SettingChangedEvent) String

func (x *SettingChangedEvent) String() string

func (*SettingChangedEvent) UnmarshalJSON

func (x *SettingChangedEvent) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the SettingChangedEvent from JSON.

func (*SettingChangedEvent) UnmarshalProtoJSON

func (x *SettingChangedEvent) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the SettingChangedEvent message from JSON.

func (*SettingChangedEvent) UnmarshalVT

func (m *SettingChangedEvent) UnmarshalVT(dAtA []byte) error

type SettingChoice

type SettingChoice struct {

	// Value is the value the mod reads: letters, digits, dots, underscores
	// and hyphens.
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Label names the choice to players; empty shows the value.
	Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	// contains filtered or unexported fields
}

SettingChoice is one value of a choice setting.

func (*SettingChoice) CloneMessageVT

func (m *SettingChoice) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*SettingChoice) CloneVT

func (m *SettingChoice) CloneVT() *SettingChoice

func (*SettingChoice) EqualMessageVT

func (this *SettingChoice) EqualMessageVT(thatMsg any) bool

func (*SettingChoice) EqualVT

func (this *SettingChoice) EqualVT(that *SettingChoice) bool

func (*SettingChoice) GetLabel

func (x *SettingChoice) GetLabel() string

func (*SettingChoice) GetValue

func (x *SettingChoice) GetValue() string

func (*SettingChoice) MarshalJSON

func (x *SettingChoice) MarshalJSON() ([]byte, error)

MarshalJSON marshals the SettingChoice to JSON.

func (*SettingChoice) MarshalProtoJSON

func (x *SettingChoice) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the SettingChoice message to JSON.

func (*SettingChoice) MarshalProtoText

func (x *SettingChoice) MarshalProtoText() string

func (*SettingChoice) MarshalToSizedBufferVT

func (m *SettingChoice) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SettingChoice) MarshalToVT

func (m *SettingChoice) MarshalToVT(dAtA []byte) (int, error)

func (*SettingChoice) MarshalVT

func (m *SettingChoice) MarshalVT() (dAtA []byte, err error)

func (*SettingChoice) ProtoMessage

func (*SettingChoice) ProtoMessage()

func (*SettingChoice) Reset

func (x *SettingChoice) Reset()

func (*SettingChoice) SizeVT

func (m *SettingChoice) SizeVT() (n int)

func (*SettingChoice) String

func (x *SettingChoice) String() string

func (*SettingChoice) UnmarshalJSON

func (x *SettingChoice) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the SettingChoice from JSON.

func (*SettingChoice) UnmarshalProtoJSON

func (x *SettingChoice) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the SettingChoice message from JSON.

func (*SettingChoice) UnmarshalVT

func (m *SettingChoice) UnmarshalVT(dAtA []byte) error

type SettingResponse

type SettingResponse struct {

	// Value is the value as text: a choice's value, "true" or "false", or a
	// number.
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

SettingResponse holds a setting's value.

func (*SettingResponse) CloneMessageVT

func (m *SettingResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*SettingResponse) CloneVT

func (m *SettingResponse) CloneVT() *SettingResponse

func (*SettingResponse) EqualMessageVT

func (this *SettingResponse) EqualMessageVT(thatMsg any) bool

func (*SettingResponse) EqualVT

func (this *SettingResponse) EqualVT(that *SettingResponse) bool

func (*SettingResponse) GetValue

func (x *SettingResponse) GetValue() string

func (*SettingResponse) MarshalJSON

func (x *SettingResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the SettingResponse to JSON.

func (*SettingResponse) MarshalProtoJSON

func (x *SettingResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the SettingResponse message to JSON.

func (*SettingResponse) MarshalProtoText

func (x *SettingResponse) MarshalProtoText() string

func (*SettingResponse) MarshalToSizedBufferVT

func (m *SettingResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SettingResponse) MarshalToVT

func (m *SettingResponse) MarshalToVT(dAtA []byte) (int, error)

func (*SettingResponse) MarshalVT

func (m *SettingResponse) MarshalVT() (dAtA []byte, err error)

func (*SettingResponse) ProtoMessage

func (*SettingResponse) ProtoMessage()

func (*SettingResponse) Reset

func (x *SettingResponse) Reset()

func (*SettingResponse) SizeVT

func (m *SettingResponse) SizeVT() (n int)

func (*SettingResponse) String

func (x *SettingResponse) String() string

func (*SettingResponse) UnmarshalJSON

func (x *SettingResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the SettingResponse from JSON.

func (*SettingResponse) UnmarshalProtoJSON

func (x *SettingResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the SettingResponse message from JSON.

func (*SettingResponse) UnmarshalVT

func (m *SettingResponse) UnmarshalVT(dAtA []byte) error

type Setting_Kind

type Setting_Kind int32

Kind is the kind of value a setting holds.

const (
	// KIND_UNKNOWN is an unset or unsupported kind.
	Setting_KIND_UNKNOWN Setting_Kind = 0
	// KIND_CHOICE is one of the setting's choices.
	Setting_KIND_CHOICE Setting_Kind = 1
	// KIND_SWITCH is on or off.
	Setting_KIND_SWITCH Setting_Kind = 2
	// KIND_NUMBER is a number from min to max, on a step from min when step
	// is above zero.
	Setting_KIND_NUMBER Setting_Kind = 3
)

func (Setting_Kind) Enum

func (x Setting_Kind) Enum() *Setting_Kind

func (Setting_Kind) MarshalJSON

func (x Setting_Kind) MarshalJSON() ([]byte, error)

MarshalJSON marshals the Setting_Kind to JSON.

func (Setting_Kind) MarshalProtoJSON

func (x Setting_Kind) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the Setting_Kind to JSON.

func (Setting_Kind) MarshalProtoText

func (x Setting_Kind) MarshalProtoText() string

func (Setting_Kind) MarshalText

func (x Setting_Kind) MarshalText() ([]byte, error)

MarshalText marshals the Setting_Kind to text.

func (Setting_Kind) String

func (x Setting_Kind) String() string

func (*Setting_Kind) UnmarshalJSON

func (x *Setting_Kind) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the Setting_Kind from JSON.

func (*Setting_Kind) UnmarshalProtoJSON

func (x *Setting_Kind) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the Setting_Kind from JSON.

func (*Setting_Kind) UnmarshalText

func (x *Setting_Kind) UnmarshalText(b []byte) error

UnmarshalText unmarshals the Setting_Kind from text.

type ShowEntityOnlyToRequest added in v0.1.4

type ShowEntityOnlyToRequest struct {

	// Entity is the handle of an entity the mod created.
	Entity uint32 `protobuf:"varint,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// Players are the server slots of the players who receive it.
	Players []int32 `protobuf:"varint,2,rep,packed,name=players,proto3" json:"players,omitempty"`
	// contains filtered or unexported fields
}

ShowEntityOnlyToRequest names the only players who receive an entity.

func (*ShowEntityOnlyToRequest) CloneMessageVT added in v0.1.4

func (*ShowEntityOnlyToRequest) CloneVT added in v0.1.4

func (*ShowEntityOnlyToRequest) EqualMessageVT added in v0.1.4

func (this *ShowEntityOnlyToRequest) EqualMessageVT(thatMsg any) bool

func (*ShowEntityOnlyToRequest) EqualVT added in v0.1.4

func (*ShowEntityOnlyToRequest) GetEntity added in v0.1.4

func (x *ShowEntityOnlyToRequest) GetEntity() uint32

func (*ShowEntityOnlyToRequest) GetPlayers added in v0.1.4

func (x *ShowEntityOnlyToRequest) GetPlayers() []int32

func (*ShowEntityOnlyToRequest) MarshalJSON added in v0.1.4

func (x *ShowEntityOnlyToRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ShowEntityOnlyToRequest to JSON.

func (*ShowEntityOnlyToRequest) MarshalProtoJSON added in v0.1.4

func (x *ShowEntityOnlyToRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ShowEntityOnlyToRequest message to JSON.

func (*ShowEntityOnlyToRequest) MarshalProtoText added in v0.1.4

func (x *ShowEntityOnlyToRequest) MarshalProtoText() string

func (*ShowEntityOnlyToRequest) MarshalToSizedBufferVT added in v0.1.4

func (m *ShowEntityOnlyToRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ShowEntityOnlyToRequest) MarshalToVT added in v0.1.4

func (m *ShowEntityOnlyToRequest) MarshalToVT(dAtA []byte) (int, error)

func (*ShowEntityOnlyToRequest) MarshalVT added in v0.1.4

func (m *ShowEntityOnlyToRequest) MarshalVT() (dAtA []byte, err error)

func (*ShowEntityOnlyToRequest) ProtoMessage added in v0.1.4

func (*ShowEntityOnlyToRequest) ProtoMessage()

func (*ShowEntityOnlyToRequest) Reset added in v0.1.4

func (x *ShowEntityOnlyToRequest) Reset()

func (*ShowEntityOnlyToRequest) SizeVT added in v0.1.4

func (m *ShowEntityOnlyToRequest) SizeVT() (n int)

func (*ShowEntityOnlyToRequest) String added in v0.1.4

func (x *ShowEntityOnlyToRequest) String() string

func (*ShowEntityOnlyToRequest) UnmarshalJSON added in v0.1.4

func (x *ShowEntityOnlyToRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ShowEntityOnlyToRequest from JSON.

func (*ShowEntityOnlyToRequest) UnmarshalProtoJSON added in v0.1.4

func (x *ShowEntityOnlyToRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ShowEntityOnlyToRequest message from JSON.

func (*ShowEntityOnlyToRequest) UnmarshalVT added in v0.1.4

func (m *ShowEntityOnlyToRequest) UnmarshalVT(dAtA []byte) error

type SoundRequest

type SoundRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Sound is the game sound event's name, such as Player.ClaimOrb.
	Sound string `protobuf:"bytes,2,opt,name=sound,proto3" json:"sound,omitempty"`
	// contains filtered or unexported fields
}

SoundRequest plays one sound on a player's hero.

func (*SoundRequest) CloneMessageVT

func (m *SoundRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*SoundRequest) CloneVT

func (m *SoundRequest) CloneVT() *SoundRequest

func (*SoundRequest) EqualMessageVT

func (this *SoundRequest) EqualMessageVT(thatMsg any) bool

func (*SoundRequest) EqualVT

func (this *SoundRequest) EqualVT(that *SoundRequest) bool

func (*SoundRequest) GetPlayer

func (x *SoundRequest) GetPlayer() int32

func (*SoundRequest) GetSound

func (x *SoundRequest) GetSound() string

func (*SoundRequest) MarshalJSON

func (x *SoundRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the SoundRequest to JSON.

func (*SoundRequest) MarshalProtoJSON

func (x *SoundRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the SoundRequest message to JSON.

func (*SoundRequest) MarshalProtoText

func (x *SoundRequest) MarshalProtoText() string

func (*SoundRequest) MarshalToSizedBufferVT

func (m *SoundRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SoundRequest) MarshalToVT

func (m *SoundRequest) MarshalToVT(dAtA []byte) (int, error)

func (*SoundRequest) MarshalVT

func (m *SoundRequest) MarshalVT() (dAtA []byte, err error)

func (*SoundRequest) ProtoMessage

func (*SoundRequest) ProtoMessage()

func (*SoundRequest) Reset

func (x *SoundRequest) Reset()

func (*SoundRequest) SizeVT

func (m *SoundRequest) SizeVT() (n int)

func (*SoundRequest) String

func (x *SoundRequest) String() string

func (*SoundRequest) UnmarshalJSON

func (x *SoundRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the SoundRequest from JSON.

func (*SoundRequest) UnmarshalProtoJSON

func (x *SoundRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the SoundRequest message from JSON.

func (*SoundRequest) UnmarshalVT

func (m *SoundRequest) UnmarshalVT(dAtA []byte) error

type StartEvent

type StartEvent struct {

	// Args holds the arguments that follow -- on the host command line.
	Args []string `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"`
	// CheckOnly is true when the host checks the mod without starting a game;
	// every call but Log then fails.
	CheckOnly bool `protobuf:"varint,2,opt,name=check_only,json=checkOnly,proto3" json:"checkOnly,omitempty"`
	// Source holds an interpreted mod's entry, which the interpreter module
	// evaluates during start. It is empty for a compiled mod.
	Source []byte `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

StartEvent describes the server the mod starts in.

func (*StartEvent) CloneMessageVT

func (m *StartEvent) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*StartEvent) CloneVT

func (m *StartEvent) CloneVT() *StartEvent

func (*StartEvent) EqualMessageVT

func (this *StartEvent) EqualMessageVT(thatMsg any) bool

func (*StartEvent) EqualVT

func (this *StartEvent) EqualVT(that *StartEvent) bool

func (*StartEvent) GetArgs

func (x *StartEvent) GetArgs() []string

func (*StartEvent) GetCheckOnly

func (x *StartEvent) GetCheckOnly() bool

func (*StartEvent) GetSource

func (x *StartEvent) GetSource() []byte

func (*StartEvent) MarshalJSON

func (x *StartEvent) MarshalJSON() ([]byte, error)

MarshalJSON marshals the StartEvent to JSON.

func (*StartEvent) MarshalProtoJSON

func (x *StartEvent) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the StartEvent message to JSON.

func (*StartEvent) MarshalProtoText

func (x *StartEvent) MarshalProtoText() string

func (*StartEvent) MarshalToSizedBufferVT

func (m *StartEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StartEvent) MarshalToVT

func (m *StartEvent) MarshalToVT(dAtA []byte) (int, error)

func (*StartEvent) MarshalVT

func (m *StartEvent) MarshalVT() (dAtA []byte, err error)

func (*StartEvent) ProtoMessage

func (*StartEvent) ProtoMessage()

func (*StartEvent) Reset

func (x *StartEvent) Reset()

func (*StartEvent) SizeVT

func (m *StartEvent) SizeVT() (n int)

func (*StartEvent) String

func (x *StartEvent) String() string

func (*StartEvent) UnmarshalJSON

func (x *StartEvent) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the StartEvent from JSON.

func (*StartEvent) UnmarshalProtoJSON

func (x *StartEvent) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the StartEvent message from JSON.

func (*StartEvent) UnmarshalVT

func (m *StartEvent) UnmarshalVT(dAtA []byte) error

type StartResult

type StartResult struct {

	// Frames asks for a Frame event every server frame.
	Frames bool `protobuf:"varint,1,opt,name=frames,proto3" json:"frames,omitempty"`
	// Damage asks for a Damage event before each hit.
	Damage bool `protobuf:"varint,2,opt,name=damage,proto3" json:"damage,omitempty"`
	// Damaged asks for a Damaged event after each hit.
	Damaged bool `protobuf:"varint,3,opt,name=damaged,proto3" json:"damaged,omitempty"`
	// contains filtered or unexported fields
}

StartResult declares which events the mod consumes.

func (*StartResult) CloneMessageVT

func (m *StartResult) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*StartResult) CloneVT

func (m *StartResult) CloneVT() *StartResult

func (*StartResult) EqualMessageVT

func (this *StartResult) EqualMessageVT(thatMsg any) bool

func (*StartResult) EqualVT

func (this *StartResult) EqualVT(that *StartResult) bool

func (*StartResult) GetDamage

func (x *StartResult) GetDamage() bool

func (*StartResult) GetDamaged

func (x *StartResult) GetDamaged() bool

func (*StartResult) GetFrames

func (x *StartResult) GetFrames() bool

func (*StartResult) MarshalJSON

func (x *StartResult) MarshalJSON() ([]byte, error)

MarshalJSON marshals the StartResult to JSON.

func (*StartResult) MarshalProtoJSON

func (x *StartResult) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the StartResult message to JSON.

func (*StartResult) MarshalProtoText

func (x *StartResult) MarshalProtoText() string

func (*StartResult) MarshalToSizedBufferVT

func (m *StartResult) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StartResult) MarshalToVT

func (m *StartResult) MarshalToVT(dAtA []byte) (int, error)

func (*StartResult) MarshalVT

func (m *StartResult) MarshalVT() (dAtA []byte, err error)

func (*StartResult) ProtoMessage

func (*StartResult) ProtoMessage()

func (*StartResult) Reset

func (x *StartResult) Reset()

func (*StartResult) SizeVT

func (m *StartResult) SizeVT() (n int)

func (*StartResult) String

func (x *StartResult) String() string

func (*StartResult) UnmarshalJSON

func (x *StartResult) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the StartResult from JSON.

func (*StartResult) UnmarshalProtoJSON

func (x *StartResult) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the StartResult message from JSON.

func (*StartResult) UnmarshalVT

func (m *StartResult) UnmarshalVT(dAtA []byte) error

type StartRiftRequest

type StartRiftRequest struct {
	Position *modlock.Vec3 `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"`
	// contains filtered or unexported fields
}

StartRiftRequest starts the Rift objective at an authored position.

func (*StartRiftRequest) CloneMessageVT

func (m *StartRiftRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*StartRiftRequest) CloneVT

func (m *StartRiftRequest) CloneVT() *StartRiftRequest

func (*StartRiftRequest) EqualMessageVT

func (this *StartRiftRequest) EqualMessageVT(thatMsg any) bool

func (*StartRiftRequest) EqualVT

func (this *StartRiftRequest) EqualVT(that *StartRiftRequest) bool

func (*StartRiftRequest) GetPosition

func (x *StartRiftRequest) GetPosition() *modlock.Vec3

func (*StartRiftRequest) MarshalJSON

func (x *StartRiftRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the StartRiftRequest to JSON.

func (*StartRiftRequest) MarshalProtoJSON

func (x *StartRiftRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the StartRiftRequest message to JSON.

func (*StartRiftRequest) MarshalProtoText

func (x *StartRiftRequest) MarshalProtoText() string

func (*StartRiftRequest) MarshalToSizedBufferVT

func (m *StartRiftRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StartRiftRequest) MarshalToVT

func (m *StartRiftRequest) MarshalToVT(dAtA []byte) (int, error)

func (*StartRiftRequest) MarshalVT

func (m *StartRiftRequest) MarshalVT() (dAtA []byte, err error)

func (*StartRiftRequest) ProtoMessage

func (*StartRiftRequest) ProtoMessage()

func (*StartRiftRequest) Reset

func (x *StartRiftRequest) Reset()

func (*StartRiftRequest) SizeVT

func (m *StartRiftRequest) SizeVT() (n int)

func (*StartRiftRequest) String

func (x *StartRiftRequest) String() string

func (*StartRiftRequest) UnmarshalJSON

func (x *StartRiftRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the StartRiftRequest from JSON.

func (*StartRiftRequest) UnmarshalProtoJSON

func (x *StartRiftRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the StartRiftRequest message from JSON.

func (*StartRiftRequest) UnmarshalVT

func (m *StartRiftRequest) UnmarshalVT(dAtA []byte) error

type StartingSoulsRequest

type StartingSoulsRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Souls is the amount the player should hold at least.
	Souls int32 `protobuf:"varint,2,opt,name=souls,proto3" json:"souls,omitempty"`
	// contains filtered or unexported fields
}

StartingSoulsRequest sets the souls one player's hero spawns with.

func (*StartingSoulsRequest) CloneMessageVT

func (*StartingSoulsRequest) CloneVT

func (*StartingSoulsRequest) EqualMessageVT

func (this *StartingSoulsRequest) EqualMessageVT(thatMsg any) bool

func (*StartingSoulsRequest) EqualVT

func (this *StartingSoulsRequest) EqualVT(that *StartingSoulsRequest) bool

func (*StartingSoulsRequest) GetPlayer

func (x *StartingSoulsRequest) GetPlayer() int32

func (*StartingSoulsRequest) GetSouls

func (x *StartingSoulsRequest) GetSouls() int32

func (*StartingSoulsRequest) MarshalJSON

func (x *StartingSoulsRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the StartingSoulsRequest to JSON.

func (*StartingSoulsRequest) MarshalProtoJSON

func (x *StartingSoulsRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the StartingSoulsRequest message to JSON.

func (*StartingSoulsRequest) MarshalProtoText

func (x *StartingSoulsRequest) MarshalProtoText() string

func (*StartingSoulsRequest) MarshalToSizedBufferVT

func (m *StartingSoulsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StartingSoulsRequest) MarshalToVT

func (m *StartingSoulsRequest) MarshalToVT(dAtA []byte) (int, error)

func (*StartingSoulsRequest) MarshalVT

func (m *StartingSoulsRequest) MarshalVT() (dAtA []byte, err error)

func (*StartingSoulsRequest) ProtoMessage

func (*StartingSoulsRequest) ProtoMessage()

func (*StartingSoulsRequest) Reset

func (x *StartingSoulsRequest) Reset()

func (*StartingSoulsRequest) SizeVT

func (m *StartingSoulsRequest) SizeVT() (n int)

func (*StartingSoulsRequest) String

func (x *StartingSoulsRequest) String() string

func (*StartingSoulsRequest) UnmarshalJSON

func (x *StartingSoulsRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the StartingSoulsRequest from JSON.

func (*StartingSoulsRequest) UnmarshalProtoJSON

func (x *StartingSoulsRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the StartingSoulsRequest message from JSON.

func (*StartingSoulsRequest) UnmarshalVT

func (m *StartingSoulsRequest) UnmarshalVT(dAtA []byte) error

type SteerRequest added in v0.1.1

type SteerRequest struct {
	Player   int32     `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	Steering *Steering `protobuf:"bytes,2,opt,name=steering,proto3,oneof" json:"steering,omitempty"`
	// contains filtered or unexported fields
}

SteerRequest replays one movement command on a player's hero, or releases the hero without one.

func (*SteerRequest) CloneMessageVT added in v0.1.1

func (m *SteerRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*SteerRequest) CloneVT added in v0.1.1

func (m *SteerRequest) CloneVT() *SteerRequest

func (*SteerRequest) EqualMessageVT added in v0.1.1

func (this *SteerRequest) EqualMessageVT(thatMsg any) bool

func (*SteerRequest) EqualVT added in v0.1.1

func (this *SteerRequest) EqualVT(that *SteerRequest) bool

func (*SteerRequest) GetPlayer added in v0.1.1

func (x *SteerRequest) GetPlayer() int32

func (*SteerRequest) GetSteering added in v0.1.1

func (x *SteerRequest) GetSteering() *Steering

func (*SteerRequest) MarshalJSON added in v0.1.1

func (x *SteerRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the SteerRequest to JSON.

func (*SteerRequest) MarshalProtoJSON added in v0.1.1

func (x *SteerRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the SteerRequest message to JSON.

func (*SteerRequest) MarshalProtoText added in v0.1.1

func (x *SteerRequest) MarshalProtoText() string

func (*SteerRequest) MarshalToSizedBufferVT added in v0.1.1

func (m *SteerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SteerRequest) MarshalToVT added in v0.1.1

func (m *SteerRequest) MarshalToVT(dAtA []byte) (int, error)

func (*SteerRequest) MarshalVT added in v0.1.1

func (m *SteerRequest) MarshalVT() (dAtA []byte, err error)

func (*SteerRequest) ProtoMessage added in v0.1.1

func (*SteerRequest) ProtoMessage()

func (*SteerRequest) Reset added in v0.1.1

func (x *SteerRequest) Reset()

func (*SteerRequest) SizeVT added in v0.1.1

func (m *SteerRequest) SizeVT() (n int)

func (*SteerRequest) String added in v0.1.1

func (x *SteerRequest) String() string

func (*SteerRequest) UnmarshalJSON added in v0.1.1

func (x *SteerRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the SteerRequest from JSON.

func (*SteerRequest) UnmarshalProtoJSON added in v0.1.1

func (x *SteerRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the SteerRequest message from JSON.

func (*SteerRequest) UnmarshalVT added in v0.1.1

func (m *SteerRequest) UnmarshalVT(dAtA []byte) error

type Steering added in v0.1.1

type Steering struct {
	Command *MovementCommand `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
	// Position, Velocity and Grounded are the pose the step ends on.
	Position *modlock.Vec3 `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
	Velocity *modlock.Vec3 `protobuf:"bytes,3,opt,name=velocity,proto3" json:"velocity,omitempty"`
	Grounded bool          `protobuf:"varint,4,opt,name=grounded,proto3" json:"grounded,omitempty"`
	// Facing is where the command looks, which aims the hero and its animation.
	Facing *modlock.EulerAngles `protobuf:"bytes,5,opt,name=facing,proto3" json:"facing,omitempty"`
	// contains filtered or unexported fields
}

Steering is one recorded movement command and the pose its step ends on.

func (*Steering) CloneMessageVT added in v0.1.1

func (m *Steering) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*Steering) CloneVT added in v0.1.1

func (m *Steering) CloneVT() *Steering

func (*Steering) EqualMessageVT added in v0.1.1

func (this *Steering) EqualMessageVT(thatMsg any) bool

func (*Steering) EqualVT added in v0.1.1

func (this *Steering) EqualVT(that *Steering) bool

func (*Steering) GetCommand added in v0.1.1

func (x *Steering) GetCommand() *MovementCommand

func (*Steering) GetFacing added in v0.1.1

func (x *Steering) GetFacing() *modlock.EulerAngles

func (*Steering) GetGrounded added in v0.1.1

func (x *Steering) GetGrounded() bool

func (*Steering) GetPosition added in v0.1.1

func (x *Steering) GetPosition() *modlock.Vec3

func (*Steering) GetVelocity added in v0.1.1

func (x *Steering) GetVelocity() *modlock.Vec3

func (*Steering) MarshalJSON added in v0.1.1

func (x *Steering) MarshalJSON() ([]byte, error)

MarshalJSON marshals the Steering to JSON.

func (*Steering) MarshalProtoJSON added in v0.1.1

func (x *Steering) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the Steering message to JSON.

func (*Steering) MarshalProtoText added in v0.1.1

func (x *Steering) MarshalProtoText() string

func (*Steering) MarshalToSizedBufferVT added in v0.1.1

func (m *Steering) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Steering) MarshalToVT added in v0.1.1

func (m *Steering) MarshalToVT(dAtA []byte) (int, error)

func (*Steering) MarshalVT added in v0.1.1

func (m *Steering) MarshalVT() (dAtA []byte, err error)

func (*Steering) ProtoMessage added in v0.1.1

func (*Steering) ProtoMessage()

func (*Steering) Reset added in v0.1.1

func (x *Steering) Reset()

func (*Steering) SizeVT added in v0.1.1

func (m *Steering) SizeVT() (n int)

func (*Steering) String added in v0.1.1

func (x *Steering) String() string

func (*Steering) UnmarshalJSON added in v0.1.1

func (x *Steering) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the Steering from JSON.

func (*Steering) UnmarshalProtoJSON added in v0.1.1

func (x *Steering) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the Steering message from JSON.

func (*Steering) UnmarshalVT added in v0.1.1

func (m *Steering) UnmarshalVT(dAtA []byte) error

type StoredSetting

type StoredSetting struct {
	Mod     string `protobuf:"bytes,1,opt,name=mod,proto3" json:"mod,omitempty"`
	SteamId uint64 `protobuf:"varint,2,opt,name=steam_id,json=steamId,proto3" json:"steamId,omitempty"`
	Key     string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	Value   string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

StoredSetting is one player's value of one mod's setting.

func (*StoredSetting) CloneMessageVT

func (m *StoredSetting) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*StoredSetting) CloneVT

func (m *StoredSetting) CloneVT() *StoredSetting

func (*StoredSetting) EqualMessageVT

func (this *StoredSetting) EqualMessageVT(thatMsg any) bool

func (*StoredSetting) EqualVT

func (this *StoredSetting) EqualVT(that *StoredSetting) bool

func (*StoredSetting) GetKey

func (x *StoredSetting) GetKey() string

func (*StoredSetting) GetMod

func (x *StoredSetting) GetMod() string

func (*StoredSetting) GetSteamId

func (x *StoredSetting) GetSteamId() uint64

func (*StoredSetting) GetValue

func (x *StoredSetting) GetValue() string

func (*StoredSetting) MarshalJSON

func (x *StoredSetting) MarshalJSON() ([]byte, error)

MarshalJSON marshals the StoredSetting to JSON.

func (*StoredSetting) MarshalProtoJSON

func (x *StoredSetting) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the StoredSetting message to JSON.

func (*StoredSetting) MarshalProtoText

func (x *StoredSetting) MarshalProtoText() string

func (*StoredSetting) MarshalToSizedBufferVT

func (m *StoredSetting) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StoredSetting) MarshalToVT

func (m *StoredSetting) MarshalToVT(dAtA []byte) (int, error)

func (*StoredSetting) MarshalVT

func (m *StoredSetting) MarshalVT() (dAtA []byte, err error)

func (*StoredSetting) ProtoMessage

func (*StoredSetting) ProtoMessage()

func (*StoredSetting) Reset

func (x *StoredSetting) Reset()

func (*StoredSetting) SizeVT

func (m *StoredSetting) SizeVT() (n int)

func (*StoredSetting) String

func (x *StoredSetting) String() string

func (*StoredSetting) UnmarshalJSON

func (x *StoredSetting) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the StoredSetting from JSON.

func (*StoredSetting) UnmarshalProtoJSON

func (x *StoredSetting) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the StoredSetting message from JSON.

func (*StoredSetting) UnmarshalVT

func (m *StoredSetting) UnmarshalVT(dAtA []byte) error

type StoredSettings

type StoredSettings struct {
	Values []*StoredSetting `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

StoredSettings is the file a host without a settings service keeps players' settings in.

func (*StoredSettings) CloneMessageVT

func (m *StoredSettings) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*StoredSettings) CloneVT

func (m *StoredSettings) CloneVT() *StoredSettings

func (*StoredSettings) EqualMessageVT

func (this *StoredSettings) EqualMessageVT(thatMsg any) bool

func (*StoredSettings) EqualVT

func (this *StoredSettings) EqualVT(that *StoredSettings) bool

func (*StoredSettings) GetValues

func (x *StoredSettings) GetValues() []*StoredSetting

func (*StoredSettings) MarshalJSON

func (x *StoredSettings) MarshalJSON() ([]byte, error)

MarshalJSON marshals the StoredSettings to JSON.

func (*StoredSettings) MarshalProtoJSON

func (x *StoredSettings) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the StoredSettings message to JSON.

func (*StoredSettings) MarshalProtoText

func (x *StoredSettings) MarshalProtoText() string

func (*StoredSettings) MarshalToSizedBufferVT

func (m *StoredSettings) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StoredSettings) MarshalToVT

func (m *StoredSettings) MarshalToVT(dAtA []byte) (int, error)

func (*StoredSettings) MarshalVT

func (m *StoredSettings) MarshalVT() (dAtA []byte, err error)

func (*StoredSettings) ProtoMessage

func (*StoredSettings) ProtoMessage()

func (*StoredSettings) Reset

func (x *StoredSettings) Reset()

func (*StoredSettings) SizeVT

func (m *StoredSettings) SizeVT() (n int)

func (*StoredSettings) String

func (x *StoredSettings) String() string

func (*StoredSettings) UnmarshalJSON

func (x *StoredSettings) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the StoredSettings from JSON.

func (*StoredSettings) UnmarshalProtoJSON

func (x *StoredSettings) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the StoredSettings message from JSON.

func (*StoredSettings) UnmarshalVT

func (m *StoredSettings) UnmarshalVT(dAtA []byte) error

type TeleportRequest

type TeleportRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Position is the hero's new origin.
	Position *modlock.Vec3 `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
	// Facing is where the hero and camera face afterwards.
	Facing *modlock.EulerAngles `protobuf:"bytes,3,opt,name=facing,proto3" json:"facing,omitempty"`
	// Velocity replaces the hero's motion when present.
	Velocity *modlock.Vec3 `protobuf:"bytes,4,opt,name=velocity,proto3,oneof" json:"velocity,omitempty"`
	// contains filtered or unexported fields
}

TeleportRequest places one player's hero.

func (*TeleportRequest) CloneMessageVT

func (m *TeleportRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*TeleportRequest) CloneVT

func (m *TeleportRequest) CloneVT() *TeleportRequest

func (*TeleportRequest) EqualMessageVT

func (this *TeleportRequest) EqualMessageVT(thatMsg any) bool

func (*TeleportRequest) EqualVT

func (this *TeleportRequest) EqualVT(that *TeleportRequest) bool

func (*TeleportRequest) GetFacing

func (x *TeleportRequest) GetFacing() *modlock.EulerAngles

func (*TeleportRequest) GetPlayer

func (x *TeleportRequest) GetPlayer() int32

func (*TeleportRequest) GetPosition

func (x *TeleportRequest) GetPosition() *modlock.Vec3

func (*TeleportRequest) GetVelocity

func (x *TeleportRequest) GetVelocity() *modlock.Vec3

func (*TeleportRequest) MarshalJSON

func (x *TeleportRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the TeleportRequest to JSON.

func (*TeleportRequest) MarshalProtoJSON

func (x *TeleportRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the TeleportRequest message to JSON.

func (*TeleportRequest) MarshalProtoText

func (x *TeleportRequest) MarshalProtoText() string

func (*TeleportRequest) MarshalToSizedBufferVT

func (m *TeleportRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TeleportRequest) MarshalToVT

func (m *TeleportRequest) MarshalToVT(dAtA []byte) (int, error)

func (*TeleportRequest) MarshalVT

func (m *TeleportRequest) MarshalVT() (dAtA []byte, err error)

func (*TeleportRequest) ProtoMessage

func (*TeleportRequest) ProtoMessage()

func (*TeleportRequest) Reset

func (x *TeleportRequest) Reset()

func (*TeleportRequest) SizeVT

func (m *TeleportRequest) SizeVT() (n int)

func (*TeleportRequest) String

func (x *TeleportRequest) String() string

func (*TeleportRequest) UnmarshalJSON

func (x *TeleportRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the TeleportRequest from JSON.

func (*TeleportRequest) UnmarshalProtoJSON

func (x *TeleportRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the TeleportRequest message from JSON.

func (*TeleportRequest) UnmarshalVT

func (m *TeleportRequest) UnmarshalVT(dAtA []byte) error

type TextOptions

type TextOptions struct {

	// Text is the words to show; a newline starts a second line.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// Position is the text's origin.
	Position *modlock.Vec3 `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
	// Facing is the text's rotation when it does not face the camera.
	Facing *modlock.EulerAngles `protobuf:"bytes,3,opt,name=facing,proto3,oneof" json:"facing,omitempty"`
	// FontSize is the text's size; the default is 100.
	FontSize *float32 `protobuf:"fixed32,4,opt,name=font_size,json=fontSize,proto3,oneof" json:"fontSize,omitempty"`
	// Color is the text's color as 0xRRGGBBAA; the default is white.
	Color *uint32 `protobuf:"fixed32,5,opt,name=color,proto3,oneof" json:"color,omitempty"`
	// FaceCamera turns the text toward each viewer.
	FaceCamera *bool `protobuf:"varint,6,opt,name=face_camera,json=faceCamera,proto3,oneof" json:"faceCamera,omitempty"`
	// Scale multiplies the text's size in the world; the default is 1.
	Scale *float32 `protobuf:"fixed32,7,opt,name=scale,proto3,oneof" json:"scale,omitempty"`
	// contains filtered or unexported fields
}

TextOptions describes text that floats in the world.

func (*TextOptions) CloneMessageVT

func (m *TextOptions) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*TextOptions) CloneVT

func (m *TextOptions) CloneVT() *TextOptions

func (*TextOptions) EqualMessageVT

func (this *TextOptions) EqualMessageVT(thatMsg any) bool

func (*TextOptions) EqualVT

func (this *TextOptions) EqualVT(that *TextOptions) bool

func (*TextOptions) GetColor

func (x *TextOptions) GetColor() uint32

func (*TextOptions) GetFaceCamera

func (x *TextOptions) GetFaceCamera() bool

func (*TextOptions) GetFacing

func (x *TextOptions) GetFacing() *modlock.EulerAngles

func (*TextOptions) GetFontSize

func (x *TextOptions) GetFontSize() float32

func (*TextOptions) GetPosition

func (x *TextOptions) GetPosition() *modlock.Vec3

func (*TextOptions) GetScale

func (x *TextOptions) GetScale() float32

func (*TextOptions) GetText

func (x *TextOptions) GetText() string

func (*TextOptions) MarshalJSON

func (x *TextOptions) MarshalJSON() ([]byte, error)

MarshalJSON marshals the TextOptions to JSON.

func (*TextOptions) MarshalProtoJSON

func (x *TextOptions) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the TextOptions message to JSON.

func (*TextOptions) MarshalProtoText

func (x *TextOptions) MarshalProtoText() string

func (*TextOptions) MarshalToSizedBufferVT

func (m *TextOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TextOptions) MarshalToVT

func (m *TextOptions) MarshalToVT(dAtA []byte) (int, error)

func (*TextOptions) MarshalVT

func (m *TextOptions) MarshalVT() (dAtA []byte, err error)

func (*TextOptions) ProtoMessage

func (*TextOptions) ProtoMessage()

func (*TextOptions) Reset

func (x *TextOptions) Reset()

func (*TextOptions) SizeVT

func (m *TextOptions) SizeVT() (n int)

func (*TextOptions) String

func (x *TextOptions) String() string

func (*TextOptions) UnmarshalJSON

func (x *TextOptions) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the TextOptions from JSON.

func (*TextOptions) UnmarshalProtoJSON

func (x *TextOptions) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the TextOptions message from JSON.

func (*TextOptions) UnmarshalVT

func (m *TextOptions) UnmarshalVT(dAtA []byte) error

type TimerTarget

type TimerTarget struct {

	// Id identifies the ability, as Ability.id.
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Charges is the charges it holds.
	Charges int32 `protobuf:"varint,2,opt,name=charges,proto3" json:"charges,omitempty"`
	// CooldownStart and CooldownEnd bound its cooldown.
	CooldownStart *float32 `protobuf:"fixed32,3,opt,name=cooldown_start,json=cooldownStart,proto3,oneof" json:"cooldownStart,omitempty"`
	CooldownEnd   *float32 `protobuf:"fixed32,4,opt,name=cooldown_end,json=cooldownEnd,proto3,oneof" json:"cooldownEnd,omitempty"`
	// RechargeStart and RechargeEnd bound the recovery of its next charge.
	RechargeStart *float32 `protobuf:"fixed32,5,opt,name=recharge_start,json=rechargeStart,proto3,oneof" json:"rechargeStart,omitempty"`
	RechargeEnd   *float32 `protobuf:"fixed32,6,opt,name=recharge_end,json=rechargeEnd,proto3,oneof" json:"rechargeEnd,omitempty"`
	// contains filtered or unexported fields
}

TimerTarget sets one owned ability's or item's charges and cooldowns. Times are seconds from the moment the host writes them; an omitted start and end mean no timer.

func (*TimerTarget) CloneMessageVT

func (m *TimerTarget) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*TimerTarget) CloneVT

func (m *TimerTarget) CloneVT() *TimerTarget

func (*TimerTarget) EqualMessageVT

func (this *TimerTarget) EqualMessageVT(thatMsg any) bool

func (*TimerTarget) EqualVT

func (this *TimerTarget) EqualVT(that *TimerTarget) bool

func (*TimerTarget) GetCharges

func (x *TimerTarget) GetCharges() int32

func (*TimerTarget) GetCooldownEnd

func (x *TimerTarget) GetCooldownEnd() float32

func (*TimerTarget) GetCooldownStart

func (x *TimerTarget) GetCooldownStart() float32

func (*TimerTarget) GetId

func (x *TimerTarget) GetId() uint32

func (*TimerTarget) GetRechargeEnd

func (x *TimerTarget) GetRechargeEnd() float32

func (*TimerTarget) GetRechargeStart

func (x *TimerTarget) GetRechargeStart() float32

func (*TimerTarget) MarshalJSON

func (x *TimerTarget) MarshalJSON() ([]byte, error)

MarshalJSON marshals the TimerTarget to JSON.

func (*TimerTarget) MarshalProtoJSON

func (x *TimerTarget) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the TimerTarget message to JSON.

func (*TimerTarget) MarshalProtoText

func (x *TimerTarget) MarshalProtoText() string

func (*TimerTarget) MarshalToSizedBufferVT

func (m *TimerTarget) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TimerTarget) MarshalToVT

func (m *TimerTarget) MarshalToVT(dAtA []byte) (int, error)

func (*TimerTarget) MarshalVT

func (m *TimerTarget) MarshalVT() (dAtA []byte, err error)

func (*TimerTarget) ProtoMessage

func (*TimerTarget) ProtoMessage()

func (*TimerTarget) Reset

func (x *TimerTarget) Reset()

func (*TimerTarget) SizeVT

func (m *TimerTarget) SizeVT() (n int)

func (*TimerTarget) String

func (x *TimerTarget) String() string

func (*TimerTarget) UnmarshalJSON

func (x *TimerTarget) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the TimerTarget from JSON.

func (*TimerTarget) UnmarshalProtoJSON

func (x *TimerTarget) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the TimerTarget message from JSON.

func (*TimerTarget) UnmarshalVT

func (m *TimerTarget) UnmarshalVT(dAtA []byte) error

type TraceHit

type TraceHit struct {

	// Position is the hit point.
	Position *modlock.Vec3 `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"`
	// Normal is the surface's direction at the hit point.
	Normal *modlock.Vec3 `protobuf:"bytes,2,opt,name=normal,proto3" json:"normal,omitempty"`
	// StartSolid is true when the line began inside something solid.
	StartSolid bool `protobuf:"varint,3,opt,name=start_solid,json=startSolid,proto3" json:"startSolid,omitempty"`
	// Entity is the entity hit, or zero for the world.
	Entity uint32 `protobuf:"varint,4,opt,name=entity,proto3" json:"entity,omitempty"`
	// contains filtered or unexported fields
}

TraceHit is where a traced line first hit something.

func (*TraceHit) CloneMessageVT

func (m *TraceHit) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*TraceHit) CloneVT

func (m *TraceHit) CloneVT() *TraceHit

func (*TraceHit) EqualMessageVT

func (this *TraceHit) EqualMessageVT(thatMsg any) bool

func (*TraceHit) EqualVT

func (this *TraceHit) EqualVT(that *TraceHit) bool

func (*TraceHit) GetEntity

func (x *TraceHit) GetEntity() uint32

func (*TraceHit) GetNormal

func (x *TraceHit) GetNormal() *modlock.Vec3

func (*TraceHit) GetPosition

func (x *TraceHit) GetPosition() *modlock.Vec3

func (*TraceHit) GetStartSolid

func (x *TraceHit) GetStartSolid() bool

func (*TraceHit) MarshalJSON

func (x *TraceHit) MarshalJSON() ([]byte, error)

MarshalJSON marshals the TraceHit to JSON.

func (*TraceHit) MarshalProtoJSON

func (x *TraceHit) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the TraceHit message to JSON.

func (*TraceHit) MarshalProtoText

func (x *TraceHit) MarshalProtoText() string

func (*TraceHit) MarshalToSizedBufferVT

func (m *TraceHit) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TraceHit) MarshalToVT

func (m *TraceHit) MarshalToVT(dAtA []byte) (int, error)

func (*TraceHit) MarshalVT

func (m *TraceHit) MarshalVT() (dAtA []byte, err error)

func (*TraceHit) ProtoMessage

func (*TraceHit) ProtoMessage()

func (*TraceHit) Reset

func (x *TraceHit) Reset()

func (*TraceHit) SizeVT

func (m *TraceHit) SizeVT() (n int)

func (*TraceHit) String

func (x *TraceHit) String() string

func (*TraceHit) UnmarshalJSON

func (x *TraceHit) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the TraceHit from JSON.

func (*TraceHit) UnmarshalProtoJSON

func (x *TraceHit) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the TraceHit message from JSON.

func (*TraceHit) UnmarshalVT

func (m *TraceHit) UnmarshalVT(dAtA []byte) error

type TraceOptions

type TraceOptions struct {

	// Start is where the line begins.
	Start *modlock.Vec3 `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
	// End is where the line ends.
	End *modlock.Vec3 `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
	// Layers selects what the line can hit; the default is solid and
	// hitboxes.
	Layers *uint64 `protobuf:"varint,3,opt,name=layers,proto3,oneof" json:"layers,omitempty"`
	// Exclude removes things in these layers from the hits.
	Exclude *uint64 `protobuf:"varint,4,opt,name=exclude,proto3,oneof" json:"exclude,omitempty"`
	// Ignore lists entity handles the line passes through.
	Ignore []uint32 `protobuf:"varint,5,rep,packed,name=ignore,proto3" json:"ignore,omitempty"`
	// contains filtered or unexported fields
}

TraceOptions describes a line to test against the world. Layers are bits of the game's collision layers: bit 0 is solid, 2 trigger, 4 player clip, 18 player and 19 NPC.

func (*TraceOptions) CloneMessageVT

func (m *TraceOptions) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*TraceOptions) CloneVT

func (m *TraceOptions) CloneVT() *TraceOptions

func (*TraceOptions) EqualMessageVT

func (this *TraceOptions) EqualMessageVT(thatMsg any) bool

func (*TraceOptions) EqualVT

func (this *TraceOptions) EqualVT(that *TraceOptions) bool

func (*TraceOptions) GetEnd

func (x *TraceOptions) GetEnd() *modlock.Vec3

func (*TraceOptions) GetExclude

func (x *TraceOptions) GetExclude() uint64

func (*TraceOptions) GetIgnore

func (x *TraceOptions) GetIgnore() []uint32

func (*TraceOptions) GetLayers

func (x *TraceOptions) GetLayers() uint64

func (*TraceOptions) GetStart

func (x *TraceOptions) GetStart() *modlock.Vec3

func (*TraceOptions) MarshalJSON

func (x *TraceOptions) MarshalJSON() ([]byte, error)

MarshalJSON marshals the TraceOptions to JSON.

func (*TraceOptions) MarshalProtoJSON

func (x *TraceOptions) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the TraceOptions message to JSON.

func (*TraceOptions) MarshalProtoText

func (x *TraceOptions) MarshalProtoText() string

func (*TraceOptions) MarshalToSizedBufferVT

func (m *TraceOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TraceOptions) MarshalToVT

func (m *TraceOptions) MarshalToVT(dAtA []byte) (int, error)

func (*TraceOptions) MarshalVT

func (m *TraceOptions) MarshalVT() (dAtA []byte, err error)

func (*TraceOptions) ProtoMessage

func (*TraceOptions) ProtoMessage()

func (*TraceOptions) Reset

func (x *TraceOptions) Reset()

func (*TraceOptions) SizeVT

func (m *TraceOptions) SizeVT() (n int)

func (*TraceOptions) String

func (x *TraceOptions) String() string

func (*TraceOptions) UnmarshalJSON

func (x *TraceOptions) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the TraceOptions from JSON.

func (*TraceOptions) UnmarshalProtoJSON

func (x *TraceOptions) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the TraceOptions message from JSON.

func (*TraceOptions) UnmarshalVT

func (m *TraceOptions) UnmarshalVT(dAtA []byte) error

type TraceResponse

type TraceResponse struct {
	Hit *TraceHit `protobuf:"bytes,1,opt,name=hit,proto3" json:"hit,omitempty"`
	// contains filtered or unexported fields
}

TraceResponse holds where a line hit, absent for a miss.

func (*TraceResponse) CloneMessageVT

func (m *TraceResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*TraceResponse) CloneVT

func (m *TraceResponse) CloneVT() *TraceResponse

func (*TraceResponse) EqualMessageVT

func (this *TraceResponse) EqualMessageVT(thatMsg any) bool

func (*TraceResponse) EqualVT

func (this *TraceResponse) EqualVT(that *TraceResponse) bool

func (*TraceResponse) GetHit

func (x *TraceResponse) GetHit() *TraceHit

func (*TraceResponse) MarshalJSON

func (x *TraceResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the TraceResponse to JSON.

func (*TraceResponse) MarshalProtoJSON

func (x *TraceResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the TraceResponse message to JSON.

func (*TraceResponse) MarshalProtoText

func (x *TraceResponse) MarshalProtoText() string

func (*TraceResponse) MarshalToSizedBufferVT

func (m *TraceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TraceResponse) MarshalToVT

func (m *TraceResponse) MarshalToVT(dAtA []byte) (int, error)

func (*TraceResponse) MarshalVT

func (m *TraceResponse) MarshalVT() (dAtA []byte, err error)

func (*TraceResponse) ProtoMessage

func (*TraceResponse) ProtoMessage()

func (*TraceResponse) Reset

func (x *TraceResponse) Reset()

func (*TraceResponse) SizeVT

func (m *TraceResponse) SizeVT() (n int)

func (*TraceResponse) String

func (x *TraceResponse) String() string

func (*TraceResponse) UnmarshalJSON

func (x *TraceResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the TraceResponse from JSON.

func (*TraceResponse) UnmarshalProtoJSON

func (x *TraceResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the TraceResponse message from JSON.

func (*TraceResponse) UnmarshalVT

func (m *TraceResponse) 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.
	Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"`
	// contains filtered or unexported fields
}

UiPressEvent reports a press on a button in a player's interface.

func (*UiPressEvent) CloneMessageVT

func (m *UiPressEvent) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*UiPressEvent) CloneVT

func (m *UiPressEvent) CloneVT() *UiPressEvent

func (*UiPressEvent) EqualMessageVT

func (this *UiPressEvent) EqualMessageVT(thatMsg any) bool

func (*UiPressEvent) EqualVT

func (this *UiPressEvent) EqualVT(that *UiPressEvent) bool

func (*UiPressEvent) GetNode

func (x *UiPressEvent) GetNode() string

func (*UiPressEvent) GetPlayer

func (x *UiPressEvent) GetPlayer() int32

func (*UiPressEvent) MarshalJSON

func (x *UiPressEvent) MarshalJSON() ([]byte, error)

MarshalJSON marshals the UiPressEvent to JSON.

func (*UiPressEvent) MarshalProtoJSON

func (x *UiPressEvent) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the UiPressEvent message to JSON.

func (*UiPressEvent) MarshalProtoText

func (x *UiPressEvent) MarshalProtoText() string

func (*UiPressEvent) MarshalToSizedBufferVT

func (m *UiPressEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UiPressEvent) MarshalToVT

func (m *UiPressEvent) MarshalToVT(dAtA []byte) (int, error)

func (*UiPressEvent) MarshalVT

func (m *UiPressEvent) MarshalVT() (dAtA []byte, err error)

func (*UiPressEvent) ProtoMessage

func (*UiPressEvent) ProtoMessage()

func (*UiPressEvent) Reset

func (x *UiPressEvent) Reset()

func (*UiPressEvent) SizeVT

func (m *UiPressEvent) SizeVT() (n int)

func (*UiPressEvent) String

func (x *UiPressEvent) String() string

func (*UiPressEvent) UnmarshalJSON

func (x *UiPressEvent) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the UiPressEvent from JSON.

func (*UiPressEvent) UnmarshalProtoJSON

func (x *UiPressEvent) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the UiPressEvent message from JSON.

func (*UiPressEvent) UnmarshalVT

func (m *UiPressEvent) UnmarshalVT(dAtA []byte) error

type UiRequest

type UiRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Change updates the player's tree.
	Change *ui.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() *ui.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 WatchMovementRequest

type WatchMovementRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	Watch  bool  `protobuf:"varint,2,opt,name=watch,proto3" json:"watch,omitempty"`
	// contains filtered or unexported fields
}

WatchMovementRequest starts or stops one player's movement samples.

func (*WatchMovementRequest) CloneMessageVT

func (*WatchMovementRequest) CloneVT

func (*WatchMovementRequest) EqualMessageVT

func (this *WatchMovementRequest) EqualMessageVT(thatMsg any) bool

func (*WatchMovementRequest) EqualVT

func (this *WatchMovementRequest) EqualVT(that *WatchMovementRequest) bool

func (*WatchMovementRequest) GetPlayer

func (x *WatchMovementRequest) GetPlayer() int32

func (*WatchMovementRequest) GetWatch

func (x *WatchMovementRequest) GetWatch() bool

func (*WatchMovementRequest) MarshalJSON

func (x *WatchMovementRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the WatchMovementRequest to JSON.

func (*WatchMovementRequest) MarshalProtoJSON

func (x *WatchMovementRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the WatchMovementRequest message to JSON.

func (*WatchMovementRequest) MarshalProtoText

func (x *WatchMovementRequest) MarshalProtoText() string

func (*WatchMovementRequest) MarshalToSizedBufferVT

func (m *WatchMovementRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*WatchMovementRequest) MarshalToVT

func (m *WatchMovementRequest) MarshalToVT(dAtA []byte) (int, error)

func (*WatchMovementRequest) MarshalVT

func (m *WatchMovementRequest) MarshalVT() (dAtA []byte, err error)

func (*WatchMovementRequest) ProtoMessage

func (*WatchMovementRequest) ProtoMessage()

func (*WatchMovementRequest) Reset

func (x *WatchMovementRequest) Reset()

func (*WatchMovementRequest) SizeVT

func (m *WatchMovementRequest) SizeVT() (n int)

func (*WatchMovementRequest) String

func (x *WatchMovementRequest) String() string

func (*WatchMovementRequest) UnmarshalJSON

func (x *WatchMovementRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the WatchMovementRequest from JSON.

func (*WatchMovementRequest) UnmarshalProtoJSON

func (x *WatchMovementRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the WatchMovementRequest message from JSON.

func (*WatchMovementRequest) UnmarshalVT

func (m *WatchMovementRequest) UnmarshalVT(dAtA []byte) error

type WatchRequest added in v0.1.2

type WatchRequest struct {

	// Player is the spectator's server slot.
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Target is the entity handle of the hero to follow, as Pawn.entity
	// reports it.
	Target uint32 `protobuf:"varint,2,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

WatchRequest names a spectator and the hero they follow.

func (*WatchRequest) CloneMessageVT added in v0.1.2

func (m *WatchRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*WatchRequest) CloneVT added in v0.1.2

func (m *WatchRequest) CloneVT() *WatchRequest

func (*WatchRequest) EqualMessageVT added in v0.1.2

func (this *WatchRequest) EqualMessageVT(thatMsg any) bool

func (*WatchRequest) EqualVT added in v0.1.2

func (this *WatchRequest) EqualVT(that *WatchRequest) bool

func (*WatchRequest) GetPlayer added in v0.1.2

func (x *WatchRequest) GetPlayer() int32

func (*WatchRequest) GetTarget added in v0.1.2

func (x *WatchRequest) GetTarget() uint32

func (*WatchRequest) MarshalJSON added in v0.1.2

func (x *WatchRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the WatchRequest to JSON.

func (*WatchRequest) MarshalProtoJSON added in v0.1.2

func (x *WatchRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the WatchRequest message to JSON.

func (*WatchRequest) MarshalProtoText added in v0.1.2

func (x *WatchRequest) MarshalProtoText() string

func (*WatchRequest) MarshalToSizedBufferVT added in v0.1.2

func (m *WatchRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*WatchRequest) MarshalToVT added in v0.1.2

func (m *WatchRequest) MarshalToVT(dAtA []byte) (int, error)

func (*WatchRequest) MarshalVT added in v0.1.2

func (m *WatchRequest) MarshalVT() (dAtA []byte, err error)

func (*WatchRequest) ProtoMessage added in v0.1.2

func (*WatchRequest) ProtoMessage()

func (*WatchRequest) Reset added in v0.1.2

func (x *WatchRequest) Reset()

func (*WatchRequest) SizeVT added in v0.1.2

func (m *WatchRequest) SizeVT() (n int)

func (*WatchRequest) String added in v0.1.2

func (x *WatchRequest) String() string

func (*WatchRequest) UnmarshalJSON added in v0.1.2

func (x *WatchRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the WatchRequest from JSON.

func (*WatchRequest) UnmarshalProtoJSON added in v0.1.2

func (x *WatchRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the WatchRequest message from JSON.

func (*WatchRequest) UnmarshalVT added in v0.1.2

func (m *WatchRequest) UnmarshalVT(dAtA []byte) error

type WorldEvent

type WorldEvent struct {

	// Map names the world's map.
	Map string `protobuf:"bytes,1,opt,name=map,proto3" json:"map,omitempty"`
	// contains filtered or unexported fields
}

WorldEvent announces a loaded world.

func (*WorldEvent) CloneMessageVT

func (m *WorldEvent) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*WorldEvent) CloneVT

func (m *WorldEvent) CloneVT() *WorldEvent

func (*WorldEvent) EqualMessageVT

func (this *WorldEvent) EqualMessageVT(thatMsg any) bool

func (*WorldEvent) EqualVT

func (this *WorldEvent) EqualVT(that *WorldEvent) bool

func (*WorldEvent) GetMap

func (x *WorldEvent) GetMap() string

func (*WorldEvent) MarshalJSON

func (x *WorldEvent) MarshalJSON() ([]byte, error)

MarshalJSON marshals the WorldEvent to JSON.

func (*WorldEvent) MarshalProtoJSON

func (x *WorldEvent) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the WorldEvent message to JSON.

func (*WorldEvent) MarshalProtoText

func (x *WorldEvent) MarshalProtoText() string

func (*WorldEvent) MarshalToSizedBufferVT

func (m *WorldEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*WorldEvent) MarshalToVT

func (m *WorldEvent) MarshalToVT(dAtA []byte) (int, error)

func (*WorldEvent) MarshalVT

func (m *WorldEvent) MarshalVT() (dAtA []byte, err error)

func (*WorldEvent) ProtoMessage

func (*WorldEvent) ProtoMessage()

func (*WorldEvent) Reset

func (x *WorldEvent) Reset()

func (*WorldEvent) SizeVT

func (m *WorldEvent) SizeVT() (n int)

func (*WorldEvent) String

func (x *WorldEvent) String() string

func (*WorldEvent) UnmarshalJSON

func (x *WorldEvent) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the WorldEvent from JSON.

func (*WorldEvent) UnmarshalProtoJSON

func (x *WorldEvent) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the WorldEvent message from JSON.

func (*WorldEvent) UnmarshalVT

func (m *WorldEvent) UnmarshalVT(dAtA []byte) error

type WriteFieldListRequest added in v0.1.3

type WriteFieldListRequest struct {

	// Entity is the entity's handle.
	Entity uint32 `protobuf:"varint,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// ClassName is the server class that declares the field, or a subclass.
	ClassName string `protobuf:"bytes,2,opt,name=class_name,json=className,proto3" json:"className,omitempty"`
	// Field is the field's schema name, such as m_vecBannedHeroes.
	Field string `protobuf:"bytes,3,opt,name=field,proto3" json:"field,omitempty"`
	// Type is how to write each element.
	Type FieldType `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"`
	// Values are the list's new elements, each in the form WriteField takes.
	Values []*FieldValue `protobuf:"bytes,5,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

WriteFieldListRequest replaces the elements of one list field of a live entity.

func (*WriteFieldListRequest) CloneMessageVT added in v0.1.3

func (*WriteFieldListRequest) CloneVT added in v0.1.3

func (*WriteFieldListRequest) EqualMessageVT added in v0.1.3

func (this *WriteFieldListRequest) EqualMessageVT(thatMsg any) bool

func (*WriteFieldListRequest) EqualVT added in v0.1.3

func (this *WriteFieldListRequest) EqualVT(that *WriteFieldListRequest) bool

func (*WriteFieldListRequest) GetClassName added in v0.1.3

func (x *WriteFieldListRequest) GetClassName() string

func (*WriteFieldListRequest) GetEntity added in v0.1.3

func (x *WriteFieldListRequest) GetEntity() uint32

func (*WriteFieldListRequest) GetField added in v0.1.3

func (x *WriteFieldListRequest) GetField() string

func (*WriteFieldListRequest) GetType added in v0.1.3

func (x *WriteFieldListRequest) GetType() FieldType

func (*WriteFieldListRequest) GetValues added in v0.1.3

func (x *WriteFieldListRequest) GetValues() []*FieldValue

func (*WriteFieldListRequest) MarshalJSON added in v0.1.3

func (x *WriteFieldListRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the WriteFieldListRequest to JSON.

func (*WriteFieldListRequest) MarshalProtoJSON added in v0.1.3

func (x *WriteFieldListRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the WriteFieldListRequest message to JSON.

func (*WriteFieldListRequest) MarshalProtoText added in v0.1.3

func (x *WriteFieldListRequest) MarshalProtoText() string

func (*WriteFieldListRequest) MarshalToSizedBufferVT added in v0.1.3

func (m *WriteFieldListRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*WriteFieldListRequest) MarshalToVT added in v0.1.3

func (m *WriteFieldListRequest) MarshalToVT(dAtA []byte) (int, error)

func (*WriteFieldListRequest) MarshalVT added in v0.1.3

func (m *WriteFieldListRequest) MarshalVT() (dAtA []byte, err error)

func (*WriteFieldListRequest) ProtoMessage added in v0.1.3

func (*WriteFieldListRequest) ProtoMessage()

func (*WriteFieldListRequest) Reset added in v0.1.3

func (x *WriteFieldListRequest) Reset()

func (*WriteFieldListRequest) SizeVT added in v0.1.3

func (m *WriteFieldListRequest) SizeVT() (n int)

func (*WriteFieldListRequest) String added in v0.1.3

func (x *WriteFieldListRequest) String() string

func (*WriteFieldListRequest) UnmarshalJSON added in v0.1.3

func (x *WriteFieldListRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the WriteFieldListRequest from JSON.

func (*WriteFieldListRequest) UnmarshalProtoJSON added in v0.1.3

func (x *WriteFieldListRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the WriteFieldListRequest message from JSON.

func (*WriteFieldListRequest) UnmarshalVT added in v0.1.3

func (m *WriteFieldListRequest) UnmarshalVT(dAtA []byte) error

type WriteFieldRequest

type WriteFieldRequest struct {

	// Entity is the entity's handle.
	Entity uint32 `protobuf:"varint,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// ClassName is the server class that declares the field, or a subclass.
	ClassName string `protobuf:"bytes,2,opt,name=class_name,json=className,proto3" json:"className,omitempty"`
	// Field is the field's schema name, such as m_iClip.
	Field string `protobuf:"bytes,3,opt,name=field,proto3" json:"field,omitempty"`
	// Type is how to write the field.
	Type FieldType `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"`
	// Value is the field's new value.
	Value *FieldValue `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

WriteFieldRequest writes one schema field of a live entity.

func (*WriteFieldRequest) CloneMessageVT

func (m *WriteFieldRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*WriteFieldRequest) CloneVT

func (m *WriteFieldRequest) CloneVT() *WriteFieldRequest

func (*WriteFieldRequest) EqualMessageVT

func (this *WriteFieldRequest) EqualMessageVT(thatMsg any) bool

func (*WriteFieldRequest) EqualVT

func (this *WriteFieldRequest) EqualVT(that *WriteFieldRequest) bool

func (*WriteFieldRequest) GetClassName

func (x *WriteFieldRequest) GetClassName() string

func (*WriteFieldRequest) GetEntity

func (x *WriteFieldRequest) GetEntity() uint32

func (*WriteFieldRequest) GetField

func (x *WriteFieldRequest) GetField() string

func (*WriteFieldRequest) GetType

func (x *WriteFieldRequest) GetType() FieldType

func (*WriteFieldRequest) GetValue

func (x *WriteFieldRequest) GetValue() *FieldValue

func (*WriteFieldRequest) MarshalJSON

func (x *WriteFieldRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the WriteFieldRequest to JSON.

func (*WriteFieldRequest) MarshalProtoJSON

func (x *WriteFieldRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the WriteFieldRequest message to JSON.

func (*WriteFieldRequest) MarshalProtoText

func (x *WriteFieldRequest) MarshalProtoText() string

func (*WriteFieldRequest) MarshalToSizedBufferVT

func (m *WriteFieldRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*WriteFieldRequest) MarshalToVT

func (m *WriteFieldRequest) MarshalToVT(dAtA []byte) (int, error)

func (*WriteFieldRequest) MarshalVT

func (m *WriteFieldRequest) MarshalVT() (dAtA []byte, err error)

func (*WriteFieldRequest) ProtoMessage

func (*WriteFieldRequest) ProtoMessage()

func (*WriteFieldRequest) Reset

func (x *WriteFieldRequest) Reset()

func (*WriteFieldRequest) SizeVT

func (m *WriteFieldRequest) SizeVT() (n int)

func (*WriteFieldRequest) String

func (x *WriteFieldRequest) String() string

func (*WriteFieldRequest) UnmarshalJSON

func (x *WriteFieldRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the WriteFieldRequest from JSON.

func (*WriteFieldRequest) UnmarshalProtoJSON

func (x *WriteFieldRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the WriteFieldRequest message from JSON.

func (*WriteFieldRequest) UnmarshalVT

func (m *WriteFieldRequest) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL