wasm

package
v0.1.74 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

View Source
var (
	Definition_File_name = map[int32]string{
		0: "FILE_ABILITIES",
		1: "FILE_HEROES",
		2: "FILE_BOT_DIFFICULTY",
		3: "FILE_NPC_UNITS",
	}
	Definition_File_value = map[string]int32{
		"FILE_ABILITIES":      0,
		"FILE_HEROES":         1,
		"FILE_BOT_DIFFICULTY": 2,
		"FILE_NPC_UNITS":      3,
	}
)

Enum value maps for Definition_File.

Functions

This section is empty.

Types

type ButtonsResponse added in v0.1.74

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 added in v0.1.74

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

func (*ButtonsResponse) CloneVT added in v0.1.74

func (m *ButtonsResponse) CloneVT() *ButtonsResponse

func (*ButtonsResponse) EqualMessageVT added in v0.1.74

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

func (*ButtonsResponse) EqualVT added in v0.1.74

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

func (*ButtonsResponse) GetButtons added in v0.1.74

func (x *ButtonsResponse) GetButtons() uint64

func (*ButtonsResponse) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the ButtonsResponse to JSON.

func (*ButtonsResponse) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the ButtonsResponse message to JSON.

func (*ButtonsResponse) MarshalProtoText added in v0.1.74

func (x *ButtonsResponse) MarshalProtoText() string

func (*ButtonsResponse) MarshalToSizedBufferVT added in v0.1.74

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

func (*ButtonsResponse) MarshalToVT added in v0.1.74

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

func (*ButtonsResponse) MarshalVT added in v0.1.74

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

func (*ButtonsResponse) ProtoMessage added in v0.1.74

func (*ButtonsResponse) ProtoMessage()

func (*ButtonsResponse) Reset added in v0.1.74

func (x *ButtonsResponse) Reset()

func (*ButtonsResponse) SizeVT added in v0.1.74

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

func (*ButtonsResponse) String added in v0.1.74

func (x *ButtonsResponse) String() string

func (*ButtonsResponse) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the ButtonsResponse from JSON.

func (*ButtonsResponse) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the ButtonsResponse message from JSON.

func (*ButtonsResponse) UnmarshalVT added in v0.1.74

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 ChatEvent added in v0.1.50

type ChatEvent struct {

	// Player is the player who wrote the line.
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Text is the line as written.
	Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// All is true for chat every player reads, false for team chat.
	All bool `protobuf:"varint,3,opt,name=all,proto3" json:"all,omitempty"`
	// Lane is the CMsgLaneColor of the lane the line pings: 1 yellow, 3
	// green, 4 blue, 6 purple, or 0 for none.
	Lane int32 `protobuf:"varint,4,opt,name=lane,proto3" json:"lane,omitempty"`
	// contains filtered or unexported fields
}

ChatEvent carries one chat line as the server accepted it, commands included.

func (*ChatEvent) CloneMessageVT added in v0.1.50

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

func (*ChatEvent) CloneVT added in v0.1.50

func (m *ChatEvent) CloneVT() *ChatEvent

func (*ChatEvent) EqualMessageVT added in v0.1.50

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

func (*ChatEvent) EqualVT added in v0.1.50

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

func (*ChatEvent) GetAll added in v0.1.50

func (x *ChatEvent) GetAll() bool

func (*ChatEvent) GetLane added in v0.1.50

func (x *ChatEvent) GetLane() int32

func (*ChatEvent) GetPlayer added in v0.1.50

func (x *ChatEvent) GetPlayer() int32

func (*ChatEvent) GetText added in v0.1.50

func (x *ChatEvent) GetText() string

func (*ChatEvent) MarshalJSON added in v0.1.50

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

MarshalJSON marshals the ChatEvent to JSON.

func (*ChatEvent) MarshalProtoJSON added in v0.1.50

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

MarshalProtoJSON marshals the ChatEvent message to JSON.

func (*ChatEvent) MarshalProtoText added in v0.1.50

func (x *ChatEvent) MarshalProtoText() string

func (*ChatEvent) MarshalToSizedBufferVT added in v0.1.50

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

func (*ChatEvent) MarshalToVT added in v0.1.50

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

func (*ChatEvent) MarshalVT added in v0.1.50

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

func (*ChatEvent) ProtoMessage added in v0.1.50

func (*ChatEvent) ProtoMessage()

func (*ChatEvent) Reset added in v0.1.50

func (x *ChatEvent) Reset()

func (*ChatEvent) SizeVT added in v0.1.50

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

func (*ChatEvent) String added in v0.1.50

func (x *ChatEvent) String() string

func (*ChatEvent) UnmarshalJSON added in v0.1.50

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

UnmarshalJSON unmarshals the ChatEvent from JSON.

func (*ChatEvent) UnmarshalProtoJSON added in v0.1.50

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

UnmarshalProtoJSON unmarshals the ChatEvent message from JSON.

func (*ChatEvent) UnmarshalVT added in v0.1.50

func (m *ChatEvent) 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 in
	// lower case, whatever case the player typed; the arguments keep theirs.
	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 Definition added in v0.1.74

type Definition struct {

	// File is the definition file that holds the entry.
	File Definition_File `protobuf:"varint,1,opt,name=file,proto3" json:"file,omitempty"`
	// Entry is the entry's name, such as hero_priest,
	// gunslinger_rocket_launcher or k_ECitadelBotDifficulty_Hard.
	Entry string `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry,omitempty"`
	// Properties replaces the values of an ability's named properties, such as
	// AbilityCooldown. Only abilities have properties.
	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 entry's data, such as
	// CitadelAbilityVData.m_projectileInfo/ProjectileInfo_t.m_flSpeed. A last
	// step may name one value of an enum-keyed map, such as
	// CitadelHeroData_t.m_mapStartingStats[EStatsType.EMaxHealth].
	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
}

Definition changes one entry of a game definition file where the game keeps it parsed.

func (*Definition) CloneMessageVT added in v0.1.74

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

func (*Definition) CloneVT added in v0.1.74

func (m *Definition) CloneVT() *Definition

func (*Definition) EqualMessageVT added in v0.1.74

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

func (*Definition) EqualVT added in v0.1.74

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

func (*Definition) GetCopyFields added in v0.1.74

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

func (*Definition) GetEntry added in v0.1.74

func (x *Definition) GetEntry() string

func (*Definition) GetFields added in v0.1.74

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

func (*Definition) GetFile added in v0.1.74

func (x *Definition) GetFile() Definition_File

func (*Definition) GetProperties added in v0.1.74

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

func (*Definition) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the Definition to JSON.

func (*Definition) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the Definition message to JSON.

func (*Definition) MarshalProtoText added in v0.1.74

func (x *Definition) MarshalProtoText() string

func (*Definition) MarshalToSizedBufferVT added in v0.1.74

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

func (*Definition) MarshalToVT added in v0.1.74

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

func (*Definition) MarshalVT added in v0.1.74

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

func (*Definition) ProtoMessage added in v0.1.74

func (*Definition) ProtoMessage()

func (*Definition) Reset added in v0.1.74

func (x *Definition) Reset()

func (*Definition) SizeVT added in v0.1.74

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

