cli

package
v0.1.73 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Building

type Building struct {

	// Dir is the project directory.
	Dir string `protobuf:"bytes,1,opt,name=dir,proto3" json:"dir,omitempty"`
	// contains filtered or unexported fields
}

Building identifies the project a build started for.

func (*Building) CloneMessageVT

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

func (*Building) CloneVT

func (m *Building) CloneVT() *Building

func (*Building) EqualMessageVT

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

func (*Building) EqualVT

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

func (*Building) GetDir

func (x *Building) GetDir() string

func (*Building) MarshalJSON

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

MarshalJSON marshals the Building to JSON.

func (*Building) MarshalProtoJSON

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

MarshalProtoJSON marshals the Building message to JSON.

func (*Building) MarshalProtoText

func (x *Building) MarshalProtoText() string

func (*Building) MarshalToSizedBufferVT

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

func (*Building) MarshalToVT

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

func (*Building) MarshalVT

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

func (*Building) ProtoMessage

func (*Building) ProtoMessage()

func (*Building) Reset

func (x *Building) Reset()

func (*Building) SizeVT

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

func (*Building) String

func (x *Building) String() string

func (*Building) UnmarshalJSON

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

UnmarshalJSON unmarshals the Building from JSON.

func (*Building) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the Building message from JSON.

func (*Building) UnmarshalVT

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

type Built

type Built struct {

	// Dir is the project directory.
	Dir string `protobuf:"bytes,1,opt,name=dir,proto3" json:"dir,omitempty"`
	// Ok is true when the build wrote the built mod.
	Ok bool `protobuf:"varint,2,opt,name=ok,proto3" json:"ok,omitempty"`
	// Error explains a failed build in one line.
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// Diagnostics lists the problems the checks and compilers found. A finished
	// build replaces the previous build's diagnostics.
	Diagnostics []*Diagnostic `protobuf:"bytes,4,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

Built reports a finished build. A failed build leaves the previous built mod in place.

func (*Built) CloneMessageVT

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

func (*Built) CloneVT

func (m *Built) CloneVT() *Built

func (*Built) EqualMessageVT

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

func (*Built) EqualVT

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

func (*Built) GetDiagnostics

func (x *Built) GetDiagnostics() []*Diagnostic

func (*Built) GetDir

func (x *Built) GetDir() string

func (*Built) GetError

func (x *Built) GetError() string

func (*Built) GetOk

func (x *Built) GetOk() bool

func (*Built) MarshalJSON

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

MarshalJSON marshals the Built to JSON.

func (*Built) MarshalProtoJSON

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

MarshalProtoJSON marshals the Built message to JSON.

func (*Built) MarshalProtoText

func (x *Built) MarshalProtoText() string

func (*Built) MarshalToSizedBufferVT

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

func (*Built) MarshalToVT

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

func (*Built) MarshalVT

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

func (*Built) ProtoMessage

func (*Built) ProtoMessage()

func (*Built) Reset

func (x *Built) Reset()

func (*Built) SizeVT

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

func (*Built) String

func (x *Built) String() string

func (*Built) UnmarshalJSON

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

UnmarshalJSON unmarshals the Built from JSON.

func (*Built) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the Built message from JSON.

func (*Built) UnmarshalVT

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

type Change added in v0.1.42

type Change struct {

	// Mod is the mod's name.
	Mod string `protobuf:"bytes,1,opt,name=mod,proto3" json:"mod,omitempty"`
	// Event names the player, the input and its new value.
	Event *ui.UiInputEvent `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"`
	// contains filtered or unexported fields
}

Change sets an input in the interface a mod shows a player.

func (*Change) CloneMessageVT added in v0.1.42

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

func (*Change) CloneVT added in v0.1.42

func (m *Change) CloneVT() *Change

func (*Change) EqualMessageVT added in v0.1.42

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

func (*Change) EqualVT added in v0.1.42

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

func (*Change) GetEvent added in v0.1.42

func (x *Change) GetEvent() *ui.UiInputEvent

func (*Change) GetMod added in v0.1.42

func (x *Change) GetMod() string

func (*Change) MarshalJSON added in v0.1.42

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

MarshalJSON marshals the Change to JSON.

func (*Change) MarshalProtoJSON added in v0.1.42

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

MarshalProtoJSON marshals the Change message to JSON.

func (*Change) MarshalProtoText added in v0.1.42

func (x *Change) MarshalProtoText() string

func (*Change) MarshalToSizedBufferVT added in v0.1.42

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

func (*Change) MarshalToVT added in v0.1.42

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

func (*Change) MarshalVT added in v0.1.42

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

func (*Change) ProtoMessage added in v0.1.42

func (*Change) ProtoMessage()

func (*Change) Reset added in v0.1.42

func (x *Change) Reset()

func (*Change) SizeVT added in v0.1.42

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

func (*Change) String added in v0.1.42

func (x *Change) String() string

func (*Change) UnmarshalJSON added in v0.1.42

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

UnmarshalJSON unmarshals the Change from JSON.

func (*Change) UnmarshalProtoJSON added in v0.1.42

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

UnmarshalProtoJSON unmarshals the Change message from JSON.

func (*Change) UnmarshalVT added in v0.1.42

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

type Config added in v0.1.10

