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

players

package
v0.1.58 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ModRole_name = map[int32]string{
		0: "MOD_ROLE_UNSPECIFIED",
		1: "MOD_ROLE_DEVELOPER",
		2: "MOD_ROLE_TESTER",
	}
	ModRole_value = map[string]int32{
		"MOD_ROLE_UNSPECIFIED": 0,
		"MOD_ROLE_DEVELOPER":   1,
		"MOD_ROLE_TESTER":      2,
	}
)

Enum value maps for ModRole.

View Source
var (
	CameraParam_name = map[int32]string{
		0: "CAMERA_PARAM_DISTANCE",
		1: "CAMERA_PARAM_FIELD_OF_VIEW",
		2: "CAMERA_PARAM_TARGET",
		3: "CAMERA_PARAM_VERTICAL_OFFSET",
		4: "CAMERA_PARAM_HORIZONTAL_OFFSET",
	}
	CameraParam_value = map[string]int32{
		"CAMERA_PARAM_DISTANCE":          0,
		"CAMERA_PARAM_FIELD_OF_VIEW":     1,
		"CAMERA_PARAM_TARGET":            2,
		"CAMERA_PARAM_VERTICAL_OFFSET":   3,
		"CAMERA_PARAM_HORIZONTAL_OFFSET": 4,
	}
)

Enum value maps for CameraParam.

Functions

This section is empty.

Types

type AdjustSoulsRequest

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

AdjustSoulsRequest changes one player's souls.

func (*AdjustSoulsRequest) CloneMessageVT

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

func (*AdjustSoulsRequest) CloneVT

func (m *AdjustSoulsRequest) CloneVT() *AdjustSoulsRequest

func (*AdjustSoulsRequest) EqualMessageVT

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

func (*AdjustSoulsRequest) EqualVT

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

func (*AdjustSoulsRequest) GetDelta

func (x *AdjustSoulsRequest) GetDelta() int32

func (*AdjustSoulsRequest) GetPlayer

func (x *AdjustSoulsRequest) GetPlayer() int32

func (*AdjustSoulsRequest) GetSilent

func (x *AdjustSoulsRequest) GetSilent() bool

func (*AdjustSoulsRequest) MarshalJSON

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

MarshalJSON marshals the AdjustSoulsRequest to JSON.