func (*Definition) String added in v0.1.74

func (x *Definition) String() string

func (*Definition) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the Definition from JSON.

func (*Definition) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the Definition message from JSON.

func (*Definition) UnmarshalVT added in v0.1.74

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

type Definition_CopyFieldsEntry added in v0.1.74

type Definition_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 (*Definition_CopyFieldsEntry) GetKey added in v0.1.74

func (x *Definition_CopyFieldsEntry) GetKey() string

func (*Definition_CopyFieldsEntry) GetValue added in v0.1.74

func (x *Definition_CopyFieldsEntry) GetValue() string

func (*Definition_CopyFieldsEntry) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the Definition_CopyFieldsEntry to JSON.

func (*Definition_CopyFieldsEntry) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the Definition_CopyFieldsEntry message to JSON.

func (*Definition_CopyFieldsEntry) MarshalProtoText added in v0.1.74

func (x *Definition_CopyFieldsEntry) MarshalProtoText() string

func (*Definition_CopyFieldsEntry) ProtoMessage added in v0.1.74

func (*Definition_CopyFieldsEntry) ProtoMessage()

func (*Definition_CopyFieldsEntry) Reset added in v0.1.74

func (x *Definition_CopyFieldsEntry) Reset()

func (*Definition_CopyFieldsEntry) String added in v0.1.74

func (x *Definition_CopyFieldsEntry) String() string

func (*Definition_CopyFieldsEntry) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the Definition_CopyFieldsEntry from JSON.

func (*Definition_CopyFieldsEntry) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the Definition_CopyFieldsEntry message from JSON.

type Definition_FieldsEntry added in v0.1.74

type Definition_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 (*Definition_FieldsEntry) GetKey added in v0.1.74

func (x *Definition_FieldsEntry) GetKey() string

func (*Definition_FieldsEntry) GetValue added in v0.1.74

func (x *Definition_FieldsEntry) GetValue() float32

func (*Definition_FieldsEntry) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the Definition_FieldsEntry to JSON.

func (*Definition_FieldsEntry) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the Definition_FieldsEntry message to JSON.

func (*Definition_FieldsEntry) MarshalProtoText added in v0.1.74

func (x *Definition_FieldsEntry) MarshalProtoText() string

func (*Definition_FieldsEntry) ProtoMessage added in v0.1.74

func (*Definition_FieldsEntry) ProtoMessage()

func (*Definition_FieldsEntry) Reset added in v0.1.74

func (x *Definition_FieldsEntry) Reset()

func (*Definition_FieldsEntry) String added in v0.1.74

func (x *Definition_FieldsEntry) String() string

func (*Definition_FieldsEntry) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the Definition_FieldsEntry from JSON.

func (*Definition_FieldsEntry) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the Definition_FieldsEntry message from JSON.

type Definition_File added in v0.1.74

type Definition_File int32

File names a definition file.

const (
	// FILE_ABILITIES is scripts/abilities.vdata, the abilities and items.
	Definition_FILE_ABILITIES Definition_File = 0
	// FILE_HEROES is scripts/heroes.vdata, the heroes.
	Definition_FILE_HEROES Definition_File = 1
	// FILE_BOT_DIFFICULTY is scripts/bots/bot_difficulty.vdata, the bot
	// difficulties. An entry names one by its ECitadelBotDifficulty value,
	// such as k_ECitadelBotDifficulty_Hard.
	Definition_FILE_BOT_DIFFICULTY Definition_File = 2
	// FILE_NPC_UNITS is scripts/npc_units.vdata, the troopers, bosses and
	// other units, and the bot brain (npc_player_bot_brain) every bot shares.
	Definition_FILE_NPC_UNITS Definition_File = 3
)

func (Definition_File) Enum added in v0.1.74

func (x Definition_File) Enum() *Definition_File

func (Definition_File) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the Definition_File to JSON.

func (Definition_File) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the Definition_File to JSON.

func (Definition_File) MarshalProtoText added in v0.1.74

func (x Definition_File) MarshalProtoText() string

func (Definition_File) MarshalText added in v0.1.74

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

MarshalText marshals the Definition_File to text.

func (Definition_File) String added in v0.1.74

func (x Definition_File) String() string

func (*Definition_File) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the Definition_File from JSON.

func (*Definition_File) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the Definition_File from JSON.

func (*Definition_File) UnmarshalText added in v0.1.74

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

UnmarshalText unmarshals the Definition_File from text.

type Definition_PropertiesEntry added in v0.1.74

type Definition_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 (*Definition_PropertiesEntry) GetKey added in v0.1.74

func (x *Definition_PropertiesEntry) GetKey() string

func (*Definition_PropertiesEntry) GetValue added in v0.1.74

func (x *Definition_PropertiesEntry) GetValue() float32

func (*Definition_PropertiesEntry) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the Definition_PropertiesEntry to JSON.

func (*Definition_PropertiesEntry) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the Definition_PropertiesEntry message to JSON.

func (*Definition_PropertiesEntry) MarshalProtoText added in v0.1.74

func (x *Definition_PropertiesEntry) MarshalProtoText() string

func (*Definition_PropertiesEntry) ProtoMessage added in v0.1.74

func (*Definition_PropertiesEntry) ProtoMessage()

func (*Definition_PropertiesEntry) Reset added in v0.1.74

func (x *Definition_PropertiesEntry) Reset()

func (*Definition_PropertiesEntry) String added in v0.1.74

func (x *Definition_PropertiesEntry) String() string

func (*Definition_PropertiesEntry) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the Definition_PropertiesEntry from JSON.