type Config struct {

	// SkipUpdateCheck stops commands from looking for a newer release.
	SkipUpdateCheck bool `protobuf:"varint,1,opt,name=skip_update_check,json=skipUpdateCheck,proto3" json:"skipUpdateCheck,omitempty"`
	// contains filtered or unexported fields
}

Config is the command line's settings, kept as protobuf JSON in modlock/config.json in the user configuration directory. modlock config lists and changes them.

func (*Config) CloneMessageVT added in v0.1.10

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

func (*Config) CloneVT added in v0.1.10

func (m *Config) CloneVT() *Config

func (*Config) EqualMessageVT added in v0.1.10

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

func (*Config) EqualVT added in v0.1.10

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

func (*Config) GetSkipUpdateCheck added in v0.1.10

func (x *Config) GetSkipUpdateCheck() bool

func (*Config) MarshalJSON added in v0.1.10

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

MarshalJSON marshals the Config to JSON.

func (*Config) MarshalProtoJSON added in v0.1.10

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

MarshalProtoJSON marshals the Config message to JSON.

func (*Config) MarshalProtoText added in v0.1.10

func (x *Config) MarshalProtoText() string

func (*Config) MarshalToSizedBufferVT added in v0.1.10

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

func (*Config) MarshalToVT added in v0.1.10

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

func (*Config) MarshalVT added in v0.1.10

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

func (*Config) ProtoMessage added in v0.1.10

func (*Config) ProtoMessage()

func (*Config) Reset added in v0.1.10

func (x *Config) Reset()

func (*Config) SizeVT added in v0.1.10

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

func (*Config) String added in v0.1.10

func (x *Config) String() string

func (*Config) UnmarshalJSON added in v0.1.10

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

UnmarshalJSON unmarshals the Config from JSON.

func (*Config) UnmarshalProtoJSON added in v0.1.10

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

UnmarshalProtoJSON unmarshals the Config message from JSON.

func (*Config) UnmarshalVT added in v0.1.10

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

type Diagnostic

