control

package
v0.1.124 Latest Latest
Warning

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MessageKind_name = map[int32]string{
		0: "MESSAGE_KIND_CHAT",
		1: "MESSAGE_KIND_CENTER",
		2: "MESSAGE_KIND_ANNOUNCEMENT",
	}
	MessageKind_value = map[string]int32{
		"MESSAGE_KIND_CHAT":         0,
		"MESSAGE_KIND_CENTER":       1,
		"MESSAGE_KIND_ANNOUNCEMENT": 2,
	}
)

Enum value maps for MessageKind.

Functions

This section is empty.

Types

type CommandFailed

type CommandFailed struct {

	// Line is the command.
	Line string `protobuf:"bytes,1,opt,name=line,proto3" json:"line,omitempty"`
	// Reason says why the command was not taken, such as that no player is in
	// the game.
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

CommandFailed reports a ControlRequest.command that no running mod took.

func (*CommandFailed) CloneMessageVT

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

func (*CommandFailed) CloneVT

func (m *CommandFailed) CloneVT() *CommandFailed

func (*CommandFailed) EqualMessageVT

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

func (*CommandFailed) EqualVT

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

func (*CommandFailed) GetLine

func (x *CommandFailed) GetLine() string

func (*CommandFailed) GetReason

func (x *CommandFailed) GetReason() string

func (*CommandFailed) MarshalJSON

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

MarshalJSON marshals the CommandFailed to JSON.

func (*CommandFailed) MarshalProtoJSON

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

MarshalProtoJSON marshals the CommandFailed message to JSON.

func (*CommandFailed) MarshalProtoText

func (x *CommandFailed) MarshalProtoText() string

func (*CommandFailed) MarshalToSizedBufferVT

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

func (*CommandFailed) MarshalToVT

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

func (*CommandFailed) MarshalVT

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

func (*CommandFailed) ProtoMessage

func (*CommandFailed) ProtoMessage()

func (*CommandFailed) Reset

func (x *CommandFailed) Reset()

func (*CommandFailed) SizeVT

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

func (*CommandFailed) String

func (x *CommandFailed) String() string

func (*CommandFailed) UnmarshalJSON

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

UnmarshalJSON unmarshals the CommandFailed from JSON.

func (*CommandFailed) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the CommandFailed message from JSON.

func (*CommandFailed) UnmarshalVT

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

type ControlRequest

type ControlRequest struct {

	// Body selects the request.
	//
	// Types that are assignable to Body:
	//	*ControlRequest_Reload
	//	*ControlRequest_Roles
	//	*ControlRequest_Service
	//	*ControlRequest_Call
	//	*ControlRequest_Answer
	//	*ControlRequest_Controllers
	//	*ControlRequest_Command
	Body isControlRequest_Body `protobuf_oneof:"body"`
	// contains filtered or unexported fields
}

ControlRequest is one request from the controller.

func (*ControlRequest) CloneMessageVT

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

func (*ControlRequest) CloneVT

func (m *ControlRequest) CloneVT() *ControlRequest

func (*ControlRequest) EqualMessageVT

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

func (*ControlRequest) EqualVT

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

func (*ControlRequest) GetAnswer added in v0.1.86

func (x *ControlRequest) GetAnswer() *ServiceAnswer

func (*ControlRequest) GetBody

func (m *ControlRequest) GetBody() isControlRequest_Body

func (*ControlRequest) GetCall added in v0.1.79

func (x *ControlRequest) GetCall() *ModCall

func (*ControlRequest) GetCommand

func (x *ControlRequest) GetCommand() string

func (*ControlRequest) GetControllers

func (x *ControlRequest) GetControllers() *controllers.ControllerFrames

func (*ControlRequest) GetReload

func (x *ControlRequest) GetReload() *ReloadRequest

func (*ControlRequest) GetRoles added in v0.1.53

func (x *ControlRequest) GetRoles() *players.RolesTable

func (*ControlRequest) GetService added in v0.1.72

func (x *ControlRequest) GetService() *ServiceReply

func (*ControlRequest) MarshalJSON

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

MarshalJSON marshals the ControlRequest to JSON.

func (*ControlRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the ControlRequest message to JSON.

func (*ControlRequest) MarshalProtoText

func (x *ControlRequest) MarshalProtoText() string

func (*ControlRequest) MarshalToSizedBufferVT

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

func (*ControlRequest) MarshalToVT

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

func (*ControlRequest) MarshalVT

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

func (*ControlRequest) ProtoMessage

func (*ControlRequest) ProtoMessage()

func (*ControlRequest) Reset

func (x *ControlRequest) Reset()

func (*ControlRequest) SizeVT

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

func (*ControlRequest) String

func (x *ControlRequest) String() string

func (*ControlRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the ControlRequest from JSON.

func (*ControlRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the ControlRequest message from JSON.

func (*ControlRequest) UnmarshalVT

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

type ControlRequest_Answer added in v0.1.86

type ControlRequest_Answer struct {
	// Answer ends one ServiceCall the host forwarded.
	Answer *ServiceAnswer `protobuf:"bytes,5,opt,name=answer,proto3,oneof"`
}

func (*ControlRequest_Answer) CloneOneofVT added in v0.1.86

func (m *ControlRequest_Answer) CloneOneofVT() isControlRequest_Body

func (*ControlRequest_Answer) CloneVT added in v0.1.86

func (*ControlRequest_Answer) EqualVT added in v0.1.86

func (this *ControlRequest_Answer) EqualVT(thatIface isControlRequest_Body) bool

func (*ControlRequest_Answer) MarshalToSizedBufferVT added in v0.1.86

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

func (*ControlRequest_Answer) MarshalToVT added in v0.1.86

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

func (*ControlRequest_Answer) SizeVT added in v0.1.86

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

type ControlRequest_Call added in v0.1.79

type ControlRequest_Call struct {
	// Call calls a service a running mod serves; the host answers with a
	// Called event.
	Call *ModCall `protobuf:"bytes,4,opt,name=call,proto3,oneof"`
}

func (*ControlRequest_Call) CloneOneofVT added in v0.1.79

func (m *ControlRequest_Call) CloneOneofVT() isControlRequest_Body

func (*ControlRequest_Call) CloneVT added in v0.1.79

func (*ControlRequest_Call) EqualVT added in v0.1.79

func (this *ControlRequest_Call) EqualVT(thatIface isControlRequest_Body) bool

func (*ControlRequest_Call) MarshalToSizedBufferVT added in v0.1.79

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

func (*ControlRequest_Call) MarshalToVT added in v0.1.79

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

func (*ControlRequest_Call) SizeVT added in v0.1.79

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

type ControlRequest_Command

type ControlRequest_Command struct {
	// Command delivers a console command, such as a line from the preview
	// page, to the running mods as if the first connected human sent it from
	// their game. A command the host cannot deliver comes back as a
	// CommandFailed event.
	Command string `protobuf:"bytes,7,opt,name=command,proto3,oneof"`
}

func (*ControlRequest_Command) CloneOneofVT

func (m *ControlRequest_Command) CloneOneofVT() isControlRequest_Body

func (*ControlRequest_Command) CloneVT

func (*ControlRequest_Command) EqualVT

func (this *ControlRequest_Command) EqualVT(thatIface isControlRequest_Body) bool

func (*ControlRequest_Command) MarshalToSizedBufferVT

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

func (*ControlRequest_Command) MarshalToVT

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

func (*ControlRequest_Command) SizeVT

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

type ControlRequest_Controllers

type ControlRequest_Controllers struct {
	// Controllers carries the frames of one player's controller stream, which
	// the controller has bound to that player's own client.
	Controllers *controllers.ControllerFrames `protobuf:"bytes,6,opt,name=controllers,proto3,oneof"`
}

func (*ControlRequest_Controllers) CloneOneofVT

func (m *ControlRequest_Controllers) CloneOneofVT() isControlRequest_Body

func (*ControlRequest_Controllers) CloneVT

func (*ControlRequest_Controllers) EqualVT

func (this *ControlRequest_Controllers) EqualVT(thatIface isControlRequest_Body) bool

func (*ControlRequest_Controllers) MarshalToSizedBufferVT

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

func (*ControlRequest_Controllers) MarshalToVT

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

func (*ControlRequest_Controllers) SizeVT

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

type ControlRequest_Reload

type ControlRequest_Reload struct {
	// Reload replaces a running mod with a new build.
	Reload *ReloadRequest `protobuf:"bytes,1,opt,name=reload,proto3,oneof"`
}

func (*ControlRequest_Reload) CloneOneofVT

func (m *ControlRequest_Reload) CloneOneofVT() isControlRequest_Body

func (*ControlRequest_Reload) CloneVT

func (*ControlRequest_Reload) EqualVT

func (this *ControlRequest_Reload) EqualVT(thatIface isControlRequest_Body) bool

func (*ControlRequest_Reload) MarshalToSizedBufferVT

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

func (*ControlRequest_Reload) MarshalToVT

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

func (*ControlRequest_Reload) SizeVT

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

type ControlRequest_Roles added in v0.1.53

type ControlRequest_Roles struct {
	// Roles replaces the players' roles, which mods read on each Connection.
	Roles *players.RolesTable `protobuf:"bytes,2,opt,name=roles,proto3,oneof"`
}

func (*ControlRequest_Roles) CloneOneofVT added in v0.1.53

func (m *ControlRequest_Roles) CloneOneofVT() isControlRequest_Body

func (*ControlRequest_Roles) CloneVT added in v0.1.53

func (*ControlRequest_Roles) EqualVT added in v0.1.53

func (this *ControlRequest_Roles) EqualVT(thatIface isControlRequest_Body) bool

func (*ControlRequest_Roles) MarshalToSizedBufferVT added in v0.1.53

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

func (*ControlRequest_Roles) MarshalToVT added in v0.1.53

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

func (*ControlRequest_Roles) SizeVT added in v0.1.53

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

type ControlRequest_Service added in v0.1.72

type ControlRequest_Service struct {
	// Service installs a cached service answer and reloads its mod to adopt it.
	Service *ServiceReply `protobuf:"bytes,3,opt,name=service,proto3,oneof"`
}

func (*ControlRequest_Service) CloneOneofVT added in v0.1.72

func (m *ControlRequest_Service) CloneOneofVT() isControlRequest_Body

func (*ControlRequest_Service) CloneVT added in v0.1.72

func (*ControlRequest_Service) EqualVT added in v0.1.72

func (this *ControlRequest_Service) EqualVT(thatIface isControlRequest_Body) bool

func (*ControlRequest_Service) MarshalToSizedBufferVT added in v0.1.72

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

func (*ControlRequest_Service) MarshalToVT added in v0.1.72

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

func (*ControlRequest_Service) SizeVT added in v0.1.72

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

type Fixture added in v0.1.86

type Fixture struct {

	// Mod is the slug of the mod the reply answers.
	Mod string `protobuf:"bytes,1,opt,name=mod,proto3" json:"mod,omitempty"`
	// Service and Method select the call this reply answers.
	Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	Method  string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
	// Payload is the reply's bytes, opaque to Modlock.
	Payload []byte `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
	// Source names the fixture file, for the host's log.
	Source string `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

Fixture is one method's reply from a mod project's service fixture, which the controller hands the host at start so the mod's first frame can call it.

func (*Fixture) CloneMessageVT added in v0.1.86

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

func (*Fixture) CloneVT added in v0.1.86

func (m *Fixture) CloneVT() *Fixture

func (*Fixture) EqualMessageVT added in v0.1.86

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

func (*Fixture) EqualVT added in v0.1.86

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

func (*Fixture) GetMethod added in v0.1.86

func (x *Fixture) GetMethod() string

func (*Fixture) GetMod added in v0.1.86

func (x *Fixture) GetMod() string

func (*Fixture) GetPayload added in v0.1.86

func (x *Fixture) GetPayload() []byte

func (*Fixture) GetService added in v0.1.86

func (x *Fixture) GetService() string

func (*Fixture) GetSource added in v0.1.86

func (x *Fixture) GetSource() string

func (*Fixture) MarshalJSON added in v0.1.86

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

MarshalJSON marshals the Fixture to JSON.

func (*Fixture) MarshalProtoJSON added in v0.1.86

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

MarshalProtoJSON marshals the Fixture message to JSON.

func (*Fixture) MarshalProtoText added in v0.1.86

func (x *Fixture) MarshalProtoText() string

func (*Fixture) MarshalToSizedBufferVT added in v0.1.86

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

func (*Fixture) MarshalToVT added in v0.1.86

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

func (*Fixture) MarshalVT added in v0.1.86

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

func (*Fixture) ProtoMessage added in v0.1.86

func (*Fixture) ProtoMessage()

func (*Fixture) Reset added in v0.1.86

func (x *Fixture) Reset()

func (*Fixture) SizeVT added in v0.1.86

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

func (*Fixture) String added in v0.1.86

func (x *Fixture) String() string

func (*Fixture) UnmarshalJSON added in v0.1.86

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

UnmarshalJSON unmarshals the Fixture from JSON.

func (*Fixture) UnmarshalProtoJSON added in v0.1.86

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

UnmarshalProtoJSON unmarshals the Fixture message from JSON.

func (*Fixture) UnmarshalVT added in v0.1.86

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

type Fixtures added in v0.1.86

type Fixtures struct {
	Fixtures []*Fixture `protobuf:"bytes,1,rep,name=fixtures,proto3" json:"fixtures,omitempty"`
	Forwards []*Forward `protobuf:"bytes,2,rep,name=forwards,proto3" json:"forwards,omitempty"`
	// contains filtered or unexported fields
}

Fixtures is the file --fixtures names: every fixture reply of the mods the host loads, and the services the controller answers instead.

func (*Fixtures) CloneMessageVT added in v0.1.86

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

func (*Fixtures) CloneVT added in v0.1.86

func (m *Fixtures) CloneVT() *Fixtures

func (*Fixtures) EqualMessageVT added in v0.1.86

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

func (*Fixtures) EqualVT added in v0.1.86

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

func (*Fixtures) GetFixtures added in v0.1.86

func (x *Fixtures) GetFixtures() []*Fixture

func (*Fixtures) GetForwards added in v0.1.86

func (x *Fixtures) GetForwards() []*Forward

func (*Fixtures) MarshalJSON added in v0.1.86

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

MarshalJSON marshals the Fixtures to JSON.

func (*Fixtures) MarshalProtoJSON added in v0.1.86

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

MarshalProtoJSON marshals the Fixtures message to JSON.

func (*Fixtures) MarshalProtoText added in v0.1.86

func (x *Fixtures) MarshalProtoText() string

func (*Fixtures) MarshalToSizedBufferVT added in v0.1.86

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

func (*Fixtures) MarshalToVT added in v0.1.86

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

func (*Fixtures) MarshalVT added in v0.1.86

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

func (*Fixtures) ProtoMessage added in v0.1.86

func (*Fixtures) ProtoMessage()

func (*Fixtures) Reset added in v0.1.86

func (x *Fixtures) Reset()

func (*Fixtures) SizeVT added in v0.1.86

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

func (*Fixtures) String added in v0.1.86

func (x *Fixtures) String() string

func (*Fixtures) UnmarshalJSON added in v0.1.86

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

UnmarshalJSON unmarshals the Fixtures from JSON.

func (*Fixtures) UnmarshalProtoJSON added in v0.1.86

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

UnmarshalProtoJSON unmarshals the Fixtures message from JSON.

func (*Fixtures) UnmarshalVT added in v0.1.86

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

type Forward added in v0.1.86

type Forward struct {

	// Mod is the slug of the mod whose calls go to the controller.
	Mod string `protobuf:"bytes,1,opt,name=mod,proto3" json:"mod,omitempty"`
	// Service names the service forwarded.
	Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	// Target names where the controller sends the calls, for the host's log.
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

Forward hands one mod's started calls of a service to the controller over the control link, in place of a fixture.

func (*Forward) CloneMessageVT added in v0.1.86

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

func (*Forward) CloneVT added in v0.1.86

func (m *Forward) CloneVT() *Forward

func (*Forward) EqualMessageVT added in v0.1.86

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

func (*Forward) EqualVT added in v0.1.86

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

func (*Forward) GetMod added in v0.1.86

func (x *Forward) GetMod() string

func (*Forward) GetService added in v0.1.86

func (x *Forward) GetService() string

func (*Forward) GetTarget added in v0.1.86

func (x *Forward) GetTarget() string

func (*Forward) MarshalJSON added in v0.1.86

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

MarshalJSON marshals the Forward to JSON.

func (*Forward) MarshalProtoJSON added in v0.1.86

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

MarshalProtoJSON marshals the Forward message to JSON.

func (*Forward) MarshalProtoText added in v0.1.86

func (x *Forward) MarshalProtoText() string

func (*Forward) MarshalToSizedBufferVT added in v0.1.86

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

func (*Forward) MarshalToVT added in v0.1.86

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

func (*Forward) MarshalVT added in v0.1.86

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

func (*Forward) ProtoMessage added in v0.1.86

func (*Forward) ProtoMessage()

func (*Forward) Reset added in v0.1.86

func (x *Forward) Reset()

func (*Forward) SizeVT added in v0.1.86

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

func (*Forward) String added in v0.1.86

func (x *Forward) String() string

func (*Forward) UnmarshalJSON added in v0.1.86

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

UnmarshalJSON unmarshals the Forward from JSON.

func (*Forward) UnmarshalProtoJSON added in v0.1.86

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

UnmarshalProtoJSON unmarshals the Forward message from JSON.

func (*Forward) UnmarshalVT added in v0.1.86

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

type GamePaused

type GamePaused struct {

	// Paused is true while the game is paused.
	Paused bool `protobuf:"varint,1,opt,name=paused,proto3" json:"paused,omitempty"`
	// contains filtered or unexported fields
}

GamePaused is whether the game is paused, by the pause a mod sets or by the game's own, which holds the match clock.

func (*GamePaused) CloneMessageVT

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

func (*GamePaused) CloneVT

func (m *GamePaused) CloneVT() *GamePaused

func (*GamePaused) EqualMessageVT

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

func (*GamePaused) EqualVT

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

func (*GamePaused) GetPaused

func (x *GamePaused) GetPaused() bool

func (*GamePaused) MarshalJSON

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

MarshalJSON marshals the GamePaused to JSON.

func (*GamePaused) MarshalProtoJSON

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

MarshalProtoJSON marshals the GamePaused message to JSON.

func (*GamePaused) MarshalProtoText

func (x *GamePaused) MarshalProtoText() string

func (*GamePaused) MarshalToSizedBufferVT

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

func (*GamePaused) MarshalToVT

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

func (*GamePaused) MarshalVT

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

func (*GamePaused) ProtoMessage

func (*GamePaused) ProtoMessage()

func (*GamePaused) Reset

func (x *GamePaused) Reset()

func (*GamePaused) SizeVT

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

func (*GamePaused) String

func (x *GamePaused) String() string

func (*GamePaused) UnmarshalJSON

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

UnmarshalJSON unmarshals the GamePaused from JSON.

func (*GamePaused) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the GamePaused message from JSON.

func (*GamePaused) UnmarshalVT

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

type HostEvent

type HostEvent struct {

	// Body selects the event.
	//
	// Types that are assignable to Body:
	//	*HostEvent_Started
	//	*HostEvent_Log
	//	*HostEvent_Failed
	//	*HostEvent_Joined
	//	*HostEvent_Ready
	//	*HostEvent_Ui
	//	*HostEvent_Left
	//	*HostEvent_Message
	//	*HostEvent_Chat
	//	*HostEvent_Calls
	//	*HostEvent_SlowFrame
	//	*HostEvent_ServiceApplied
	//	*HostEvent_Called
	//	*HostEvent_ServiceCall
	//	*HostEvent_ControllersWanted
	//	*HostEvent_Paused
	//	*HostEvent_CommandFailed
	Body isHostEvent_Body `protobuf_oneof:"body"`
	// contains filtered or unexported fields
}

HostEvent is one thing that happened in the host.

func (*HostEvent) CloneMessageVT

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

func (*HostEvent) CloneVT

func (m *HostEvent) CloneVT() *HostEvent

func (*HostEvent) EqualMessageVT

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

func (*HostEvent) EqualVT

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

func (*HostEvent) GetBody

func (m *HostEvent) GetBody() isHostEvent_Body

func (*HostEvent) GetCalled added in v0.1.79

func (x *HostEvent) GetCalled() *ModCallResult

func (*HostEvent) GetCalls added in v0.1.65

func (x *HostEvent) GetCalls() *ModCalls

func (*HostEvent) GetChat added in v0.1.13

func (x *HostEvent) GetChat() *PlayerChat

func (*HostEvent) GetCommandFailed

func (x *HostEvent) GetCommandFailed() *CommandFailed

func (*HostEvent) GetControllersWanted

func (x *HostEvent) GetControllersWanted() *controllers.ControllerWants

func (*HostEvent) GetFailed

func (x *HostEvent) GetFailed() *ModFailed

func (*HostEvent) GetJoined

func (x *HostEvent) GetJoined() *PlayerJoined

func (*HostEvent) GetLeft

func (x *HostEvent) GetLeft() *PlayerLeft

func (*HostEvent) GetLog

func (x *HostEvent) GetLog() *ModLog

func (*HostEvent) GetMessage

func (x *HostEvent) GetMessage() *PlayerMessage

func (*HostEvent) GetPaused

func (x *HostEvent) GetPaused() *GamePaused

func (*HostEvent) GetReady

func (x *HostEvent) GetReady() *ServerReady

func (*HostEvent) GetServiceApplied added in v0.1.72

func (x *HostEvent) GetServiceApplied() *ServiceResult

func (*HostEvent) GetServiceCall added in v0.1.86

func (x *HostEvent) GetServiceCall() *ServiceCall

func (*HostEvent) GetSlowFrame added in v0.1.69

func (x *HostEvent) GetSlowFrame() *ModSlowFrame

func (*HostEvent) GetStarted

func (x *HostEvent) GetStarted() *ModStarted

func (*HostEvent) GetUi

func (x *HostEvent) GetUi() *UiChanged

func (*HostEvent) MarshalJSON

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

MarshalJSON marshals the HostEvent to JSON.

func (*HostEvent) MarshalProtoJSON

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

MarshalProtoJSON marshals the HostEvent message to JSON.

func (*HostEvent) MarshalProtoText

func (x *HostEvent) MarshalProtoText() string

func (*HostEvent) MarshalToSizedBufferVT

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

func (*HostEvent) MarshalToVT

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

func (*HostEvent) MarshalVT

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

func (*HostEvent) ProtoMessage

func (*HostEvent) ProtoMessage()

func (*HostEvent) Reset

func (x *HostEvent) Reset()

func (*HostEvent) SizeVT

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

func (*HostEvent) String

func (x *HostEvent) String() string

func (*HostEvent) UnmarshalJSON

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

UnmarshalJSON unmarshals the HostEvent from JSON.

func (*HostEvent) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the HostEvent message from JSON.

func (*HostEvent) UnmarshalVT

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

type HostEvent_Called added in v0.1.79

type HostEvent_Called struct {
	// Called answers a ModCall.
	Called *ModCallResult `protobuf:"bytes,13,opt,name=called,proto3,oneof"`
}

func (*HostEvent_Called) CloneOneofVT added in v0.1.79

func (m *HostEvent_Called) CloneOneofVT() isHostEvent_Body

func (*HostEvent_Called) CloneVT added in v0.1.79

func (m *HostEvent_Called) CloneVT() *HostEvent_Called

func (*HostEvent_Called) EqualVT added in v0.1.79

func (this *HostEvent_Called) EqualVT(thatIface isHostEvent_Body) bool

func (*HostEvent_Called) MarshalToSizedBufferVT added in v0.1.79

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

func (*HostEvent_Called) MarshalToVT added in v0.1.79

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

func (*HostEvent_Called) SizeVT added in v0.1.79

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

type HostEvent_Calls added in v0.1.65

type HostEvent_Calls struct {
	// Calls counts the host calls a mod made since its last report, about
	// once a minute while it calls and when its build stops.
	Calls *ModCalls `protobuf:"bytes,10,opt,name=calls,proto3,oneof"`
}

func (*HostEvent_Calls) CloneOneofVT added in v0.1.65

func (m *HostEvent_Calls) CloneOneofVT() isHostEvent_Body

func (*HostEvent_Calls) CloneVT added in v0.1.65

func (m *HostEvent_Calls) CloneVT() *HostEvent_Calls

func (*HostEvent_Calls) EqualVT added in v0.1.65

func (this *HostEvent_Calls) EqualVT(thatIface isHostEvent_Body) bool

func (*HostEvent_Calls) MarshalToSizedBufferVT added in v0.1.65

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

func (*HostEvent_Calls) MarshalToVT added in v0.1.65

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

func (*HostEvent_Calls) SizeVT added in v0.1.65

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

type HostEvent_Chat added in v0.1.13

type HostEvent_Chat struct {
	// Chat carries a line a player said in chat.
	Chat *PlayerChat `protobuf:"bytes,9,opt,name=chat,proto3,oneof"`
}

func (*HostEvent_Chat) CloneOneofVT added in v0.1.13

func (m *HostEvent_Chat) CloneOneofVT() isHostEvent_Body

func (*HostEvent_Chat) CloneVT added in v0.1.13

func (m *HostEvent_Chat) CloneVT() *HostEvent_Chat

func (*HostEvent_Chat) EqualVT added in v0.1.13

func (this *HostEvent_Chat) EqualVT(thatIface isHostEvent_Body) bool

func (*HostEvent_Chat) MarshalToSizedBufferVT added in v0.1.13

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

func (*HostEvent_Chat) MarshalToVT added in v0.1.13

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

func (*HostEvent_Chat) SizeVT added in v0.1.13

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

type HostEvent_CommandFailed

type HostEvent_CommandFailed struct {
	// CommandFailed reports a command the controller sent that no running
	// mod took.
	CommandFailed *CommandFailed `protobuf:"bytes,18,opt,name=command_failed,json=commandFailed,proto3,oneof"`
}

func (*HostEvent_CommandFailed) CloneOneofVT

func (m *HostEvent_CommandFailed) CloneOneofVT() isHostEvent_Body

func (*HostEvent_CommandFailed) CloneVT

func (*HostEvent_CommandFailed) EqualVT

func (this *HostEvent_CommandFailed) EqualVT(thatIface isHostEvent_Body) bool

func (*HostEvent_CommandFailed) MarshalToSizedBufferVT

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

func (*HostEvent_CommandFailed) MarshalToVT

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

func (*HostEvent_CommandFailed) SizeVT

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

type HostEvent_ControllersWanted

type HostEvent_ControllersWanted struct {
	// ControllersWanted lists every player whose controllers some mod watches,
	// each time the list changes.
	ControllersWanted *controllers.ControllerWants `protobuf:"bytes,15,opt,name=controllers_wanted,json=controllersWanted,proto3,oneof"`
}

func (*HostEvent_ControllersWanted) CloneOneofVT

func (m *HostEvent_ControllersWanted) CloneOneofVT() isHostEvent_Body

func (*HostEvent_ControllersWanted) CloneVT

func (*HostEvent_ControllersWanted) EqualVT

func (this *HostEvent_ControllersWanted) EqualVT(thatIface isHostEvent_Body) bool

func (*HostEvent_ControllersWanted) MarshalToSizedBufferVT

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

func (*HostEvent_ControllersWanted) MarshalToVT

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

func (*HostEvent_ControllersWanted) SizeVT

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

type HostEvent_Failed

type HostEvent_Failed struct {
	// Failed reports a mod that stopped or a reload that did not load.
	Failed *ModFailed `protobuf:"bytes,3,opt,name=failed,proto3,oneof"`
}

func (*HostEvent_Failed) CloneOneofVT

func (m *HostEvent_Failed) CloneOneofVT() isHostEvent_Body

func (*HostEvent_Failed) CloneVT

func (m *HostEvent_Failed) CloneVT() *HostEvent_Failed

func (*HostEvent_Failed) EqualVT

func (this *HostEvent_Failed) EqualVT(thatIface isHostEvent_Body) bool

func (*HostEvent_Failed) MarshalToSizedBufferVT

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

func (*HostEvent_Failed) MarshalToVT

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

func (*HostEvent_Failed) SizeVT

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

type HostEvent_Joined

type HostEvent_Joined struct {
	// Joined reports a player who finished joining the server.
	Joined *PlayerJoined `protobuf:"bytes,4,opt,name=joined,proto3,oneof"`
}

func (*HostEvent_Joined) CloneOneofVT

func (m *HostEvent_Joined) CloneOneofVT() isHostEvent_Body

func (*HostEvent_Joined) CloneVT

func (m *HostEvent_Joined) CloneVT() *HostEvent_Joined

func (*HostEvent_Joined) EqualVT

func (this *HostEvent_Joined) EqualVT(thatIface isHostEvent_Body) bool

func (*HostEvent_Joined) MarshalToSizedBufferVT

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

func (*HostEvent_Joined) MarshalToVT

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

func (*HostEvent_Joined) SizeVT

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

type HostEvent_Left

type HostEvent_Left struct {
	// Left reports a player who left the server.
	Left *PlayerLeft `protobuf:"bytes,7,opt,name=left,proto3,oneof"`
}

func (*HostEvent_Left) CloneOneofVT

func (m *HostEvent_Left) CloneOneofVT() isHostEvent_Body

func (*HostEvent_Left) CloneVT

func (m *HostEvent_Left) CloneVT() *HostEvent_Left

func (*HostEvent_Left) EqualVT

func (this *HostEvent_Left) EqualVT(thatIface isHostEvent_Body) bool

func (*HostEvent_Left) MarshalToSizedBufferVT

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

func (*HostEvent_Left) MarshalToVT

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

func (*HostEvent_Left) SizeVT

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

type HostEvent_Log

type HostEvent_Log struct {
	// Log carries one line a mod logged.
	Log *ModLog `protobuf:"bytes,2,opt,name=log,proto3,oneof"`
}

func (*HostEvent_Log) CloneOneofVT

func (m *HostEvent_Log) CloneOneofVT() isHostEvent_Body

func (*HostEvent_Log) CloneVT

func (m *HostEvent_Log) CloneVT() *HostEvent_Log

func (*HostEvent_Log) EqualVT

func (this *HostEvent_Log) EqualVT(thatIface isHostEvent_Body) bool

func (*HostEvent_Log) MarshalToSizedBufferVT

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

func (*HostEvent_Log) MarshalToVT

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

func (*HostEvent_Log) SizeVT

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

type HostEvent_Message

type HostEvent_Message struct {
	// Message carries a message a mod showed a player: a chat line, center
	// text or an announcement.
	Message *PlayerMessage `protobuf:"bytes,8,opt,name=message,proto3,oneof"`
}

func (*HostEvent_Message) CloneOneofVT

func (m *HostEvent_Message) CloneOneofVT() isHostEvent_Body

func (*HostEvent_Message) CloneVT

func (m *HostEvent_Message) CloneVT() *HostEvent_Message

func (*HostEvent_Message) EqualVT

func (this *HostEvent_Message) EqualVT(thatIface isHostEvent_Body) bool

func (*HostEvent_Message) MarshalToSizedBufferVT

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

func (*HostEvent_Message) MarshalToVT

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

func (*HostEvent_Message) SizeVT

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

type HostEvent_Paused

type HostEvent_Paused struct {
	// Paused reports each time the game pauses or resumes, from the first
	// world on. Until the first, the game is not paused.
	Paused *GamePaused `protobuf:"bytes,17,opt,name=paused,proto3,oneof"`
}

func (*HostEvent_Paused) CloneOneofVT

func (m *HostEvent_Paused) CloneOneofVT() isHostEvent_Body

func (*HostEvent_Paused) CloneVT

func (m *HostEvent_Paused) CloneVT() *HostEvent_Paused

func (*HostEvent_Paused) EqualVT

func (this *HostEvent_Paused) EqualVT(thatIface isHostEvent_Body) bool

func (*HostEvent_Paused) MarshalToSizedBufferVT

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

func (*HostEvent_Paused) MarshalToVT

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

func (*HostEvent_Paused) SizeVT

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

type HostEvent_Ready

type HostEvent_Ready struct {
	// Ready reports that players can join the server.
	Ready *ServerReady `protobuf:"bytes,5,opt,name=ready,proto3,oneof"`
}

func (*HostEvent_Ready) CloneOneofVT

func (m *HostEvent_Ready) CloneOneofVT() isHostEvent_Body

func (*HostEvent_Ready) CloneVT

func (m *HostEvent_Ready) CloneVT() *HostEvent_Ready

func (*HostEvent_Ready) EqualVT

func (this *HostEvent_Ready) EqualVT(thatIface isHostEvent_Body) bool

func (*HostEvent_Ready) MarshalToSizedBufferVT

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

func (*HostEvent_Ready) MarshalToVT

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

func (*HostEvent_Ready) SizeVT

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

type HostEvent_ServiceApplied added in v0.1.72

type HostEvent_ServiceApplied struct {
	// ServiceApplied confirms whether a controller configuration started.
	ServiceApplied *ServiceResult `protobuf:"bytes,12,opt,name=service_applied,json=serviceApplied,proto3,oneof"`
}

func (*HostEvent_ServiceApplied) CloneOneofVT added in v0.1.72

func (m *HostEvent_ServiceApplied) CloneOneofVT() isHostEvent_Body

func (*HostEvent_ServiceApplied) CloneVT added in v0.1.72

func (*HostEvent_ServiceApplied) EqualVT added in v0.1.72

func (this *HostEvent_ServiceApplied) EqualVT(thatIface isHostEvent_Body) bool

func (*HostEvent_ServiceApplied) MarshalToSizedBufferVT added in v0.1.72

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

func (*HostEvent_ServiceApplied) MarshalToVT added in v0.1.72

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

func (*HostEvent_ServiceApplied) SizeVT added in v0.1.72

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

type HostEvent_ServiceCall added in v0.1.86

type HostEvent_ServiceCall struct {
	// ServiceCall asks the controller to answer a mod's started call to a
	// service the fixtures forward; an Answer with its id ends it.
	ServiceCall *ServiceCall `protobuf:"bytes,14,opt,name=service_call,json=serviceCall,proto3,oneof"`
}

func (*HostEvent_ServiceCall) CloneOneofVT added in v0.1.86

func (m *HostEvent_ServiceCall) CloneOneofVT() isHostEvent_Body

func (*HostEvent_ServiceCall) CloneVT added in v0.1.86

func (*HostEvent_ServiceCall) EqualVT added in v0.1.86

func (this *HostEvent_ServiceCall) EqualVT(thatIface isHostEvent_Body) bool

func (*HostEvent_ServiceCall) MarshalToSizedBufferVT added in v0.1.86

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

func (*HostEvent_ServiceCall) MarshalToVT added in v0.1.86

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

func (*HostEvent_ServiceCall) SizeVT added in v0.1.86

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

type HostEvent_SlowFrame added in v0.1.69

type HostEvent_SlowFrame struct {
	// SlowFrame reports the slowest frame a mod ran since its last report and
	// the functions it spent the time in, about once a minute while the mod
	// runs slow.
	SlowFrame *ModSlowFrame `protobuf:"bytes,11,opt,name=slow_frame,json=slowFrame,proto3,oneof"`
}

func (*HostEvent_SlowFrame) CloneOneofVT added in v0.1.69

func (m *HostEvent_SlowFrame) CloneOneofVT() isHostEvent_Body

func (*HostEvent_SlowFrame) CloneVT added in v0.1.69

func (*HostEvent_SlowFrame) EqualVT added in v0.1.69

func (this *HostEvent_SlowFrame) EqualVT(thatIface isHostEvent_Body) bool

func (*HostEvent_SlowFrame) MarshalToSizedBufferVT added in v0.1.69

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

func (*HostEvent_SlowFrame) MarshalToVT added in v0.1.69

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

func (*HostEvent_SlowFrame) SizeVT added in v0.1.69

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

type HostEvent_Started

type HostEvent_Started struct {
	// Started reports a mod that started or restarted after a reload.
	Started *ModStarted `protobuf:"bytes,1,opt,name=started,proto3,oneof"`
}

func (*HostEvent_Started) CloneOneofVT

func (m *HostEvent_Started) CloneOneofVT() isHostEvent_Body

func (*HostEvent_Started) CloneVT

func (m *HostEvent_Started) CloneVT() *HostEvent_Started

func (*HostEvent_Started) EqualVT

func (this *HostEvent_Started) EqualVT(thatIface isHostEvent_Body) bool

func (*HostEvent_Started) MarshalToSizedBufferVT

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

func (*HostEvent_Started) MarshalToVT

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

func (*HostEvent_Started) SizeVT

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

type HostEvent_Ui

type HostEvent_Ui struct {
	// Ui carries a change to the interface a mod shows a player. The host
	// sends every tree as a reset change when the call opens.
	Ui *UiChanged `protobuf:"bytes,6,opt,name=ui,proto3,oneof"`
}

func (*HostEvent_Ui) CloneOneofVT

func (m *HostEvent_Ui) CloneOneofVT() isHostEvent_Body

func (*HostEvent_Ui) CloneVT

func (m *HostEvent_Ui) CloneVT() *HostEvent_Ui

func (*HostEvent_Ui) EqualVT

func (this *HostEvent_Ui) EqualVT(thatIface isHostEvent_Body) bool

func (*HostEvent_Ui) MarshalToSizedBufferVT

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

func (*HostEvent_Ui) MarshalToVT

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

func (*HostEvent_Ui) SizeVT

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

type MessageKind

type MessageKind int32

MessageKind is where a message shows on the player's screen.

const (
	// MESSAGE_KIND_CHAT is a line in chat.
	MessageKind_MESSAGE_KIND_CHAT MessageKind = 0
	// MESSAGE_KIND_CENTER is the text in the center of the screen.
	MessageKind_MESSAGE_KIND_CENTER MessageKind = 1
	// MESSAGE_KIND_ANNOUNCEMENT is a game announcement with a title.
	MessageKind_MESSAGE_KIND_ANNOUNCEMENT MessageKind = 2
)

func (MessageKind) Enum

func (x MessageKind) Enum() *MessageKind

func (MessageKind) MarshalJSON

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

MarshalJSON marshals the MessageKind to JSON.

func (MessageKind) MarshalProtoJSON

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

MarshalProtoJSON marshals the MessageKind to JSON.

func (MessageKind) MarshalProtoText

func (x MessageKind) MarshalProtoText() string

func (MessageKind) MarshalText

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

MarshalText marshals the MessageKind to text.

func (MessageKind) String

func (x MessageKind) String() string

func (*MessageKind) UnmarshalJSON

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

UnmarshalJSON unmarshals the MessageKind from JSON.

func (*MessageKind) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the MessageKind from JSON.

func (*MessageKind) UnmarshalText

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

UnmarshalText unmarshals the MessageKind from text.

type ModCall added in v0.1.79

type ModCall struct {

	// Mod is the running mod's slug.
	Mod string `protobuf:"bytes,1,opt,name=mod,proto3" json:"mod,omitempty"`
	// Service and Method select the call, such as the library's "console"
	// service and its "run" method.
	Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	Method  string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
	// Payload is the call's encoded request, opaque to the host.
	Payload []byte `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
	// Id identifies this call in its result, opaque to the host.
	Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

ModCall calls one method of a service a running mod serves, on the game's thread between frames. Only the controller can send it; no player can.

func (*ModCall) CloneMessageVT added in v0.1.79

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

func (*ModCall) CloneVT added in v0.1.79

func (m *ModCall) CloneVT() *ModCall

func (*ModCall) EqualMessageVT added in v0.1.79

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

func (*ModCall) EqualVT added in v0.1.79

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

func (*ModCall) GetId added in v0.1.79

func (x *ModCall) GetId() string

func (*ModCall) GetMethod added in v0.1.79

func (x *ModCall) GetMethod() string

func (*ModCall) GetMod added in v0.1.79

func (x *ModCall) GetMod() string

func (*ModCall) GetPayload added in v0.1.79

func (x *ModCall) GetPayload() []byte

func (*ModCall) GetService added in v0.1.79

func (x *ModCall) GetService() string

func (*ModCall) MarshalJSON added in v0.1.79

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

MarshalJSON marshals the ModCall to JSON.

func (*ModCall) MarshalProtoJSON added in v0.1.79

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

MarshalProtoJSON marshals the ModCall message to JSON.

func (*ModCall) MarshalProtoText added in v0.1.79

func (x *ModCall) MarshalProtoText() string

func (*ModCall) MarshalToSizedBufferVT added in v0.1.79

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

func (*ModCall) MarshalToVT added in v0.1.79

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

func (*ModCall) MarshalVT added in v0.1.79

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

func (*ModCall) ProtoMessage added in v0.1.79

func (*ModCall) ProtoMessage()

func (*ModCall) Reset added in v0.1.79

func (x *ModCall) Reset()

func (*ModCall) SizeVT added in v0.1.79

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

func (*ModCall) String added in v0.1.79

func (x *ModCall) String() string

func (*ModCall) UnmarshalJSON added in v0.1.79

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

UnmarshalJSON unmarshals the ModCall from JSON.

func (*ModCall) UnmarshalProtoJSON added in v0.1.79

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

UnmarshalProtoJSON unmarshals the ModCall message from JSON.

func (*ModCall) UnmarshalVT added in v0.1.79

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

type ModCallResult added in v0.1.79

type ModCallResult struct {

	// Id matches the ModCall this result answers.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Mod is the mod that was called.
	Mod string `protobuf:"bytes,2,opt,name=mod,proto3" json:"mod,omitempty"`
	// Payload is the mod's encoded answer.
	Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
	// Error says why the call failed: no such mod is running, the mod serves
	// no such service, or its handler failed. It is empty on success.
	Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

ModCallResult answers one ModCall.

func (*ModCallResult) CloneMessageVT added in v0.1.79

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

func (*ModCallResult) CloneVT added in v0.1.79

func (m *ModCallResult) CloneVT() *ModCallResult

func (*ModCallResult) EqualMessageVT added in v0.1.79

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

func (*ModCallResult) EqualVT added in v0.1.79

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

func (*ModCallResult) GetError added in v0.1.79

func (x *ModCallResult) GetError() string

func (*ModCallResult) GetId added in v0.1.79

func (x *ModCallResult) GetId() string

func (*ModCallResult) GetMod added in v0.1.79

func (x *ModCallResult) GetMod() string

func (*ModCallResult) GetPayload added in v0.1.79

func (x *ModCallResult) GetPayload() []byte

func (*ModCallResult) MarshalJSON added in v0.1.79

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

MarshalJSON marshals the ModCallResult to JSON.

func (*ModCallResult) MarshalProtoJSON added in v0.1.79

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

MarshalProtoJSON marshals the ModCallResult message to JSON.

func (*ModCallResult) MarshalProtoText added in v0.1.79

func (x *ModCallResult) MarshalProtoText() string

func (*ModCallResult) MarshalToSizedBufferVT added in v0.1.79

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

func (*ModCallResult) MarshalToVT added in v0.1.79

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

func (*ModCallResult) MarshalVT added in v0.1.79

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

func (*ModCallResult) ProtoMessage added in v0.1.79

func (*ModCallResult) ProtoMessage()

func (*ModCallResult) Reset added in v0.1.79

func (x *ModCallResult) Reset()

func (*ModCallResult) SizeVT added in v0.1.79

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

func (*ModCallResult) String added in v0.1.79

func (x *ModCallResult) String() string

func (*ModCallResult) UnmarshalJSON added in v0.1.79

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

UnmarshalJSON unmarshals the ModCallResult from JSON.

func (*ModCallResult) UnmarshalProtoJSON added in v0.1.79

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

UnmarshalProtoJSON unmarshals the ModCallResult message from JSON.

func (*ModCallResult) UnmarshalVT added in v0.1.79

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

type ModCalls added in v0.1.65

type ModCalls struct {

	// Mod is the mod's name.
	Mod string `protobuf:"bytes,1,opt,name=mod,proto3" json:"mod,omitempty"`
	// Profile counts the calls since the mod's last report.
	Profile *profile.CallProfile `protobuf:"bytes,2,opt,name=profile,proto3" json:"profile,omitempty"`
	// contains filtered or unexported fields
}

ModCalls is one report of the host calls a mod made.

func (*ModCalls) CloneMessageVT added in v0.1.65

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

func (*ModCalls) CloneVT added in v0.1.65

func (m *ModCalls) CloneVT() *ModCalls

func (*ModCalls) EqualMessageVT added in v0.1.65

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

func (*ModCalls) EqualVT added in v0.1.65

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

func (*ModCalls) GetMod added in v0.1.65

func (x *ModCalls) GetMod() string

func (*ModCalls) GetProfile added in v0.1.65

func (x *ModCalls) GetProfile() *profile.CallProfile

func (*ModCalls) MarshalJSON added in v0.1.65

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

MarshalJSON marshals the ModCalls to JSON.

func (*ModCalls) MarshalProtoJSON added in v0.1.65

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

MarshalProtoJSON marshals the ModCalls message to JSON.

func (*ModCalls) MarshalProtoText added in v0.1.65

func (x *ModCalls) MarshalProtoText() string

func (*ModCalls) MarshalToSizedBufferVT added in v0.1.65

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

func (*ModCalls) MarshalToVT added in v0.1.65

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

func (*ModCalls) MarshalVT added in v0.1.65

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

func (*ModCalls) ProtoMessage added in v0.1.65

func (*ModCalls) ProtoMessage()

func (*ModCalls) Reset added in v0.1.65

func (x *ModCalls) Reset()

func (*ModCalls) SizeVT added in v0.1.65

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

func (*ModCalls) String added in v0.1.65

func (x *ModCalls) String() string

func (*ModCalls) UnmarshalJSON added in v0.1.65

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

UnmarshalJSON unmarshals the ModCalls from JSON.

func (*ModCalls) UnmarshalProtoJSON added in v0.1.65

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

UnmarshalProtoJSON unmarshals the ModCalls message from JSON.

func (*ModCalls) UnmarshalVT added in v0.1.65

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

type ModFailed

type ModFailed struct {

	// Mod is the mod's name.
	Mod string `protobuf:"bytes,1,opt,name=mod,proto3" json:"mod,omitempty"`
	// Error describes the failure.
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

ModFailed explains why a mod stopped or a reload failed. A failed reload leaves the previous instance running.

func (*ModFailed) CloneMessageVT

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

func (*ModFailed) CloneVT

func (m *ModFailed) CloneVT() *ModFailed

func (*ModFailed) EqualMessageVT

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

func (*ModFailed) EqualVT

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

func (*ModFailed) GetError

func (x *ModFailed) GetError() string

func (*ModFailed) GetMod

func (x *ModFailed) GetMod() string

func (*ModFailed) MarshalJSON

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

MarshalJSON marshals the ModFailed to JSON.

func (*ModFailed) MarshalProtoJSON

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

MarshalProtoJSON marshals the ModFailed message to JSON.

func (*ModFailed) MarshalProtoText

func (x *ModFailed) MarshalProtoText() string

func (*ModFailed) MarshalToSizedBufferVT

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

func (*ModFailed) MarshalToVT

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

func (*ModFailed) MarshalVT

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

func (*ModFailed) ProtoMessage

func (*ModFailed) ProtoMessage()

func (*ModFailed) Reset

func (x *ModFailed) Reset()

func (*ModFailed) SizeVT

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

func (*ModFailed) String

func (x *ModFailed) String() string

func (*ModFailed) UnmarshalJSON

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

UnmarshalJSON unmarshals the ModFailed from JSON.

func (*ModFailed) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the ModFailed message from JSON.

func (*ModFailed) UnmarshalVT

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

type ModLog

type ModLog struct {

	// Mod is the name of the mod that logged.
	Mod string `protobuf:"bytes,1,opt,name=mod,proto3" json:"mod,omitempty"`
	// Text is the line, without a trailing newline.
	Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

ModLog carries one log line.

func (*ModLog) CloneMessageVT

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

func (*ModLog) CloneVT

func (m *ModLog) CloneVT() *ModLog

func (*ModLog) EqualMessageVT

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

func (*ModLog) EqualVT

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

func (*ModLog) GetMod

func (x *ModLog) GetMod() string

func (*ModLog) GetText

func (x *ModLog) GetText() string

func (*ModLog) MarshalJSON

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

MarshalJSON marshals the ModLog to JSON.

func (*ModLog) MarshalProtoJSON

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

MarshalProtoJSON marshals the ModLog message to JSON.

func (*ModLog) MarshalProtoText

func (x *ModLog) MarshalProtoText() string

func (*ModLog) MarshalToSizedBufferVT

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

func (*ModLog) MarshalToVT

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

func (*ModLog) MarshalVT

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

func (*ModLog) ProtoMessage

func (*ModLog) ProtoMessage()

func (*ModLog) Reset

func (x *ModLog) Reset()

func (*ModLog) SizeVT

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

func (*ModLog) String

func (x *ModLog) String() string

func (*ModLog) UnmarshalJSON

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

UnmarshalJSON unmarshals the ModLog from JSON.

func (*ModLog) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the ModLog message from JSON.

func (*ModLog) UnmarshalVT

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

type ModSlowFrame added in v0.1.69

type ModSlowFrame struct {

	// Mod is the mod's name.
	Mod string `protobuf:"bytes,1,opt,name=mod,proto3" json:"mod,omitempty"`
	// Report is the slowest frame since the mod's last report.
	Report *profile.SlowFrame `protobuf:"bytes,2,opt,name=report,proto3" json:"report,omitempty"`
	// contains filtered or unexported fields
}

ModSlowFrame is one report of a mod's slow frames.

func (*ModSlowFrame) CloneMessageVT added in v0.1.69

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

func (*ModSlowFrame) CloneVT added in v0.1.69

func (m *ModSlowFrame) CloneVT() *ModSlowFrame

func (*ModSlowFrame) EqualMessageVT added in v0.1.69

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

func (*ModSlowFrame) EqualVT added in v0.1.69

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

func (*ModSlowFrame) GetMod added in v0.1.69

func (x *ModSlowFrame) GetMod() string

func (*ModSlowFrame) GetReport added in v0.1.69

func (x *ModSlowFrame) GetReport() *profile.SlowFrame

func (*ModSlowFrame) MarshalJSON added in v0.1.69

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

MarshalJSON marshals the ModSlowFrame to JSON.

func (*ModSlowFrame) MarshalProtoJSON added in v0.1.69

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

MarshalProtoJSON marshals the ModSlowFrame message to JSON.

func (*ModSlowFrame) MarshalProtoText added in v0.1.69

func (x *ModSlowFrame) MarshalProtoText() string

func (*ModSlowFrame) MarshalToSizedBufferVT added in v0.1.69

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

func (*ModSlowFrame) MarshalToVT added in v0.1.69

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

func (*ModSlowFrame) MarshalVT added in v0.1.69

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

func (*ModSlowFrame) ProtoMessage added in v0.1.69

func (*ModSlowFrame) ProtoMessage()

func (*ModSlowFrame) Reset added in v0.1.69

func (x *ModSlowFrame) Reset()

func (*ModSlowFrame) SizeVT added in v0.1.69

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

func (*ModSlowFrame) String added in v0.1.69

func (x *ModSlowFrame) String() string

func (*ModSlowFrame) UnmarshalJSON added in v0.1.69

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

UnmarshalJSON unmarshals the ModSlowFrame from JSON.

func (*ModSlowFrame) UnmarshalProtoJSON added in v0.1.69

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

UnmarshalProtoJSON unmarshals the ModSlowFrame message from JSON.

func (*ModSlowFrame) UnmarshalVT added in v0.1.69

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

type ModStarted

type ModStarted struct {

	// Mod is the mod's name.
	Mod string `protobuf:"bytes,1,opt,name=mod,proto3" json:"mod,omitempty"`
	// Reloaded is true when a reload replaced an earlier instance.
	Reloaded bool `protobuf:"varint,2,opt,name=reloaded,proto3" json:"reloaded,omitempty"`
	// contains filtered or unexported fields
}

ModStarted identifies a mod that started.

func (*ModStarted) CloneMessageVT

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

func (*ModStarted) CloneVT

func (m *ModStarted) CloneVT() *ModStarted

func (*ModStarted) EqualMessageVT

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

func (*ModStarted) EqualVT

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

func (*ModStarted) GetMod

func (x *ModStarted) GetMod() string

func (*ModStarted) GetReloaded

func (x *ModStarted) GetReloaded() bool

func (*ModStarted) MarshalJSON

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

MarshalJSON marshals the ModStarted to JSON.

func (*ModStarted) MarshalProtoJSON

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

MarshalProtoJSON marshals the ModStarted message to JSON.

func (*ModStarted) MarshalProtoText

func (x *ModStarted) MarshalProtoText() string

func (*ModStarted) MarshalToSizedBufferVT

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

func (*ModStarted) MarshalToVT

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

func (*ModStarted) MarshalVT

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

func (*ModStarted) ProtoMessage

func (*ModStarted) ProtoMessage()

func (*ModStarted) Reset

func (x *ModStarted) Reset()

func (*ModStarted) SizeVT

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

func (*ModStarted) String

func (x *ModStarted) String() string

func (*ModStarted) UnmarshalJSON

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

UnmarshalJSON unmarshals the ModStarted from JSON.

func (*ModStarted) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the ModStarted message from JSON.

func (*ModStarted) UnmarshalVT

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

type PlayerChat added in v0.1.13

type PlayerChat struct {

	// Slot is the speaker's slot.
	Slot int32 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"`
	// Name is the speaker's name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Text is what they said.
	Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

PlayerChat is a line a player said in chat, to everyone or to their team.

func (*PlayerChat) CloneMessageVT added in v0.1.13

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

func (*PlayerChat) CloneVT added in v0.1.13

func (m *PlayerChat) CloneVT() *PlayerChat

func (*PlayerChat) EqualMessageVT added in v0.1.13

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

func (*PlayerChat) EqualVT added in v0.1.13

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

func (*PlayerChat) GetName added in v0.1.13

func (x *PlayerChat) GetName() string

func (*PlayerChat) GetSlot added in v0.1.13

func (x *PlayerChat) GetSlot() int32

func (*PlayerChat) GetText added in v0.1.13

func (x *PlayerChat) GetText() string

func (*PlayerChat) MarshalJSON added in v0.1.13

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

MarshalJSON marshals the PlayerChat to JSON.

func (*PlayerChat) MarshalProtoJSON added in v0.1.13

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

MarshalProtoJSON marshals the PlayerChat message to JSON.

func (*PlayerChat) MarshalProtoText added in v0.1.13

func (x *PlayerChat) MarshalProtoText() string

func (*PlayerChat) MarshalToSizedBufferVT added in v0.1.13

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

func (*PlayerChat) MarshalToVT added in v0.1.13

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

func (*PlayerChat) MarshalVT added in v0.1.13

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

func (*PlayerChat) ProtoMessage added in v0.1.13

func (*PlayerChat) ProtoMessage()

func (*PlayerChat) Reset added in v0.1.13

func (x *PlayerChat) Reset()

func (*PlayerChat) SizeVT added in v0.1.13

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

func (*PlayerChat) String added in v0.1.13

func (x *PlayerChat) String() string

func (*PlayerChat) UnmarshalJSON added in v0.1.13

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

UnmarshalJSON unmarshals the PlayerChat from JSON.

func (*PlayerChat) UnmarshalProtoJSON added in v0.1.13

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

UnmarshalProtoJSON unmarshals the PlayerChat message from JSON.

func (*PlayerChat) UnmarshalVT added in v0.1.13

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

type PlayerJoined

type PlayerJoined struct {

	// Slot is the player's slot.
	Slot int32 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"`
	// Name is the player's name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// SteamId is the player's Steam ID, zero for a bot.
	SteamId uint64 `protobuf:"fixed64,3,opt,name=steam_id,json=steamId,proto3" json:"steamId,omitempty"`
	// Generation is the slot's connection generation, as mods see it in a
	// Connection; zero from a host that does not report it. A controller that
	// answers calls naming a generation refuses them all when it is zero.
	Generation uint32 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"`
	// Address is the ip:port the player's packets come from, such as
	// 127.0.0.1:27006, which tells a controller which of its forwarded links
	// carries the player; empty from a host that does not report it.
	Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

PlayerJoined identifies a player who joined.

func (*PlayerJoined) CloneMessageVT

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

func (*PlayerJoined) CloneVT

func (m *PlayerJoined) CloneVT() *PlayerJoined

func (*PlayerJoined) EqualMessageVT

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

func (*PlayerJoined) EqualVT

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

func (*PlayerJoined) GetAddress

func (x *PlayerJoined) GetAddress() string

func (*PlayerJoined) GetGeneration added in v0.1.86

func (x *PlayerJoined) GetGeneration() uint32

func (*PlayerJoined) GetName

func (x *PlayerJoined) GetName() string

func (*PlayerJoined) GetSlot

func (x *PlayerJoined) GetSlot() int32

func (*PlayerJoined) GetSteamId

func (x *PlayerJoined) GetSteamId() uint64

func (*PlayerJoined) MarshalJSON

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

MarshalJSON marshals the PlayerJoined to JSON.

func (*PlayerJoined) MarshalProtoJSON

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

MarshalProtoJSON marshals the PlayerJoined message to JSON.

func (*PlayerJoined) MarshalProtoText

func (x *PlayerJoined) MarshalProtoText() string

func (*PlayerJoined) MarshalToSizedBufferVT

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

func (*PlayerJoined) MarshalToVT

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

func (*PlayerJoined) MarshalVT

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

func (*PlayerJoined) ProtoMessage

func (*PlayerJoined) ProtoMessage()

func (*PlayerJoined) Reset

func (x *PlayerJoined) Reset()

func (*PlayerJoined) SizeVT

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

func (*PlayerJoined) String

func (x *PlayerJoined) String() string

func (*PlayerJoined) UnmarshalJSON

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

UnmarshalJSON unmarshals the PlayerJoined from JSON.

func (*PlayerJoined) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the PlayerJoined message from JSON.

func (*PlayerJoined) UnmarshalVT

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

type PlayerLeft

type PlayerLeft struct {

	// Slot is the player's former slot.
	Slot int32 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"`
	// contains filtered or unexported fields
}

PlayerLeft identifies a player who left. Bots leave too; a controller drops a slot it never saw join.

func (*PlayerLeft) CloneMessageVT

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

func (*PlayerLeft) CloneVT

func (m *PlayerLeft) CloneVT() *PlayerLeft

func (*PlayerLeft) EqualMessageVT

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

func (*PlayerLeft) EqualVT

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

func (*PlayerLeft) GetSlot

func (x *PlayerLeft) GetSlot() int32

func (*PlayerLeft) MarshalJSON

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

MarshalJSON marshals the PlayerLeft to JSON.

func (*PlayerLeft) MarshalProtoJSON

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

MarshalProtoJSON marshals the PlayerLeft message to JSON.

func (*PlayerLeft) MarshalProtoText

func (x *PlayerLeft) MarshalProtoText() string

func (*PlayerLeft) MarshalToSizedBufferVT

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

func (*PlayerLeft) MarshalToVT

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

func (*PlayerLeft) MarshalVT

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

func (*PlayerLeft) ProtoMessage

func (*PlayerLeft) ProtoMessage()

func (*PlayerLeft) Reset

func (x *PlayerLeft) Reset()

func (*PlayerLeft) SizeVT

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

func (*PlayerLeft) String

func (x *PlayerLeft) String() string

func (*PlayerLeft) UnmarshalJSON

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

UnmarshalJSON unmarshals the PlayerLeft from JSON.

func (*PlayerLeft) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the PlayerLeft message from JSON.

func (*PlayerLeft) UnmarshalVT

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

type PlayerMessage

type PlayerMessage struct {

	// Mod is the name of the mod that showed it.
	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"`
	// Kind is where the message shows.
	Kind MessageKind `protobuf:"varint,3,opt,name=kind,proto3" json:"kind,omitempty"`
	// Title heads an announcement.
	Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
	// Text is the message; empty center text clears it.
	Text string `protobuf:"bytes,5,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

PlayerMessage is a message a mod showed one player.

func (*PlayerMessage) CloneMessageVT

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

func (*PlayerMessage) CloneVT

func (m *PlayerMessage) CloneVT() *PlayerMessage

func (*PlayerMessage) EqualMessageVT

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

func (*PlayerMessage) EqualVT

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

func (*PlayerMessage) GetKind

func (x *PlayerMessage) GetKind() MessageKind

func (*PlayerMessage) GetMod

func (x *PlayerMessage) GetMod() string

func (*PlayerMessage) GetSlot

func (x *PlayerMessage) GetSlot() int32

func (*PlayerMessage) GetText

func (x *PlayerMessage) GetText() string

func (*PlayerMessage) GetTitle

func (x *PlayerMessage) GetTitle() string

func (*PlayerMessage) MarshalJSON

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

MarshalJSON marshals the PlayerMessage to JSON.

func (*PlayerMessage) MarshalProtoJSON

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

MarshalProtoJSON marshals the PlayerMessage message to JSON.

func (*PlayerMessage) MarshalProtoText

func (x *PlayerMessage) MarshalProtoText() string

func (*PlayerMessage) MarshalToSizedBufferVT

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

func (*PlayerMessage) MarshalToVT

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

func (*PlayerMessage) MarshalVT

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

func (*PlayerMessage) ProtoMessage

func (*PlayerMessage) ProtoMessage()

func (*PlayerMessage) Reset

func (x *PlayerMessage) Reset()

func (*PlayerMessage) SizeVT

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

func (*PlayerMessage) String

func (x *PlayerMessage) String() string

func (*PlayerMessage) UnmarshalJSON

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

UnmarshalJSON unmarshals the PlayerMessage from JSON.

func (*PlayerMessage) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the PlayerMessage message from JSON.

func (*PlayerMessage) UnmarshalVT

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

type ReloadRequest

type ReloadRequest struct {

	// Path is the built mod to load: a directory with mod.json or a .wasm file,
	// as the host sees it.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

ReloadRequest replaces one mod in place. The mod keeps its place among the host's plugins; its old instance stops and the new build starts.

func (*ReloadRequest) CloneMessageVT

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

func (*ReloadRequest) CloneVT

func (m *ReloadRequest) CloneVT() *ReloadRequest

func (*ReloadRequest) EqualMessageVT

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

func (*ReloadRequest) EqualVT

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

func (*ReloadRequest) GetPath

func (x *ReloadRequest) GetPath() string

func (*ReloadRequest) MarshalJSON

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

MarshalJSON marshals the ReloadRequest to JSON.

func (*ReloadRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the ReloadRequest message to JSON.

func (*ReloadRequest) MarshalProtoText

func (x *ReloadRequest) MarshalProtoText() string

func (*ReloadRequest) MarshalToSizedBufferVT

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

func (*ReloadRequest) MarshalToVT

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

func (*ReloadRequest) MarshalVT

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

func (*ReloadRequest) ProtoMessage

func (*ReloadRequest) ProtoMessage()

func (*ReloadRequest) Reset

func (x *ReloadRequest) Reset()

func (*ReloadRequest) SizeVT

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

func (*ReloadRequest) String

func (x *ReloadRequest) String() string

func (*ReloadRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the ReloadRequest from JSON.

func (*ReloadRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the ReloadRequest message from JSON.

func (*ReloadRequest) UnmarshalVT

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

type ServerReady

type ServerReady struct {

	// Map is the map the server loaded.
	Map string `protobuf:"bytes,1,opt,name=map,proto3" json:"map,omitempty"`
	// contains filtered or unexported fields
}

ServerReady reports the loaded map.

func (*ServerReady) CloneMessageVT

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

func (*ServerReady) CloneVT

func (m *ServerReady) CloneVT() *ServerReady

func (*ServerReady) EqualMessageVT

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

func (*ServerReady) EqualVT

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

func (*ServerReady) GetMap

func (x *ServerReady) GetMap() string

func (*ServerReady) MarshalJSON

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

MarshalJSON marshals the ServerReady to JSON.

func (*ServerReady) MarshalProtoJSON

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

MarshalProtoJSON marshals the ServerReady message to JSON.

func (*ServerReady) MarshalProtoText

func (x *ServerReady) MarshalProtoText() string

func (*ServerReady) MarshalToSizedBufferVT

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

func (*ServerReady) MarshalToVT

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

func (*ServerReady) MarshalVT

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

func (*ServerReady) ProtoMessage

func (*ServerReady) ProtoMessage()

func (*ServerReady) Reset

func (x *ServerReady) Reset()

func (*ServerReady) SizeVT

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

func (*ServerReady) String

func (x *ServerReady) String() string

func (*ServerReady) UnmarshalJSON

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

UnmarshalJSON unmarshals the ServerReady from JSON.

func (*ServerReady) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the ServerReady message from JSON.

func (*ServerReady) UnmarshalVT

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

type ServiceAnswer added in v0.1.86

type ServiceAnswer struct {

	// Id matches the ServiceCall it ends.
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Payload is the reply's bytes when Error is empty.
	Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	// Error, when set, fails the call with this text.
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

ServiceAnswer ends one forwarded ServiceCall with its reply or an error.

func (*ServiceAnswer) CloneMessageVT added in v0.1.86

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

func (*ServiceAnswer) CloneVT added in v0.1.86

func (m *ServiceAnswer) CloneVT() *ServiceAnswer

func (*ServiceAnswer) EqualMessageVT added in v0.1.86

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

func (*ServiceAnswer) EqualVT added in v0.1.86

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

func (*ServiceAnswer) GetError added in v0.1.86

func (x *ServiceAnswer) GetError() string

func (*ServiceAnswer) GetId added in v0.1.86

func (x *ServiceAnswer) GetId() uint64

func (*ServiceAnswer) GetPayload added in v0.1.86

func (x *ServiceAnswer) GetPayload() []byte

func (*ServiceAnswer) MarshalJSON added in v0.1.86

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

MarshalJSON marshals the ServiceAnswer to JSON.

func (*ServiceAnswer) MarshalProtoJSON added in v0.1.86

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

MarshalProtoJSON marshals the ServiceAnswer message to JSON.

func (*ServiceAnswer) MarshalProtoText added in v0.1.86

func (x *ServiceAnswer) MarshalProtoText() string

func (*ServiceAnswer) MarshalToSizedBufferVT added in v0.1.86

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

func (*ServiceAnswer) MarshalToVT added in v0.1.86

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

func (*ServiceAnswer) MarshalVT added in v0.1.86

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

func (*ServiceAnswer) ProtoMessage added in v0.1.86

func (*ServiceAnswer) ProtoMessage()

func (*ServiceAnswer) Reset added in v0.1.86

func (x *ServiceAnswer) Reset()

func (*ServiceAnswer) SizeVT added in v0.1.86

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

func (*ServiceAnswer) String added in v0.1.86

func (x *ServiceAnswer) String() string

func (*ServiceAnswer) UnmarshalJSON added in v0.1.86

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

UnmarshalJSON unmarshals the ServiceAnswer from JSON.

func (*ServiceAnswer) UnmarshalProtoJSON added in v0.1.86

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

UnmarshalProtoJSON unmarshals the ServiceAnswer message from JSON.

func (*ServiceAnswer) UnmarshalVT added in v0.1.86

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

type ServiceCall added in v0.1.86

type ServiceCall struct {

	// Id names the call in the Answer that ends it.
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Mod is the slug of the calling mod.
	Mod string `protobuf:"bytes,2,opt,name=mod,proto3" json:"mod,omitempty"`
	// Service and Method select the call.
	Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"`
	Method  string `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"`
	// Payload is the call's bytes, opaque to Modlock.
	Payload []byte `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

ServiceCall is one started call of a forwarded service, for the controller to answer.

func (*ServiceCall) CloneMessageVT added in v0.1.86

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

func (*ServiceCall) CloneVT added in v0.1.86

func (m *ServiceCall) CloneVT() *ServiceCall

func (*ServiceCall) EqualMessageVT added in v0.1.86

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

func (*ServiceCall) EqualVT added in v0.1.86

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

func (*ServiceCall) GetId added in v0.1.86

func (x *ServiceCall) GetId() uint64

func (*ServiceCall) GetMethod added in v0.1.86

func (x *ServiceCall) GetMethod() string

func (*ServiceCall) GetMod added in v0.1.86

func (x *ServiceCall) GetMod() string

func (*ServiceCall) GetPayload added in v0.1.86

func (x *ServiceCall) GetPayload() []byte

func (*ServiceCall) GetService added in v0.1.86

func (x *ServiceCall) GetService() string

func (*ServiceCall) MarshalJSON added in v0.1.86

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

MarshalJSON marshals the ServiceCall to JSON.

func (*ServiceCall) MarshalProtoJSON added in v0.1.86

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

MarshalProtoJSON marshals the ServiceCall message to JSON.

func (*ServiceCall) MarshalProtoText added in v0.1.86

func (x *ServiceCall) MarshalProtoText() string

func (*ServiceCall) MarshalToSizedBufferVT added in v0.1.86

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

func (*ServiceCall) MarshalToVT added in v0.1.86

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

func (*ServiceCall) MarshalVT added in v0.1.86

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

func (*ServiceCall) ProtoMessage added in v0.1.86

func (*ServiceCall) ProtoMessage()

func (*ServiceCall) Reset added in v0.1.86

func (x *ServiceCall) Reset()

func (*ServiceCall) SizeVT added in v0.1.86

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

func (*ServiceCall) String added in v0.1.86

func (x *ServiceCall) String() string

func (*ServiceCall) UnmarshalJSON added in v0.1.86

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

UnmarshalJSON unmarshals the ServiceCall from JSON.

func (*ServiceCall) UnmarshalProtoJSON added in v0.1.86

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

UnmarshalProtoJSON unmarshals the ServiceCall message from JSON.

func (*ServiceCall) UnmarshalVT added in v0.1.86

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

type ServiceReply added in v0.1.72

type ServiceReply struct {

	// Mod is the running mod's slug.
	Mod string `protobuf:"bytes,1,opt,name=mod,proto3" json:"mod,omitempty"`
	// Service and Method select the extension call this answer serves.
	Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	Method  string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
	// Payload is the service's encoded answer, opaque to Modlock.
	Payload []byte `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
	// Path is the local build to reload after installing the answer.
	Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
	// Id identifies this applied configuration, opaque to the host.
	Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

ServiceReply supplies a host extension's answer for one mod. The controller sends it only when an applied configuration changes; the mod restarts after the host installs the answer.

func (*ServiceReply) CloneMessageVT added in v0.1.72

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

func (*ServiceReply) CloneVT added in v0.1.72

func (m *ServiceReply) CloneVT() *ServiceReply

func (*ServiceReply) EqualMessageVT added in v0.1.72

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

func (*ServiceReply) EqualVT added in v0.1.72

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

func (*ServiceReply) GetId added in v0.1.72

func (x *ServiceReply) GetId() string

func (*ServiceReply) GetMethod added in v0.1.72

func (x *ServiceReply) GetMethod() string

func (*ServiceReply) GetMod added in v0.1.72

func (x *ServiceReply) GetMod() string

func (*ServiceReply) GetPath added in v0.1.72

func (x *ServiceReply) GetPath() string

func (*ServiceReply) GetPayload added in v0.1.72

func (x *ServiceReply) GetPayload() []byte

func (*ServiceReply) GetService added in v0.1.72

func (x *ServiceReply) GetService() string

func (*ServiceReply) MarshalJSON added in v0.1.72

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

MarshalJSON marshals the ServiceReply to JSON.

func (*ServiceReply) MarshalProtoJSON added in v0.1.72

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

MarshalProtoJSON marshals the ServiceReply message to JSON.

func (*ServiceReply) MarshalProtoText added in v0.1.72

func (x *ServiceReply) MarshalProtoText() string

func (*ServiceReply) MarshalToSizedBufferVT added in v0.1.72

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

func (*ServiceReply) MarshalToVT added in v0.1.72

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

func (*ServiceReply) MarshalVT added in v0.1.72

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

func (*ServiceReply) ProtoMessage added in v0.1.72

func (*ServiceReply) ProtoMessage()

func (*ServiceReply) Reset added in v0.1.72

func (x *ServiceReply) Reset()

func (*ServiceReply) SizeVT added in v0.1.72

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

func (*ServiceReply) String added in v0.1.72

func (x *ServiceReply) String() string

func (*ServiceReply) UnmarshalJSON added in v0.1.72

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

UnmarshalJSON unmarshals the ServiceReply from JSON.

func (*ServiceReply) UnmarshalProtoJSON added in v0.1.72

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

UnmarshalProtoJSON unmarshals the ServiceReply message from JSON.

func (*ServiceReply) UnmarshalVT added in v0.1.72

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

type ServiceResult added in v0.1.72

type ServiceResult struct {

	// Id matches the ServiceReply this result confirms.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Error is empty when the mod restarted with the new configuration.
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

ServiceResult acknowledges adoption of one cached service configuration.

func (*ServiceResult) CloneMessageVT added in v0.1.72

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

func (*ServiceResult) CloneVT added in v0.1.72

func (m *ServiceResult) CloneVT() *ServiceResult

func (*ServiceResult) EqualMessageVT added in v0.1.72

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

func (*ServiceResult) EqualVT added in v0.1.72

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

func (*ServiceResult) GetError added in v0.1.72

func (x *ServiceResult) GetError() string

func (*ServiceResult) GetId added in v0.1.72

func (x *ServiceResult) GetId() string

func (*ServiceResult) MarshalJSON added in v0.1.72

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

MarshalJSON marshals the ServiceResult to JSON.

func (*ServiceResult) MarshalProtoJSON added in v0.1.72

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

MarshalProtoJSON marshals the ServiceResult message to JSON.

func (*ServiceResult) MarshalProtoText added in v0.1.72

func (x *ServiceResult) MarshalProtoText() string

func (*ServiceResult) MarshalToSizedBufferVT added in v0.1.72

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

func (*ServiceResult) MarshalToVT added in v0.1.72

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

func (*ServiceResult) MarshalVT added in v0.1.72

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

func (*ServiceResult) ProtoMessage added in v0.1.72

func (*ServiceResult) ProtoMessage()

func (*ServiceResult) Reset added in v0.1.72

func (x *ServiceResult) Reset()

func (*ServiceResult) SizeVT added in v0.1.72

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

func (*ServiceResult) String added in v0.1.72

func (x *ServiceResult) String() string

func (*ServiceResult) UnmarshalJSON added in v0.1.72

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

UnmarshalJSON unmarshals the ServiceResult from JSON.

func (*ServiceResult) UnmarshalProtoJSON added in v0.1.72

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

UnmarshalProtoJSON unmarshals the ServiceResult message from JSON.

func (*ServiceResult) UnmarshalVT added in v0.1.72

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

type UiChanged

type UiChanged 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"`
	// Change updates the player's tree for the mod.
	Change *ui.Change `protobuf:"bytes,3,opt,name=change,proto3" json:"change,omitempty"`
	// contains filtered or unexported fields
}

UiChanged carries a change to the interface a mod shows a player.

func (*UiChanged) CloneMessageVT

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

func (*UiChanged) CloneVT

func (m *UiChanged) CloneVT() *UiChanged

func (*UiChanged) EqualMessageVT

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

func (*UiChanged) EqualVT

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

func (*UiChanged) GetChange

func (x *UiChanged) GetChange() *ui.Change

func (*UiChanged) GetMod

func (x *UiChanged) GetMod() string

func (*UiChanged) GetSlot

func (x *UiChanged) GetSlot() int32

func (*UiChanged) MarshalJSON

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

MarshalJSON marshals the UiChanged to JSON.

func (*UiChanged) MarshalProtoJSON

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

MarshalProtoJSON marshals the UiChanged message to JSON.

func (*UiChanged) MarshalProtoText

func (x *UiChanged) MarshalProtoText() string

func (*UiChanged) MarshalToSizedBufferVT

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

func (*UiChanged) MarshalToVT

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

func (*UiChanged) MarshalVT

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

func (*UiChanged) ProtoMessage

func (*UiChanged) ProtoMessage()

func (*UiChanged) Reset

func (x *UiChanged) Reset()

func (*UiChanged) SizeVT

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

func (*UiChanged) String

func (x *UiChanged) String() string

func (*UiChanged) UnmarshalJSON

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

UnmarshalJSON unmarshals the UiChanged from JSON.

func (*UiChanged) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the UiChanged message from JSON.

func (*UiChanged) UnmarshalVT

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

Jump to

Keyboard shortcuts

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