func (*Definition_PropertiesEntry) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the Definition_PropertiesEntry message from JSON.

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 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 []*movement.MovementSample `protobuf:"bytes,3,rep,name=movement,proto3" json:"movement,omitempty"`
	// Interactions names the interaction kinds the host observes, sent with
	// Movement. A kind it lacks, such as on a game build whose completion it
	// cannot find, is unknown rather than absent from the samples.
	Interactions []movement.InteractionKind `protobuf:"varint,4,rep,packed,name=interactions,proto3" json:"interactions,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) GetInteractions added in v0.1.68

func (x *FrameEvent) GetInteractions() []movement.InteractionKind

func (*FrameEvent) GetMovement

func (x *FrameEvent) GetMovement() []*movement.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 HandedOffResponse added in v0.1.74

type HandedOffResponse struct {

	// Text is the state last handed off, or empty when none is.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

HandedOffResponse holds handoff state.

func (*HandedOffResponse) CloneMessageVT added in v0.1.74

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

func (*HandedOffResponse) CloneVT added in v0.1.74

func (m *HandedOffResponse) CloneVT() *HandedOffResponse

func (*HandedOffResponse) EqualMessageVT added in v0.1.74

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

func (*HandedOffResponse) EqualVT added in v0.1.74

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

func (*HandedOffResponse) GetText added in v0.1.74

func (x *HandedOffResponse) GetText() string

func (*HandedOffResponse) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the HandedOffResponse to JSON.

func (*HandedOffResponse) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the HandedOffResponse message to JSON.

func (*HandedOffResponse) MarshalProtoText added in v0.1.74

func (x *HandedOffResponse) MarshalProtoText() string

func (*HandedOffResponse) MarshalToSizedBufferVT added in v0.1.74

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

func (*HandedOffResponse) MarshalToVT added in v0.1.74

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

func (*HandedOffResponse) MarshalVT added in v0.1.74

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

func (*HandedOffResponse) ProtoMessage added in v0.1.74

func (*HandedOffResponse) ProtoMessage()

func (*HandedOffResponse) Reset added in v0.1.74

func (x *HandedOffResponse) Reset()

func (*HandedOffResponse) SizeVT added in v0.1.74

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

func (*HandedOffResponse) String added in v0.1.74

func (x *HandedOffResponse) String() string

func (*HandedOffResponse) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the HandedOffResponse from JSON.

func (*HandedOffResponse) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the HandedOffResponse message from JSON.

func (*HandedOffResponse) UnmarshalVT added in v0.1.74

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

type HandoffPlayerRequest added in v0.1.74

type HandoffPlayerRequest struct {

	// Player is the player's server slot.
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Text is the new state, as HandoffRequest holds it.
	Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

HandoffPlayerRequest replaces the state the running build hands the next build for one player.

func (*HandoffPlayerRequest) CloneMessageVT added in v0.1.74

func (*HandoffPlayerRequest) CloneVT added in v0.1.74

func (*HandoffPlayerRequest) EqualMessageVT added in v0.1.74

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

func (*HandoffPlayerRequest) EqualVT added in v0.1.74

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

func (*HandoffPlayerRequest) GetPlayer added in v0.1.74

func (x *HandoffPlayerRequest) GetPlayer() int32

func (*HandoffPlayerRequest) GetText added in v0.1.74

func (x *HandoffPlayerRequest) GetText() string

func (*HandoffPlayerRequest) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the HandoffPlayerRequest to JSON.

func (*HandoffPlayerRequest) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the HandoffPlayerRequest message to JSON.

func (*HandoffPlayerRequest) MarshalProtoText added in v0.1.74

func (x *HandoffPlayerRequest) MarshalProtoText() string

func (*HandoffPlayerRequest) MarshalToSizedBufferVT added in v0.1.74

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

func (*HandoffPlayerRequest) MarshalToVT added in v0.1.74

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

func (*HandoffPlayerRequest) MarshalVT added in v0.1.74

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

func (*HandoffPlayerRequest) ProtoMessage added in v0.1.74

func (*HandoffPlayerRequest) ProtoMessage()

func (*HandoffPlayerRequest) Reset added in v0.1.74

func (x *HandoffPlayerRequest) Reset()

func (*HandoffPlayerRequest) SizeVT added in v0.1.74

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

func (*HandoffPlayerRequest) String added in v0.1.74

func (x *HandoffPlayerRequest) String() string

func (*HandoffPlayerRequest) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the HandoffPlayerRequest from JSON.

func (*HandoffPlayerRequest) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the HandoffPlayerRequest message from JSON.

func (*HandoffPlayerRequest) UnmarshalVT added in v0.1.74

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

type HandoffRequest added in v0.1.74

type HandoffRequest struct {

	// Text is the new state, such as JSON; empty forgets it.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

HandoffRequest replaces the state the running build hands the next build for the game.

func (*HandoffRequest) CloneMessageVT added in v0.1.74

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

func (*HandoffRequest) CloneVT added in v0.1.74

func (m *HandoffRequest) CloneVT() *HandoffRequest

func (*HandoffRequest) EqualMessageVT added in v0.1.74

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

func (*HandoffRequest) EqualVT added in v0.1.74

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

func (*HandoffRequest) GetText added in v0.1.74

func (x *HandoffRequest) GetText() string

func (*HandoffRequest) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the HandoffRequest to JSON.

func (*HandoffRequest) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the HandoffRequest message to JSON.

func (*HandoffRequest) MarshalProtoText added in v0.1.74

func (x *HandoffRequest) MarshalProtoText() string

func (*HandoffRequest) MarshalToSizedBufferVT added in v0.1.74

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

func (*HandoffRequest) MarshalToVT added in v0.1.74

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

func (*HandoffRequest) MarshalVT added in v0.1.74

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

func (*HandoffRequest) ProtoMessage added in v0.1.74

func (*HandoffRequest) ProtoMessage()

func (*HandoffRequest) Reset added in v0.1.74

func (x *HandoffRequest) Reset()

func (*HandoffRequest) SizeVT added in v0.1.74

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

func (*HandoffRequest) String added in v0.1.74

func (x *HandoffRequest) String() string

func (*HandoffRequest) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the HandoffRequest from JSON.

func (*HandoffRequest) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the HandoffRequest message from JSON.

func (*HandoffRequest) UnmarshalVT added in v0.1.74

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

type HoldMatchClockRequest added in v0.1.74

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 added in v0.1.74

func (*HoldMatchClockRequest) CloneVT added in v0.1.74

func (*HoldMatchClockRequest) EqualMessageVT added in v0.1.74

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

func (*HoldMatchClockRequest) EqualVT added in v0.1.74

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

func (*HoldMatchClockRequest) GetSeconds added in v0.1.74

func (x *HoldMatchClockRequest) GetSeconds() float32

func (*HoldMatchClockRequest) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the HoldMatchClockRequest to JSON.

func (*HoldMatchClockRequest) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the HoldMatchClockRequest message to JSON.

func (*HoldMatchClockRequest) MarshalProtoText added in v0.1.74

func (x *HoldMatchClockRequest) MarshalProtoText() string

func (*HoldMatchClockRequest) MarshalToSizedBufferVT added in v0.1.74

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

func (*HoldMatchClockRequest) MarshalToVT added in v0.1.74

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

func (*HoldMatchClockRequest) MarshalVT added in v0.1.74

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

func (*HoldMatchClockRequest) ProtoMessage added in v0.1.74

func (*HoldMatchClockRequest) ProtoMessage()

func (*HoldMatchClockRequest) Reset added in v0.1.74

func (x *HoldMatchClockRequest) Reset()

func (*HoldMatchClockRequest) SizeVT added in v0.1.74

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

func (*HoldMatchClockRequest) String added in v0.1.74

func (x *HoldMatchClockRequest) String() string

func (*HoldMatchClockRequest) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the HoldMatchClockRequest from JSON.

func (*HoldMatchClockRequest) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the HoldMatchClockRequest message from JSON.

func (*HoldMatchClockRequest) UnmarshalVT added in v0.1.74

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

type InputEvent added in v0.1.74

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 added in v0.1.74

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

func (*InputEvent) CloneVT added in v0.1.74

func (m *InputEvent) CloneVT() *InputEvent

func (*InputEvent) EqualMessageVT added in v0.1.74

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

func (*InputEvent) EqualVT added in v0.1.74

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

func (*InputEvent) GetPlayer added in v0.1.74

func (x *InputEvent) GetPlayer() int32

func (*InputEvent) GetPressed added in v0.1.74

func (x *InputEvent) GetPressed() uint64

func (*InputEvent) GetReleased added in v0.1.74

func (x *InputEvent) GetReleased() uint64

func (*InputEvent) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the InputEvent to JSON.

func (*InputEvent) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the InputEvent message to JSON.

func (*InputEvent) MarshalProtoText added in v0.1.74

func (x *InputEvent) MarshalProtoText() string

func (*InputEvent) MarshalToSizedBufferVT added in v0.1.74

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

func (*InputEvent) MarshalToVT added in v0.1.74

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

func (*InputEvent) MarshalVT added in v0.1.74

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

func (*InputEvent) ProtoMessage added in v0.1.74

func (*InputEvent) ProtoMessage()

func (*InputEvent) Reset added in v0.1.74

func (x *InputEvent) Reset()

func (*InputEvent) SizeVT added in v0.1.74

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

func (*InputEvent) String added in v0.1.74

func (x *InputEvent) String() string

func (*InputEvent) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the InputEvent from JSON.

func (*InputEvent) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the InputEvent message from JSON.

func (*InputEvent) UnmarshalVT added in v0.1.74

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

type InputRequest added in v0.1.74

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 added in v0.1.74

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

func (*InputRequest) CloneVT added in v0.1.74

func (m *InputRequest) CloneVT() *InputRequest

func (*InputRequest) EqualMessageVT added in v0.1.74

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

func (*InputRequest) EqualVT added in v0.1.74

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

func (*InputRequest) GetButtons added in v0.1.74

func (x *InputRequest) GetButtons() uint64

func (*InputRequest) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the InputRequest to JSON.

func (*InputRequest) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the InputRequest message to JSON.

func (*InputRequest) MarshalProtoText added in v0.1.74

func (x *InputRequest) MarshalProtoText() string

func (*InputRequest) MarshalToSizedBufferVT added in v0.1.74

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

func (*InputRequest) MarshalToVT added in v0.1.74

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

func (*InputRequest) MarshalVT added in v0.1.74

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

func (*InputRequest) ProtoMessage added in v0.1.74

func (*InputRequest) ProtoMessage()

func (*InputRequest) Reset added in v0.1.74

func (x *InputRequest) Reset()

func (*InputRequest) SizeVT added in v0.1.74

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

func (*InputRequest) String added in v0.1.74

func (x *InputRequest) String() string

func (*InputRequest) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the InputRequest from JSON.

func (*InputRequest) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the InputRequest message from JSON.

func (*InputRequest) UnmarshalVT added in v0.1.74

func (m *InputRequest) 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 added in v0.1.74

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"`
	// Definitions change entries of the game's definition files on the server
	// and in each player's game.
	Definitions []*Definition `protobuf:"bytes,9,rep,name=definitions,proto3" json:"definitions,omitempty"`
	// Settings are the choices each player makes about the mod, which the mod
	// reads with PlayerSetting.
	Settings []*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 []*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, where the mod gives
	// them a hero with SelectHero, 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"`
	// ContentAddon names the content addon the built mod ships: its slug and
	// the first eight hex digits of a digest of its content sources, as
	// parry-3f9a01c2. The build writes it, so a release whose content did not
	// change keeps its addon and every resource path in it. A mod built
	// without it ships the addon <slug>-<version>.
	ContentAddon string `protobuf:"bytes,13,opt,name=content_addon,json=contentAddon,proto3" json:"contentAddon,omitempty"`
	// Boards are the rankings the mod reports scores to through the host's
	// scores service.
	Boards []*scores.Board `protobuf:"bytes,14,rep,name=boards,proto3" json:"boards,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 added in v0.1.74

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

func (*Manifest) CloneVT added in v0.1.74

func (m *Manifest) CloneVT() *Manifest

func (*Manifest) EqualMessageVT added in v0.1.74

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

func (*Manifest) EqualVT added in v0.1.74

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

func (*Manifest) GetBoards added in v0.1.74

func (x *Manifest) GetBoards() []*scores.Board

func (*Manifest) GetContentAddon added in v0.1.74

func (x *Manifest) GetContentAddon() string

func (*Manifest) GetDefinitions added in v0.1.74

func (x *Manifest) GetDefinitions() []*Definition

func (*Manifest) GetEntry added in v0.1.74

func (x *Manifest) GetEntry() string

func (*Manifest) GetFreeForAll added in v0.1.74

func (x *Manifest) GetFreeForAll() bool

func (*Manifest) GetLanguage added in v0.1.74

func (x *Manifest) GetLanguage() Manifest_Language

func (*Manifest) GetMap added in v0.1.74

func (x *Manifest) GetMap() string

func (*Manifest) GetMetrics added in v0.1.74

func (x *Manifest) GetMetrics() []*metrics.Metric

func (*Manifest) GetMovement added in v0.1.74

func (x *Manifest) GetMovement() *Movement

func (*Manifest) GetName added in v0.1.74

func (x *Manifest) GetName() string

func (*Manifest) GetRuntime added in v0.1.74

func (x *Manifest) GetRuntime() Manifest_Runtime

func (*Manifest) GetSettings added in v0.1.74

func (x *Manifest) GetSettings() []*settings.Setting

func (*Manifest) GetSlug added in v0.1.74

func (x *Manifest) GetSlug() string

func (*Manifest) GetVersion added in v0.1.74

func (x *Manifest) GetVersion() string

func (*Manifest) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the Manifest to JSON.

func (*Manifest) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the Manifest message to JSON.

func (*Manifest) MarshalProtoText added in v0.1.74

func (x *Manifest) MarshalProtoText() string

func (*Manifest) MarshalToSizedBufferVT added in v0.1.74

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

func (*Manifest) MarshalToVT added in v0.1.74

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

func (*Manifest) MarshalVT added in v0.1.74

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

func (*Manifest) ProtoMessage added in v0.1.74

func (*Manifest) ProtoMessage()

func (*Manifest) Reset added in v0.1.74

func (x *Manifest) Reset()

func (*Manifest) SizeVT added in v0.1.74

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

func (*Manifest) String added in v0.1.74

func (x *Manifest) String() string

func (*Manifest) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the Manifest from JSON.

func (*Manifest) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the Manifest message from JSON.

func (*Manifest) UnmarshalVT added in v0.1.74

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

type Manifest_Language added in v0.1.74

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 added in v0.1.74

func (Manifest_Language) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the Manifest_Language to JSON.

func (Manifest_Language) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the Manifest_Language to JSON.

func (Manifest_Language) MarshalProtoText added in v0.1.74

func (x Manifest_Language) MarshalProtoText() string

func (Manifest_Language) MarshalText added in v0.1.74

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

MarshalText marshals the Manifest_Language to text.

func (Manifest_Language) String added in v0.1.74

func (x Manifest_Language) String() string

func (*Manifest_Language) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the Manifest_Language from JSON.

func (*Manifest_Language) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the Manifest_Language from JSON.

func (*Manifest_Language) UnmarshalText added in v0.1.74

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

UnmarshalText unmarshals the Manifest_Language from text.

type Manifest_Runtime added in v0.1.74

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 added in v0.1.74

func (Manifest_Runtime) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the Manifest_Runtime to JSON.

func (Manifest_Runtime) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the Manifest_Runtime to JSON.

func (Manifest_Runtime) MarshalProtoText added in v0.1.74

func (x Manifest_Runtime) MarshalProtoText() string

func (Manifest_Runtime) MarshalText added in v0.1.74

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

MarshalText marshals the Manifest_Runtime to text.

func (Manifest_Runtime) String added in v0.1.74

func (x Manifest_Runtime) String() string

func (*Manifest_Runtime) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the Manifest_Runtime from JSON.

func (*Manifest_Runtime) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the Manifest_Runtime from JSON.

func (*Manifest_Runtime) UnmarshalText added in v0.1.74

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

UnmarshalText unmarshals the Manifest_Runtime from text.

type MatchClockResponse added in v0.1.74

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 added in v0.1.74

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

func (*MatchClockResponse) CloneVT added in v0.1.74

func (m *MatchClockResponse) CloneVT() *MatchClockResponse

func (*MatchClockResponse) EqualMessageVT added in v0.1.74

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

func (*MatchClockResponse) EqualVT added in v0.1.74

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

func (*MatchClockResponse) GetSeconds added in v0.1.74

func (x *MatchClockResponse) GetSeconds() float32

func (*MatchClockResponse) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the MatchClockResponse to JSON.

func (*MatchClockResponse) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the MatchClockResponse message to JSON.

func (*MatchClockResponse) MarshalProtoText added in v0.1.74

func (x *MatchClockResponse) MarshalProtoText() string

func (*MatchClockResponse) MarshalToSizedBufferVT added in v0.1.74

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

func (*MatchClockResponse) MarshalToVT added in v0.1.74

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

func (*MatchClockResponse) MarshalVT added in v0.1.74

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

func (*MatchClockResponse) ProtoMessage added in v0.1.74

func (*MatchClockResponse) ProtoMessage()

func (*MatchClockResponse) Reset added in v0.1.74

func (x *MatchClockResponse) Reset()

func (*MatchClockResponse) SizeVT added in v0.1.74

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

func (*MatchClockResponse) String added in v0.1.74

func (x *MatchClockResponse) String() string

func (*MatchClockResponse) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the MatchClockResponse from JSON.

func (*MatchClockResponse) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the MatchClockResponse message from JSON.

func (*MatchClockResponse) UnmarshalVT added in v0.1.74

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

type Movement added in v0.1.74

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"`
	// contains filtered or unexported fields
}