func (*AdjustSoulsRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the AdjustSoulsRequest message to JSON.

func (*AdjustSoulsRequest) MarshalProtoText

func (x *AdjustSoulsRequest) MarshalProtoText() string

func (*AdjustSoulsRequest) MarshalToSizedBufferVT

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

func (*AdjustSoulsRequest) MarshalToVT

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

func (*AdjustSoulsRequest) MarshalVT

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

func (*AdjustSoulsRequest) ProtoMessage

func (*AdjustSoulsRequest) ProtoMessage()

func (*AdjustSoulsRequest) Reset

func (x *AdjustSoulsRequest) Reset()

func (*AdjustSoulsRequest) SizeVT

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

func (*AdjustSoulsRequest) String

func (x *AdjustSoulsRequest) String() string

func (*AdjustSoulsRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the AdjustSoulsRequest from JSON.

func (*AdjustSoulsRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the AdjustSoulsRequest message from JSON.

func (*AdjustSoulsRequest) UnmarshalVT

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

type BotOptions

type BotOptions struct {

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

BotOptions describes a bot player.

func (*BotOptions) CloneMessageVT

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

func (*BotOptions) CloneVT

func (m *BotOptions) CloneVT() *BotOptions

func (*BotOptions) EqualMessageVT

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

func (*BotOptions) EqualVT

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

func (*BotOptions) GetHero

func (m *BotOptions) GetHero() isBotOptions_Hero

func (*BotOptions) GetHeroId

func (x *BotOptions) GetHeroId() uint32

func (*BotOptions) GetHeroName

func (x *BotOptions) GetHeroName() string

func (*BotOptions) GetName

func (x *BotOptions) GetName() string

func (*BotOptions) GetPosition

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

func (*BotOptions) GetTeam

func (x *BotOptions) GetTeam() int32

func (*BotOptions) MarshalJSON

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

MarshalJSON marshals the BotOptions to JSON.

func (*BotOptions) MarshalProtoJSON

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

MarshalProtoJSON marshals the BotOptions message to JSON.

func (*BotOptions) MarshalProtoText

func (x *BotOptions) MarshalProtoText() string

func (*BotOptions) MarshalToSizedBufferVT

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

func (*BotOptions) MarshalToVT

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

func (*BotOptions) MarshalVT

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

func (*BotOptions) ProtoMessage

func (*BotOptions) ProtoMessage()

func (*BotOptions) Reset

func (x *BotOptions) Reset()

func (*BotOptions) SizeVT

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

func (*BotOptions) String

func (x *BotOptions) String() string

func (*BotOptions) UnmarshalJSON

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

UnmarshalJSON unmarshals the BotOptions from JSON.

func (*BotOptions) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the BotOptions message from JSON.

func (*BotOptions) UnmarshalVT

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

type BotOptions_HeroId

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

func (*BotOptions_HeroId) CloneOneofVT

func (m *BotOptions_HeroId) CloneOneofVT() isBotOptions_Hero

func (*BotOptions_HeroId) CloneVT

func (m *BotOptions_HeroId) CloneVT() *BotOptions_HeroId

func (*BotOptions_HeroId) EqualVT

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

func (*BotOptions_HeroId) MarshalToSizedBufferVT

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

func (*BotOptions_HeroId) MarshalToVT

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

func (*BotOptions_HeroId) SizeVT

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

type BotOptions_HeroName

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

func (*BotOptions_HeroName) CloneOneofVT

func (m *BotOptions_HeroName) CloneOneofVT() isBotOptions_Hero

func (*BotOptions_HeroName) CloneVT

func (*BotOptions_HeroName) EqualVT

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

func (*BotOptions_HeroName) MarshalToSizedBufferVT

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

func (*BotOptions_HeroName) MarshalToVT

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

func (*BotOptions_HeroName) SizeVT

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

type BotResponse

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

BotResponse holds the bot AddBot added.

func (*BotResponse) CloneMessageVT

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

func (*BotResponse) CloneVT

func (m *BotResponse) CloneVT() *BotResponse

func (*BotResponse) EqualMessageVT

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

func (*BotResponse) EqualVT

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

func (*BotResponse) GetPlayer

func (x *BotResponse) GetPlayer() int32

func (*BotResponse) MarshalJSON

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

MarshalJSON marshals the BotResponse to JSON.

func (*BotResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the BotResponse message to JSON.

func (*BotResponse) MarshalProtoText

func (x *BotResponse) MarshalProtoText() string

func (*BotResponse) MarshalToSizedBufferVT

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

func (*BotResponse) MarshalToVT

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

func (*BotResponse) MarshalVT

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

func (*BotResponse) ProtoMessage

func (*BotResponse) ProtoMessage()

func (*BotResponse) Reset

func (x *BotResponse) Reset()

func (*BotResponse) SizeVT

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

func (*BotResponse) String

func (x *BotResponse) String() string

func (*BotResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the BotResponse from JSON.

func (*BotResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the BotResponse message from JSON.

func (*BotResponse) UnmarshalVT

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

type CameraApproach

type CameraApproach struct {

	// Value is the value it approaches.
	Value *CameraValue `protobuf:"bytes,1,opt,name=value,proto3,oneof" json:"value,omitempty"`
	// Speed is the most the param moves each second; omitted, 600.
	Speed *float32 `protobuf:"fixed32,2,opt,name=speed,proto3,oneof" json:"speed,omitempty"`
	// DefaultSpeed is the speed of the return to the usual value; omitted, 600.
	DefaultSpeed *float32 `protobuf:"fixed32,3,opt,name=default_speed,json=defaultSpeed,proto3,oneof" json:"defaultSpeed,omitempty"`
	// Acceleration is how fast the speed builds each second; omitted, 1000.
	Acceleration *float32 `protobuf:"fixed32,4,opt,name=acceleration,proto3,oneof" json:"acceleration,omitempty"`
	// MinDuration is the least time it runs, in seconds.
	MinDuration *float32 `protobuf:"fixed32,5,opt,name=min_duration,json=minDuration,proto3,oneof" json:"minDuration,omitempty"`
	// ChaseDefault approaches the param's usual value instead of Value.
	ChaseDefault *bool `protobuf:"varint,6,opt,name=chase_default,json=chaseDefault,proto3,oneof" json:"chaseDefault,omitempty"`
	// contains filtered or unexported fields
}

CameraApproach moves a param toward a value.

func (*CameraApproach) CloneMessageVT

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

func (*CameraApproach) CloneVT

func (m *CameraApproach) CloneVT() *CameraApproach

func (*CameraApproach) EqualMessageVT

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

func (*CameraApproach) EqualVT

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

func (*CameraApproach) GetAcceleration

func (x *CameraApproach) GetAcceleration() float32

func (*CameraApproach) GetChaseDefault

func (x *CameraApproach) GetChaseDefault() bool

func (*CameraApproach) GetDefaultSpeed

func (x *CameraApproach) GetDefaultSpeed() float32

func (*CameraApproach) GetMinDuration

func (x *CameraApproach) GetMinDuration() float32

func (*CameraApproach) GetSpeed

func (x *CameraApproach) GetSpeed() float32

func (*CameraApproach) GetValue

func (x *CameraApproach) GetValue() *CameraValue

func (*CameraApproach) MarshalJSON

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

MarshalJSON marshals the CameraApproach to JSON.

func (*CameraApproach) MarshalProtoJSON

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

MarshalProtoJSON marshals the CameraApproach message to JSON.

func (*CameraApproach) MarshalProtoText

func (x *CameraApproach) MarshalProtoText() string

func (*CameraApproach) MarshalToSizedBufferVT

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

func (*CameraApproach) MarshalToVT

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

func (*CameraApproach) MarshalVT

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

func (*CameraApproach) ProtoMessage

func (*CameraApproach) ProtoMessage()

func (*CameraApproach) Reset

func (x *CameraApproach) Reset()

func (*CameraApproach) SizeVT

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

func (*CameraApproach) String

func (x *CameraApproach) String() string

func (*CameraApproach) UnmarshalJSON

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

UnmarshalJSON unmarshals the CameraApproach from JSON.

func (*CameraApproach) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the CameraApproach message from JSON.

func (*CameraApproach) UnmarshalVT

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

type CameraHold

type CameraHold struct {

	// Duration is how long it holds, in seconds.
	Duration *float32 `protobuf:"fixed32,1,opt,name=duration,proto3,oneof" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

CameraHold keeps a param where it is.

func (*CameraHold) CloneMessageVT

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

func (*CameraHold) CloneVT

func (m *CameraHold) CloneVT() *CameraHold

func (*CameraHold) EqualMessageVT

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

func (*CameraHold) EqualVT

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

func (*CameraHold) GetDuration

func (x *CameraHold) GetDuration() float32

func (*CameraHold) MarshalJSON

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

MarshalJSON marshals the CameraHold to JSON.

func (*CameraHold) MarshalProtoJSON

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

MarshalProtoJSON marshals the CameraHold message to JSON.

func (*CameraHold) MarshalProtoText

func (x *CameraHold) MarshalProtoText() string

func (*CameraHold) MarshalToSizedBufferVT

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

func (*CameraHold) MarshalToVT

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

func (*CameraHold) MarshalVT

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

func (*CameraHold) ProtoMessage

func (*CameraHold) ProtoMessage()

func (*CameraHold) Reset

func (x *CameraHold) Reset()

func (*CameraHold) SizeVT

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

func (*CameraHold) String

func (x *CameraHold) String() string

func (*CameraHold) UnmarshalJSON

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

UnmarshalJSON unmarshals the CameraHold from JSON.

func (*CameraHold) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the CameraHold message from JSON.

func (*CameraHold) UnmarshalVT

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

type CameraLag

type CameraLag struct {

	// MinDuration is the least time it runs, in seconds.
	MinDuration *float32 `protobuf:"fixed32,1,opt,name=min_duration,json=minDuration,proto3,oneof" json:"minDuration,omitempty"`
	// LagTime is how far behind the param trails, in seconds.
	LagTime *float32 `protobuf:"fixed32,2,opt,name=lag_time,json=lagTime,proto3,oneof" json:"lagTime,omitempty"`
	// MaxSpeed is the most the param moves each second.
	MaxSpeed *float32 `protobuf:"fixed32,3,opt,name=max_speed,json=maxSpeed,proto3,oneof" json:"maxSpeed,omitempty"`
	// SpringStrength is the strength of the pull back to the usual value.
	SpringStrength *float32 `protobuf:"fixed32,4,opt,name=spring_strength,json=springStrength,proto3,oneof" json:"springStrength,omitempty"`
	// KeepTargetOnScreen strengthens the pull when the target would leave the
	// screen; omitted, true.
	KeepTargetOnScreen *bool `protobuf:"varint,5,opt,name=keep_target_on_screen,json=keepTargetOnScreen,proto3,oneof" json:"keepTargetOnScreen,omitempty"`
	// contains filtered or unexported fields
}

CameraLag lets a param trail its usual value.

func (*CameraLag) CloneMessageVT

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

func (*CameraLag) CloneVT

func (m *CameraLag) CloneVT() *CameraLag

func (*CameraLag) EqualMessageVT

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

func (*CameraLag) EqualVT

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

func (*CameraLag) GetKeepTargetOnScreen

func (x *CameraLag) GetKeepTargetOnScreen() bool

func (*CameraLag) GetLagTime

func (x *CameraLag) GetLagTime() float32

func (*CameraLag) GetMaxSpeed

func (x *CameraLag) GetMaxSpeed() float32

func (*CameraLag) GetMinDuration

func (x *CameraLag) GetMinDuration() float32

func (*CameraLag) GetSpringStrength

func (x *CameraLag) GetSpringStrength() float32

func (*CameraLag) MarshalJSON

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

MarshalJSON marshals the CameraLag to JSON.

func (*CameraLag) MarshalProtoJSON

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

MarshalProtoJSON marshals the CameraLag message to JSON.

func (*CameraLag) MarshalProtoText

func (x *CameraLag) MarshalProtoText() string

func (*CameraLag) MarshalToSizedBufferVT

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

func (*CameraLag) MarshalToVT

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

func (*CameraLag) MarshalVT

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

func (*CameraLag) ProtoMessage

func (*CameraLag) ProtoMessage()

func (*CameraLag) Reset

func (x *CameraLag) Reset()

func (*CameraLag) SizeVT

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

func (*CameraLag) String

func (x *CameraLag) String() string

func (*CameraLag) UnmarshalJSON

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

UnmarshalJSON unmarshals the CameraLag from JSON.

func (*CameraLag) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the CameraLag message from JSON.

func (*CameraLag) UnmarshalVT

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

type CameraLerp

type CameraLerp struct {

	// Start is the value it starts from.
	Start *CameraValue `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
	// End is the value it ends at.
	End *CameraValue `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
	// Bias and Gain shape the curve between them.
	Bias *float32 `protobuf:"fixed32,3,opt,name=bias,proto3,oneof" json:"bias,omitempty"`
	Gain *float32 `protobuf:"fixed32,4,opt,name=gain,proto3,oneof" json:"gain,omitempty"`
	// Duration is the time it takes, in seconds; omitted, 1.
	Duration *float32 `protobuf:"fixed32,5,opt,name=duration,proto3,oneof" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

CameraLerp moves a param from one value to another over a time.

func (*CameraLerp) CloneMessageVT

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

func (*CameraLerp) CloneVT

func (m *CameraLerp) CloneVT() *CameraLerp

func (*CameraLerp) EqualMessageVT

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

func (*CameraLerp) EqualVT

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

func (*CameraLerp) GetBias

func (x *CameraLerp) GetBias() float32

func (*CameraLerp) GetDuration

func (x *CameraLerp) GetDuration() float32

func (*CameraLerp) GetEnd

func (x *CameraLerp) GetEnd() *CameraValue

func (*CameraLerp) GetGain

func (x *CameraLerp) GetGain() float32

func (*CameraLerp) GetStart

func (x *CameraLerp) GetStart() *CameraValue

func (*CameraLerp) MarshalJSON

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

MarshalJSON marshals the CameraLerp to JSON.

func (*CameraLerp) MarshalProtoJSON

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

MarshalProtoJSON marshals the CameraLerp message to JSON.

func (*CameraLerp) MarshalProtoText

func (x *CameraLerp) MarshalProtoText() string

func (*CameraLerp) MarshalToSizedBufferVT

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

func (*CameraLerp) MarshalToVT

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

func (*CameraLerp) MarshalVT

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

func (*CameraLerp) ProtoMessage

func (*CameraLerp) ProtoMessage()

func (*CameraLerp) Reset

func (x *CameraLerp) Reset()

func (*CameraLerp) SizeVT

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

func (*CameraLerp) String

func (x *CameraLerp) String() string

func (*CameraLerp) UnmarshalJSON

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

UnmarshalJSON unmarshals the CameraLerp from JSON.

func (*CameraLerp) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the CameraLerp message from JSON.

func (*CameraLerp) UnmarshalVT

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

type CameraMotion

type CameraMotion struct {

	// Types that are assignable to Motion:
	//	*CameraMotion_Hold
	//	*CameraMotion_Approach
	//	*CameraMotion_Spring
	//	*CameraMotion_Lerp
	//	*CameraMotion_Lag
	Motion isCameraMotion_Motion `protobuf_oneof:"motion"`
	// contains filtered or unexported fields
}

CameraMotion is how an operation moves its param.

func (*CameraMotion) CloneMessageVT

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

func (*CameraMotion) CloneVT

func (m *CameraMotion) CloneVT() *CameraMotion

func (*CameraMotion) EqualMessageVT

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

func (*CameraMotion) EqualVT

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

func (*CameraMotion) GetApproach

func (x *CameraMotion) GetApproach() *CameraApproach

func (*CameraMotion) GetHold

func (x *CameraMotion) GetHold() *CameraHold

func (*CameraMotion) GetLag

func (x *CameraMotion) GetLag() *CameraLag

func (*CameraMotion) GetLerp

func (x *CameraMotion) GetLerp() *CameraLerp

func (*CameraMotion) GetMotion

func (m *CameraMotion) GetMotion() isCameraMotion_Motion

func (*CameraMotion) GetSpring

func (x *CameraMotion) GetSpring() *CameraSpring

func (*CameraMotion) MarshalJSON

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

MarshalJSON marshals the CameraMotion to JSON.

func (*CameraMotion) MarshalProtoJSON

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

MarshalProtoJSON marshals the CameraMotion message to JSON.

func (*CameraMotion) MarshalProtoText

func (x *CameraMotion) MarshalProtoText() string

func (*CameraMotion) MarshalToSizedBufferVT

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

func (*CameraMotion) MarshalToVT

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

func (*CameraMotion) MarshalVT

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

func (*CameraMotion) ProtoMessage

func (*CameraMotion) ProtoMessage()

func (*CameraMotion) Reset

func (x *CameraMotion) Reset()

func (*CameraMotion) SizeVT

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

func (*CameraMotion) String

func (x *CameraMotion) String() string

func (*CameraMotion) UnmarshalJSON

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

UnmarshalJSON unmarshals the CameraMotion from JSON.

func (*CameraMotion) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the CameraMotion message from JSON.

func (*CameraMotion) UnmarshalVT

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

type CameraMotion_Approach

type CameraMotion_Approach struct {
	// Approach moves the param toward a value at a speed.
	Approach *CameraApproach `protobuf:"bytes,2,opt,name=approach,proto3,oneof"`
}

func (*CameraMotion_Approach) CloneOneofVT

func (m *CameraMotion_Approach) CloneOneofVT() isCameraMotion_Motion

func (*CameraMotion_Approach) CloneVT

func (*CameraMotion_Approach) EqualVT

func (this *CameraMotion_Approach) EqualVT(thatIface isCameraMotion_Motion) bool

func (*CameraMotion_Approach) MarshalToSizedBufferVT

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

func (*CameraMotion_Approach) MarshalToVT

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

func (*CameraMotion_Approach) SizeVT

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

type CameraMotion_Hold

type CameraMotion_Hold struct {
	// Hold keeps the param where it is.
	Hold *CameraHold `protobuf:"bytes,1,opt,name=hold,proto3,oneof"`
}

func (*CameraMotion_Hold) CloneOneofVT

func (m *CameraMotion_Hold) CloneOneofVT() isCameraMotion_Motion

func (*CameraMotion_Hold) CloneVT

func (m *CameraMotion_Hold) CloneVT() *CameraMotion_Hold

func (*CameraMotion_Hold) EqualVT

func (this *CameraMotion_Hold) EqualVT(thatIface isCameraMotion_Motion) bool

func (*CameraMotion_Hold) MarshalToSizedBufferVT

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

func (*CameraMotion_Hold) MarshalToVT

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

func (*CameraMotion_Hold) SizeVT

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

type CameraMotion_Lag

type CameraMotion_Lag struct {
	// Lag lets the param trail its usual value.
	Lag *CameraLag `protobuf:"bytes,5,opt,name=lag,proto3,oneof"`
}

func (*CameraMotion_Lag) CloneOneofVT

func (m *CameraMotion_Lag) CloneOneofVT() isCameraMotion_Motion

func (*CameraMotion_Lag) CloneVT

func (m *CameraMotion_Lag) CloneVT() *CameraMotion_Lag

func (*CameraMotion_Lag) EqualVT

func (this *CameraMotion_Lag) EqualVT(thatIface isCameraMotion_Motion) bool

func (*CameraMotion_Lag) MarshalToSizedBufferVT

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

func (*CameraMotion_Lag) MarshalToVT

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

func (*CameraMotion_Lag) SizeVT

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

type CameraMotion_Lerp

type CameraMotion_Lerp struct {
	// Lerp moves the param from one value to another over a time.
	Lerp *CameraLerp `protobuf:"bytes,4,opt,name=lerp,proto3,oneof"`
}

func (*CameraMotion_Lerp) CloneOneofVT

func (m *CameraMotion_Lerp) CloneOneofVT() isCameraMotion_Motion

func (*CameraMotion_Lerp) CloneVT

func (m *CameraMotion_Lerp) CloneVT() *CameraMotion_Lerp

func (*CameraMotion_Lerp) EqualVT

func (this *CameraMotion_Lerp) EqualVT(thatIface isCameraMotion_Motion) bool

func (*CameraMotion_Lerp) MarshalToSizedBufferVT

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

func (*CameraMotion_Lerp) MarshalToVT

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

func (*CameraMotion_Lerp) SizeVT

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

type CameraMotion_Spring

type CameraMotion_Spring struct {
	// Spring pulls the param toward a value.
	Spring *CameraSpring `protobuf:"bytes,3,opt,name=spring,proto3,oneof"`
}

func (*CameraMotion_Spring) CloneOneofVT

func (m *CameraMotion_Spring) CloneOneofVT() isCameraMotion_Motion

func (*CameraMotion_Spring) CloneVT

func (*CameraMotion_Spring) EqualVT

func (this *CameraMotion_Spring) EqualVT(thatIface isCameraMotion_Motion) bool

func (*CameraMotion_Spring) MarshalToSizedBufferVT

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

func (*CameraMotion_Spring) MarshalToVT

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

func (*CameraMotion_Spring) SizeVT

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

type CameraOptions

type CameraOptions struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Context names a group of operations, which ClearCamera removes together.
	// Operations on one param in one context run in order, each after the one
	// before it ends, so a mod sends a whole sequence at once.
	Context *string `protobuf:"bytes,2,opt,name=context,proto3,oneof" json:"context,omitempty"`
	// Param is the camera value the operation moves.
	Param CameraParam `protobuf:"varint,3,opt,name=param,proto3" json:"param,omitempty"`
	// Motion is how it moves. Each motion ends once it reaches its value or
	// its duration, and the param returns to its usual value unless another
	// operation follows.
	Motion *CameraMotion `protobuf:"bytes,4,opt,name=motion,proto3" json:"motion,omitempty"`
	// Delay starts the operation after this many seconds.
	Delay *float32 `protobuf:"fixed32,5,opt,name=delay,proto3,oneof" json:"delay,omitempty"`
	// Relative adds the operation's values to the param's usual value instead
	// of replacing it.
	Relative *bool `protobuf:"varint,6,opt,name=relative,proto3,oneof" json:"relative,omitempty"`
	// Priority decides between contexts moving one param: a higher operation
	// takes over from a running lower one, which resumes when it ends, and a
	// lower one does not show while a higher one runs. Omitted, 1.
	Priority *uint32 `protobuf:"varint,7,opt,name=priority,proto3,oneof" json:"priority,omitempty"`
	// Shared lets operations of other contexts move the param at the same time.
	Shared *bool `protobuf:"varint,8,opt,name=shared,proto3,oneof" json:"shared,omitempty"`
	// Target is the entity handle of the hero whose camera moves, as
	// Pawn.entity reports it; omitted, the player's own hero.
	Target *uint32 `protobuf:"varint,9,opt,name=target,proto3,oneof" json:"target,omitempty"`
	// contains filtered or unexported fields
}

CameraOptions adds one operation to a player's camera.

func (*CameraOptions) CloneMessageVT

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

func (*CameraOptions) CloneVT

func (m *CameraOptions) CloneVT() *CameraOptions

func (*CameraOptions) EqualMessageVT

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

func (*CameraOptions) EqualVT

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

func (*CameraOptions) GetContext

func (x *CameraOptions) GetContext() string

func (*CameraOptions) GetDelay

func (x *CameraOptions) GetDelay() float32

func (*CameraOptions) GetMotion

func (x *CameraOptions) GetMotion() *CameraMotion

func (*CameraOptions) GetParam

func (x *CameraOptions) GetParam() CameraParam

func (*CameraOptions) GetPlayer

func (x *CameraOptions) GetPlayer() int32

func (*CameraOptions) GetPriority

func (x *CameraOptions) GetPriority() uint32

func (*CameraOptions) GetRelative

func (x *CameraOptions) GetRelative() bool

func (*CameraOptions) GetShared

func (x *CameraOptions) GetShared() bool

func (*CameraOptions) GetTarget

func (x *CameraOptions) GetTarget() uint32

func (*CameraOptions) MarshalJSON

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

MarshalJSON marshals the CameraOptions to JSON.

func (*CameraOptions) MarshalProtoJSON

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

MarshalProtoJSON marshals the CameraOptions message to JSON.

func (*CameraOptions) MarshalProtoText

func (x *CameraOptions) MarshalProtoText() string

func (*CameraOptions) MarshalToSizedBufferVT

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

func (*CameraOptions) MarshalToVT

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

func (*CameraOptions) MarshalVT

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

func (*CameraOptions) ProtoMessage

func (*CameraOptions) ProtoMessage()

func (*CameraOptions) Reset

func (x *CameraOptions) Reset()

func (*CameraOptions) SizeVT

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

func (*CameraOptions) String

func (x *CameraOptions) String() string

func (*CameraOptions) UnmarshalJSON

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

UnmarshalJSON unmarshals the CameraOptions from JSON.

func (*CameraOptions) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the CameraOptions message from JSON.

func (*CameraOptions) UnmarshalVT

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

type CameraParam

type CameraParam int32

CameraParam is one value of the camera that follows a hero, which the game's abilities move as Mirage's Tornado pulls the camera back.

const (
	// CAMERA_PARAM_DISTANCE is how far behind the hero the camera sits.
	CameraParam_CAMERA_PARAM_DISTANCE CameraParam = 0
	// CAMERA_PARAM_FIELD_OF_VIEW is the view's field of view in degrees.
	CameraParam_CAMERA_PARAM_FIELD_OF_VIEW CameraParam = 1
	// CAMERA_PARAM_TARGET is the position the camera follows.
	CameraParam_CAMERA_PARAM_TARGET CameraParam = 2
	// CAMERA_PARAM_VERTICAL_OFFSET raises the camera.
	CameraParam_CAMERA_PARAM_VERTICAL_OFFSET CameraParam = 3
	// CAMERA_PARAM_HORIZONTAL_OFFSET moves the camera to the side.
	CameraParam_CAMERA_PARAM_HORIZONTAL_OFFSET CameraParam = 4
)

func (CameraParam) Enum

func (x CameraParam) Enum() *CameraParam

func (CameraParam) MarshalJSON

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

MarshalJSON marshals the CameraParam to JSON.

func (CameraParam) MarshalProtoJSON

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

MarshalProtoJSON marshals the CameraParam to JSON.

func (CameraParam) MarshalProtoText

func (x CameraParam) MarshalProtoText() string

func (CameraParam) MarshalText

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

MarshalText marshals the CameraParam to text.

func (CameraParam) String

func (x CameraParam) String() string

func (*CameraParam) UnmarshalJSON

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

UnmarshalJSON unmarshals the CameraParam from JSON.

func (*CameraParam) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the CameraParam from JSON.

func (*CameraParam) UnmarshalText

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

UnmarshalText unmarshals the CameraParam from text.

type CameraSpring

type CameraSpring struct {

	// Value is the value the spring pulls toward.
	Value *CameraValue `protobuf:"bytes,1,opt,name=value,proto3,oneof" json:"value,omitempty"`
	// Strength is the spring's strength; omitted, 10.
	Strength *float32 `protobuf:"fixed32,2,opt,name=strength,proto3,oneof" json:"strength,omitempty"`
	// MinSpeed is the least the param moves each second.
	MinSpeed *float32 `protobuf:"fixed32,3,opt,name=min_speed,json=minSpeed,proto3,oneof" json:"minSpeed,omitempty"`
	// MaxDuration ends the spring after this many seconds, or never when zero.
	MaxDuration *float32 `protobuf:"fixed32,4,opt,name=max_duration,json=maxDuration,proto3,oneof" json:"maxDuration,omitempty"`
	// contains filtered or unexported fields
}

CameraSpring pulls a param toward a value.

func (*CameraSpring) CloneMessageVT

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

func (*CameraSpring) CloneVT

func (m *CameraSpring) CloneVT() *CameraSpring

func (*CameraSpring) EqualMessageVT

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

func (*CameraSpring) EqualVT

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

func (*CameraSpring) GetMaxDuration

func (x *CameraSpring) GetMaxDuration() float32

func (*CameraSpring) GetMinSpeed

func (x *CameraSpring) GetMinSpeed() float32

func (*CameraSpring) GetStrength

func (x *CameraSpring) GetStrength() float32

func (*CameraSpring) GetValue

func (x *CameraSpring) GetValue() *CameraValue

func (*CameraSpring) MarshalJSON

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

MarshalJSON marshals the CameraSpring to JSON.

func (*CameraSpring) MarshalProtoJSON

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

MarshalProtoJSON marshals the CameraSpring message to JSON.

func (*CameraSpring) MarshalProtoText

func (x *CameraSpring) MarshalProtoText() string

func (*CameraSpring) MarshalToSizedBufferVT

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

func (*CameraSpring) MarshalToVT

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

func (*CameraSpring) MarshalVT

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

func (*CameraSpring) ProtoMessage

func (*CameraSpring) ProtoMessage()

func (*CameraSpring) Reset

func (x *CameraSpring) Reset()

func (*CameraSpring) SizeVT

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

func (*CameraSpring) String

func (x *CameraSpring) String() string

func (*CameraSpring) UnmarshalJSON

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

UnmarshalJSON unmarshals the CameraSpring from JSON.

func (*CameraSpring) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the CameraSpring message from JSON.

func (*CameraSpring) UnmarshalVT

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

type CameraValue

type CameraValue struct {

	// Types that are assignable to Value:
	//	*CameraValue_Number
	//	*CameraValue_Position
	Value isCameraValue_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

CameraValue is a value for a camera param: a number for every param but the target, which takes a position.

func (*CameraValue) CloneMessageVT

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

func (*CameraValue) CloneVT

func (m *CameraValue) CloneVT() *CameraValue

func (*CameraValue) EqualMessageVT

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

func (*CameraValue) EqualVT

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

func (*CameraValue) GetNumber

func (x *CameraValue) GetNumber() float32

func (*CameraValue) GetPosition

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

func (*CameraValue) GetValue

func (m *CameraValue) GetValue() isCameraValue_Value

func (*CameraValue) MarshalJSON

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

MarshalJSON marshals the CameraValue to JSON.

func (*CameraValue) MarshalProtoJSON

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

MarshalProtoJSON marshals the CameraValue message to JSON.

func (*CameraValue) MarshalProtoText

func (x *CameraValue) MarshalProtoText() string

func (*CameraValue) MarshalToSizedBufferVT

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

func (*CameraValue) MarshalToVT

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

func (*CameraValue) MarshalVT

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

func (*CameraValue) ProtoMessage

func (*CameraValue) ProtoMessage()

func (*CameraValue) Reset

func (x *CameraValue) Reset()

func (*CameraValue) SizeVT

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

func (*CameraValue) String

func (x *CameraValue) String() string

func (*CameraValue) UnmarshalJSON

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

UnmarshalJSON unmarshals the CameraValue from JSON.

func (*CameraValue) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the CameraValue message from JSON.

func (*CameraValue) UnmarshalVT

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

type CameraValue_Number

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

func (*CameraValue_Number) CloneOneofVT

func (m *CameraValue_Number) CloneOneofVT() isCameraValue_Value

func (*CameraValue_Number) CloneVT

func (m *CameraValue_Number) CloneVT() *CameraValue_Number

func (*CameraValue_Number) EqualVT

func (this *CameraValue_Number) EqualVT(thatIface isCameraValue_Value) bool

func (*CameraValue_Number) MarshalToSizedBufferVT

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

func (*CameraValue_Number) MarshalToVT

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

func (*CameraValue_Number) SizeVT

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

type CameraValue_Position

type CameraValue_Position struct {
	Position *geometry.Vec3 `protobuf:"bytes,2,opt,name=position,proto3,oneof"`
}

func (*CameraValue_Position) CloneOneofVT

func (m *CameraValue_Position) CloneOneofVT() isCameraValue_Value

func (*CameraValue_Position) CloneVT

func (*CameraValue_Position) EqualVT

func (this *CameraValue_Position) EqualVT(thatIface isCameraValue_Value) bool

func (*CameraValue_Position) MarshalToSizedBufferVT

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

func (*CameraValue_Position) MarshalToVT

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

func (*CameraValue_Position) SizeVT

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

type ChangeTeamRequest added in v0.1.39

type ChangeTeamRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Team is the team number to move to: 2 or 3.
	Team int32 `protobuf:"varint,2,opt,name=team,proto3" json:"team,omitempty"`
	// contains filtered or unexported fields
}

ChangeTeamRequest moves one player's hero to another team.

func (*ChangeTeamRequest) CloneMessageVT added in v0.1.39

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

func (*ChangeTeamRequest) CloneVT added in v0.1.39

func (m *ChangeTeamRequest) CloneVT() *ChangeTeamRequest

func (*ChangeTeamRequest) EqualMessageVT added in v0.1.39

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

func (*ChangeTeamRequest) EqualVT added in v0.1.39

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

func (*ChangeTeamRequest) GetPlayer added in v0.1.39

func (x *ChangeTeamRequest) GetPlayer() int32

func (*ChangeTeamRequest) GetTeam added in v0.1.39

func (x *ChangeTeamRequest) GetTeam() int32

func (*ChangeTeamRequest) MarshalJSON added in v0.1.39

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

MarshalJSON marshals the ChangeTeamRequest to JSON.

func (*ChangeTeamRequest) MarshalProtoJSON added in v0.1.39

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

MarshalProtoJSON marshals the ChangeTeamRequest message to JSON.

func (*ChangeTeamRequest) MarshalProtoText added in v0.1.39

func (x *ChangeTeamRequest) MarshalProtoText() string

func (*ChangeTeamRequest) MarshalToSizedBufferVT added in v0.1.39

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

func (*ChangeTeamRequest) MarshalToVT added in v0.1.39

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

func (*ChangeTeamRequest) MarshalVT added in v0.1.39

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

func (*ChangeTeamRequest) ProtoMessage added in v0.1.39

func (*ChangeTeamRequest) ProtoMessage()

func (*ChangeTeamRequest) Reset added in v0.1.39

func (x *ChangeTeamRequest) Reset()

func (*ChangeTeamRequest) SizeVT added in v0.1.39

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

func (*ChangeTeamRequest) String added in v0.1.39

func (x *ChangeTeamRequest) String() string

func (*ChangeTeamRequest) UnmarshalJSON added in v0.1.39

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

UnmarshalJSON unmarshals the ChangeTeamRequest from JSON.

func (*ChangeTeamRequest) UnmarshalProtoJSON added in v0.1.39

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

UnmarshalProtoJSON unmarshals the ChangeTeamRequest message from JSON.

func (*ChangeTeamRequest) UnmarshalVT added in v0.1.39

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

type ClearCameraRequest

type ClearCameraRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Context names the operations to remove; omitted, every operation.
	Context *string `protobuf:"bytes,2,opt,name=context,proto3,oneof" json:"context,omitempty"`
	// contains filtered or unexported fields
}

ClearCameraRequest removes operations from a player's camera.

func (*ClearCameraRequest) CloneMessageVT

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

func (*ClearCameraRequest) CloneVT

func (m *ClearCameraRequest) CloneVT() *ClearCameraRequest

func (*ClearCameraRequest) EqualMessageVT

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

func (*ClearCameraRequest) EqualVT

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

func (*ClearCameraRequest) GetContext

func (x *ClearCameraRequest) GetContext() string

func (*ClearCameraRequest) GetPlayer

func (x *ClearCameraRequest) GetPlayer() int32

func (*ClearCameraRequest) MarshalJSON

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

MarshalJSON marshals the ClearCameraRequest to JSON.

func (*ClearCameraRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the ClearCameraRequest message to JSON.

func (*ClearCameraRequest) MarshalProtoText

func (x *ClearCameraRequest) MarshalProtoText() string

func (*ClearCameraRequest) MarshalToSizedBufferVT

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

func (*ClearCameraRequest) MarshalToVT

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

func (*ClearCameraRequest) MarshalVT

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

func (*ClearCameraRequest) ProtoMessage

func (*ClearCameraRequest) ProtoMessage()

func (*ClearCameraRequest) Reset

func (x *ClearCameraRequest) Reset()

func (*ClearCameraRequest) SizeVT

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

func (*ClearCameraRequest) String

func (x *ClearCameraRequest) String() string

func (*ClearCameraRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the ClearCameraRequest from JSON.

func (*ClearCameraRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the ClearCameraRequest message from JSON.

func (*ClearCameraRequest) UnmarshalVT

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

type Connection

type Connection struct {

	// Player is the connection's server slot.
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// SteamId identifies a human's account, or is zero for a bot.
	SteamId uint64 `protobuf:"varint,2,opt,name=steam_id,json=steamId,proto3" json:"steamId,omitempty"`
	// Name is the player's name.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Bot is true for a bot player.
	Bot bool `protobuf:"varint,4,opt,name=bot,proto3" json:"bot,omitempty"`
	// Ready is true once a human has finished joining; bots are always ready.
	Ready bool `protobuf:"varint,5,opt,name=ready,proto3" json:"ready,omitempty"`
	// Generation changes each time a new connection takes the slot.
	Generation uint32 `protobuf:"varint,6,opt,name=generation,proto3" json:"generation,omitempty"`
	// Roles are what the player is to the running mods, as the program that
	// runs the host grants them. A role decides what a mod shows, such as an
	// unfinished feature for its testers; the platform that keeps a mod's
	// shared data checks its own writers.
	Roles []ModRole `protobuf:"varint,7,rep,packed,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

Connection is one occupied player slot.

func (*Connection) CloneMessageVT

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

func (*Connection) CloneVT

func (m *Connection) CloneVT() *Connection

func (*Connection) EqualMessageVT

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

func (*Connection) EqualVT

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

func (*Connection) GetBot

func (x *Connection) GetBot() bool

func (*Connection) GetGeneration

func (x *Connection) GetGeneration() uint32

func (*Connection) GetName

func (x *Connection) GetName() string

func (*Connection) GetPlayer

func (x *Connection) GetPlayer() int32

func (*Connection) GetReady

func (x *Connection) GetReady() bool

func (*Connection) GetRoles added in v0.1.53

func (x *Connection) GetRoles() []ModRole

func (*Connection) GetSteamId

func (x *Connection) GetSteamId() uint64

func (*Connection) MarshalJSON

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

MarshalJSON marshals the Connection to JSON.

func (*Connection) MarshalProtoJSON

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

MarshalProtoJSON marshals the Connection message to JSON.

func (*Connection) MarshalProtoText

func (x *Connection) MarshalProtoText() string

func (*Connection) MarshalToSizedBufferVT

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

func (*Connection) MarshalToVT

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

func (*Connection) MarshalVT

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

func (*Connection) ProtoMessage

func (*Connection) ProtoMessage()

func (*Connection) Reset

func (x *Connection) Reset()

func (*Connection) SizeVT

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

func (*Connection) String

func (x *Connection) String() string

func (*Connection) UnmarshalJSON

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

UnmarshalJSON unmarshals the Connection from JSON.

func (*Connection) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the Connection message from JSON.

func (*Connection) UnmarshalVT

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

type ConnectionRoles added in v0.1.53

type ConnectionRoles struct {

	// SteamId identifies the player.
	SteamId uint64 `protobuf:"varint,1,opt,name=steam_id,json=steamId,proto3" json:"steamId,omitempty"`
	// Generation is the connection's generation, as Connection carries it.
	Generation uint32 `protobuf:"varint,2,opt,name=generation,proto3" json:"generation,omitempty"`
	// Roles are the connection's roles.
	Roles []ModRole `protobuf:"varint,3,rep,packed,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

ConnectionRoles gives one connection its roles.

func (*ConnectionRoles) CloneMessageVT added in v0.1.53

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

func (*ConnectionRoles) CloneVT added in v0.1.53

func (m *ConnectionRoles) CloneVT() *ConnectionRoles

func (*ConnectionRoles) EqualMessageVT added in v0.1.53

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

func (*ConnectionRoles) EqualVT added in v0.1.53

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

func (*ConnectionRoles) GetGeneration added in v0.1.53

func (x *ConnectionRoles) GetGeneration() uint32

func (*ConnectionRoles) GetRoles added in v0.1.53

func (x *ConnectionRoles) GetRoles() []ModRole

func (*ConnectionRoles) GetSteamId added in v0.1.53

func (x *ConnectionRoles) GetSteamId() uint64

func (*ConnectionRoles) MarshalJSON added in v0.1.53

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

MarshalJSON marshals the ConnectionRoles to JSON.

func (*ConnectionRoles) MarshalProtoJSON added in v0.1.53

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

MarshalProtoJSON marshals the ConnectionRoles message to JSON.

func (*ConnectionRoles) MarshalProtoText added in v0.1.53

func (x *ConnectionRoles) MarshalProtoText() string

func (*ConnectionRoles) MarshalToSizedBufferVT added in v0.1.53

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

func (*ConnectionRoles) MarshalToVT added in v0.1.53

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

func (*ConnectionRoles) MarshalVT added in v0.1.53

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

func (*ConnectionRoles) ProtoMessage added in v0.1.53

func (*ConnectionRoles) ProtoMessage()

func (*ConnectionRoles) Reset added in v0.1.53

func (x *ConnectionRoles) Reset()

func (*ConnectionRoles) SizeVT added in v0.1.53

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

func (*ConnectionRoles) String added in v0.1.53

func (x *ConnectionRoles) String() string

func (*ConnectionRoles) UnmarshalJSON added in v0.1.53

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

UnmarshalJSON unmarshals the ConnectionRoles from JSON.

func (*ConnectionRoles) UnmarshalProtoJSON added in v0.1.53

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

UnmarshalProtoJSON unmarshals the ConnectionRoles message from JSON.

func (*ConnectionRoles) UnmarshalVT added in v0.1.53

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

type EquipmentTarget

type EquipmentTarget struct {

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

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

func (*EquipmentTarget) CloneMessageVT

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

func (*EquipmentTarget) CloneVT

func (m *EquipmentTarget) CloneVT() *EquipmentTarget

func (*EquipmentTarget) EqualMessageVT

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

func (*EquipmentTarget) EqualVT

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

func (*EquipmentTarget) GetId

func (x *EquipmentTarget) GetId() uint32

func (*EquipmentTarget) GetSlot

func (x *EquipmentTarget) GetSlot() int32

func (*EquipmentTarget) GetState

func (x *EquipmentTarget) GetState() uint32

func (*EquipmentTarget) MarshalJSON

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

MarshalJSON marshals the EquipmentTarget to JSON.

func (*EquipmentTarget) MarshalProtoJSON

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

MarshalProtoJSON marshals the EquipmentTarget message to JSON.

func (*EquipmentTarget) MarshalProtoText

func (x *EquipmentTarget) MarshalProtoText() string

func (*EquipmentTarget) MarshalToSizedBufferVT

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

func (*EquipmentTarget) MarshalToVT

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

func (*EquipmentTarget) MarshalVT

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

func (*EquipmentTarget) ProtoMessage

func (*EquipmentTarget) ProtoMessage()

func (*EquipmentTarget) Reset

func (x *EquipmentTarget) Reset()

func (*EquipmentTarget) SizeVT

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

func (*EquipmentTarget) String

func (x *EquipmentTarget) String() string

func (*EquipmentTarget) UnmarshalJSON

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

UnmarshalJSON unmarshals the EquipmentTarget from JSON.

func (*EquipmentTarget) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the EquipmentTarget message from JSON.

func (*EquipmentTarget) UnmarshalVT

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

type FreeCameraRequest

type FreeCameraRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Position is where the camera starts.
	Position *geometry.Vec3 `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
	// Facing is where the camera looks when it starts.
	Facing *geometry.EulerAngles `protobuf:"bytes,3,opt,name=facing,proto3" json:"facing,omitempty"`
	// contains filtered or unexported fields
}

FreeCameraRequest names a player and where their free camera starts.

func (*FreeCameraRequest) CloneMessageVT

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

func (*FreeCameraRequest) CloneVT

func (m *FreeCameraRequest) CloneVT() *FreeCameraRequest

func (*FreeCameraRequest) EqualMessageVT

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

func (*FreeCameraRequest) EqualVT

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

func (*FreeCameraRequest) GetFacing

func (x *FreeCameraRequest) GetFacing() *geometry.EulerAngles

func (*FreeCameraRequest) GetPlayer

func (x *FreeCameraRequest) GetPlayer() int32

func (*FreeCameraRequest) GetPosition

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

func (*FreeCameraRequest) MarshalJSON

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

MarshalJSON marshals the FreeCameraRequest to JSON.

func (*FreeCameraRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the FreeCameraRequest message to JSON.

func (*FreeCameraRequest) MarshalProtoText

func (x *FreeCameraRequest) MarshalProtoText() string

func (*FreeCameraRequest) MarshalToSizedBufferVT

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

func (*FreeCameraRequest) MarshalToVT

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

func (*FreeCameraRequest) MarshalVT

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

func (*FreeCameraRequest) ProtoMessage

func (*FreeCameraRequest) ProtoMessage()

func (*FreeCameraRequest) Reset

func (x *FreeCameraRequest) Reset()

func (*FreeCameraRequest) SizeVT

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

func (*FreeCameraRequest) String

func (x *FreeCameraRequest) String() string

func (*FreeCameraRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the FreeCameraRequest from JSON.

func (*FreeCameraRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the FreeCameraRequest message from JSON.

func (*FreeCameraRequest) UnmarshalVT

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

type FreezeRequest

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

FreezeRequest holds or releases one player's hero.

func (*FreezeRequest) CloneMessageVT

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

func (*FreezeRequest) CloneVT

func (m *FreezeRequest) CloneVT() *FreezeRequest

func (*FreezeRequest) EqualMessageVT

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

func (*FreezeRequest) EqualVT

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

func (*FreezeRequest) GetFrozen

func (x *FreezeRequest) GetFrozen() bool

func (*FreezeRequest) GetPlayer

func (x *FreezeRequest) GetPlayer() int32

func (*FreezeRequest) MarshalJSON

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

MarshalJSON marshals the FreezeRequest to JSON.

func (*FreezeRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the FreezeRequest message to JSON.

func (*FreezeRequest) MarshalProtoText

func (x *FreezeRequest) MarshalProtoText() string

func (*FreezeRequest) MarshalToSizedBufferVT

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

func (*FreezeRequest) MarshalToVT

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

func (*FreezeRequest) MarshalVT

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

func (*FreezeRequest) ProtoMessage

func (*FreezeRequest) ProtoMessage()

func (*FreezeRequest) Reset

func (x *FreezeRequest) Reset()

func (*FreezeRequest) SizeVT

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

func (*FreezeRequest) String

func (x *FreezeRequest) String() string

func (*FreezeRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the FreezeRequest from JSON.

func (*FreezeRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the FreezeRequest message from JSON.

func (*FreezeRequest) UnmarshalVT

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

type HealRequest

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

HealRequest restores health to a player's hero.

func (*HealRequest) CloneMessageVT

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

func (*HealRequest) CloneVT

func (m *HealRequest) CloneVT() *HealRequest

func (*HealRequest) EqualMessageVT

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

func (*HealRequest) EqualVT

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

func (*HealRequest) GetAmount

func (x *HealRequest) GetAmount() int32

func (*HealRequest) GetPlayer

func (x *HealRequest) GetPlayer() int32

func (*HealRequest) MarshalJSON

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

MarshalJSON marshals the HealRequest to JSON.

func (*HealRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the HealRequest message to JSON.

func (*HealRequest) MarshalProtoText

func (x *HealRequest) MarshalProtoText() string

func (*HealRequest) MarshalToSizedBufferVT

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

func (*HealRequest) MarshalToVT

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

func (*HealRequest) MarshalVT

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

func (*HealRequest) ProtoMessage

func (*HealRequest) ProtoMessage()

func (*HealRequest) Reset

func (x *HealRequest) Reset()

func (*HealRequest) SizeVT

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

func (*HealRequest) String

func (x *HealRequest) String() string

func (*HealRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the HealRequest from JSON.

func (*HealRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the HealRequest message from JSON.

func (*HealRequest) UnmarshalVT

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

type HeroResponse

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

HeroResponse identifies the hero SelectHero gave.

func (*HeroResponse) CloneMessageVT

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

func (*HeroResponse) CloneVT

func (m *HeroResponse) CloneVT() *HeroResponse

func (*HeroResponse) EqualMessageVT

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

func (*HeroResponse) EqualVT

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

func (*HeroResponse) GetHero

func (x *HeroResponse) GetHero() uint32

func (*HeroResponse) MarshalJSON

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

MarshalJSON marshals the HeroResponse to JSON.

func (*HeroResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the HeroResponse message to JSON.

func (*HeroResponse) MarshalProtoText

func (x *HeroResponse) MarshalProtoText() string

func (*HeroResponse) MarshalToSizedBufferVT

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

func (*HeroResponse) MarshalToVT

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

func (*HeroResponse) MarshalVT

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

func (*HeroResponse) ProtoMessage

func (*HeroResponse) ProtoMessage()

func (*HeroResponse) Reset

func (x *HeroResponse) Reset()

func (*HeroResponse) SizeVT

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

func (*HeroResponse) String

func (x *HeroResponse) String() string

func (*HeroResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the HeroResponse from JSON.

func (*HeroResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the HeroResponse message from JSON.

func (*HeroResponse) UnmarshalVT

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

type HeroTarget

type HeroTarget struct {

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

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

func (*HeroTarget) CloneMessageVT

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

func (*HeroTarget) CloneVT

func (m *HeroTarget) CloneVT() *HeroTarget

func (*HeroTarget) EqualMessageVT

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

func (*HeroTarget) EqualVT

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

func (*HeroTarget) GetAbilities

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

func (*HeroTarget) GetFacing

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

func (*HeroTarget) GetFresh

func (x *HeroTarget) GetFresh() bool

func (*HeroTarget) GetHealth

func (x *HeroTarget) GetHealth() int32

func (*HeroTarget) GetItems

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

func (*HeroTarget) GetLevel

func (x *HeroTarget) GetLevel() int32

func (*HeroTarget) GetMaxHealth

func (x *HeroTarget) GetMaxHealth() int32

func (*HeroTarget) GetPosition

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

func (*HeroTarget) GetReplaceItems

func (x *HeroTarget) GetReplaceItems() bool

func (*HeroTarget) GetTimers

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

func (*HeroTarget) GetUpgradeBonuses

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

func (*HeroTarget) MarshalJSON

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

MarshalJSON marshals the HeroTarget to JSON.

func (*HeroTarget) MarshalProtoJSON

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

MarshalProtoJSON marshals the HeroTarget message to JSON.

func (*HeroTarget) MarshalProtoText

func (x *HeroTarget) MarshalProtoText() string

func (*HeroTarget) MarshalToSizedBufferVT

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

func (*HeroTarget) MarshalToVT

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

func (*HeroTarget) MarshalVT

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

func (*HeroTarget) ProtoMessage

func (*HeroTarget) ProtoMessage()

func (*HeroTarget) Reset

func (x *HeroTarget) Reset()

func (*HeroTarget) SizeVT

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

func (*HeroTarget) String

func (x *HeroTarget) String() string

func (*HeroTarget) UnmarshalJSON

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

UnmarshalJSON unmarshals the HeroTarget from JSON.

func (*HeroTarget) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the HeroTarget message from JSON.

func (*HeroTarget) UnmarshalVT

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

type ModRole added in v0.1.53

type ModRole int32

ModRole is what a player is to the running mods.

const (
	// MOD_ROLE_UNSPECIFIED is no role.
	ModRole_MOD_ROLE_UNSPECIFIED ModRole = 0
	// MOD_ROLE_DEVELOPER builds the mod.
	ModRole_MOD_ROLE_DEVELOPER ModRole = 1
	// MOD_ROLE_TESTER tries the mod's unfinished features.
	ModRole_MOD_ROLE_TESTER ModRole = 2
)

func (ModRole) Enum added in v0.1.53

func (x ModRole) Enum() *ModRole

func (ModRole) MarshalJSON added in v0.1.53

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

MarshalJSON marshals the ModRole to JSON.

func (ModRole) MarshalProtoJSON added in v0.1.53

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

MarshalProtoJSON marshals the ModRole to JSON.

func (ModRole) MarshalProtoText added in v0.1.53

func (x ModRole) MarshalProtoText() string

func (ModRole) MarshalText added in v0.1.53

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

MarshalText marshals the ModRole to text.

func (ModRole) String added in v0.1.53

func (x ModRole) String() string

func (*ModRole) UnmarshalJSON added in v0.1.53

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

UnmarshalJSON unmarshals the ModRole from JSON.

func (*ModRole) UnmarshalProtoJSON added in v0.1.53

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

UnmarshalProtoJSON unmarshals the ModRole from JSON.

func (*ModRole) UnmarshalText added in v0.1.53

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

UnmarshalText unmarshals the ModRole from text.

type Pawn

type Pawn struct {

	// Entity is the hero's entity handle, which ReadField reads.
	Entity uint32 `protobuf:"varint,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// Hero identifies the hero, as SelectHero returns it.
	Hero uint32 `protobuf:"varint,2,opt,name=hero,proto3" json:"hero,omitempty"`
	// Team is the hero's team number.
	Team int32 `protobuf:"varint,3,opt,name=team,proto3" json:"team,omitempty"`
	// Health is the hero's health; zero or less is dead.
	Health int32 `protobuf:"varint,4,opt,name=health,proto3" json:"health,omitempty"`
	// MaxHealth is the hero's networked maximum health, which leaves out
	// health from items until the hero respawns.
	MaxHealth int32 `protobuf:"varint,5,opt,name=max_health,json=maxHealth,proto3" json:"maxHealth,omitempty"`
	// Position is the hero's origin, at its feet.
	Position *geometry.Vec3 `protobuf:"bytes,6,opt,name=position,proto3" json:"position,omitempty"`
	// EyeAngles is where the hero aims.
	EyeAngles *geometry.EulerAngles `protobuf:"bytes,7,opt,name=eye_angles,json=eyeAngles,proto3" json:"eyeAngles,omitempty"`
	// CameraAngles is where the player's camera looks.
	CameraAngles *geometry.EulerAngles `protobuf:"bytes,8,opt,name=camera_angles,json=cameraAngles,proto3" json:"cameraAngles,omitempty"`
	// Stamina is the hero's stamina, absent until it has spawned fully.
	Stamina *float32 `protobuf:"fixed32,9,opt,name=stamina,proto3,oneof" json:"stamina,omitempty"`
	// MaxStamina is the hero's maximum stamina, present with stamina.
	MaxStamina *float32 `protobuf:"fixed32,10,opt,name=max_stamina,json=maxStamina,proto3,oneof" json:"maxStamina,omitempty"`
	// Generation is the connection generation the hero belongs to.
	Generation uint32 `protobuf:"varint,11,opt,name=generation,proto3" json:"generation,omitempty"`
	// Souls is the souls the player holds.
	Souls int32 `protobuf:"varint,12,opt,name=souls,proto3" json:"souls,omitempty"`
	// EyePosition is where the hero's view starts, for aiming traces.
	EyePosition *geometry.Vec3 `protobuf:"bytes,13,opt,name=eye_position,json=eyePosition,proto3" json:"eyePosition,omitempty"`
	// Velocity is the hero's motion in units per second.
	Velocity *geometry.Vec3 `protobuf:"bytes,14,opt,name=velocity,proto3" json:"velocity,omitempty"`
	// CarryingUrn is whether the hero carries the soul urn, absent when the
	// game's modifier states cannot be read.
	CarryingUrn *bool `protobuf:"varint,15,opt,name=carrying_urn,json=carryingUrn,proto3,oneof" json:"carryingUrn,omitempty"`
	// Score is the player's scoreboard, absent when the game's scoreboard
	// cannot be read.
	Score *Score `protobuf:"bytes,16,opt,name=score,proto3,oneof" json:"score,omitempty"`
	// CameraPosition is where the player's camera was in their latest command,
	// shoulder offset included; a ray from it along camera_angles passes
	// through the reticle. Absent for a bot and on hosts that cannot read
	// commands.
	CameraPosition *geometry.Vec3 `protobuf:"bytes,17,opt,name=camera_position,json=cameraPosition,proto3,oneof" json:"cameraPosition,omitempty"`
	// EffectiveMaxHealth is the maximum the hero's health bar shows, health
	// from items included. Absent when the game's own reading is unavailable.
	EffectiveMaxHealth *int32 `protobuf:"varint,18,opt,name=effective_max_health,json=effectiveMaxHealth,proto3,oneof" json:"effectiveMaxHealth,omitempty"`
	// contains filtered or unexported fields
}

Pawn is one player's hero this frame.

func (*Pawn) CloneMessageVT

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

func (*Pawn) CloneVT

func (m *Pawn) CloneVT() *Pawn

func (*Pawn) EqualMessageVT

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

func (*Pawn) EqualVT

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

func (*Pawn) GetCameraAngles

func (x *Pawn) GetCameraAngles() *geometry.EulerAngles

func (*Pawn) GetCameraPosition added in v0.1.13

func (x *Pawn) GetCameraPosition() *geometry.Vec3

func (*Pawn) GetCarryingUrn

func (x *Pawn) GetCarryingUrn() bool

func (*Pawn) GetEffectiveMaxHealth added in v0.1.56

func (x *Pawn) GetEffectiveMaxHealth() int32

func (*Pawn) GetEntity

func (x *Pawn) GetEntity() uint32

func (*Pawn) GetEyeAngles

func (x *Pawn) GetEyeAngles() *geometry.EulerAngles

func (*Pawn) GetEyePosition

func (x *Pawn) GetEyePosition() *geometry.Vec3

func (*Pawn) GetGeneration

func (x *Pawn) GetGeneration() uint32

func (*Pawn) GetHealth

func (x *Pawn) GetHealth() int32

func (*Pawn) GetHero

func (x *Pawn) GetHero() uint32

func (*Pawn) GetMaxHealth

func (x *Pawn) GetMaxHealth() int32

func (*Pawn) GetMaxStamina

func (x *Pawn) GetMaxStamina() float32

func (*Pawn) GetPosition

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

func (*Pawn) GetScore

func (x *Pawn) GetScore() *Score

func (*Pawn) GetSouls

func (x *Pawn) GetSouls() int32

func (*Pawn) GetStamina

func (x *Pawn) GetStamina() float32

func (*Pawn) GetTeam

func (x *Pawn) GetTeam() int32

func (*Pawn) GetVelocity

func (x *Pawn) GetVelocity() *geometry.Vec3

func (*Pawn) MarshalJSON

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

MarshalJSON marshals the Pawn to JSON.

func (*Pawn) MarshalProtoJSON

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

MarshalProtoJSON marshals the Pawn message to JSON.

func (*Pawn) MarshalProtoText

func (x *Pawn) MarshalProtoText() string

func (*Pawn) MarshalToSizedBufferVT

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

func (*Pawn) MarshalToVT

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

func (*Pawn) MarshalVT

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

func (*Pawn) ProtoMessage

func (*Pawn) ProtoMessage()

func (*Pawn) Reset

func (x *Pawn) Reset()

func (*Pawn) SizeVT

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

func (*Pawn) String

func (x *Pawn) String() string

func (*Pawn) UnmarshalJSON

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

UnmarshalJSON unmarshals the Pawn from JSON.

func (*Pawn) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the Pawn message from JSON.

func (*Pawn) UnmarshalVT

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

type PawnResponse

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

PawnResponse holds the player's hero, absent without a live one.

func (*PawnResponse) CloneMessageVT

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

func (*PawnResponse) CloneVT

func (m *PawnResponse) CloneVT() *PawnResponse

func (*PawnResponse) EqualMessageVT

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

func (*PawnResponse) EqualVT

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

func (*PawnResponse) GetPawn

func (x *PawnResponse) GetPawn() *Pawn

func (*PawnResponse) MarshalJSON

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

MarshalJSON marshals the PawnResponse to JSON.

func (*PawnResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the PawnResponse message to JSON.

func (*PawnResponse) MarshalProtoText

func (x *PawnResponse) MarshalProtoText() string

func (*PawnResponse) MarshalToSizedBufferVT

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

func (*PawnResponse) MarshalToVT

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

func (*PawnResponse) MarshalVT

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

func (*PawnResponse) ProtoMessage

func (*PawnResponse) ProtoMessage()

func (*PawnResponse) Reset

func (x *PawnResponse) Reset()

func (*PawnResponse) SizeVT

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

func (*PawnResponse) String

func (x *PawnResponse) String() string

func (*PawnResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the PawnResponse from JSON.

func (*PawnResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the PawnResponse message from JSON.

func (*PawnResponse) UnmarshalVT

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

type PlayerRequest

type PlayerRequest struct {

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

PlayerRequest addresses one player.

func (*PlayerRequest) CloneMessageVT

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

func (*PlayerRequest) CloneVT

func (m *PlayerRequest) CloneVT() *PlayerRequest

func (*PlayerRequest) EqualMessageVT

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

func (*PlayerRequest) EqualVT

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

func (*PlayerRequest) GetPlayer

func (x *PlayerRequest) GetPlayer() int32

func (*PlayerRequest) MarshalJSON

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

MarshalJSON marshals the PlayerRequest to JSON.

func (*PlayerRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the PlayerRequest message to JSON.

func (*PlayerRequest) MarshalProtoText

func (x *PlayerRequest) MarshalProtoText() string

func (*PlayerRequest) MarshalToSizedBufferVT

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

func (*PlayerRequest) MarshalToVT

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

func (*PlayerRequest) MarshalVT

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

func (*PlayerRequest) ProtoMessage

func (*PlayerRequest) ProtoMessage()

func (*PlayerRequest) Reset

func (x *PlayerRequest) Reset()

func (*PlayerRequest) SizeVT

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

func (*PlayerRequest) String

func (x *PlayerRequest) String() string

func (*PlayerRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the PlayerRequest from JSON.

func (*PlayerRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the PlayerRequest message from JSON.

func (*PlayerRequest) UnmarshalVT

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

type PlayersChangedEvent

type PlayersChangedEvent struct {
	Players []*Connection `protobuf:"bytes,1,rep,name=players,proto3" json:"players,omitempty"`
	// contains filtered or unexported fields
}

PlayersChangedEvent holds every occupied player slot, as Players lists them.

func (*PlayersChangedEvent) CloneMessageVT

func (*PlayersChangedEvent) CloneVT

func (*PlayersChangedEvent) EqualMessageVT

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

func (*PlayersChangedEvent) EqualVT

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

func (*PlayersChangedEvent) GetPlayers

func (x *PlayersChangedEvent) GetPlayers() []*Connection

func (*PlayersChangedEvent) MarshalJSON

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

MarshalJSON marshals the PlayersChangedEvent to JSON.

func (*PlayersChangedEvent) MarshalProtoJSON

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

MarshalProtoJSON marshals the PlayersChangedEvent message to JSON.

func (*PlayersChangedEvent) MarshalProtoText

func (x *PlayersChangedEvent) MarshalProtoText() string

func (*PlayersChangedEvent) MarshalToSizedBufferVT

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

func (*PlayersChangedEvent) MarshalToVT

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

func (*PlayersChangedEvent) MarshalVT

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

func (*PlayersChangedEvent) ProtoMessage

func (*PlayersChangedEvent) ProtoMessage()

func (*PlayersChangedEvent) Reset

func (x *PlayersChangedEvent) Reset()

func (*PlayersChangedEvent) SizeVT

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

func (*PlayersChangedEvent) String

func (x *PlayersChangedEvent) String() string

func (*PlayersChangedEvent) UnmarshalJSON

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

UnmarshalJSON unmarshals the PlayersChangedEvent from JSON.

func (*PlayersChangedEvent) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the PlayersChangedEvent message from JSON.

func (*PlayersChangedEvent) UnmarshalVT

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

type PlayersResponse

type PlayersResponse struct {
	Players []*Connection `protobuf:"bytes,1,rep,name=players,proto3" json:"players,omitempty"`
	// contains filtered or unexported fields
}

PlayersResponse lists the occupied player slots in slot order.

func (*PlayersResponse) CloneMessageVT

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

func (*PlayersResponse) CloneVT

func (m *PlayersResponse) CloneVT() *PlayersResponse

func (*PlayersResponse) EqualMessageVT

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

func (*PlayersResponse) EqualVT

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

func (*PlayersResponse) GetPlayers

func (x *PlayersResponse) GetPlayers() []*Connection

func (*PlayersResponse) MarshalJSON

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

MarshalJSON marshals the PlayersResponse to JSON.

func (*PlayersResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the PlayersResponse message to JSON.

func (*PlayersResponse) MarshalProtoText

func (x *PlayersResponse) MarshalProtoText() string

func (*PlayersResponse) MarshalToSizedBufferVT

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

func (*PlayersResponse) MarshalToVT

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

func (*PlayersResponse) MarshalVT

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

func (*PlayersResponse) ProtoMessage

func (*PlayersResponse) ProtoMessage()

func (*PlayersResponse) Reset

func (x *PlayersResponse) Reset()

func (*PlayersResponse) SizeVT

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

func (*PlayersResponse) String

func (x *PlayersResponse) String() string

func (*PlayersResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the PlayersResponse from JSON.

func (*PlayersResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the PlayersResponse message from JSON.

func (*PlayersResponse) UnmarshalVT

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

type ResetHeroRequest

type ResetHeroRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Souls is the amount the player holds after the reset.
	Souls int32 `protobuf:"varint,2,opt,name=souls,proto3" json:"souls,omitempty"`
	// contains filtered or unexported fields
}

ResetHeroRequest rebuilds one player's hero with a fresh build.

func (*ResetHeroRequest) CloneMessageVT

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

func (*ResetHeroRequest) CloneVT

func (m *ResetHeroRequest) CloneVT() *ResetHeroRequest

func (*ResetHeroRequest) EqualMessageVT

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

func (*ResetHeroRequest) EqualVT

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

func (*ResetHeroRequest) GetPlayer

func (x *ResetHeroRequest) GetPlayer() int32

func (*ResetHeroRequest) GetSouls

func (x *ResetHeroRequest) GetSouls() int32

func (*ResetHeroRequest) MarshalJSON

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

MarshalJSON marshals the ResetHeroRequest to JSON.

func (*ResetHeroRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the ResetHeroRequest message to JSON.

func (*ResetHeroRequest) MarshalProtoText

func (x *ResetHeroRequest) MarshalProtoText() string

func (*ResetHeroRequest) MarshalToSizedBufferVT

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

func (*ResetHeroRequest) MarshalToVT

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

func (*ResetHeroRequest) MarshalVT

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

func (*ResetHeroRequest) ProtoMessage

func (*ResetHeroRequest) ProtoMessage()

func (*ResetHeroRequest) Reset

func (x *ResetHeroRequest) Reset()

func (*ResetHeroRequest) SizeVT

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

func (*ResetHeroRequest) String

func (x *ResetHeroRequest) String() string

func (*ResetHeroRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the ResetHeroRequest from JSON.

func (*ResetHeroRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the ResetHeroRequest message from JSON.

func (*ResetHeroRequest) UnmarshalVT

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

type RestoreHeroRequest

type RestoreHeroRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Target is the state to give the hero.
	Target *HeroTarget `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

RestoreHeroRequest starts restoring a player's live hero to a target.

func (*RestoreHeroRequest) CloneMessageVT

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

func (*RestoreHeroRequest) CloneVT

func (m *RestoreHeroRequest) CloneVT() *RestoreHeroRequest

func (*RestoreHeroRequest) EqualMessageVT

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

func (*RestoreHeroRequest) EqualVT

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

func (*RestoreHeroRequest) GetPlayer

func (x *RestoreHeroRequest) GetPlayer() int32

func (*RestoreHeroRequest) GetTarget

func (x *RestoreHeroRequest) GetTarget() *HeroTarget

func (*RestoreHeroRequest) MarshalJSON

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

MarshalJSON marshals the RestoreHeroRequest to JSON.

func (*RestoreHeroRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the RestoreHeroRequest message to JSON.

func (*RestoreHeroRequest) MarshalProtoText

func (x *RestoreHeroRequest) MarshalProtoText() string

func (*RestoreHeroRequest) MarshalToSizedBufferVT

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

func (*RestoreHeroRequest) MarshalToVT

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

func (*RestoreHeroRequest) MarshalVT

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

func (*RestoreHeroRequest) ProtoMessage

func (*RestoreHeroRequest) ProtoMessage()

func (*RestoreHeroRequest) Reset

func (x *RestoreHeroRequest) Reset()

func (*RestoreHeroRequest) SizeVT

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

func (*RestoreHeroRequest) String

func (x *RestoreHeroRequest) String() string

func (*RestoreHeroRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the RestoreHeroRequest from JSON.

func (*RestoreHeroRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the RestoreHeroRequest message from JSON.

func (*RestoreHeroRequest) UnmarshalVT

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

type RestoredEvent

type RestoredEvent struct {

	// Player is the player whose hero was restored.
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Error describes why the hero does not match its target, or is empty when
	// it held the target for a second.
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

RestoredEvent reports how a RestoreHero ended.

func (*RestoredEvent) CloneMessageVT

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

func (*RestoredEvent) CloneVT

func (m *RestoredEvent) CloneVT() *RestoredEvent

func (*RestoredEvent) EqualMessageVT

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

func (*RestoredEvent) EqualVT

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

func (*RestoredEvent) GetError

func (x *RestoredEvent) GetError() string

func (*RestoredEvent) GetPlayer

func (x *RestoredEvent) GetPlayer() int32

func (*RestoredEvent) MarshalJSON

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

MarshalJSON marshals the RestoredEvent to JSON.

func (*RestoredEvent) MarshalProtoJSON

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

MarshalProtoJSON marshals the RestoredEvent message to JSON.

func (*RestoredEvent) MarshalProtoText

func (x *RestoredEvent) MarshalProtoText() string

func (*RestoredEvent) MarshalToSizedBufferVT

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

func (*RestoredEvent) MarshalToVT

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

func (*RestoredEvent) MarshalVT

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

func (*RestoredEvent) ProtoMessage

func (*RestoredEvent) ProtoMessage()

func (*RestoredEvent) Reset

func (x *RestoredEvent) Reset()

func (*RestoredEvent) SizeVT

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

func (*RestoredEvent) String

func (x *RestoredEvent) String() string

func (*RestoredEvent) UnmarshalJSON

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

UnmarshalJSON unmarshals the RestoredEvent from JSON.

func (*RestoredEvent) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the RestoredEvent message from JSON.

func (*RestoredEvent) UnmarshalVT

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

type RolesTable added in v0.1.53

type RolesTable struct {

	// Connections holds the roles of the listed connections. An entry whose
	// generation no longer matches its slot's connection gives nothing.
	Connections []*ConnectionRoles `protobuf:"bytes,1,rep,name=connections,proto3" json:"connections,omitempty"`
	// Humans holds the roles of every human connection the table does not list.
	Humans []ModRole `protobuf:"varint,2,rep,packed,name=humans,proto3" json:"humans,omitempty"`
	// Mod names the mod the table is for. A table with no mod serves every mod
	// that has no table of its own.
	Mod string `protobuf:"bytes,3,opt,name=mod,proto3" json:"mod,omitempty"`
	// contains filtered or unexported fields
}

RolesTable gives each connected player their roles in one mod. Each table replaces the one before it for the same mod.

func (*RolesTable) CloneMessageVT added in v0.1.53

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

func (*RolesTable) CloneVT added in v0.1.53

func (m *RolesTable) CloneVT() *RolesTable

func (*RolesTable) EqualMessageVT added in v0.1.53

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

func (*RolesTable) EqualVT added in v0.1.53

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

func (*RolesTable) GetConnections added in v0.1.53

func (x *RolesTable) GetConnections() []*ConnectionRoles

func (*RolesTable) GetHumans added in v0.1.53

func (x *RolesTable) GetHumans() []ModRole

func (*RolesTable) GetMod added in v0.1.53

func (x *RolesTable) GetMod() string

func (*RolesTable) MarshalJSON added in v0.1.53

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

MarshalJSON marshals the RolesTable to JSON.

func (*RolesTable) MarshalProtoJSON added in v0.1.53

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

MarshalProtoJSON marshals the RolesTable message to JSON.

func (*RolesTable) MarshalProtoText added in v0.1.53

func (x *RolesTable) MarshalProtoText() string

func (*RolesTable) MarshalToSizedBufferVT added in v0.1.53

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

func (*RolesTable) MarshalToVT added in v0.1.53

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

func (*RolesTable) MarshalVT added in v0.1.53

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

func (*RolesTable) ProtoMessage added in v0.1.53

func (*RolesTable) ProtoMessage()

func (*RolesTable) Reset added in v0.1.53

func (x *RolesTable) Reset()

func (*RolesTable) SizeVT added in v0.1.53

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

func (*RolesTable) String added in v0.1.53

func (x *RolesTable) String() string

func (*RolesTable) UnmarshalJSON added in v0.1.53

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

UnmarshalJSON unmarshals the RolesTable from JSON.

func (*RolesTable) UnmarshalProtoJSON added in v0.1.53

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

UnmarshalProtoJSON unmarshals the RolesTable message from JSON.

func (*RolesTable) UnmarshalVT added in v0.1.53

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

type Score

type Score struct {
	Kills   int32 `protobuf:"varint,1,opt,name=kills,proto3" json:"kills,omitempty"`
	Deaths  int32 `protobuf:"varint,2,opt,name=deaths,proto3" json:"deaths,omitempty"`
	Assists int32 `protobuf:"varint,3,opt,name=assists,proto3" json:"assists,omitempty"`
	// LastHits counts enemy troopers and neutrals the player finished.
	LastHits int32 `protobuf:"varint,4,opt,name=last_hits,json=lastHits,proto3" json:"lastHits,omitempty"`
	// Denies counts allied troopers the player finished before an enemy could.
	Denies int32 `protobuf:"varint,5,opt,name=denies,proto3" json:"denies,omitempty"`
	// HeroDamage is the damage the player dealt to enemy heroes.
	HeroDamage int32 `protobuf:"varint,6,opt,name=hero_damage,json=heroDamage,proto3" json:"heroDamage,omitempty"`
	// HeroHealing is the healing the player gave other heroes.
	HeroHealing int32 `protobuf:"varint,7,opt,name=hero_healing,json=heroHealing,proto3" json:"heroHealing,omitempty"`
	// NetWorth is the souls the player has earned, spent or not.
	NetWorth int32 `protobuf:"varint,8,opt,name=net_worth,json=netWorth,proto3" json:"netWorth,omitempty"`
	// contains filtered or unexported fields
}

Score is one player's scoreboard counters since the match began, as the game counts them.

func (*Score) CloneMessageVT

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

func (*Score) CloneVT

func (m *Score) CloneVT() *Score

func (*Score) EqualMessageVT

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

func (*Score) EqualVT

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

func (*Score) GetAssists

func (x *Score) GetAssists() int32

func (*Score) GetDeaths

func (x *Score) GetDeaths() int32

func (*Score) GetDenies

func (x *Score) GetDenies() int32

func (*Score) GetHeroDamage

func (x *Score) GetHeroDamage() int32

func (*Score) GetHeroHealing

func (x *Score) GetHeroHealing() int32

func (*Score) GetKills

func (x *Score) GetKills() int32

func (*Score) GetLastHits

func (x *Score) GetLastHits() int32

func (*Score) GetNetWorth

func (x *Score) GetNetWorth() int32

func (*Score) MarshalJSON

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

MarshalJSON marshals the Score to JSON.

func (*Score) MarshalProtoJSON

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

MarshalProtoJSON marshals the Score message to JSON.

func (*Score) MarshalProtoText

func (x *Score) MarshalProtoText() string

func (*Score) MarshalToSizedBufferVT

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

func (*Score) MarshalToVT

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

func (*Score) MarshalVT

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

func (*Score) ProtoMessage

func (*Score) ProtoMessage()

func (*Score) Reset

func (x *Score) Reset()

func (*Score) SizeVT

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

func (*Score) String

func (x *Score) String() string

func (*Score) UnmarshalJSON

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

UnmarshalJSON unmarshals the Score from JSON.

func (*Score) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the Score message from JSON.

func (*Score) UnmarshalVT

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

type SelectHeroRequest

type SelectHeroRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Hero names the hero, such as hero_wraith, or gives its identifier as
	// Pawn.hero reports it.
	//
	// Types that are assignable to Hero:
	//	*SelectHeroRequest_HeroName
	//	*SelectHeroRequest_HeroId
	Hero isSelectHeroRequest_Hero `protobuf_oneof:"hero"`
	// Team is the team number to join: 2 or 3.
	Team int32 `protobuf:"varint,4,opt,name=team,proto3" json:"team,omitempty"`
	// contains filtered or unexported fields
}

SelectHeroRequest gives a human player a hero; a bot keeps the hero AddBot gave it.

func (*SelectHeroRequest) CloneMessageVT

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

func (*SelectHeroRequest) CloneVT

func (m *SelectHeroRequest) CloneVT() *SelectHeroRequest

func (*SelectHeroRequest) EqualMessageVT

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

func (*SelectHeroRequest) EqualVT

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

func (*SelectHeroRequest) GetHero

func (m *SelectHeroRequest) GetHero() isSelectHeroRequest_Hero

func (*SelectHeroRequest) GetHeroId

func (x *SelectHeroRequest) GetHeroId() uint32

func (*SelectHeroRequest) GetHeroName

func (x *SelectHeroRequest) GetHeroName() string

func (*SelectHeroRequest) GetPlayer

func (x *SelectHeroRequest) GetPlayer() int32

func (*SelectHeroRequest) GetTeam

func (x *SelectHeroRequest) GetTeam() int32

func (*SelectHeroRequest) MarshalJSON

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

MarshalJSON marshals the SelectHeroRequest to JSON.

func (*SelectHeroRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the SelectHeroRequest message to JSON.

func (*SelectHeroRequest) MarshalProtoText

func (x *SelectHeroRequest) MarshalProtoText() string

func (*SelectHeroRequest) MarshalToSizedBufferVT

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

func (*SelectHeroRequest) MarshalToVT

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

func (*SelectHeroRequest) MarshalVT

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

func (*SelectHeroRequest) ProtoMessage

func (*SelectHeroRequest) ProtoMessage()

func (*SelectHeroRequest) Reset

func (x *SelectHeroRequest) Reset()

func (*SelectHeroRequest) SizeVT

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

func (*SelectHeroRequest) String

func (x *SelectHeroRequest) String() string

func (*SelectHeroRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the SelectHeroRequest from JSON.

func (*SelectHeroRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the SelectHeroRequest message from JSON.

func (*SelectHeroRequest) UnmarshalVT

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

type SelectHeroRequest_HeroId

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

func (*SelectHeroRequest_HeroId) CloneOneofVT

func (m *SelectHeroRequest_HeroId) CloneOneofVT() isSelectHeroRequest_Hero

func (*SelectHeroRequest_HeroId) CloneVT

func (*SelectHeroRequest_HeroId) EqualVT

func (this *SelectHeroRequest_HeroId) EqualVT(thatIface isSelectHeroRequest_Hero) bool

func (*SelectHeroRequest_HeroId) MarshalToSizedBufferVT

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

func (*SelectHeroRequest_HeroId) MarshalToVT

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

func (*SelectHeroRequest_HeroId) SizeVT

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

type SelectHeroRequest_HeroName

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

func (*SelectHeroRequest_HeroName) CloneOneofVT

func (m *SelectHeroRequest_HeroName) CloneOneofVT() isSelectHeroRequest_Hero

func (*SelectHeroRequest_HeroName) CloneVT

func (*SelectHeroRequest_HeroName) EqualVT

func (this *SelectHeroRequest_HeroName) EqualVT(thatIface isSelectHeroRequest_Hero) bool

func (*SelectHeroRequest_HeroName) MarshalToSizedBufferVT

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

func (*SelectHeroRequest_HeroName) MarshalToVT

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

func (*SelectHeroRequest_HeroName) SizeVT

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

type SetStaminaRequest

type SetStaminaRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Stamina is the hero's new stamina; the hero stops at zero and at its
	// maximum.
	Stamina float32 `protobuf:"fixed32,2,opt,name=stamina,proto3" json:"stamina,omitempty"`
	// contains filtered or unexported fields
}

SetStaminaRequest sets one player's stamina.

func (*SetStaminaRequest) CloneMessageVT

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

func (*SetStaminaRequest) CloneVT

func (m *SetStaminaRequest) CloneVT() *SetStaminaRequest

func (*SetStaminaRequest) EqualMessageVT

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

func (*SetStaminaRequest) EqualVT

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

func (*SetStaminaRequest) GetPlayer

func (x *SetStaminaRequest) GetPlayer() int32

func (*SetStaminaRequest) GetStamina

func (x *SetStaminaRequest) GetStamina() float32

func (*SetStaminaRequest) MarshalJSON

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

MarshalJSON marshals the SetStaminaRequest to JSON.

func (*SetStaminaRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the SetStaminaRequest message to JSON.

func (*SetStaminaRequest) MarshalProtoText

func (x *SetStaminaRequest) MarshalProtoText() string

func (*SetStaminaRequest) MarshalToSizedBufferVT

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

func (*SetStaminaRequest) MarshalToVT

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

func (*SetStaminaRequest) MarshalVT

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

func (*SetStaminaRequest) ProtoMessage

func (*SetStaminaRequest) ProtoMessage()

func (*SetStaminaRequest) Reset

func (x *SetStaminaRequest) Reset()

func (*SetStaminaRequest) SizeVT

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

func (*SetStaminaRequest) String

func (x *SetStaminaRequest) String() string

func (*SetStaminaRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the SetStaminaRequest from JSON.

func (*SetStaminaRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the SetStaminaRequest message from JSON.

func (*SetStaminaRequest) UnmarshalVT

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

type StartingSoulsRequest

type StartingSoulsRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Souls is the amount the player should hold at least.
	Souls int32 `protobuf:"varint,2,opt,name=souls,proto3" json:"souls,omitempty"`
	// contains filtered or unexported fields
}

StartingSoulsRequest sets the souls one player's hero spawns with.

func (*StartingSoulsRequest) CloneMessageVT

func (*StartingSoulsRequest) CloneVT

func (*StartingSoulsRequest) EqualMessageVT

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

func (*StartingSoulsRequest) EqualVT

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

func (*StartingSoulsRequest) GetPlayer

func (x *StartingSoulsRequest) GetPlayer() int32

func (*StartingSoulsRequest) GetSouls

func (x *StartingSoulsRequest) GetSouls() int32

func (*StartingSoulsRequest) MarshalJSON

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

MarshalJSON marshals the StartingSoulsRequest to JSON.

func (*StartingSoulsRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the StartingSoulsRequest message to JSON.

func (*StartingSoulsRequest) MarshalProtoText

func (x *StartingSoulsRequest) MarshalProtoText() string

func (*StartingSoulsRequest) MarshalToSizedBufferVT

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

func (*StartingSoulsRequest) MarshalToVT

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

func (*StartingSoulsRequest) MarshalVT

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

func (*StartingSoulsRequest) ProtoMessage

func (*StartingSoulsRequest) ProtoMessage()

func (*StartingSoulsRequest) Reset

func (x *StartingSoulsRequest) Reset()

func (*StartingSoulsRequest) SizeVT

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

func (*StartingSoulsRequest) String

func (x *StartingSoulsRequest) String() string

func (*StartingSoulsRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the StartingSoulsRequest from JSON.

func (*StartingSoulsRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the StartingSoulsRequest message from JSON.

func (*StartingSoulsRequest) UnmarshalVT

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

type TimerTarget

type TimerTarget struct {

	// Id identifies the ability, as Ability.id.
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Charges is the charges it holds.
	Charges int32 `protobuf:"varint,2,opt,name=charges,proto3" json:"charges,omitempty"`
	// CooldownStart and CooldownEnd bound its cooldown.
	CooldownStart *float32 `protobuf:"fixed32,3,opt,name=cooldown_start,json=cooldownStart,proto3,oneof" json:"cooldownStart,omitempty"`
	CooldownEnd   *float32 `protobuf:"fixed32,4,opt,name=cooldown_end,json=cooldownEnd,proto3,oneof" json:"cooldownEnd,omitempty"`
	// RechargeStart and RechargeEnd bound the recovery of its next charge.
	RechargeStart *float32 `protobuf:"fixed32,5,opt,name=recharge_start,json=rechargeStart,proto3,oneof" json:"rechargeStart,omitempty"`
	RechargeEnd   *float32 `protobuf:"fixed32,6,opt,name=recharge_end,json=rechargeEnd,proto3,oneof" json:"rechargeEnd,omitempty"`
	// contains filtered or unexported fields
}

TimerTarget sets one owned ability's or item's charges and cooldowns. Times are seconds from the moment the host writes them; an omitted start and end mean no timer.

func (*TimerTarget) CloneMessageVT

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

func (*TimerTarget) CloneVT

func (m *TimerTarget) CloneVT() *TimerTarget

func (*TimerTarget) EqualMessageVT

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

func (*TimerTarget) EqualVT

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

func (*TimerTarget) GetCharges

func (x *TimerTarget) GetCharges() int32

func (*TimerTarget) GetCooldownEnd

func (x *TimerTarget) GetCooldownEnd() float32

func (*TimerTarget) GetCooldownStart

func (x *TimerTarget) GetCooldownStart() float32

func (*TimerTarget) GetId

func (x *TimerTarget) GetId() uint32

func (*TimerTarget) GetRechargeEnd

func (x *TimerTarget) GetRechargeEnd() float32

func (*TimerTarget) GetRechargeStart

func (x *TimerTarget) GetRechargeStart() float32

func (*TimerTarget) MarshalJSON

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

MarshalJSON marshals the TimerTarget to JSON.

func (*TimerTarget) MarshalProtoJSON

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

MarshalProtoJSON marshals the TimerTarget message to JSON.

func (*TimerTarget) MarshalProtoText

func (x *TimerTarget) MarshalProtoText() string

func (*TimerTarget) MarshalToSizedBufferVT

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

func (*TimerTarget) MarshalToVT

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

func (*TimerTarget) MarshalVT

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

func (*TimerTarget) ProtoMessage

func (*TimerTarget) ProtoMessage()

func (*TimerTarget) Reset

func (x *TimerTarget) Reset()

func (*TimerTarget) SizeVT

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

func (*TimerTarget) String

func (x *TimerTarget) String() string

func (*TimerTarget) UnmarshalJSON

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

UnmarshalJSON unmarshals the TimerTarget from JSON.

func (*TimerTarget) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the TimerTarget message from JSON.

func (*TimerTarget) UnmarshalVT

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

type WatchRequest

type WatchRequest struct {

	// Player is the spectator's server slot.
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Target is the entity handle of the hero to follow, as Pawn.entity
	// reports it.
	Target uint32 `protobuf:"varint,2,opt,name=target,proto3" json:"target,omitempty"`
	// Chase follows from behind the hero, as the game's chase camera does,
	// instead of through its eyes.
	Chase *bool `protobuf:"varint,3,opt,name=chase,proto3,oneof" json:"chase,omitempty"`
	// contains filtered or unexported fields
}

WatchRequest names a spectator and the hero they follow.

func (*WatchRequest) CloneMessageVT

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

func (*WatchRequest) CloneVT

func (m *WatchRequest) CloneVT() *WatchRequest

func (*WatchRequest) EqualMessageVT

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

func (*WatchRequest) EqualVT

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

func (*WatchRequest) GetChase

func (x *WatchRequest) GetChase() bool

func (*WatchRequest) GetPlayer

func (x *WatchRequest) GetPlayer() int32

func (*WatchRequest) GetTarget

func (x *WatchRequest) GetTarget() uint32

func (*WatchRequest) MarshalJSON

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

MarshalJSON marshals the WatchRequest to JSON.

func (*WatchRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the WatchRequest message to JSON.

func (*WatchRequest) MarshalProtoText

func (x *WatchRequest) MarshalProtoText() string

func (*WatchRequest) MarshalToSizedBufferVT

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

func (*WatchRequest) MarshalToVT

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

func (*WatchRequest) MarshalVT

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

func (*WatchRequest) ProtoMessage

func (*WatchRequest) ProtoMessage()

func (*WatchRequest) Reset

func (x *WatchRequest) Reset()

func (*WatchRequest) SizeVT

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

func (*WatchRequest) String

func (x *WatchRequest) String() string

func (*WatchRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the WatchRequest from JSON.

func (*WatchRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the WatchRequest message from JSON.

func (*WatchRequest) UnmarshalVT

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

Jump to

Keyboard shortcuts

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