type Diagnostic struct {

	// File is the file's absolute path.
	File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	// Line is the 1-based line.
	Line uint32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
	// Column is the 1-based column, zero when unknown.
	Column uint32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"`
	// Message describes the problem.
	Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	// Source names the tool that found it: tsgo, esbuild, go vet or go build.
	Source string `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"`
	// Code is the tool's code for the problem, such as TS2322, if it has one.
	Code string `protobuf:"bytes,6,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

Diagnostic is one problem found in a source file.

func (*Diagnostic) CloneMessageVT

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

func (*Diagnostic) CloneVT

func (m *Diagnostic) CloneVT() *Diagnostic

func (*Diagnostic) EqualMessageVT

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

func (*Diagnostic) EqualVT

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

func (*Diagnostic) GetCode

func (x *Diagnostic) GetCode() string

func (*Diagnostic) GetColumn

func (x *Diagnostic) GetColumn() uint32

func (*Diagnostic) GetFile

func (x *Diagnostic) GetFile() string

func (*Diagnostic) GetLine

func (x *Diagnostic) GetLine() uint32

func (*Diagnostic) GetMessage

func (x *Diagnostic) GetMessage() string

func (*Diagnostic) GetSource

func (x *Diagnostic) GetSource() string

func (*Diagnostic) MarshalJSON

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

MarshalJSON marshals the Diagnostic to JSON.

func (*Diagnostic) MarshalProtoJSON

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

MarshalProtoJSON marshals the Diagnostic message to JSON.

func (*Diagnostic) MarshalProtoText

func (x *Diagnostic) MarshalProtoText() string

func (*Diagnostic) MarshalToSizedBufferVT

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

func (*Diagnostic) MarshalToVT

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

func (*Diagnostic) MarshalVT

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

func (*Diagnostic) ProtoMessage

func (*Diagnostic) ProtoMessage()

func (*Diagnostic) Reset

func (x *Diagnostic) Reset()

func (*Diagnostic) SizeVT

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

func (*Diagnostic) String

func (x *Diagnostic) String() string

func (*Diagnostic) UnmarshalJSON

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

UnmarshalJSON unmarshals the Diagnostic from JSON.

func (*Diagnostic) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the Diagnostic message from JSON.

func (*Diagnostic) UnmarshalVT

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

type Event

type Event struct {

	// Body selects the event.
	//
	// Types that are assignable to Body:
	//	*Event_Note
	//	*Event_Building
	//	*Event_Built
	//	*Event_Host
	//	*Event_Published
	//	*Event_Sandbox
	//	*Event_Update
	//	*Event_Hosting
	Body isEvent_Body `protobuf_oneof:"body"`
	// contains filtered or unexported fields
}

Event is one thing the command line did or saw.

func (*Event) CloneMessageVT

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

func (*Event) CloneVT

func (m *Event) CloneVT() *Event

func (*Event) EqualMessageVT

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

func (*Event) EqualVT

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

func (*Event) GetBody

func (m *Event) GetBody() isEvent_Body

func (*Event) GetBuilding

func (x *Event) GetBuilding() *Building

func (*Event) GetBuilt

func (x *Event) GetBuilt() *Built

func (*Event) GetHost

func (x *Event) GetHost() *control.HostEvent

func (*Event) GetHosting added in v0.1.66

func (x *Event) GetHosting() *Hosting

func (*Event) GetNote

func (x *Event) GetNote() string

func (*Event) GetPublished

func (x *Event) GetPublished() *Published

func (*Event) GetSandbox

func (x *Event) GetSandbox() *Sandbox

func (*Event) GetUpdate added in v0.1.10

func (x *Event) GetUpdate() *Update

func (*Event) MarshalJSON

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

MarshalJSON marshals the Event to JSON.

func (*Event) MarshalProtoJSON

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

MarshalProtoJSON marshals the Event message to JSON.

func (*Event) MarshalProtoText

func (x *Event) MarshalProtoText() string

func (*Event) MarshalToSizedBufferVT

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

func (*Event) MarshalToVT

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

func (*Event) MarshalVT

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

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (x *Event) Reset()

func (*Event) SizeVT

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

func (*Event) String

func (x *Event) String() string

func (*Event) UnmarshalJSON

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

UnmarshalJSON unmarshals the Event from JSON.

func (*Event) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the Event message from JSON.

func (*Event) UnmarshalVT

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

type Event_Building

type Event_Building struct {
	// Building reports that a build of the project started.
	Building *Building `protobuf:"bytes,2,opt,name=building,proto3,oneof"`
}

func (*Event_Building) CloneOneofVT

func (m *Event_Building) CloneOneofVT() isEvent_Body

func (*Event_Building) CloneVT

func (m *Event_Building) CloneVT() *Event_Building

func (*Event_Building) EqualVT

func (this *Event_Building) EqualVT(thatIface isEvent_Body) bool

func (*Event_Building) MarshalToSizedBufferVT

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

func (*Event_Building) MarshalToVT

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

func (*Event_Building) SizeVT

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

type Event_Built

type Event_Built struct {
	// Built reports a finished build.
	Built *Built `protobuf:"bytes,3,opt,name=built,proto3,oneof"`
}

func (*Event_Built) CloneOneofVT

func (m *Event_Built) CloneOneofVT() isEvent_Body

func (*Event_Built) CloneVT

func (m *Event_Built) CloneVT() *Event_Built

func (*Event_Built) EqualVT

func (this *Event_Built) EqualVT(thatIface isEvent_Body) bool

func (*Event_Built) MarshalToSizedBufferVT

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

func (*Event_Built) MarshalToVT

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

func (*Event_Built) SizeVT

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

type Event_Host

type Event_Host struct {
	// Host carries an event from the running server.
	Host *control.HostEvent `protobuf:"bytes,4,opt,name=host,proto3,oneof"`
}

func (*Event_Host) CloneOneofVT

func (m *Event_Host) CloneOneofVT() isEvent_Body

func (*Event_Host) CloneVT

func (m *Event_Host) CloneVT() *Event_Host

func (*Event_Host) EqualVT

func (this *Event_Host) EqualVT(thatIface isEvent_Body) bool

func (*Event_Host) MarshalToSizedBufferVT

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

func (*Event_Host) MarshalToVT

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

func (*Event_Host) SizeVT

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

type Event_Hosting added in v0.1.66

type Event_Hosting struct {
	// Hosting reports how players on other PCs join the hosted session, each
	// time it changes.
	Hosting *Hosting `protobuf:"bytes,8,opt,name=hosting,proto3,oneof"`
}

func (*Event_Hosting) CloneOneofVT added in v0.1.66

func (m *Event_Hosting) CloneOneofVT() isEvent_Body

func (*Event_Hosting) CloneVT added in v0.1.66

func (m *Event_Hosting) CloneVT() *Event_Hosting

func (*Event_Hosting) EqualVT added in v0.1.66

func (this *Event_Hosting) EqualVT(thatIface isEvent_Body) bool

func (*Event_Hosting) MarshalToSizedBufferVT added in v0.1.66

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

func (*Event_Hosting) MarshalToVT added in v0.1.66

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

func (*Event_Hosting) SizeVT added in v0.1.66

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

type Event_Note

type Event_Note struct {
	// Note is a line of progress for the creator.
	Note string `protobuf:"bytes,1,opt,name=note,proto3,oneof"`
}

func (*Event_Note) CloneOneofVT

func (m *Event_Note) CloneOneofVT() isEvent_Body

func (*Event_Note) CloneVT

func (m *Event_Note) CloneVT() *Event_Note

func (*Event_Note) EqualVT

func (this *Event_Note) EqualVT(thatIface isEvent_Body) bool

func (*Event_Note) MarshalToSizedBufferVT

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

func (*Event_Note) MarshalToVT

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

func (*Event_Note) SizeVT

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

type Event_Published

type Event_Published struct {
	// Published reports a release the provider recorded.
	Published *Published `protobuf:"bytes,5,opt,name=published,proto3,oneof"`
}

func (*Event_Published) CloneOneofVT

func (m *Event_Published) CloneOneofVT() isEvent_Body

func (*Event_Published) CloneVT

func (m *Event_Published) CloneVT() *Event_Published

func (*Event_Published) EqualVT

func (this *Event_Published) EqualVT(thatIface isEvent_Body) bool

func (*Event_Published) MarshalToSizedBufferVT

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

func (*Event_Published) MarshalToVT

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

func (*Event_Published) SizeVT

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

type Event_Sandbox

type Event_Sandbox struct {
	// Sandbox reports that the session runs the mods in the sandbox, without
	// the game, and why.
	Sandbox *Sandbox `protobuf:"bytes,6,opt,name=sandbox,proto3,oneof"`
}

func (*Event_Sandbox) CloneOneofVT

func (m *Event_Sandbox) CloneOneofVT() isEvent_Body

func (*Event_Sandbox) CloneVT

func (m *Event_Sandbox) CloneVT() *Event_Sandbox

func (*Event_Sandbox) EqualVT

func (this *Event_Sandbox) EqualVT(thatIface isEvent_Body) bool

func (*Event_Sandbox) MarshalToSizedBufferVT

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

func (*Event_Sandbox) MarshalToVT

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

func (*Event_Sandbox) SizeVT

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

type Event_Update added in v0.1.10

type Event_Update struct {
	// Update reports a newer release of the command line.
	Update *Update `protobuf:"bytes,7,opt,name=update,proto3,oneof"`
}

func (*Event_Update) CloneOneofVT added in v0.1.10

func (m *Event_Update) CloneOneofVT() isEvent_Body

func (*Event_Update) CloneVT added in v0.1.10

func (m *Event_Update) CloneVT() *Event_Update

func (*Event_Update) EqualVT added in v0.1.10

func (this *Event_Update) EqualVT(thatIface isEvent_Body) bool

func (*Event_Update) MarshalToSizedBufferVT added in v0.1.10

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

func (*Event_Update) MarshalToVT added in v0.1.10

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

func (*Event_Update) SizeVT added in v0.1.10

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

type Hosting added in v0.1.66

type Hosting struct {

	// JoinCode is what modlock join takes on another PC.
	JoinCode string `protobuf:"bytes,1,opt,name=join_code,json=joinCode,proto3" json:"joinCode,omitempty"`
	// Lobby is where the session's dev lobby stands.
	//
	// Types that are assignable to Lobby:
	//	*Hosting_LobbyUrl
	//	*Hosting_Reconnecting
	//	*Hosting_Unlisted
	Lobby isHosting_Lobby `protobuf_oneof:"lobby"`
	// contains filtered or unexported fields
}

Hosting is how players on other PCs join a session modlock host serves. Without a lobby state the session's dev lobby on hyperline.gg is still opening.

func (*Hosting) CloneMessageVT added in v0.1.66

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

func (*Hosting) CloneVT added in v0.1.66

func (m *Hosting) CloneVT() *Hosting

func (*Hosting) EqualMessageVT added in v0.1.66

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

func (*Hosting) EqualVT added in v0.1.66

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

func (*Hosting) GetJoinCode added in v0.1.66

func (x *Hosting) GetJoinCode() string

func (*Hosting) GetLobby added in v0.1.66

func (m *Hosting) GetLobby() isHosting_Lobby

func (*Hosting) GetLobbyUrl added in v0.1.66

func (x *Hosting) GetLobbyUrl() string

func (*Hosting) GetReconnecting added in v0.1.66

func (x *Hosting) GetReconnecting() bool

func (*Hosting) GetUnlisted added in v0.1.66

func (x *Hosting) GetUnlisted() string

func (*Hosting) MarshalJSON added in v0.1.66

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

MarshalJSON marshals the Hosting to JSON.

func (*Hosting) MarshalProtoJSON added in v0.1.66

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

MarshalProtoJSON marshals the Hosting message to JSON.

func (*Hosting) MarshalProtoText added in v0.1.66

func (x *Hosting) MarshalProtoText() string

func (*Hosting) MarshalToSizedBufferVT added in v0.1.66

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

func (*Hosting) MarshalToVT added in v0.1.66

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

func (*Hosting) MarshalVT added in v0.1.66

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

func (*Hosting) ProtoMessage added in v0.1.66

func (*Hosting) ProtoMessage()

func (*Hosting) Reset added in v0.1.66

func (x *Hosting) Reset()

func (*Hosting) SizeVT added in v0.1.66

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

func (*Hosting) String added in v0.1.66

func (x *Hosting) String() string

func (*Hosting) UnmarshalJSON added in v0.1.66

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

UnmarshalJSON unmarshals the Hosting from JSON.

func (*Hosting) UnmarshalProtoJSON added in v0.1.66

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

UnmarshalProtoJSON unmarshals the Hosting message from JSON.

func (*Hosting) UnmarshalVT added in v0.1.66

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

type Hosting_LobbyUrl added in v0.1.66

type Hosting_LobbyUrl struct {
	// LobbyUrl is the open lobby's page, where the creator's friends join.
	LobbyUrl string `protobuf:"bytes,2,opt,name=lobby_url,json=lobbyUrl,proto3,oneof"`
}

func (*Hosting_LobbyUrl) CloneOneofVT added in v0.1.66

func (m *Hosting_LobbyUrl) CloneOneofVT() isHosting_Lobby

func (*Hosting_LobbyUrl) CloneVT added in v0.1.66

func (m *Hosting_LobbyUrl) CloneVT() *Hosting_LobbyUrl

func (*Hosting_LobbyUrl) EqualVT added in v0.1.66

func (this *Hosting_LobbyUrl) EqualVT(thatIface isHosting_Lobby) bool

func (*Hosting_LobbyUrl) MarshalToSizedBufferVT added in v0.1.66

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

func (*Hosting_LobbyUrl) MarshalToVT added in v0.1.66

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

func (*Hosting_LobbyUrl) SizeVT added in v0.1.66

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

type Hosting_Reconnecting added in v0.1.66

type Hosting_Reconnecting struct {
	// Reconnecting holds while the lobby's connection is down; the lobby
	// stays open meanwhile.
	Reconnecting bool `protobuf:"varint,3,opt,name=reconnecting,proto3,oneof"`
}

func (*Hosting_Reconnecting) CloneOneofVT added in v0.1.66

func (m *Hosting_Reconnecting) CloneOneofVT() isHosting_Lobby

func (*Hosting_Reconnecting) CloneVT added in v0.1.66

func (*Hosting_Reconnecting) EqualVT added in v0.1.66

func (this *Hosting_Reconnecting) EqualVT(thatIface isHosting_Lobby) bool

func (*Hosting_Reconnecting) MarshalToSizedBufferVT added in v0.1.66

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

func (*Hosting_Reconnecting) MarshalToVT added in v0.1.66

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

func (*Hosting_Reconnecting) SizeVT added in v0.1.66

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

type Hosting_Unlisted added in v0.1.66

type Hosting_Unlisted struct {
	// Unlisted explains why the session has no lobby, such as a missing
	// sign-in; players join by the code.
	Unlisted string `protobuf:"bytes,4,opt,name=unlisted,proto3,oneof"`
}

func (*Hosting_Unlisted) CloneOneofVT added in v0.1.66

func (m *Hosting_Unlisted) CloneOneofVT() isHosting_Lobby

func (*Hosting_Unlisted) CloneVT added in v0.1.66

func (m *Hosting_Unlisted) CloneVT() *Hosting_Unlisted

func (*Hosting_Unlisted) EqualVT added in v0.1.66

func (this *Hosting_Unlisted) EqualVT(thatIface isHosting_Lobby) bool

func (*Hosting_Unlisted) MarshalToSizedBufferVT added in v0.1.66

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

func (*Hosting_Unlisted) MarshalToVT added in v0.1.66

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

func (*Hosting_Unlisted) SizeVT added in v0.1.66

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

type Input

type Input struct {

	// Body selects the input.
	//
	// Types that are assignable to Body:
	//	*Input_Command
	//	*Input_Press
	//	*Input_Change
	Body isInput_Body `protobuf_oneof:"body"`
	// contains filtered or unexported fields
}

Input is one thing the stand-in player does in the sandbox.

func (*Input) CloneMessageVT

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

func (*Input) CloneVT

func (m *Input) CloneVT() *Input

func (*Input) EqualMessageVT

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

func (*Input) EqualVT

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

func (*Input) GetBody

func (m *Input) GetBody() isInput_Body

func (*Input) GetChange added in v0.1.42

func (x *Input) GetChange() *Change

func (*Input) GetCommand

func (x *Input) GetCommand() string

func (*Input) GetPress

func (x *Input) GetPress() *Press

func (*Input) MarshalJSON

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

MarshalJSON marshals the Input to JSON.

func (*Input) MarshalProtoJSON

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

MarshalProtoJSON marshals the Input message to JSON.

func (*Input) MarshalProtoText

func (x *Input) MarshalProtoText() string

func (*Input) MarshalToSizedBufferVT

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

func (*Input) MarshalToVT

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

func (*Input) MarshalVT

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

func (*Input) ProtoMessage

func (*Input) ProtoMessage()

func (*Input) Reset

func (x *Input) Reset()

func (*Input) SizeVT

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

func (*Input) String

func (x *Input) String() string

func (*Input) UnmarshalJSON

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

UnmarshalJSON unmarshals the Input from JSON.

func (*Input) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the Input message from JSON.

func (*Input) UnmarshalVT

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

type Input_Change added in v0.1.42

type Input_Change struct {
	// Change changes an input in a mod's interface.
	Change *Change `protobuf:"bytes,3,opt,name=change,proto3,oneof"`
}

func (*Input_Change) CloneOneofVT added in v0.1.42

func (m *Input_Change) CloneOneofVT() isInput_Body

func (*Input_Change) CloneVT added in v0.1.42

func (m *Input_Change) CloneVT() *Input_Change

func (*Input_Change) EqualVT added in v0.1.42

func (this *Input_Change) EqualVT(thatIface isInput_Body) bool

func (*Input_Change) MarshalToSizedBufferVT added in v0.1.42

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

func (*Input_Change) MarshalToVT added in v0.1.42

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

func (*Input_Change) SizeVT added in v0.1.42

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

type Input_Command

type Input_Command struct {
	// Command is a line the player types in chat, such as "/hello".
	Command string `protobuf:"bytes,1,opt,name=command,proto3,oneof"`
}

func (*Input_Command) CloneOneofVT

func (m *Input_Command) CloneOneofVT() isInput_Body

func (*Input_Command) CloneVT

func (m *Input_Command) CloneVT() *Input_Command

func (*Input_Command) EqualVT

func (this *Input_Command) EqualVT(thatIface isInput_Body) bool

func (*Input_Command) MarshalToSizedBufferVT

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

func (*Input_Command) MarshalToVT

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

func (*Input_Command) SizeVT

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

type Input_Press

type Input_Press struct {
	// Press presses a button in a mod's interface.
	Press *Press `protobuf:"bytes,2,opt,name=press,proto3,oneof"`
}

func (*Input_Press) CloneOneofVT

func (m *Input_Press) CloneOneofVT() isInput_Body

func (*Input_Press) CloneVT

func (m *Input_Press) CloneVT() *Input_Press

func (*Input_Press) EqualVT

func (this *Input_Press) EqualVT(thatIface isInput_Body) bool

func (*Input_Press) MarshalToSizedBufferVT

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

func (*Input_Press) MarshalToVT

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

func (*Input_Press) SizeVT

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

type Press

type Press struct {

	// Mod is the mod's name.
	Mod string `protobuf:"bytes,1,opt,name=mod,proto3" json:"mod,omitempty"`
	// Slot identifies the player.
	Slot int32 `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty"`
	// Node is the button's id in the mod's tree.
	Node string `protobuf:"bytes,3,opt,name=node,proto3" json:"node,omitempty"`
	// contains filtered or unexported fields
}