Movement selects the movement model heroes walk and jump with.

func (*Movement) CloneMessageVT added in v0.1.74

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

func (*Movement) CloneVT added in v0.1.74

func (m *Movement) CloneVT() *Movement

func (*Movement) EqualMessageVT added in v0.1.74

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

func (*Movement) EqualVT added in v0.1.74

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

func (*Movement) GetModel added in v0.1.74

func (x *Movement) GetModel() Movement_Model

func (*Movement) GetScale added in v0.1.74

func (x *Movement) GetScale() float32

func (*Movement) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the Movement to JSON.

func (*Movement) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the Movement message to JSON.

func (*Movement) MarshalProtoText added in v0.1.74

func (x *Movement) MarshalProtoText() string

func (*Movement) MarshalToSizedBufferVT added in v0.1.74

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

func (*Movement) MarshalToVT added in v0.1.74

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

func (*Movement) MarshalVT added in v0.1.74

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

func (*Movement) ProtoMessage added in v0.1.74

func (*Movement) ProtoMessage()

func (*Movement) Reset added in v0.1.74

func (x *Movement) Reset()

func (*Movement) SizeVT added in v0.1.74

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

func (*Movement) String added in v0.1.74

func (x *Movement) String() string

func (*Movement) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the Movement from JSON.

