Documentation
¶
Index ¶
- type Call
- func (m *Call) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Call) CloneVT() *Call
- func (this *Call) EqualMessageVT(thatMsg any) bool
- func (this *Call) EqualVT(that *Call) bool
- func (x *Call) GetMethod() string
- func (x *Call) GetRequest() []byte
- func (x *Call) MarshalJSON() ([]byte, error)
- func (x *Call) MarshalProtoJSON(s *json.MarshalState)
- func (x *Call) MarshalProtoText() string
- func (m *Call) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Call) MarshalToVT(dAtA []byte) (int, error)
- func (m *Call) MarshalVT() (dAtA []byte, err error)
- func (*Call) ProtoMessage()
- func (x *Call) Reset()
- func (m *Call) SizeVT() (n int)
- func (x *Call) String() string
- func (x *Call) UnmarshalJSON(b []byte) error
- func (x *Call) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Call) UnmarshalVT(dAtA []byte) error
- type ChatEvent
- func (m *ChatEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ChatEvent) CloneVT() *ChatEvent
- func (this *ChatEvent) EqualMessageVT(thatMsg any) bool
- func (this *ChatEvent) EqualVT(that *ChatEvent) bool
- func (x *ChatEvent) GetAll() bool
- func (x *ChatEvent) GetLane() int32
- func (x *ChatEvent) GetPlayer() int32
- func (x *ChatEvent) GetText() string
- func (x *ChatEvent) MarshalJSON() ([]byte, error)
- func (x *ChatEvent) MarshalProtoJSON(s *json.MarshalState)
- func (x *ChatEvent) MarshalProtoText() string
- func (m *ChatEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ChatEvent) MarshalToVT(dAtA []byte) (int, error)
- func (m *ChatEvent) MarshalVT() (dAtA []byte, err error)
- func (*ChatEvent) ProtoMessage()
- func (x *ChatEvent) Reset()
- func (m *ChatEvent) SizeVT() (n int)
- func (x *ChatEvent) String() string
- func (x *ChatEvent) UnmarshalJSON(b []byte) error
- func (x *ChatEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *ChatEvent) UnmarshalVT(dAtA []byte) error
- type CommandEvent
- func (m *CommandEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *CommandEvent) CloneVT() *CommandEvent
- func (this *CommandEvent) EqualMessageVT(thatMsg any) bool
- func (this *CommandEvent) EqualVT(that *CommandEvent) bool
- func (x *CommandEvent) GetLine() string
- func (x *CommandEvent) GetPlayer() int32
- func (x *CommandEvent) MarshalJSON() ([]byte, error)
- func (x *CommandEvent) MarshalProtoJSON(s *json.MarshalState)
- func (x *CommandEvent) MarshalProtoText() string
- func (m *CommandEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CommandEvent) MarshalToVT(dAtA []byte) (int, error)
- func (m *CommandEvent) MarshalVT() (dAtA []byte, err error)
- func (*CommandEvent) ProtoMessage()
- func (x *CommandEvent) Reset()
- func (m *CommandEvent) SizeVT() (n int)
- func (x *CommandEvent) String() string
- func (x *CommandEvent) UnmarshalJSON(b []byte) error
- func (x *CommandEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *CommandEvent) UnmarshalVT(dAtA []byte) error
- type CommandResult
- func (m *CommandResult) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *CommandResult) CloneVT() *CommandResult
- func (this *CommandResult) EqualMessageVT(thatMsg any) bool
- func (this *CommandResult) EqualVT(that *CommandResult) bool
- func (x *CommandResult) GetClaimed() bool
- func (x *CommandResult) MarshalJSON() ([]byte, error)
- func (x *CommandResult) MarshalProtoJSON(s *json.MarshalState)
- func (x *CommandResult) MarshalProtoText() string
- func (m *CommandResult) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CommandResult) MarshalToVT(dAtA []byte) (int, error)
- func (m *CommandResult) MarshalVT() (dAtA []byte, err error)
- func (*CommandResult) ProtoMessage()
- func (x *CommandResult) Reset()
- func (m *CommandResult) SizeVT() (n int)
- func (x *CommandResult) String() string
- func (x *CommandResult) UnmarshalJSON(b []byte) error
- func (x *CommandResult) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *CommandResult) UnmarshalVT(dAtA []byte) error
- type Empty
- func (m *Empty) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Empty) CloneVT() *Empty
- func (this *Empty) EqualMessageVT(thatMsg any) bool
- func (this *Empty) EqualVT(that *Empty) bool
- func (x *Empty) MarshalJSON() ([]byte, error)
- func (x *Empty) MarshalProtoJSON(s *json.MarshalState)
- func (x *Empty) MarshalProtoText() string
- func (m *Empty) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Empty) MarshalToVT(dAtA []byte) (int, error)
- func (m *Empty) MarshalVT() (dAtA []byte, err error)
- func (*Empty) ProtoMessage()
- func (x *Empty) Reset()
- func (m *Empty) SizeVT() (n int)
- func (x *Empty) String() string
- func (x *Empty) UnmarshalJSON(b []byte) error
- func (x *Empty) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Empty) UnmarshalVT(dAtA []byte) error
- type FrameEvent
- func (m *FrameEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *FrameEvent) CloneVT() *FrameEvent
- func (this *FrameEvent) EqualMessageVT(thatMsg any) bool
- func (this *FrameEvent) EqualVT(that *FrameEvent) bool
- func (x *FrameEvent) GetMovement() []*movement.MovementSample
- func (x *FrameEvent) GetTick() uint64
- func (x *FrameEvent) GetTimeSeconds() float64
- func (x *FrameEvent) MarshalJSON() ([]byte, error)
- func (x *FrameEvent) MarshalProtoJSON(s *json.MarshalState)
- func (x *FrameEvent) MarshalProtoText() string
- func (m *FrameEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FrameEvent) MarshalToVT(dAtA []byte) (int, error)
- func (m *FrameEvent) MarshalVT() (dAtA []byte, err error)
- func (*FrameEvent) ProtoMessage()
- func (x *FrameEvent) Reset()
- func (m *FrameEvent) SizeVT() (n int)
- func (x *FrameEvent) String() string
- func (x *FrameEvent) UnmarshalJSON(b []byte) error
- func (x *FrameEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *FrameEvent) UnmarshalVT(dAtA []byte) error
- type LogRequest
- func (m *LogRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *LogRequest) CloneVT() *LogRequest
- func (this *LogRequest) EqualMessageVT(thatMsg any) bool
- func (this *LogRequest) EqualVT(that *LogRequest) bool
- func (x *LogRequest) GetMessage() string
- func (x *LogRequest) MarshalJSON() ([]byte, error)
- func (x *LogRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *LogRequest) MarshalProtoText() string
- func (m *LogRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LogRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *LogRequest) MarshalVT() (dAtA []byte, err error)
- func (*LogRequest) ProtoMessage()
- func (x *LogRequest) Reset()
- func (m *LogRequest) SizeVT() (n int)
- func (x *LogRequest) String() string
- func (x *LogRequest) UnmarshalJSON(b []byte) error
- func (x *LogRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *LogRequest) UnmarshalVT(dAtA []byte) error
- type PrecacheOptions
- func (m *PrecacheOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *PrecacheOptions) CloneVT() *PrecacheOptions
- func (this *PrecacheOptions) EqualMessageVT(thatMsg any) bool
- func (this *PrecacheOptions) EqualVT(that *PrecacheOptions) bool
- func (x *PrecacheOptions) GetHeroes() []string
- func (x *PrecacheOptions) GetResources() []string
- func (x *PrecacheOptions) MarshalJSON() ([]byte, error)
- func (x *PrecacheOptions) MarshalProtoJSON(s *json.MarshalState)
- func (x *PrecacheOptions) MarshalProtoText() string
- func (m *PrecacheOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PrecacheOptions) MarshalToVT(dAtA []byte) (int, error)
- func (m *PrecacheOptions) MarshalVT() (dAtA []byte, err error)
- func (*PrecacheOptions) ProtoMessage()
- func (x *PrecacheOptions) Reset()
- func (m *PrecacheOptions) SizeVT() (n int)
- func (x *PrecacheOptions) String() string
- func (x *PrecacheOptions) UnmarshalJSON(b []byte) error
- func (x *PrecacheOptions) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *PrecacheOptions) UnmarshalVT(dAtA []byte) error
- type Reply
- func (m *Reply) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Reply) CloneVT() *Reply
- func (this *Reply) EqualMessageVT(thatMsg any) bool
- func (this *Reply) EqualVT(that *Reply) bool
- func (x *Reply) GetError() string
- func (x *Reply) GetResponse() []byte
- func (x *Reply) MarshalJSON() ([]byte, error)
- func (x *Reply) MarshalProtoJSON(s *json.MarshalState)
- func (x *Reply) MarshalProtoText() string
- func (m *Reply) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Reply) MarshalToVT(dAtA []byte) (int, error)
- func (m *Reply) MarshalVT() (dAtA []byte, err error)
- func (*Reply) ProtoMessage()
- func (x *Reply) Reset()
- func (m *Reply) SizeVT() (n int)
- func (x *Reply) String() string
- func (x *Reply) UnmarshalJSON(b []byte) error
- func (x *Reply) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Reply) UnmarshalVT(dAtA []byte) error
- type ServerCommandRequest
- func (m *ServerCommandRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ServerCommandRequest) CloneVT() *ServerCommandRequest
- func (this *ServerCommandRequest) EqualMessageVT(thatMsg any) bool
- func (this *ServerCommandRequest) EqualVT(that *ServerCommandRequest) bool
- func (x *ServerCommandRequest) GetCommand() string
- func (x *ServerCommandRequest) MarshalJSON() ([]byte, error)
- func (x *ServerCommandRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *ServerCommandRequest) MarshalProtoText() string
- func (m *ServerCommandRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ServerCommandRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ServerCommandRequest) MarshalVT() (dAtA []byte, err error)
- func (*ServerCommandRequest) ProtoMessage()
- func (x *ServerCommandRequest) Reset()
- func (m *ServerCommandRequest) SizeVT() (n int)
- func (x *ServerCommandRequest) String() string
- func (x *ServerCommandRequest) UnmarshalJSON(b []byte) error
- func (x *ServerCommandRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *ServerCommandRequest) UnmarshalVT(dAtA []byte) error
- type ServiceCall
- func (m *ServiceCall) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ServiceCall) CloneVT() *ServiceCall
- func (this *ServiceCall) EqualMessageVT(thatMsg any) bool
- func (this *ServiceCall) EqualVT(that *ServiceCall) bool
- func (x *ServiceCall) GetMethod() string
- func (x *ServiceCall) GetPayload() []byte
- func (x *ServiceCall) GetService() string
- func (x *ServiceCall) MarshalJSON() ([]byte, error)
- func (x *ServiceCall) MarshalProtoJSON(s *json.MarshalState)
- func (x *ServiceCall) MarshalProtoText() string
- func (m *ServiceCall) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ServiceCall) MarshalToVT(dAtA []byte) (int, error)
- func (m *ServiceCall) MarshalVT() (dAtA []byte, err error)
- func (*ServiceCall) ProtoMessage()
- func (x *ServiceCall) Reset()
- func (m *ServiceCall) SizeVT() (n int)
- func (x *ServiceCall) String() string
- func (x *ServiceCall) UnmarshalJSON(b []byte) error
- func (x *ServiceCall) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *ServiceCall) UnmarshalVT(dAtA []byte) error
- type ServiceReply
- func (m *ServiceReply) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ServiceReply) CloneVT() *ServiceReply
- func (this *ServiceReply) EqualMessageVT(thatMsg any) bool
- func (this *ServiceReply) EqualVT(that *ServiceReply) bool
- func (x *ServiceReply) GetPayload() []byte
- func (x *ServiceReply) MarshalJSON() ([]byte, error)
- func (x *ServiceReply) MarshalProtoJSON(s *json.MarshalState)
- func (x *ServiceReply) MarshalProtoText() string
- func (m *ServiceReply) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ServiceReply) MarshalToVT(dAtA []byte) (int, error)
- func (m *ServiceReply) MarshalVT() (dAtA []byte, err error)
- func (*ServiceReply) ProtoMessage()
- func (x *ServiceReply) Reset()
- func (m *ServiceReply) SizeVT() (n int)
- func (x *ServiceReply) String() string
- func (x *ServiceReply) UnmarshalJSON(b []byte) error
- func (x *ServiceReply) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *ServiceReply) UnmarshalVT(dAtA []byte) error
- type StartEvent
- func (m *StartEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *StartEvent) CloneVT() *StartEvent
- func (this *StartEvent) EqualMessageVT(thatMsg any) bool
- func (this *StartEvent) EqualVT(that *StartEvent) bool
- func (x *StartEvent) GetArgs() []string
- func (x *StartEvent) GetCheckOnly() bool
- func (x *StartEvent) GetSource() []byte
- func (x *StartEvent) MarshalJSON() ([]byte, error)
- func (x *StartEvent) MarshalProtoJSON(s *json.MarshalState)
- func (x *StartEvent) MarshalProtoText() string
- func (m *StartEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StartEvent) MarshalToVT(dAtA []byte) (int, error)
- func (m *StartEvent) MarshalVT() (dAtA []byte, err error)
- func (*StartEvent) ProtoMessage()
- func (x *StartEvent) Reset()
- func (m *StartEvent) SizeVT() (n int)
- func (x *StartEvent) String() string
- func (x *StartEvent) UnmarshalJSON(b []byte) error
- func (x *StartEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *StartEvent) UnmarshalVT(dAtA []byte) error
- type StartResult
- func (m *StartResult) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *StartResult) CloneVT() *StartResult
- func (this *StartResult) EqualMessageVT(thatMsg any) bool
- func (this *StartResult) EqualVT(that *StartResult) bool
- func (x *StartResult) GetChat() bool
- func (x *StartResult) GetDamage() bool
- func (x *StartResult) GetDamaged() bool
- func (x *StartResult) GetFrames() bool
- func (x *StartResult) MarshalJSON() ([]byte, error)
- func (x *StartResult) MarshalProtoJSON(s *json.MarshalState)
- func (x *StartResult) MarshalProtoText() string
- func (m *StartResult) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StartResult) MarshalToVT(dAtA []byte) (int, error)
- func (m *StartResult) MarshalVT() (dAtA []byte, err error)
- func (*StartResult) ProtoMessage()
- func (x *StartResult) Reset()
- func (m *StartResult) SizeVT() (n int)
- func (x *StartResult) String() string
- func (x *StartResult) UnmarshalJSON(b []byte) error
- func (x *StartResult) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *StartResult) UnmarshalVT(dAtA []byte) error
- type WorldEvent
- func (m *WorldEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *WorldEvent) CloneVT() *WorldEvent
- func (this *WorldEvent) EqualMessageVT(thatMsg any) bool
- func (this *WorldEvent) EqualVT(that *WorldEvent) bool
- func (x *WorldEvent) GetMap() string
- func (x *WorldEvent) MarshalJSON() ([]byte, error)
- func (x *WorldEvent) MarshalProtoJSON(s *json.MarshalState)
- func (x *WorldEvent) MarshalProtoText() string
- func (m *WorldEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *WorldEvent) MarshalToVT(dAtA []byte) (int, error)
- func (m *WorldEvent) MarshalVT() (dAtA []byte, err error)
- func (*WorldEvent) ProtoMessage()
- func (x *WorldEvent) Reset()
- func (m *WorldEvent) SizeVT() (n int)
- func (x *WorldEvent) String() string
- func (x *WorldEvent) UnmarshalJSON(b []byte) error
- func (x *WorldEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *WorldEvent) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Call ¶
type Call struct {
// Method names the method, such as "Chat".
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
// Request is the method's encoded request.
Request []byte `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
// contains filtered or unexported fields
}
Call is one method call across the boundary: a mod calling the game through modlock.host_call, or the game delivering an event through the mod's modlock_event export.
func (*Call) CloneMessageVT ¶
func (m *Call) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Call) EqualMessageVT ¶
func (*Call) GetRequest ¶
func (*Call) MarshalJSON ¶
MarshalJSON marshals the Call to JSON.
func (*Call) MarshalProtoJSON ¶
func (x *Call) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Call message to JSON.
func (*Call) MarshalProtoText ¶
func (*Call) MarshalToSizedBufferVT ¶
func (*Call) ProtoMessage ¶
func (*Call) ProtoMessage()
func (*Call) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Call from JSON.
func (*Call) UnmarshalProtoJSON ¶
func (x *Call) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Call message from JSON.
func (*Call) UnmarshalVT ¶
type ChatEvent ¶ added in v0.1.50
type ChatEvent struct {
// Player is the player who wrote the line.
Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
// Text is the line as written.
Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
// All is true for chat every player reads, false for team chat.
All bool `protobuf:"varint,3,opt,name=all,proto3" json:"all,omitempty"`
// Lane is the CMsgLaneColor of the lane the line pings: 1 yellow, 3
// green, 4 blue, 6 purple, or 0 for none.
Lane int32 `protobuf:"varint,4,opt,name=lane,proto3" json:"lane,omitempty"`
// contains filtered or unexported fields
}
ChatEvent carries one chat line as the server accepted it, commands included.
func (*ChatEvent) CloneMessageVT ¶ added in v0.1.50
func (m *ChatEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ChatEvent) EqualMessageVT ¶ added in v0.1.50
func (*ChatEvent) MarshalJSON ¶ added in v0.1.50
MarshalJSON marshals the ChatEvent to JSON.
func (*ChatEvent) MarshalProtoJSON ¶ added in v0.1.50
func (x *ChatEvent) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ChatEvent message to JSON.
func (*ChatEvent) MarshalProtoText ¶ added in v0.1.50
func (*ChatEvent) MarshalToSizedBufferVT ¶ added in v0.1.50
func (*ChatEvent) MarshalToVT ¶ added in v0.1.50
func (*ChatEvent) ProtoMessage ¶ added in v0.1.50
func (*ChatEvent) ProtoMessage()
func (*ChatEvent) UnmarshalJSON ¶ added in v0.1.50
UnmarshalJSON unmarshals the ChatEvent from JSON.
func (*ChatEvent) UnmarshalProtoJSON ¶ added in v0.1.50
func (x *ChatEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ChatEvent message from JSON.
func (*ChatEvent) UnmarshalVT ¶ added in v0.1.50
type CommandEvent ¶
type CommandEvent struct {
// Player is the player who typed the command.
Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
// Line is the complete command line, starting with the command name.
Line string `protobuf:"bytes,2,opt,name=line,proto3" json:"line,omitempty"`
// contains filtered or unexported fields
}
CommandEvent carries one command line from a player: a chat line that starts with a slash (or ".", "+" or "-"), without that prefix, or a console command the server received.
func (*CommandEvent) CloneMessageVT ¶
func (m *CommandEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*CommandEvent) CloneVT ¶
func (m *CommandEvent) CloneVT() *CommandEvent
func (*CommandEvent) EqualMessageVT ¶
func (this *CommandEvent) EqualMessageVT(thatMsg any) bool
func (*CommandEvent) EqualVT ¶
func (this *CommandEvent) EqualVT(that *CommandEvent) bool
func (*CommandEvent) GetLine ¶
func (x *CommandEvent) GetLine() string
func (*CommandEvent) GetPlayer ¶
func (x *CommandEvent) GetPlayer() int32
func (*CommandEvent) MarshalJSON ¶
func (x *CommandEvent) MarshalJSON() ([]byte, error)
MarshalJSON marshals the CommandEvent to JSON.
func (*CommandEvent) MarshalProtoJSON ¶
func (x *CommandEvent) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the CommandEvent message to JSON.
func (*CommandEvent) MarshalProtoText ¶
func (x *CommandEvent) MarshalProtoText() string
func (*CommandEvent) MarshalToSizedBufferVT ¶
func (m *CommandEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CommandEvent) MarshalToVT ¶
func (m *CommandEvent) MarshalToVT(dAtA []byte) (int, error)
func (*CommandEvent) MarshalVT ¶
func (m *CommandEvent) MarshalVT() (dAtA []byte, err error)
func (*CommandEvent) ProtoMessage ¶
func (*CommandEvent) ProtoMessage()
func (*CommandEvent) Reset ¶
func (x *CommandEvent) Reset()
func (*CommandEvent) SizeVT ¶
func (m *CommandEvent) SizeVT() (n int)
func (*CommandEvent) String ¶
func (x *CommandEvent) String() string
func (*CommandEvent) UnmarshalJSON ¶
func (x *CommandEvent) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the CommandEvent from JSON.
func (*CommandEvent) UnmarshalProtoJSON ¶
func (x *CommandEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the CommandEvent message from JSON.
func (*CommandEvent) UnmarshalVT ¶
func (m *CommandEvent) UnmarshalVT(dAtA []byte) error
type CommandResult ¶
type CommandResult struct {
// Claimed ends the command's dispatch; the game and later mods do not see
// it.
Claimed bool `protobuf:"varint,1,opt,name=claimed,proto3" json:"claimed,omitempty"`
// contains filtered or unexported fields
}
CommandResult answers whether the mod handled a command.
func (*CommandResult) CloneMessageVT ¶
func (m *CommandResult) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*CommandResult) CloneVT ¶
func (m *CommandResult) CloneVT() *CommandResult
func (*CommandResult) EqualMessageVT ¶
func (this *CommandResult) EqualMessageVT(thatMsg any) bool
func (*CommandResult) EqualVT ¶
func (this *CommandResult) EqualVT(that *CommandResult) bool
func (*CommandResult) GetClaimed ¶
func (x *CommandResult) GetClaimed() bool
func (*CommandResult) MarshalJSON ¶
func (x *CommandResult) MarshalJSON() ([]byte, error)
MarshalJSON marshals the CommandResult to JSON.
func (*CommandResult) MarshalProtoJSON ¶
func (x *CommandResult) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the CommandResult message to JSON.
func (*CommandResult) MarshalProtoText ¶
func (x *CommandResult) MarshalProtoText() string
func (*CommandResult) MarshalToSizedBufferVT ¶
func (m *CommandResult) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CommandResult) MarshalToVT ¶
func (m *CommandResult) MarshalToVT(dAtA []byte) (int, error)
func (*CommandResult) MarshalVT ¶
func (m *CommandResult) MarshalVT() (dAtA []byte, err error)
func (*CommandResult) ProtoMessage ¶
func (*CommandResult) ProtoMessage()
func (*CommandResult) Reset ¶
func (x *CommandResult) Reset()
func (*CommandResult) SizeVT ¶
func (m *CommandResult) SizeVT() (n int)
func (*CommandResult) String ¶
func (x *CommandResult) String() string
func (*CommandResult) UnmarshalJSON ¶
func (x *CommandResult) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the CommandResult from JSON.
func (*CommandResult) UnmarshalProtoJSON ¶
func (x *CommandResult) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the CommandResult message from JSON.
func (*CommandResult) UnmarshalVT ¶
func (m *CommandResult) UnmarshalVT(dAtA []byte) error
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
Empty is a request or response without fields.
func (*Empty) CloneMessageVT ¶
func (m *Empty) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Empty) EqualMessageVT ¶
func (*Empty) MarshalJSON ¶
MarshalJSON marshals the Empty to JSON.
func (*Empty) MarshalProtoJSON ¶
func (x *Empty) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Empty message to JSON.
func (*Empty) MarshalProtoText ¶
func (*Empty) MarshalToSizedBufferVT ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Empty from JSON.
func (*Empty) UnmarshalProtoJSON ¶
func (x *Empty) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Empty message from JSON.
func (*Empty) UnmarshalVT ¶
type FrameEvent ¶
type FrameEvent struct {
// Tick is the server tick, or zero when the clock is unavailable.
Tick uint64 `protobuf:"varint,1,opt,name=tick,proto3" json:"tick,omitempty"`
// TimeSeconds is the game clock at this frame, in seconds.
TimeSeconds float64 `protobuf:"fixed64,2,opt,name=time_seconds,json=timeSeconds,proto3" json:"timeSeconds,omitempty"`
// Movement holds one sample per watched, live hero when this frame starts a
// new tick, and is empty otherwise.
Movement []*movement.MovementSample `protobuf:"bytes,3,rep,name=movement,proto3" json:"movement,omitempty"`
// contains filtered or unexported fields
}
FrameEvent identifies one server frame.
func (*FrameEvent) CloneMessageVT ¶
func (m *FrameEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*FrameEvent) CloneVT ¶
func (m *FrameEvent) CloneVT() *FrameEvent
func (*FrameEvent) EqualMessageVT ¶
func (this *FrameEvent) EqualMessageVT(thatMsg any) bool
func (*FrameEvent) EqualVT ¶
func (this *FrameEvent) EqualVT(that *FrameEvent) bool
func (*FrameEvent) GetMovement ¶
func (x *FrameEvent) GetMovement() []*movement.MovementSample
func (*FrameEvent) GetTick ¶
func (x *FrameEvent) GetTick() uint64
func (*FrameEvent) GetTimeSeconds ¶
func (x *FrameEvent) GetTimeSeconds() float64
func (*FrameEvent) MarshalJSON ¶
func (x *FrameEvent) MarshalJSON() ([]byte, error)
MarshalJSON marshals the FrameEvent to JSON.
func (*FrameEvent) MarshalProtoJSON ¶
func (x *FrameEvent) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the FrameEvent message to JSON.
func (*FrameEvent) MarshalProtoText ¶
func (x *FrameEvent) MarshalProtoText() string
func (*FrameEvent) MarshalToSizedBufferVT ¶
func (m *FrameEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FrameEvent) MarshalToVT ¶
func (m *FrameEvent) MarshalToVT(dAtA []byte) (int, error)
func (*FrameEvent) MarshalVT ¶
func (m *FrameEvent) MarshalVT() (dAtA []byte, err error)
func (*FrameEvent) ProtoMessage ¶
func (*FrameEvent) ProtoMessage()
func (*FrameEvent) Reset ¶
func (x *FrameEvent) Reset()
func (*FrameEvent) SizeVT ¶
func (m *FrameEvent) SizeVT() (n int)
func (*FrameEvent) String ¶
func (x *FrameEvent) String() string
func (*FrameEvent) UnmarshalJSON ¶
func (x *FrameEvent) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the FrameEvent from JSON.
func (*FrameEvent) UnmarshalProtoJSON ¶
func (x *FrameEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the FrameEvent message from JSON.
func (*FrameEvent) UnmarshalVT ¶
func (m *FrameEvent) UnmarshalVT(dAtA []byte) error
type LogRequest ¶
type LogRequest struct {
// Message is the text to log, without a trailing newline.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
LogRequest carries one log line.
func (*LogRequest) CloneMessageVT ¶
func (m *LogRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*LogRequest) CloneVT ¶
func (m *LogRequest) CloneVT() *LogRequest
func (*LogRequest) EqualMessageVT ¶
func (this *LogRequest) EqualMessageVT(thatMsg any) bool
func (*LogRequest) EqualVT ¶
func (this *LogRequest) EqualVT(that *LogRequest) bool
func (*LogRequest) GetMessage ¶
func (x *LogRequest) GetMessage() string
func (*LogRequest) MarshalJSON ¶
func (x *LogRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the LogRequest to JSON.
func (*LogRequest) MarshalProtoJSON ¶
func (x *LogRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the LogRequest message to JSON.
func (*LogRequest) MarshalProtoText ¶
func (x *LogRequest) MarshalProtoText() string
func (*LogRequest) MarshalToSizedBufferVT ¶
func (m *LogRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LogRequest) MarshalToVT ¶
func (m *LogRequest) MarshalToVT(dAtA []byte) (int, error)
func (*LogRequest) MarshalVT ¶
func (m *LogRequest) MarshalVT() (dAtA []byte, err error)
func (*LogRequest) ProtoMessage ¶
func (*LogRequest) ProtoMessage()
func (*LogRequest) Reset ¶
func (x *LogRequest) Reset()
func (*LogRequest) SizeVT ¶
func (m *LogRequest) SizeVT() (n int)
func (*LogRequest) String ¶
func (x *LogRequest) String() string
func (*LogRequest) UnmarshalJSON ¶
func (x *LogRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the LogRequest from JSON.
func (*LogRequest) UnmarshalProtoJSON ¶
func (x *LogRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the LogRequest message from JSON.
func (*LogRequest) UnmarshalVT ¶
func (m *LogRequest) UnmarshalVT(dAtA []byte) error
type PrecacheOptions ¶
type PrecacheOptions struct {
// Heroes are hero names, such as hero_wraith.
Heroes []string `protobuf:"bytes,1,rep,name=heroes,proto3" json:"heroes,omitempty"`
// Resources are model and particle paths, such as models/props/crate.vmdl,
// with {addon} for the mod's content addon, as in models/{addon}/pawn.vmdl.
Resources []string `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
// contains filtered or unexported fields
}
PrecacheOptions names what the next world loads ahead of use.
func (*PrecacheOptions) CloneMessageVT ¶
func (m *PrecacheOptions) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*PrecacheOptions) CloneVT ¶
func (m *PrecacheOptions) CloneVT() *PrecacheOptions
func (*PrecacheOptions) EqualMessageVT ¶
func (this *PrecacheOptions) EqualMessageVT(thatMsg any) bool
func (*PrecacheOptions) EqualVT ¶
func (this *PrecacheOptions) EqualVT(that *PrecacheOptions) bool
func (*PrecacheOptions) GetHeroes ¶
func (x *PrecacheOptions) GetHeroes() []string
func (*PrecacheOptions) GetResources ¶
func (x *PrecacheOptions) GetResources() []string
func (*PrecacheOptions) MarshalJSON ¶
func (x *PrecacheOptions) MarshalJSON() ([]byte, error)
MarshalJSON marshals the PrecacheOptions to JSON.
func (*PrecacheOptions) MarshalProtoJSON ¶
func (x *PrecacheOptions) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the PrecacheOptions message to JSON.
func (*PrecacheOptions) MarshalProtoText ¶
func (x *PrecacheOptions) MarshalProtoText() string
func (*PrecacheOptions) MarshalToSizedBufferVT ¶
func (m *PrecacheOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PrecacheOptions) MarshalToVT ¶
func (m *PrecacheOptions) MarshalToVT(dAtA []byte) (int, error)
func (*PrecacheOptions) MarshalVT ¶
func (m *PrecacheOptions) MarshalVT() (dAtA []byte, err error)
func (*PrecacheOptions) ProtoMessage ¶
func (*PrecacheOptions) ProtoMessage()
func (*PrecacheOptions) Reset ¶
func (x *PrecacheOptions) Reset()
func (*PrecacheOptions) SizeVT ¶
func (m *PrecacheOptions) SizeVT() (n int)
func (*PrecacheOptions) String ¶
func (x *PrecacheOptions) String() string
func (*PrecacheOptions) UnmarshalJSON ¶
func (x *PrecacheOptions) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the PrecacheOptions from JSON.
func (*PrecacheOptions) UnmarshalProtoJSON ¶
func (x *PrecacheOptions) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the PrecacheOptions message from JSON.
func (*PrecacheOptions) UnmarshalVT ¶
func (m *PrecacheOptions) UnmarshalVT(dAtA []byte) error
type Reply ¶
type Reply struct {
// Error describes why the call failed, or is empty on success.
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
// Response is the method's encoded response.
Response []byte `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
// contains filtered or unexported fields
}
Reply answers one Call.
func (*Reply) CloneMessageVT ¶
func (m *Reply) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Reply) EqualMessageVT ¶
func (*Reply) GetResponse ¶
func (*Reply) MarshalJSON ¶
MarshalJSON marshals the Reply to JSON.
func (*Reply) MarshalProtoJSON ¶
func (x *Reply) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Reply message to JSON.
func (*Reply) MarshalProtoText ¶
func (*Reply) MarshalToSizedBufferVT ¶
func (*Reply) ProtoMessage ¶
func (*Reply) ProtoMessage()
func (*Reply) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Reply from JSON.
func (*Reply) UnmarshalProtoJSON ¶
func (x *Reply) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Reply message from JSON.
func (*Reply) UnmarshalVT ¶
type ServerCommandRequest ¶
type ServerCommandRequest struct {
// Command is the console line, without a trailing newline.
Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
// contains filtered or unexported fields
}
ServerCommandRequest carries one server console line.
func (*ServerCommandRequest) CloneMessageVT ¶
func (m *ServerCommandRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ServerCommandRequest) CloneVT ¶
func (m *ServerCommandRequest) CloneVT() *ServerCommandRequest
func (*ServerCommandRequest) EqualMessageVT ¶
func (this *ServerCommandRequest) EqualMessageVT(thatMsg any) bool
func (*ServerCommandRequest) EqualVT ¶
func (this *ServerCommandRequest) EqualVT(that *ServerCommandRequest) bool
func (*ServerCommandRequest) GetCommand ¶
func (x *ServerCommandRequest) GetCommand() string
func (*ServerCommandRequest) MarshalJSON ¶
func (x *ServerCommandRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ServerCommandRequest to JSON.
func (*ServerCommandRequest) MarshalProtoJSON ¶
func (x *ServerCommandRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ServerCommandRequest message to JSON.
func (*ServerCommandRequest) MarshalProtoText ¶
func (x *ServerCommandRequest) MarshalProtoText() string
func (*ServerCommandRequest) MarshalToSizedBufferVT ¶
func (m *ServerCommandRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ServerCommandRequest) MarshalToVT ¶
func (m *ServerCommandRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ServerCommandRequest) MarshalVT ¶
func (m *ServerCommandRequest) MarshalVT() (dAtA []byte, err error)
func (*ServerCommandRequest) ProtoMessage ¶
func (*ServerCommandRequest) ProtoMessage()
func (*ServerCommandRequest) Reset ¶
func (x *ServerCommandRequest) Reset()
func (*ServerCommandRequest) SizeVT ¶
func (m *ServerCommandRequest) SizeVT() (n int)
func (*ServerCommandRequest) String ¶
func (x *ServerCommandRequest) String() string
func (*ServerCommandRequest) UnmarshalJSON ¶
func (x *ServerCommandRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ServerCommandRequest from JSON.
func (*ServerCommandRequest) UnmarshalProtoJSON ¶
func (x *ServerCommandRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ServerCommandRequest message from JSON.
func (*ServerCommandRequest) UnmarshalVT ¶
func (m *ServerCommandRequest) UnmarshalVT(dAtA []byte) error
type ServiceCall ¶
type ServiceCall struct {
// Service names the service, such as "arena.match".
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// Method names the method within the service.
Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
// Payload is the call's argument.
Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
// contains filtered or unexported fields
}
ServiceCall calls one method of a service outside Modlock. A host that embeds Modlock provides services of its own, such as a game mode's match, and a mod may serve one to the host. The service and its caller agree on the payload's encoding.
func (*ServiceCall) CloneMessageVT ¶
func (m *ServiceCall) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ServiceCall) CloneVT ¶
func (m *ServiceCall) CloneVT() *ServiceCall
func (*ServiceCall) EqualMessageVT ¶
func (this *ServiceCall) EqualMessageVT(thatMsg any) bool
func (*ServiceCall) EqualVT ¶
func (this *ServiceCall) EqualVT(that *ServiceCall) bool
func (*ServiceCall) GetMethod ¶
func (x *ServiceCall) GetMethod() string
func (*ServiceCall) GetPayload ¶
func (x *ServiceCall) GetPayload() []byte
func (*ServiceCall) GetService ¶
func (x *ServiceCall) GetService() string
func (*ServiceCall) MarshalJSON ¶
func (x *ServiceCall) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ServiceCall to JSON.
func (*ServiceCall) MarshalProtoJSON ¶
func (x *ServiceCall) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ServiceCall message to JSON.
func (*ServiceCall) MarshalProtoText ¶
func (x *ServiceCall) MarshalProtoText() string
func (*ServiceCall) MarshalToSizedBufferVT ¶
func (m *ServiceCall) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ServiceCall) MarshalToVT ¶
func (m *ServiceCall) MarshalToVT(dAtA []byte) (int, error)
func (*ServiceCall) MarshalVT ¶
func (m *ServiceCall) MarshalVT() (dAtA []byte, err error)
func (*ServiceCall) ProtoMessage ¶
func (*ServiceCall) ProtoMessage()
func (*ServiceCall) Reset ¶
func (x *ServiceCall) Reset()
func (*ServiceCall) SizeVT ¶
func (m *ServiceCall) SizeVT() (n int)
func (*ServiceCall) String ¶
func (x *ServiceCall) String() string
func (*ServiceCall) UnmarshalJSON ¶
func (x *ServiceCall) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ServiceCall from JSON.
func (*ServiceCall) UnmarshalProtoJSON ¶
func (x *ServiceCall) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ServiceCall message from JSON.
func (*ServiceCall) UnmarshalVT ¶
func (m *ServiceCall) UnmarshalVT(dAtA []byte) error
type ServiceReply ¶
type ServiceReply struct {
// Payload is the answer.
Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
// contains filtered or unexported fields
}
ServiceReply is a service's answer.
func (*ServiceReply) CloneMessageVT ¶
func (m *ServiceReply) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ServiceReply) CloneVT ¶
func (m *ServiceReply) CloneVT() *ServiceReply
func (*ServiceReply) EqualMessageVT ¶
func (this *ServiceReply) EqualMessageVT(thatMsg any) bool
func (*ServiceReply) EqualVT ¶
func (this *ServiceReply) EqualVT(that *ServiceReply) bool
func (*ServiceReply) GetPayload ¶
func (x *ServiceReply) GetPayload() []byte
func (*ServiceReply) MarshalJSON ¶
func (x *ServiceReply) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ServiceReply to JSON.
func (*ServiceReply) MarshalProtoJSON ¶
func (x *ServiceReply) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ServiceReply message to JSON.
func (*ServiceReply) MarshalProtoText ¶
func (x *ServiceReply) MarshalProtoText() string
func (*ServiceReply) MarshalToSizedBufferVT ¶
func (m *ServiceReply) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ServiceReply) MarshalToVT ¶
func (m *ServiceReply) MarshalToVT(dAtA []byte) (int, error)
func (*ServiceReply) MarshalVT ¶
func (m *ServiceReply) MarshalVT() (dAtA []byte, err error)
func (*ServiceReply) ProtoMessage ¶
func (*ServiceReply) ProtoMessage()
func (*ServiceReply) Reset ¶
func (x *ServiceReply) Reset()
func (*ServiceReply) SizeVT ¶
func (m *ServiceReply) SizeVT() (n int)
func (*ServiceReply) String ¶
func (x *ServiceReply) String() string
func (*ServiceReply) UnmarshalJSON ¶
func (x *ServiceReply) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ServiceReply from JSON.
func (*ServiceReply) UnmarshalProtoJSON ¶
func (x *ServiceReply) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ServiceReply message from JSON.
func (*ServiceReply) UnmarshalVT ¶
func (m *ServiceReply) UnmarshalVT(dAtA []byte) error
type StartEvent ¶
type StartEvent struct {
// Args holds the arguments that follow -- on the host command line.
Args []string `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"`
// CheckOnly is true when the host checks the mod without starting a game.
// The mod then hears no game events, and a call that needs the game fails;
// logging, the host's services, settings, metrics, files, interfaces and
// the reload hold still answer.
CheckOnly bool `protobuf:"varint,2,opt,name=check_only,json=checkOnly,proto3" json:"checkOnly,omitempty"`
// Source holds an interpreted mod's entry, which the interpreter module
// evaluates during start. It is empty for a compiled mod.
Source []byte `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
// contains filtered or unexported fields
}
StartEvent describes the server the mod starts in.
func (*StartEvent) CloneMessageVT ¶
func (m *StartEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*StartEvent) CloneVT ¶
func (m *StartEvent) CloneVT() *StartEvent
func (*StartEvent) EqualMessageVT ¶
func (this *StartEvent) EqualMessageVT(thatMsg any) bool
func (*StartEvent) EqualVT ¶
func (this *StartEvent) EqualVT(that *StartEvent) bool
func (*StartEvent) GetArgs ¶
func (x *StartEvent) GetArgs() []string
func (*StartEvent) GetCheckOnly ¶
func (x *StartEvent) GetCheckOnly() bool
func (*StartEvent) GetSource ¶
func (x *StartEvent) GetSource() []byte
func (*StartEvent) MarshalJSON ¶
func (x *StartEvent) MarshalJSON() ([]byte, error)
MarshalJSON marshals the StartEvent to JSON.
func (*StartEvent) MarshalProtoJSON ¶
func (x *StartEvent) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the StartEvent message to JSON.
func (*StartEvent) MarshalProtoText ¶
func (x *StartEvent) MarshalProtoText() string
func (*StartEvent) MarshalToSizedBufferVT ¶
func (m *StartEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StartEvent) MarshalToVT ¶
func (m *StartEvent) MarshalToVT(dAtA []byte) (int, error)
func (*StartEvent) MarshalVT ¶
func (m *StartEvent) MarshalVT() (dAtA []byte, err error)
func (*StartEvent) ProtoMessage ¶
func (*StartEvent) ProtoMessage()
func (*StartEvent) Reset ¶
func (x *StartEvent) Reset()
func (*StartEvent) SizeVT ¶
func (m *StartEvent) SizeVT() (n int)
func (*StartEvent) String ¶
func (x *StartEvent) String() string
func (*StartEvent) UnmarshalJSON ¶
func (x *StartEvent) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the StartEvent from JSON.
func (*StartEvent) UnmarshalProtoJSON ¶
func (x *StartEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the StartEvent message from JSON.
func (*StartEvent) UnmarshalVT ¶
func (m *StartEvent) UnmarshalVT(dAtA []byte) error
type StartResult ¶
type StartResult struct {
// Frames asks for a Frame event every server frame.
Frames bool `protobuf:"varint,1,opt,name=frames,proto3" json:"frames,omitempty"`
// Damage asks for a Damage event before each hit.
Damage bool `protobuf:"varint,2,opt,name=damage,proto3" json:"damage,omitempty"`
// Damaged asks for a Damaged event after each hit.
Damaged bool `protobuf:"varint,3,opt,name=damaged,proto3" json:"damaged,omitempty"`
// Chat asks for a Chat event for each chat line.
Chat bool `protobuf:"varint,4,opt,name=chat,proto3" json:"chat,omitempty"`
// contains filtered or unexported fields
}
StartResult declares which events the mod consumes.
func (*StartResult) CloneMessageVT ¶
func (m *StartResult) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*StartResult) CloneVT ¶
func (m *StartResult) CloneVT() *StartResult
func (*StartResult) EqualMessageVT ¶
func (this *StartResult) EqualMessageVT(thatMsg any) bool
func (*StartResult) EqualVT ¶
func (this *StartResult) EqualVT(that *StartResult) bool
func (*StartResult) GetChat ¶ added in v0.1.50
func (x *StartResult) GetChat() bool
func (*StartResult) GetDamage ¶
func (x *StartResult) GetDamage() bool
func (*StartResult) GetDamaged ¶
func (x *StartResult) GetDamaged() bool
func (*StartResult) GetFrames ¶
func (x *StartResult) GetFrames() bool
func (*StartResult) MarshalJSON ¶
func (x *StartResult) MarshalJSON() ([]byte, error)
MarshalJSON marshals the StartResult to JSON.
func (*StartResult) MarshalProtoJSON ¶
func (x *StartResult) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the StartResult message to JSON.
func (*StartResult) MarshalProtoText ¶
func (x *StartResult) MarshalProtoText() string
func (*StartResult) MarshalToSizedBufferVT ¶
func (m *StartResult) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StartResult) MarshalToVT ¶
func (m *StartResult) MarshalToVT(dAtA []byte) (int, error)
func (*StartResult) MarshalVT ¶
func (m *StartResult) MarshalVT() (dAtA []byte, err error)
func (*StartResult) ProtoMessage ¶
func (*StartResult) ProtoMessage()
func (*StartResult) Reset ¶
func (x *StartResult) Reset()
func (*StartResult) SizeVT ¶
func (m *StartResult) SizeVT() (n int)
func (*StartResult) String ¶
func (x *StartResult) String() string
func (*StartResult) UnmarshalJSON ¶
func (x *StartResult) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the StartResult from JSON.
func (*StartResult) UnmarshalProtoJSON ¶
func (x *StartResult) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the StartResult message from JSON.
func (*StartResult) UnmarshalVT ¶
func (m *StartResult) UnmarshalVT(dAtA []byte) error
type WorldEvent ¶
type WorldEvent struct {
// Map names the world's map.
Map string `protobuf:"bytes,1,opt,name=map,proto3" json:"map,omitempty"`
// contains filtered or unexported fields
}
WorldEvent announces a loaded world.
func (*WorldEvent) CloneMessageVT ¶
func (m *WorldEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*WorldEvent) CloneVT ¶
func (m *WorldEvent) CloneVT() *WorldEvent
func (*WorldEvent) EqualMessageVT ¶
func (this *WorldEvent) EqualMessageVT(thatMsg any) bool
func (*WorldEvent) EqualVT ¶
func (this *WorldEvent) EqualVT(that *WorldEvent) bool
func (*WorldEvent) GetMap ¶
func (x *WorldEvent) GetMap() string
func (*WorldEvent) MarshalJSON ¶
func (x *WorldEvent) MarshalJSON() ([]byte, error)
MarshalJSON marshals the WorldEvent to JSON.
func (*WorldEvent) MarshalProtoJSON ¶
func (x *WorldEvent) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the WorldEvent message to JSON.
func (*WorldEvent) MarshalProtoText ¶
func (x *WorldEvent) MarshalProtoText() string
func (*WorldEvent) MarshalToSizedBufferVT ¶
func (m *WorldEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*WorldEvent) MarshalToVT ¶
func (m *WorldEvent) MarshalToVT(dAtA []byte) (int, error)
func (*WorldEvent) MarshalVT ¶
func (m *WorldEvent) MarshalVT() (dAtA []byte, err error)
func (*WorldEvent) ProtoMessage ¶
func (*WorldEvent) ProtoMessage()
func (*WorldEvent) Reset ¶
func (x *WorldEvent) Reset()
func (*WorldEvent) SizeVT ¶
func (m *WorldEvent) SizeVT() (n int)
func (*WorldEvent) String ¶
func (x *WorldEvent) String() string
func (*WorldEvent) UnmarshalJSON ¶
func (x *WorldEvent) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the WorldEvent from JSON.
func (*WorldEvent) UnmarshalProtoJSON ¶
func (x *WorldEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the WorldEvent message from JSON.
func (*WorldEvent) UnmarshalVT ¶
func (m *WorldEvent) UnmarshalVT(dAtA []byte) error