Press identifies a button in the interface a mod shows a player.

func (*Press) CloneMessageVT

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

func (*Press) CloneVT

func (m *Press) CloneVT() *Press

func (*Press) EqualMessageVT

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

func (*Press) EqualVT

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

func (*Press) GetMod

func (x *Press) GetMod() string

func (*Press) GetNode

func (x *Press) GetNode() string

func (*Press) GetSlot

func (x *Press) GetSlot() int32

func (*Press) MarshalJSON

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

MarshalJSON marshals the Press to JSON.

func (*Press) MarshalProtoJSON

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

MarshalProtoJSON marshals the Press message to JSON.

func (*Press) MarshalProtoText

func (x *Press) MarshalProtoText() string

func (*Press) MarshalToSizedBufferVT

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

func (*Press) MarshalToVT

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

func (*Press) MarshalVT

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

func (*Press) ProtoMessage

func (*Press) ProtoMessage()

func (*Press) Reset

func (x *Press) Reset()

func (*Press) SizeVT

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

func (*Press) String

func (x *Press) String() string

func (*Press) UnmarshalJSON

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

UnmarshalJSON unmarshals the Press from JSON.

func (*Press) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the Press message from JSON.

func (*Press) UnmarshalVT

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

type Preview

type Preview struct {

	// State is what the build and the mods are doing.
	//
	// Types that are assignable to State:
	//	*Preview_Building
	//	*Preview_Failed
	//	*Preview_Running
	//	*Preview_Stopped
	State isPreview_State `protobuf_oneof:"state"`
	// Screen is the stand-in player's screen as the mods last drew it, kept
	// through a build and a stop.
	Screen *ui.Screen `protobuf:"bytes,5,opt,name=screen,proto3" json:"screen,omitempty"`
	// Watch is true when modlock dev rebuilds the mod on each save.
	Watch bool `protobuf:"varint,6,opt,name=watch,proto3" json:"watch,omitempty"`
	// Note answers this page's last input when no mod received it, such as a
	// command no mod handled; it is empty otherwise.
	Note string `protobuf:"bytes,7,opt,name=note,proto3" json:"note,omitempty"`
	// contains filtered or unexported fields
}