func (*Movement) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the Movement message from JSON.

func (*Movement) UnmarshalVT added in v0.1.74

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

type Movement_Model added in v0.1.74

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 added in v0.1.74

func (x Movement_Model) Enum() *Movement_Model

func (Movement_Model) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the Movement_Model to JSON.

func (Movement_Model) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the Movement_Model to JSON.

func (Movement_Model) MarshalProtoText added in v0.1.74

func (x Movement_Model) MarshalProtoText() string

func (Movement_Model) MarshalText added in v0.1.74

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

MarshalText marshals the Movement_Model to text.

func (Movement_Model) String added in v0.1.74

func (x Movement_Model) String() string

func (*Movement_Model) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the Movement_Model from JSON.

func (*Movement_Model) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the Movement_Model from JSON.

func (*Movement_Model) UnmarshalText added in v0.1.74

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

UnmarshalText unmarshals the Movement_Model from text.

type PauseRequest added in v0.1.74

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 added in v0.1.74

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

func (*PauseRequest) CloneVT added in v0.1.74

func (m *PauseRequest) CloneVT() *PauseRequest

func (*PauseRequest) EqualMessageVT added in v0.1.74

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

func (*PauseRequest) EqualVT added in v0.1.74

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

func (*PauseRequest) GetPaused added in v0.1.74

func (x *PauseRequest) GetPaused() bool

func (*PauseRequest) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the PauseRequest to JSON.

func (*PauseRequest) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the PauseRequest message to JSON.

func (*PauseRequest) MarshalProtoText added in v0.1.74

func (x *PauseRequest) MarshalProtoText() string

func (*PauseRequest) MarshalToSizedBufferVT added in v0.1.74

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

func (*PauseRequest) MarshalToVT added in v0.1.74

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

func (*PauseRequest) MarshalVT added in v0.1.74

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

func (*PauseRequest) ProtoMessage added in v0.1.74

func (*PauseRequest) ProtoMessage()

func (*PauseRequest) Reset added in v0.1.74

func (x *PauseRequest) Reset()

func (*PauseRequest) SizeVT added in v0.1.74

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

func (*PauseRequest) String added in v0.1.74

func (x *PauseRequest) String() string

func (*PauseRequest) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the PauseRequest from JSON.

func (*PauseRequest) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the PauseRequest message from JSON.

func (*PauseRequest) UnmarshalVT added in v0.1.74

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

type PlayerInputRequest added in v0.1.74

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 added in v0.1.74

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

func (*PlayerInputRequest) CloneVT added in v0.1.74

func (m *PlayerInputRequest) CloneVT() *PlayerInputRequest

func (*PlayerInputRequest) EqualMessageVT added in v0.1.74

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

func (*PlayerInputRequest) EqualVT added in v0.1.74

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

func (*PlayerInputRequest) GetButtons added in v0.1.74

func (x *PlayerInputRequest) GetButtons() uint64

func (*PlayerInputRequest) GetPlayer added in v0.1.74

func (x *PlayerInputRequest) GetPlayer() int32

func (*PlayerInputRequest) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the PlayerInputRequest to JSON.

func (*PlayerInputRequest) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the PlayerInputRequest message to JSON.

func (*PlayerInputRequest) MarshalProtoText added in v0.1.74

func (x *PlayerInputRequest) MarshalProtoText() string

func (*PlayerInputRequest) MarshalToSizedBufferVT added in v0.1.74

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

func (*PlayerInputRequest) MarshalToVT added in v0.1.74

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

func (*PlayerInputRequest) MarshalVT added in v0.1.74

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

func (*PlayerInputRequest) ProtoMessage added in v0.1.74