Preview is what the preview page of modlock dev draws, one per message on its websocket: what the build and the mods are doing, and the stand-in player's screen. The page sends each of the player's inputs back as an Input on the same socket.

func (*Preview) CloneMessageVT

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

func (*Preview) CloneVT

func (m *Preview) CloneVT() *Preview

func (*Preview) EqualMessageVT

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

func (*Preview) EqualVT

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

func (*Preview) GetBuilding

func (x *Preview) GetBuilding() *Building

func (*Preview) GetFailed

func (x *Preview) GetFailed() *Built

func (*Preview) GetNote

func (x *Preview) GetNote() string

func (*Preview) GetRunning

func (x *Preview) GetRunning() *Running

func (*Preview) GetScreen

func (x *Preview) GetScreen() *ui.Screen

func (*Preview) GetState

func (m *Preview) GetState() isPreview_State

func (*Preview) GetStopped

func (x *Preview) GetStopped() *Stopped

func (*Preview) GetWatch

func (x *Preview) GetWatch() bool

func (*Preview) MarshalJSON

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

MarshalJSON marshals the Preview to JSON.

func (*Preview) MarshalProtoJSON

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

MarshalProtoJSON marshals the Preview message to JSON.

func (*Preview) MarshalProtoText

func (x *Preview) MarshalProtoText() string

func (*Preview) MarshalToSizedBufferVT

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

func (*Preview) MarshalToVT

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

func (*Preview) MarshalVT

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

func (*Preview) ProtoMessage

func (*Preview) ProtoMessage()

func (*Preview) Reset

func (x *Preview) Reset()

func (*Preview) SizeVT

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

func (*Preview) String

func (x *Preview) String() string

func (*Preview) UnmarshalJSON

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

UnmarshalJSON unmarshals the Preview from JSON.

func (*Preview) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the Preview message from JSON.

func (*Preview) UnmarshalVT

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

type Preview_Building

type Preview_Building struct {
	// Building reports a build in progress.
	Building *Building `protobuf:"bytes,1,opt,name=building,proto3,oneof"`
}

func (*Preview_Building) CloneOneofVT

func (m *Preview_Building) CloneOneofVT() isPreview_State

func (*Preview_Building) CloneVT

func (m *Preview_Building) CloneVT() *Preview_Building

func (*Preview_Building) EqualVT

func (this *Preview_Building) EqualVT(thatIface isPreview_State) bool

func (*Preview_Building) MarshalToSizedBufferVT

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

func (*Preview_Building) MarshalToVT

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

func (*Preview_Building) SizeVT

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

type Preview_Failed

type Preview_Failed struct {
	// Failed reports a failed build; the mods from the build before it keep
	// running.
	Failed *Built `protobuf:"bytes,2,opt,name=failed,proto3,oneof"`
}