func (*PlayerInputRequest) ProtoMessage()

func (*PlayerInputRequest) Reset added in v0.1.74

func (x *PlayerInputRequest) Reset()

func (*PlayerInputRequest) SizeVT added in v0.1.74

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

func (*PlayerInputRequest) String added in v0.1.74

func (x *PlayerInputRequest) String() string

func (*PlayerInputRequest) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the PlayerInputRequest from JSON.

func (*PlayerInputRequest) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the PlayerInputRequest message from JSON.

func (*PlayerInputRequest) UnmarshalVT added in v0.1.74

func (m *PlayerInputRequest) 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,
	// with {addon} for the mod's content addon, as in models/{addon}/pawn.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 ReadFileRequest added in v0.1.74

type ReadFileRequest struct {

	// Path is the file's path below the mod's directories, such as
	// "areas.yaml" or "maps/dl_midtown.json": relative, with "/" between
	// segments, and no "." or ".." segment.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

ReadFileRequest names one of the mod's files.

func (*ReadFileRequest) CloneMessageVT added in v0.1.74

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

func (*ReadFileRequest) CloneVT added in v0.1.74

func (m *ReadFileRequest) CloneVT() *ReadFileRequest

func (*ReadFileRequest) EqualMessageVT added in v0.1.74

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

func (*ReadFileRequest) EqualVT added in v0.1.74

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

func (*ReadFileRequest) GetPath added in v0.1.74

func (x *ReadFileRequest) GetPath() string

func (*ReadFileRequest) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the ReadFileRequest to JSON.

func (*ReadFileRequest) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the ReadFileRequest message to JSON.

func (*ReadFileRequest) MarshalProtoText added in v0.1.74

func (x *ReadFileRequest) MarshalProtoText() string

func (*ReadFileRequest) MarshalToSizedBufferVT added in v0.1.74

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

func (*ReadFileRequest) MarshalToVT added in v0.1.74

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

func (*ReadFileRequest) MarshalVT added in v0.1.74

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

func (*ReadFileRequest) ProtoMessage added in v0.1.74

func (*ReadFileRequest) ProtoMessage()

func (*ReadFileRequest) Reset added in v0.1.74

func (x *ReadFileRequest) Reset()

func (*ReadFileRequest) SizeVT added in v0.1.74

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

func (*ReadFileRequest) String added in v0.1.74

func (x *ReadFileRequest) String() string

func (*ReadFileRequest) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the ReadFileRequest from JSON.

func (*ReadFileRequest) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the ReadFileRequest message from JSON.

func (*ReadFileRequest) UnmarshalVT added in v0.1.74

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

type ReadFileResponse added in v0.1.74

type ReadFileResponse struct {

	// Text is the file's UTF-8 text, or unset when neither directory holds
	// the file.
	Text *string `protobuf:"bytes,1,opt,name=text,proto3,oneof" json:"text,omitempty"`
	// contains filtered or unexported fields
}

ReadFileResponse holds a file's text.

func (*ReadFileResponse) CloneMessageVT added in v0.1.74

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

func (*ReadFileResponse) CloneVT added in v0.1.74

func (m *ReadFileResponse) CloneVT() *ReadFileResponse

func (*ReadFileResponse) EqualMessageVT added in v0.1.74

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

func (*ReadFileResponse) EqualVT added in v0.1.74

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

func (*ReadFileResponse) GetText added in v0.1.74

func (x *ReadFileResponse) GetText() string

func (*ReadFileResponse) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the ReadFileResponse to JSON.

func (*ReadFileResponse) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the ReadFileResponse message to JSON.

func (*ReadFileResponse) MarshalProtoText added in v0.1.74

func (x *ReadFileResponse) MarshalProtoText() string

func (*ReadFileResponse) MarshalToSizedBufferVT added in v0.1.74

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

func (*ReadFileResponse) MarshalToVT added in v0.1.74

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

func (*ReadFileResponse) MarshalVT added in v0.1.74

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

func (*ReadFileResponse) ProtoMessage added in v0.1.74

func (*ReadFileResponse) ProtoMessage()

func (*ReadFileResponse) Reset added in v0.1.74

func (x *ReadFileResponse) Reset()

func (*ReadFileResponse) SizeVT added in v0.1.74

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

func (*ReadFileResponse) String added in v0.1.74

func (x *ReadFileResponse) String() string

func (*ReadFileResponse) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the ReadFileResponse from JSON.

func (*ReadFileResponse) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the ReadFileResponse message from JSON.

func (*ReadFileResponse) UnmarshalVT added in v0.1.74

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

type RemapInputRequest added in v0.1.74

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 added in v0.1.74

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

func (*RemapInputRequest) CloneVT added in v0.1.74

func (m *RemapInputRequest) CloneVT() *RemapInputRequest

func (*RemapInputRequest) EqualMessageVT added in v0.1.74

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

func (*RemapInputRequest) EqualVT added in v0.1.74

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

func (*RemapInputRequest) GetFrom added in v0.1.74

func (x *RemapInputRequest) GetFrom() uint64

func (*RemapInputRequest) GetRepeat added in v0.1.74

func (x *RemapInputRequest) GetRepeat() bool

func (*RemapInputRequest) GetTo added in v0.1.74

func (x *RemapInputRequest) GetTo() uint64

func (*RemapInputRequest) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the RemapInputRequest to JSON.

func (*RemapInputRequest) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the RemapInputRequest message to JSON.

func (*RemapInputRequest) MarshalProtoText added in v0.1.74

func (x *RemapInputRequest) MarshalProtoText() string

func (*RemapInputRequest) MarshalToSizedBufferVT added in v0.1.74

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

func (*RemapInputRequest) MarshalToVT added in v0.1.74

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

func (*RemapInputRequest) MarshalVT added in v0.1.74

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

func (*RemapInputRequest) ProtoMessage added in v0.1.74

func (*RemapInputRequest) ProtoMessage()

func (*RemapInputRequest) Reset added in v0.1.74

func (x *RemapInputRequest) Reset()

func (*RemapInputRequest) SizeVT added in v0.1.74

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

func (*RemapInputRequest) String added in v0.1.74

func (x *RemapInputRequest) String() string

func (*RemapInputRequest) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the RemapInputRequest from JSON.

func (*RemapInputRequest) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the RemapInputRequest message from JSON.

func (*RemapInputRequest) UnmarshalVT added in v0.1.74

func (m *RemapInputRequest) 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 RiftResponse added in v0.1.74

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 added in v0.1.74

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

func (*RiftResponse) CloneVT added in v0.1.74

func (m *RiftResponse) CloneVT() *RiftResponse

func (*RiftResponse) EqualMessageVT added in v0.1.74

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

func (*RiftResponse) EqualVT added in v0.1.74

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

func (*RiftResponse) GetState added in v0.1.74

func (x *RiftResponse) GetState() *RiftState

func (*RiftResponse) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the RiftResponse to JSON.

func (*RiftResponse) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the RiftResponse message to JSON.

func (*RiftResponse) MarshalProtoText added in v0.1.74

func (x *RiftResponse) MarshalProtoText() string

func (*RiftResponse) MarshalToSizedBufferVT added in v0.1.74

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

func (*RiftResponse) MarshalToVT added in v0.1.74

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

func (*RiftResponse) MarshalVT added in v0.1.74

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

func (*RiftResponse) ProtoMessage added in v0.1.74

func (*RiftResponse) ProtoMessage()

func (*RiftResponse) Reset added in v0.1.74

func (x *RiftResponse) Reset()

func (*RiftResponse) SizeVT added in v0.1.74

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

func (*RiftResponse) String added in v0.1.74

func (x *RiftResponse) String() string

func (*RiftResponse) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the RiftResponse from JSON.

func (*RiftResponse) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the RiftResponse message from JSON.

func (*RiftResponse) UnmarshalVT added in v0.1.74

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

type RiftState added in v0.1.74

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 added in v0.1.74

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

func (*RiftState) CloneVT added in v0.1.74

func (m *RiftState) CloneVT() *RiftState

func (*RiftState) EqualMessageVT added in v0.1.74

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

func (*RiftState) EqualVT added in v0.1.74

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

func (*RiftState) GetCashInStarted added in v0.1.74

func (x *RiftState) GetCashInStarted() float32

func (*RiftState) GetGiveUpTime added in v0.1.74

func (x *RiftState) GetGiveUpTime() float32

func (*RiftState) GetNextSpawn added in v0.1.74

func (x *RiftState) GetNextSpawn() float32

func (*RiftState) GetScoringTeam added in v0.1.74

func (x *RiftState) GetScoringTeam() int32

func (*RiftState) GetScoringTime added in v0.1.74

func (x *RiftState) GetScoringTime() float32

func (*RiftState) GetSpawnWindow added in v0.1.74

func (x *RiftState) GetSpawnWindow() float32

func (*RiftState) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the RiftState to JSON.

func (*RiftState) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the RiftState message to JSON.

func (*RiftState) MarshalProtoText added in v0.1.74

func (x *RiftState) MarshalProtoText() string

func (*RiftState) MarshalToSizedBufferVT added in v0.1.74

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

func (*RiftState) MarshalToVT added in v0.1.74

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

func (*RiftState) MarshalVT added in v0.1.74

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

func (*RiftState) ProtoMessage added in v0.1.74

func (*RiftState) ProtoMessage()

func (*RiftState) Reset added in v0.1.74

func (x *RiftState) Reset()

func (*RiftState) SizeVT added in v0.1.74

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

func (*RiftState) String added in v0.1.74

func (x *RiftState) String() string

func (*RiftState) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the RiftState from JSON.

func (*RiftState) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the RiftState message from JSON.

func (*RiftState) UnmarshalVT added in v0.1.74

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

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.74

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.74

func (*SetFreeForAllRequest) CloneVT added in v0.1.74

func (*SetFreeForAllRequest) EqualMessageVT added in v0.1.74

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

func (*SetFreeForAllRequest) EqualVT added in v0.1.74

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

func (*SetFreeForAllRequest) GetEnabled added in v0.1.74

func (x *SetFreeForAllRequest) GetEnabled() bool

func (*SetFreeForAllRequest) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the SetFreeForAllRequest to JSON.

func (*SetFreeForAllRequest) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the SetFreeForAllRequest message to JSON.

func (*SetFreeForAllRequest) MarshalProtoText added in v0.1.74

func (x *SetFreeForAllRequest) MarshalProtoText() string

func (*SetFreeForAllRequest) MarshalToSizedBufferVT added in v0.1.74

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

func (*SetFreeForAllRequest) MarshalToVT added in v0.1.74

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

func (*SetFreeForAllRequest) MarshalVT added in v0.1.74

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

func (*SetFreeForAllRequest) ProtoMessage added in v0.1.74

func (*SetFreeForAllRequest) ProtoMessage()

func (*SetFreeForAllRequest) Reset added in v0.1.74

func (x *SetFreeForAllRequest) Reset()

func (*SetFreeForAllRequest) SizeVT added in v0.1.74

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

func (*SetFreeForAllRequest) String added in v0.1.74

func (x *SetFreeForAllRequest) String() string

func (*SetFreeForAllRequest) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the SetFreeForAllRequest from JSON.

func (*SetFreeForAllRequest) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the SetFreeForAllRequest message from JSON.

func (*SetFreeForAllRequest) UnmarshalVT added in v0.1.74

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

type SetTeamSeatingRequest added in v0.1.74

type SetTeamSeatingRequest struct {

	// Enabled turns team seating on when true and off when false.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

SetTeamSeatingRequest turns team seating on or off.

func (*SetTeamSeatingRequest) CloneMessageVT added in v0.1.74

func (*SetTeamSeatingRequest) CloneVT added in v0.1.74

func (*SetTeamSeatingRequest) EqualMessageVT added in v0.1.74

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

func (*SetTeamSeatingRequest) EqualVT added in v0.1.74

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

func (*SetTeamSeatingRequest) GetEnabled added in v0.1.74

func (x *SetTeamSeatingRequest) GetEnabled() bool

func (*SetTeamSeatingRequest) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the SetTeamSeatingRequest to JSON.

func (*SetTeamSeatingRequest) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the SetTeamSeatingRequest message to JSON.

func (*SetTeamSeatingRequest) MarshalProtoText added in v0.1.74

func (x *SetTeamSeatingRequest) MarshalProtoText() string

func (*SetTeamSeatingRequest) MarshalToSizedBufferVT added in v0.1.74

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

func (*SetTeamSeatingRequest) MarshalToVT added in v0.1.74

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

func (*SetTeamSeatingRequest) MarshalVT added in v0.1.74

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

func (*SetTeamSeatingRequest) ProtoMessage added in v0.1.74

func (*SetTeamSeatingRequest) ProtoMessage()

func (*SetTeamSeatingRequest) Reset added in v0.1.74

func (x *SetTeamSeatingRequest) Reset()

func (*SetTeamSeatingRequest) SizeVT added in v0.1.74

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

func (*SetTeamSeatingRequest) String added in v0.1.74

func (x *SetTeamSeatingRequest) String() string

func (*SetTeamSeatingRequest) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the SetTeamSeatingRequest from JSON.

func (*SetTeamSeatingRequest) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the SetTeamSeatingRequest message from JSON.

func (*SetTeamSeatingRequest) UnmarshalVT added in v0.1.74

func (m *SetTeamSeatingRequest) 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.
	// The mod then hears no game events, and a call that needs the game fails;
	// logging, the host's services, settings, metrics, files, interfaces and
	// the reload hold still answer.
	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"`
	// Chat asks for a Chat event for each chat line.
	Chat bool `protobuf:"varint,4,opt,name=chat,proto3" json:"chat,omitempty"`
	// Joins asks for a PlayerJoined event as each player the mod serves joins,
	// and a PlayerLeft event as each leaves.
	Joins bool `protobuf:"varint,5,opt,name=joins,proto3" json:"joins,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) GetChat added in v0.1.50

func (x *StartResult) GetChat() 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) GetJoins added in v0.1.72

func (x *StartResult) GetJoins() 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 added in v0.1.74

type StartRiftRequest struct {
	Position *geometry.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 added in v0.1.74

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

func (*StartRiftRequest) CloneVT added in v0.1.74

func (m *StartRiftRequest) CloneVT() *StartRiftRequest

func (*StartRiftRequest) EqualMessageVT added in v0.1.74

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

func (*StartRiftRequest) EqualVT added in v0.1.74

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

func (*StartRiftRequest) GetPosition added in v0.1.74

func (x *StartRiftRequest) GetPosition() *geometry.Vec3

func (*StartRiftRequest) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the StartRiftRequest to JSON.

func (*StartRiftRequest) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the StartRiftRequest message to JSON.

func (*StartRiftRequest) MarshalProtoText added in v0.1.74

func (x *StartRiftRequest) MarshalProtoText() string

func (*StartRiftRequest) MarshalToSizedBufferVT added in v0.1.74

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

func (*StartRiftRequest) MarshalToVT added in v0.1.74

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

func (*StartRiftRequest) MarshalVT added in v0.1.74

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

func (*StartRiftRequest) ProtoMessage added in v0.1.74

func (*StartRiftRequest) ProtoMessage()

func (*StartRiftRequest) Reset added in v0.1.74

func (x *StartRiftRequest) Reset()

func (*StartRiftRequest) SizeVT added in v0.1.74

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

func (*StartRiftRequest) String added in v0.1.74

func (x *StartRiftRequest) String() string

func (*StartRiftRequest) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the StartRiftRequest from JSON.

func (*StartRiftRequest) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the StartRiftRequest message from JSON.

func (*StartRiftRequest) UnmarshalVT added in v0.1.74

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

type TeamAssignments added in v0.1.74

type TeamAssignments struct {

	// Assignments seats humans by Steam ID: 1 observes, 2 and 3 play. A host
	// supplies this table before the mod starts. Each assignment applies once
	// per connection, again when its team changes, and retries until ready.
	// An empty table leaves team choice to the mod and the game.
	Assignments map[uint64]int32 `` /* 165-byte string literal not displayed */
	// contains filtered or unexported fields
}

TeamAssignments is the host's initial seating table for one running mod.

func (*TeamAssignments) CloneMessageVT added in v0.1.74

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

func (*TeamAssignments) CloneVT added in v0.1.74

func (m *TeamAssignments) CloneVT() *TeamAssignments

func (*TeamAssignments) EqualMessageVT added in v0.1.74

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

func (*TeamAssignments) EqualVT added in v0.1.74

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

func (*TeamAssignments) GetAssignments added in v0.1.74

func (x *TeamAssignments) GetAssignments() map[uint64]int32

func (*TeamAssignments) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the TeamAssignments to JSON.

func (*TeamAssignments) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the TeamAssignments message to JSON.

func (*TeamAssignments) MarshalProtoText added in v0.1.74

func (x *TeamAssignments) MarshalProtoText() string

func (*TeamAssignments) MarshalToSizedBufferVT added in v0.1.74

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

func (*TeamAssignments) MarshalToVT added in v0.1.74

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

func (*TeamAssignments) MarshalVT added in v0.1.74

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

func (*TeamAssignments) ProtoMessage added in v0.1.74

func (*TeamAssignments) ProtoMessage()

func (*TeamAssignments) Reset added in v0.1.74

func (x *TeamAssignments) Reset()

func (*TeamAssignments) SizeVT added in v0.1.74

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

func (*TeamAssignments) String added in v0.1.74

func (x *TeamAssignments) String() string

func (*TeamAssignments) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the TeamAssignments from JSON.

func (*TeamAssignments) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the TeamAssignments message from JSON.

func (*TeamAssignments) UnmarshalVT added in v0.1.74

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

type TeamAssignments_AssignmentsEntry added in v0.1.74

type TeamAssignments_AssignmentsEntry struct {
	Key   uint64 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"`
	Value int32  `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*TeamAssignments_AssignmentsEntry) GetKey added in v0.1.74

func (*TeamAssignments_AssignmentsEntry) GetValue added in v0.1.74

func (*TeamAssignments_AssignmentsEntry) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the TeamAssignments_AssignmentsEntry to JSON.

func (*TeamAssignments_AssignmentsEntry) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the TeamAssignments_AssignmentsEntry message to JSON.

func (*TeamAssignments_AssignmentsEntry) MarshalProtoText added in v0.1.74

func (x *TeamAssignments_AssignmentsEntry) MarshalProtoText() string

func (*TeamAssignments_AssignmentsEntry) ProtoMessage added in v0.1.74

func (*TeamAssignments_AssignmentsEntry) ProtoMessage()

func (*TeamAssignments_AssignmentsEntry) Reset added in v0.1.74

func (*TeamAssignments_AssignmentsEntry) String added in v0.1.74

func (*TeamAssignments_AssignmentsEntry) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the TeamAssignments_AssignmentsEntry from JSON.

func (*TeamAssignments_AssignmentsEntry) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the TeamAssignments_AssignmentsEntry message from JSON.

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 WriteFileRequest added in v0.1.74

type WriteFileRequest struct {

	// Path is the file's path, as ReadFileRequest names it.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Text is the file's new UTF-8 text.
	Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

WriteFileRequest replaces one of the mod's files.

func (*WriteFileRequest) CloneMessageVT added in v0.1.74

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

func (*WriteFileRequest) CloneVT added in v0.1.74

func (m *WriteFileRequest) CloneVT() *WriteFileRequest

func (*WriteFileRequest) EqualMessageVT added in v0.1.74

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

func (*WriteFileRequest) EqualVT added in v0.1.74

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

func (*WriteFileRequest) GetPath added in v0.1.74

func (x *WriteFileRequest) GetPath() string

func (*WriteFileRequest) GetText added in v0.1.74

func (x *WriteFileRequest) GetText() string

func (*WriteFileRequest) MarshalJSON added in v0.1.74

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

MarshalJSON marshals the WriteFileRequest to JSON.

func (*WriteFileRequest) MarshalProtoJSON added in v0.1.74

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

MarshalProtoJSON marshals the WriteFileRequest message to JSON.

func (*WriteFileRequest) MarshalProtoText added in v0.1.74

func (x *WriteFileRequest) MarshalProtoText() string

func (*WriteFileRequest) MarshalToSizedBufferVT added in v0.1.74

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

func (*WriteFileRequest) MarshalToVT added in v0.1.74

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

func (*WriteFileRequest) MarshalVT added in v0.1.74

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

func (*WriteFileRequest) ProtoMessage added in v0.1.74

func (*WriteFileRequest) ProtoMessage()

func (*WriteFileRequest) Reset added in v0.1.74

func (x *WriteFileRequest) Reset()

func (*WriteFileRequest) SizeVT added in v0.1.74

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

func (*WriteFileRequest) String added in v0.1.74

func (x *WriteFileRequest) String() string

func (*WriteFileRequest) UnmarshalJSON added in v0.1.74

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

UnmarshalJSON unmarshals the WriteFileRequest from JSON.

func (*WriteFileRequest) UnmarshalProtoJSON added in v0.1.74

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

UnmarshalProtoJSON unmarshals the WriteFileRequest message from JSON.

func (*WriteFileRequest) UnmarshalVT added in v0.1.74

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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