func (*Preview_Failed) CloneOneofVT

func (m *Preview_Failed) CloneOneofVT() isPreview_State

func (*Preview_Failed) CloneVT

func (m *Preview_Failed) CloneVT() *Preview_Failed

func (*Preview_Failed) EqualVT

func (this *Preview_Failed) EqualVT(thatIface isPreview_State) bool

func (*Preview_Failed) MarshalToSizedBufferVT

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

func (*Preview_Failed) MarshalToVT

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

func (*Preview_Failed) SizeVT

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

type Preview_Running

type Preview_Running struct {
	// Running reports that the mods run.
	Running *Running `protobuf:"bytes,3,opt,name=running,proto3,oneof"`
}

func (*Preview_Running) CloneOneofVT

func (m *Preview_Running) CloneOneofVT() isPreview_State

func (*Preview_Running) CloneVT

func (m *Preview_Running) CloneVT() *Preview_Running

func (*Preview_Running) EqualVT

func (this *Preview_Running) EqualVT(thatIface isPreview_State) bool

func (*Preview_Running) MarshalToSizedBufferVT

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

func (*Preview_Running) MarshalToVT

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

func (*Preview_Running) SizeVT

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

type Preview_Stopped

type Preview_Stopped struct {
	// Stopped reports a mod that stopped or did not load, and why.
	Stopped *Stopped `protobuf:"bytes,4,opt,name=stopped,proto3,oneof"`
}

func (*Preview_Stopped) CloneOneofVT

func (m *Preview_Stopped) CloneOneofVT() isPreview_State

func (*Preview_Stopped) CloneVT

func (m *Preview_Stopped) CloneVT() *Preview_Stopped

func (*Preview_Stopped) EqualVT

func (this *Preview_Stopped) EqualVT(thatIface isPreview_State) bool

func (*Preview_Stopped) MarshalToSizedBufferVT

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

func (*Preview_Stopped) MarshalToVT

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

func (*Preview_Stopped) SizeVT

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

type Published

type Published struct {

	// Provider is where the mod went: hyperline, archive or github.
	Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	// Release is the release hyperline.gg recorded.
	Release *publish.Release `protobuf:"bytes,2,opt,name=release,proto3" json:"release,omitempty"`
	// Location is the archive's path or the GitHub release tag.
	Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

Published reports a release.

func (*Published) CloneMessageVT

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

func (*Published) CloneVT

func (m *Published) CloneVT() *Published

func (*Published) EqualMessageVT

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

func (*Published) EqualVT

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

func (*Published) GetLocation

func (x *Published) GetLocation() string

func (*Published) GetProvider

func (x *Published) GetProvider() string

func (*Published) GetRelease

func (x *Published) GetRelease() *publish.Release

func (*Published) MarshalJSON

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

MarshalJSON marshals the Published to JSON.

func (*Published) MarshalProtoJSON

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

MarshalProtoJSON marshals the Published message to JSON.

func (*Published) MarshalProtoText

func (x *Published) MarshalProtoText() string

func (*Published) MarshalToSizedBufferVT

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

func (*Published) MarshalToVT

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

func (*Published) MarshalVT

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

func (*Published) ProtoMessage

func (*Published) ProtoMessage()

func (*Published) Reset

func (x *Published) Reset()

func (*Published) SizeVT

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

func (*Published) String

func (x *Published) String() string

func (*Published) UnmarshalJSON

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

UnmarshalJSON unmarshals the Published from JSON.

func (*Published) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the Published message from JSON.

func (*Published) UnmarshalVT

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

type Running

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

Running reports that the mods run.

func (*Running) CloneMessageVT

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

func (*Running) CloneVT

func (m *Running) CloneVT() *Running

func (*Running) EqualMessageVT

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

func (*Running) EqualVT

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

func (*Running) MarshalJSON

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

MarshalJSON marshals the Running to JSON.

func (*Running) MarshalProtoJSON

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

MarshalProtoJSON marshals the Running message to JSON.

func (*Running) MarshalProtoText

func (x *Running) MarshalProtoText() string

func (*Running) MarshalToSizedBufferVT

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

func (*Running) MarshalToVT

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

func (*Running) MarshalVT

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

func (*Running) ProtoMessage

func (*Running) ProtoMessage()

func (*Running) Reset

func (x *Running) Reset()

func (*Running) SizeVT

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

func (*Running) String

func (x *Running) String() string

func (*Running) UnmarshalJSON

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

UnmarshalJSON unmarshals the Running from JSON.

func (*Running) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the Running message from JSON.

func (*Running) UnmarshalVT

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

type Sandbox

type Sandbox struct {

	// Reason explains why the session runs in the sandbox, such as a missing
	// game.
	Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

Sandbox reports a session in the sandbox: the mods run without the game, with a stand-in player who has no hero, and standard input carries the player's input.

func (*Sandbox) CloneMessageVT

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

func (*Sandbox) CloneVT

func (m *Sandbox) CloneVT() *Sandbox

func (*Sandbox) EqualMessageVT

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

func (*Sandbox) EqualVT

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

func (*Sandbox) GetReason

func (x *Sandbox) GetReason() string

func (*Sandbox) MarshalJSON

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

MarshalJSON marshals the Sandbox to JSON.

func (*Sandbox) MarshalProtoJSON

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

MarshalProtoJSON marshals the Sandbox message to JSON.

func (*Sandbox) MarshalProtoText

func (x *Sandbox) MarshalProtoText() string

func (*Sandbox) MarshalToSizedBufferVT

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

func (*Sandbox) MarshalToVT

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

func (*Sandbox) MarshalVT

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

func (*Sandbox) ProtoMessage

func (*Sandbox) ProtoMessage()

func (*Sandbox) Reset

func (x *Sandbox) Reset()

func (*Sandbox) SizeVT

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

func (*Sandbox) String

func (x *Sandbox) String() string

func (*Sandbox) UnmarshalJSON

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

UnmarshalJSON unmarshals the Sandbox from JSON.

func (*Sandbox) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the Sandbox message from JSON.

func (*Sandbox) UnmarshalVT

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

type Stopped

type Stopped struct {

	// Failed names the mod and the error that stopped it.
	Failed *control.ModFailed `protobuf:"bytes,1,opt,name=failed,proto3" json:"failed,omitempty"`
	// Log holds the mod's last log lines since it started, which usually say
	// why it stopped.
	Log []string `protobuf:"bytes,2,rep,name=log,proto3" json:"log,omitempty"`
	// contains filtered or unexported fields
}

Stopped reports a mod that stopped or did not load.

func (*Stopped) CloneMessageVT

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

func (*Stopped) CloneVT

func (m *Stopped) CloneVT() *Stopped

func (*Stopped) EqualMessageVT

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

func (*Stopped) EqualVT

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

func (*Stopped) GetFailed

func (x *Stopped) GetFailed() *control.ModFailed

func (*Stopped) GetLog

func (x *Stopped) GetLog() []string

func (*Stopped) MarshalJSON

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

MarshalJSON marshals the Stopped to JSON.

func (*Stopped) MarshalProtoJSON

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

MarshalProtoJSON marshals the Stopped message to JSON.

func (*Stopped) MarshalProtoText

func (x *Stopped) MarshalProtoText() string

func (*Stopped) MarshalToSizedBufferVT

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

func (*Stopped) MarshalToVT

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

func (*Stopped) MarshalVT

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

func (*Stopped) ProtoMessage

func (*Stopped) ProtoMessage()

func (*Stopped) Reset

func (x *Stopped) Reset()

func (*Stopped) SizeVT

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

func (*Stopped) String

func (x *Stopped) String() string

func (*Stopped) UnmarshalJSON

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

UnmarshalJSON unmarshals the Stopped from JSON.

func (*Stopped) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the Stopped message from JSON.

func (*Stopped) UnmarshalVT

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

type Update added in v0.1.10

type Update struct {

	// Current is the running command line's release, such as v0.1.9.
	Current string `protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"`
	// Latest is the newest release.
	Latest string `protobuf:"bytes,2,opt,name=latest,proto3" json:"latest,omitempty"`
	// contains filtered or unexported fields
}

Update reports that a newer release of the command line is out; modlock update installs it.

func (*Update) CloneMessageVT added in v0.1.10

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

func (*Update) CloneVT added in v0.1.10

func (m *Update) CloneVT() *Update

func (*Update) EqualMessageVT added in v0.1.10

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

func (*Update) EqualVT added in v0.1.10

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

func (*Update) GetCurrent added in v0.1.10

func (x *Update) GetCurrent() string

func (*Update) GetLatest added in v0.1.10

func (x *Update) GetLatest() string

func (*Update) MarshalJSON added in v0.1.10

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

MarshalJSON marshals the Update to JSON.

func (*Update) MarshalProtoJSON added in v0.1.10

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

MarshalProtoJSON marshals the Update message to JSON.

func (*Update) MarshalProtoText added in v0.1.10

func (x *Update) MarshalProtoText() string

func (*Update) MarshalToSizedBufferVT added in v0.1.10

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

func (*Update) MarshalToVT added in v0.1.10

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

func (*Update) MarshalVT added in v0.1.10

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

func (*Update) ProtoMessage added in v0.1.10

func (*Update) ProtoMessage()

func (*Update) Reset added in v0.1.10

func (x *Update) Reset()

func (*Update) SizeVT added in v0.1.10

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

func (*Update) String added in v0.1.10

func (x *Update) String() string

func (*Update) UnmarshalJSON added in v0.1.10

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

UnmarshalJSON unmarshals the Update from JSON.

func (*Update) UnmarshalProtoJSON added in v0.1.10

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

UnmarshalProtoJSON unmarshals the Update message from JSON.

func (*Update) UnmarshalVT added in v0.1.10

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

Jump to

Keyboard shortcuts

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