movement

package
v0.1.73 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MovementAction_name = map[int32]string{
		0:  "MOVEMENT_ACTION_UNKNOWN",
		1:  "MOVEMENT_ACTION_LANDED",
		2:  "MOVEMENT_ACTION_ZIPLINE_ATTACHED",
		3:  "MOVEMENT_ACTION_GROUND_DASH",
		4:  "MOVEMENT_ACTION_SLIDE",
		5:  "MOVEMENT_ACTION_BOUNCE_PAD",
		6:  "MOVEMENT_ACTION_DASH_JUMP",
		7:  "MOVEMENT_ACTION_AIR_JUMP",
		8:  "MOVEMENT_ACTION_WALL_JUMP",
		9:  "MOVEMENT_ACTION_AIR_DASH",
		10: "MOVEMENT_ACTION_MELEE_STARTED",
		11: "MOVEMENT_ACTION_ABILITY_EXECUTED",
	}
	MovementAction_value = map[string]int32{
		"MOVEMENT_ACTION_UNKNOWN":          0,
		"MOVEMENT_ACTION_LANDED":           1,
		"MOVEMENT_ACTION_ZIPLINE_ATTACHED": 2,
		"MOVEMENT_ACTION_GROUND_DASH":      3,
		"MOVEMENT_ACTION_SLIDE":            4,
		"MOVEMENT_ACTION_BOUNCE_PAD":       5,
		"MOVEMENT_ACTION_DASH_JUMP":        6,
		"MOVEMENT_ACTION_AIR_JUMP":         7,
		"MOVEMENT_ACTION_WALL_JUMP":        8,
		"MOVEMENT_ACTION_AIR_DASH":         9,
		"MOVEMENT_ACTION_MELEE_STARTED":    10,
		"MOVEMENT_ACTION_ABILITY_EXECUTED": 11,
	}
)

Enum value maps for MovementAction.

View Source
var (
	InteractionKind_name = map[int32]string{
		0: "INTERACTION_KIND_UNKNOWN",
		1: "INTERACTION_KIND_PICKUP_COLLECTED",
		2: "INTERACTION_KIND_PROP_BROKEN",
	}
	InteractionKind_value = map[string]int32{
		"INTERACTION_KIND_UNKNOWN":          0,
		"INTERACTION_KIND_PICKUP_COLLECTED": 1,
		"INTERACTION_KIND_PROP_BROKEN":      2,
	}
)

Enum value maps for InteractionKind.

View Source
var (
	Lane_name = map[int32]string{
		0: "LANE_NONE",
		1: "LANE_YELLOW",
		3: "LANE_GREEN",
		4: "LANE_BLUE",
		6: "LANE_PURPLE",
	}
	Lane_value = map[string]int32{
		"LANE_NONE":   0,
		"LANE_YELLOW": 1,
		"LANE_GREEN":  3,
		"LANE_BLUE":   4,
		"LANE_PURPLE": 6,
	}
)

Enum value maps for Lane.

Functions

This section is empty.

Types

type DriveCommand

type DriveCommand struct {

	// Facing is where the hero looks and aims; its yaw turns the body, as the
	// camera turns a player's hero.
	Facing *geometry.EulerAngles `protobuf:"bytes,1,opt,name=facing,proto3" json:"facing,omitempty"`
	// Forward and Left are the movement axes, from -1 to 1, relative to the
	// facing's yaw.
	Forward float32 `protobuf:"fixed32,2,opt,name=forward,proto3" json:"forward,omitempty"`
	Left    float32 `protobuf:"fixed32,3,opt,name=left,proto3" json:"left,omitempty"`
	// Held holds down these buttons on every tick.
	Held uint64 `protobuf:"varint,4,opt,name=held,proto3" json:"held,omitempty"`
	// Pressed presses these buttons on the next tick only, as a tap.
	Pressed uint64 `protobuf:"varint,5,opt,name=pressed,proto3" json:"pressed,omitempty"`
	// contains filtered or unexported fields
}

DriveCommand is a player's controls for one tick and the ticks after it.

func (*DriveCommand) CloneMessageVT

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

func (*DriveCommand) CloneVT

func (m *DriveCommand) CloneVT() *DriveCommand

func (*DriveCommand) EqualMessageVT

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

func (*DriveCommand) EqualVT

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

func (*DriveCommand) GetFacing

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

func (*DriveCommand) GetForward

func (x *DriveCommand) GetForward() float32

func (*DriveCommand) GetHeld

func (x *DriveCommand) GetHeld() uint64

func (*DriveCommand) GetLeft

func (x *DriveCommand) GetLeft() float32

func (*DriveCommand) GetPressed

func (x *DriveCommand) GetPressed() uint64

func (*DriveCommand) MarshalJSON

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

MarshalJSON marshals the DriveCommand to JSON.

func (*DriveCommand) MarshalProtoJSON

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

MarshalProtoJSON marshals the DriveCommand message to JSON.

func (*DriveCommand) MarshalProtoText

func (x *DriveCommand) MarshalProtoText() string

func (*DriveCommand) MarshalToSizedBufferVT

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

func (*DriveCommand) MarshalToVT

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

func (*DriveCommand) MarshalVT

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

func (*DriveCommand) ProtoMessage

func (*DriveCommand) ProtoMessage()

func (*DriveCommand) Reset

func (x *DriveCommand) Reset()

func (*DriveCommand) SizeVT

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

func (*DriveCommand) String

func (x *DriveCommand) String() string

func (*DriveCommand) UnmarshalJSON

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

UnmarshalJSON unmarshals the DriveCommand from JSON.

func (*DriveCommand) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the DriveCommand message from JSON.

func (*DriveCommand) UnmarshalVT

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

type DriveRequest

type DriveRequest struct {
	Player  int32         `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	Command *DriveCommand `protobuf:"bytes,2,opt,name=command,proto3,oneof" json:"command,omitempty"`
	// contains filtered or unexported fields
}

DriveRequest drives one bot, or releases it without a command.

func (*DriveRequest) CloneMessageVT

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

func (*DriveRequest) CloneVT

func (m *DriveRequest) CloneVT() *DriveRequest

func (*DriveRequest) EqualMessageVT

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

func (*DriveRequest) EqualVT

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

func (*DriveRequest) GetCommand

func (x *DriveRequest) GetCommand() *DriveCommand

func (*DriveRequest) GetPlayer

func (x *DriveRequest) GetPlayer() int32

func (*DriveRequest) MarshalJSON

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

MarshalJSON marshals the DriveRequest to JSON.

func (*DriveRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the DriveRequest message to JSON.

func (*DriveRequest) MarshalProtoText

func (x *DriveRequest) MarshalProtoText() string

func (*DriveRequest) MarshalToSizedBufferVT

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

func (*DriveRequest) MarshalToVT

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

func (*DriveRequest) MarshalVT

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

func (*DriveRequest) ProtoMessage

func (*DriveRequest) ProtoMessage()

func (*DriveRequest) Reset

func (x *DriveRequest) Reset()

func (*DriveRequest) SizeVT

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

func (*DriveRequest) String

func (x *DriveRequest) String() string

func (*DriveRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the DriveRequest from JSON.

func (*DriveRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the DriveRequest message from JSON.

func (*DriveRequest) UnmarshalVT

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

type Interaction added in v0.1.68

type Interaction struct {
	Kind InteractionKind `protobuf:"varint,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// Entity is the object's entity handle, which names it within this world
	// only; Origin and the names identify it across sessions.
	Entity uint32 `protobuf:"varint,2,opt,name=entity,proto3" json:"entity,omitempty"`
	// DesignerName is the object's entity class, such as citadel_pickup_health,
	// and SubclassId the hash of its subclass, such as the healing bat's
	// citadel_pickup_health_float_in_world.
	DesignerName string `protobuf:"bytes,3,opt,name=designer_name,json=designerName,proto3" json:"designerName,omitempty"`
	SubclassId   uint32 `protobuf:"varint,4,opt,name=subclass_id,json=subclassId,proto3" json:"subclassId,omitempty"`
	// Origin is where the object stood before the interaction moved it: a
	// vacuumed pickup's position as its vacuum began, otherwise its origin.
	Origin *geometry.Vec3 `protobuf:"bytes,5,opt,name=origin,proto3" json:"origin,omitempty"`
	// VacuumStart is the game time the pickup began flying to the hero, absent
	// for a pickup collected on touch and for a prop. The interaction itself
	// completed on the sample's tick.
	VacuumStart *float32 `protobuf:"fixed32,6,opt,name=vacuum_start,json=vacuumStart,proto3,oneof" json:"vacuumStart,omitempty"`
	// Inflictor is the entity that broke a prop, such as the hero's projectile,
	// or zero.
	Inflictor uint32 `protobuf:"varint,7,opt,name=inflictor,proto3" json:"inflictor,omitempty"`
	// contains filtered or unexported fields
}

Interaction is one completed interaction with a map object.

func (*Interaction) CloneMessageVT added in v0.1.68

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

func (*Interaction) CloneVT added in v0.1.68

func (m *Interaction) CloneVT() *Interaction

func (*Interaction) EqualMessageVT added in v0.1.68

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

func (*Interaction) EqualVT added in v0.1.68

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

func (*Interaction) GetDesignerName added in v0.1.68

func (x *Interaction) GetDesignerName() string

func (*Interaction) GetEntity added in v0.1.68

func (x *Interaction) GetEntity() uint32

func (*Interaction) GetInflictor added in v0.1.68

func (x *Interaction) GetInflictor() uint32

func (*Interaction) GetKind added in v0.1.68

func (x *Interaction) GetKind() InteractionKind

func (*Interaction) GetOrigin added in v0.1.68

func (x *Interaction) GetOrigin() *geometry.Vec3

func (*Interaction) GetSubclassId added in v0.1.68

func (x *Interaction) GetSubclassId() uint32

func (*Interaction) GetVacuumStart added in v0.1.68

func (x *Interaction) GetVacuumStart() float32

func (*Interaction) MarshalJSON added in v0.1.68

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

MarshalJSON marshals the Interaction to JSON.

func (*Interaction) MarshalProtoJSON added in v0.1.68

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

MarshalProtoJSON marshals the Interaction message to JSON.

func (*Interaction) MarshalProtoText added in v0.1.68

func (x *Interaction) MarshalProtoText() string

func (*Interaction) MarshalToSizedBufferVT added in v0.1.68

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

func (*Interaction) MarshalToVT added in v0.1.68

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

func (*Interaction) MarshalVT added in v0.1.68

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

func (*Interaction) ProtoMessage added in v0.1.68

func (*Interaction) ProtoMessage()

func (*Interaction) Reset added in v0.1.68

func (x *Interaction) Reset()

func (*Interaction) SizeVT added in v0.1.68

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

func (*Interaction) String added in v0.1.68

func (x *Interaction) String() string

func (*Interaction) UnmarshalJSON added in v0.1.68

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

UnmarshalJSON unmarshals the Interaction from JSON.

func (*Interaction) UnmarshalProtoJSON added in v0.1.68

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

UnmarshalProtoJSON unmarshals the Interaction message from JSON.

func (*Interaction) UnmarshalVT added in v0.1.68

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

type InteractionKind added in v0.1.68

type InteractionKind int32

InteractionKind names how a hero completed an interaction with a map object.

const (
	InteractionKind_INTERACTION_KIND_UNKNOWN InteractionKind = 0
	// PickupCollected is a pickup, such as a healing bat, completing its
	// collection by this hero: on touch, or when its vacuum reaches the hero.
	InteractionKind_INTERACTION_KIND_PICKUP_COLLECTED InteractionKind = 1
	// PropBroken is a breakable prop, such as a crate, the game says this hero
	// broke.
	InteractionKind_INTERACTION_KIND_PROP_BROKEN InteractionKind = 2
)

func (InteractionKind) Enum added in v0.1.68

func (x InteractionKind) Enum() *InteractionKind

func (InteractionKind) MarshalJSON added in v0.1.68

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

MarshalJSON marshals the InteractionKind to JSON.

func (InteractionKind) MarshalProtoJSON added in v0.1.68

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

MarshalProtoJSON marshals the InteractionKind to JSON.

func (InteractionKind) MarshalProtoText added in v0.1.68

func (x InteractionKind) MarshalProtoText() string

func (InteractionKind) MarshalText added in v0.1.68

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

MarshalText marshals the InteractionKind to text.

func (InteractionKind) String added in v0.1.68

func (x InteractionKind) String() string

func (*InteractionKind) UnmarshalJSON added in v0.1.68

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

UnmarshalJSON unmarshals the InteractionKind from JSON.

func (*InteractionKind) UnmarshalProtoJSON added in v0.1.68

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

UnmarshalProtoJSON unmarshals the InteractionKind from JSON.

func (*InteractionKind) UnmarshalText added in v0.1.68

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

UnmarshalText unmarshals the InteractionKind from text.

type LandedEvent

type LandedEvent struct {

	// Player is the slot of the player who landed.
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// On is the slot of the player landed on, or -1 for the world.
	On int32 `protobuf:"varint,2,opt,name=on,proto3" json:"on,omitempty"`
	// Speed is the downward speed just before landing, in units per second.
	Speed float32 `protobuf:"fixed32,3,opt,name=speed,proto3" json:"speed,omitempty"`
	// contains filtered or unexported fields
}

LandedEvent is one hero landing.

func (*LandedEvent) CloneMessageVT

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

func (*LandedEvent) CloneVT

func (m *LandedEvent) CloneVT() *LandedEvent

func (*LandedEvent) EqualMessageVT

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

func (*LandedEvent) EqualVT

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

func (*LandedEvent) GetOn

func (x *LandedEvent) GetOn() int32

func (*LandedEvent) GetPlayer

func (x *LandedEvent) GetPlayer() int32

func (*LandedEvent) GetSpeed

func (x *LandedEvent) GetSpeed() float32

func (*LandedEvent) MarshalJSON

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

MarshalJSON marshals the LandedEvent to JSON.

func (*LandedEvent) MarshalProtoJSON

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

MarshalProtoJSON marshals the LandedEvent message to JSON.

func (*LandedEvent) MarshalProtoText

func (x *LandedEvent) MarshalProtoText() string

func (*LandedEvent) MarshalToSizedBufferVT

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

func (*LandedEvent) MarshalToVT

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

func (*LandedEvent) MarshalVT

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

func (*LandedEvent) ProtoMessage

func (*LandedEvent) ProtoMessage()

func (*LandedEvent) Reset

func (x *LandedEvent) Reset()

func (*LandedEvent) SizeVT

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

func (*LandedEvent) String

func (x *LandedEvent) String() string

func (*LandedEvent) UnmarshalJSON

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

UnmarshalJSON unmarshals the LandedEvent from JSON.

func (*LandedEvent) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the LandedEvent message from JSON.

func (*LandedEvent) UnmarshalVT

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

type Lane added in v0.1.67

type Lane int32

Lane is one of the map's lanes, numbered as the game numbers them. The three-lane map has yellow, blue and purple ziplines and no green.

const (
	Lane_LANE_NONE   Lane = 0
	Lane_LANE_YELLOW Lane = 1
	Lane_LANE_GREEN  Lane = 3
	Lane_LANE_BLUE   Lane = 4
	Lane_LANE_PURPLE Lane = 6
)

func (Lane) Enum added in v0.1.67

func (x Lane) Enum() *Lane

func (Lane) MarshalJSON added in v0.1.67

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

MarshalJSON marshals the Lane to JSON.

func (Lane) MarshalProtoJSON added in v0.1.67

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

MarshalProtoJSON marshals the Lane to JSON.

func (Lane) MarshalProtoText added in v0.1.67

func (x Lane) MarshalProtoText() string

func (Lane) MarshalText added in v0.1.67

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

MarshalText marshals the Lane to text.

func (Lane) String added in v0.1.67

func (x Lane) String() string

func (*Lane) UnmarshalJSON added in v0.1.67

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

UnmarshalJSON unmarshals the Lane from JSON.

func (*Lane) UnmarshalProtoJSON added in v0.1.67

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

UnmarshalProtoJSON unmarshals the Lane from JSON.

func (*Lane) UnmarshalText added in v0.1.67

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

UnmarshalText unmarshals the Lane from text.

type MovePlayerRequest

type MovePlayerRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Position is the hero's new origin.
	Position *geometry.Vec3 `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
	// Facing is where the hero aims; the body turns only by its yaw.
	Facing *geometry.EulerAngles `protobuf:"bytes,3,opt,name=facing,proto3" json:"facing,omitempty"`
	// Velocity is the hero's motion, which drives its run animation.
	Velocity *geometry.Vec3 `protobuf:"bytes,4,opt,name=velocity,proto3,oneof" json:"velocity,omitempty"`
	// contains filtered or unexported fields
}

MovePlayerRequest moves one player's hero a step.

func (*MovePlayerRequest) CloneMessageVT

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

func (*MovePlayerRequest) CloneVT

func (m *MovePlayerRequest) CloneVT() *MovePlayerRequest

func (*MovePlayerRequest) EqualMessageVT

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

func (*MovePlayerRequest) EqualVT

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

func (*MovePlayerRequest) GetFacing

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

func (*MovePlayerRequest) GetPlayer

func (x *MovePlayerRequest) GetPlayer() int32

func (*MovePlayerRequest) GetPosition

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

func (*MovePlayerRequest) GetVelocity

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

func (*MovePlayerRequest) MarshalJSON

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

MarshalJSON marshals the MovePlayerRequest to JSON.

func (*MovePlayerRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the MovePlayerRequest message to JSON.

func (*MovePlayerRequest) MarshalProtoText

func (x *MovePlayerRequest) MarshalProtoText() string

func (*MovePlayerRequest) MarshalToSizedBufferVT

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

func (*MovePlayerRequest) MarshalToVT

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

func (*MovePlayerRequest) MarshalVT

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

func (*MovePlayerRequest) ProtoMessage

func (*MovePlayerRequest) ProtoMessage()

func (*MovePlayerRequest) Reset

func (x *MovePlayerRequest) Reset()

func (*MovePlayerRequest) SizeVT

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

func (*MovePlayerRequest) String

func (x *MovePlayerRequest) String() string

func (*MovePlayerRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the MovePlayerRequest from JSON.

func (*MovePlayerRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the MovePlayerRequest message from JSON.

func (*MovePlayerRequest) UnmarshalVT

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

type MovementAction

type MovementAction int32

MovementAction is a movement fact the game announced for a hero.

const (
	MovementAction_MOVEMENT_ACTION_UNKNOWN          MovementAction = 0
	MovementAction_MOVEMENT_ACTION_LANDED           MovementAction = 1
	MovementAction_MOVEMENT_ACTION_ZIPLINE_ATTACHED MovementAction = 2
	MovementAction_MOVEMENT_ACTION_GROUND_DASH      MovementAction = 3
	MovementAction_MOVEMENT_ACTION_SLIDE            MovementAction = 4
	MovementAction_MOVEMENT_ACTION_BOUNCE_PAD       MovementAction = 5
	MovementAction_MOVEMENT_ACTION_DASH_JUMP        MovementAction = 6
	MovementAction_MOVEMENT_ACTION_AIR_JUMP         MovementAction = 7
	MovementAction_MOVEMENT_ACTION_WALL_JUMP        MovementAction = 8
	MovementAction_MOVEMENT_ACTION_AIR_DASH         MovementAction = 9
	MovementAction_MOVEMENT_ACTION_MELEE_STARTED    MovementAction = 10
	// AbilityExecuted is any ability the hero cast.
	MovementAction_MOVEMENT_ACTION_ABILITY_EXECUTED MovementAction = 11
)

func (MovementAction) Enum

func (x MovementAction) Enum() *MovementAction

func (MovementAction) MarshalJSON

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

MarshalJSON marshals the MovementAction to JSON.

func (MovementAction) MarshalProtoJSON

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

MarshalProtoJSON marshals the MovementAction to JSON.

func (MovementAction) MarshalProtoText

func (x MovementAction) MarshalProtoText() string

func (MovementAction) MarshalText

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

MarshalText marshals the MovementAction to text.

func (MovementAction) String

func (x MovementAction) String() string

func (*MovementAction) UnmarshalJSON

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

UnmarshalJSON unmarshals the MovementAction from JSON.

func (*MovementAction) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the MovementAction from JSON.

func (*MovementAction) UnmarshalText

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

UnmarshalText unmarshals the MovementAction from text.

type MovementCommand

type MovementCommand struct {

	// Held, Changed and Scroll are the game's InButtonState masks as Buttons
	// bits: the buttons down, the buttons that went down or up, and the
	// presses of scroll-wheel buttons.
	Held    uint64 `protobuf:"varint,1,opt,name=held,proto3" json:"held,omitempty"`
	Changed uint64 `protobuf:"varint,2,opt,name=changed,proto3" json:"changed,omitempty"`
	Scroll  uint64 `protobuf:"varint,3,opt,name=scroll,proto3" json:"scroll,omitempty"`
	// Forward, Left and Up are the movement axes, from -1 to 1.
	Forward float32 `protobuf:"fixed32,4,opt,name=forward,proto3" json:"forward,omitempty"`
	Left    float32 `protobuf:"fixed32,5,opt,name=left,proto3" json:"left,omitempty"`
	Up      float32 `protobuf:"fixed32,6,opt,name=up,proto3" json:"up,omitempty"`
	// Grounded is true when the hero stood on something as the tick began.
	Grounded bool `protobuf:"varint,7,opt,name=grounded,proto3" json:"grounded,omitempty"`
	// contains filtered or unexported fields
}

MovementCommand is the movement a player commanded over one tick. The server runs a player's commands as they arrive, so a tick may run several or none: every press among them is kept once, and a tick that ran none holds the last buttons without pressing them again.

func (*MovementCommand) CloneMessageVT

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

func (*MovementCommand) CloneVT

func (m *MovementCommand) CloneVT() *MovementCommand

func (*MovementCommand) EqualMessageVT

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

func (*MovementCommand) EqualVT

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

func (*MovementCommand) GetChanged

func (x *MovementCommand) GetChanged() uint64

func (*MovementCommand) GetForward

func (x *MovementCommand) GetForward() float32

func (*MovementCommand) GetGrounded

func (x *MovementCommand) GetGrounded() bool

func (*MovementCommand) GetHeld

func (x *MovementCommand) GetHeld() uint64

func (*MovementCommand) GetLeft

func (x *MovementCommand) GetLeft() float32

func (*MovementCommand) GetScroll

func (x *MovementCommand) GetScroll() uint64

func (*MovementCommand) GetUp

func (x *MovementCommand) GetUp() float32

func (*MovementCommand) MarshalJSON

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

MarshalJSON marshals the MovementCommand to JSON.

func (*MovementCommand) MarshalProtoJSON

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

MarshalProtoJSON marshals the MovementCommand message to JSON.

func (*MovementCommand) MarshalProtoText

func (x *MovementCommand) MarshalProtoText() string

func (*MovementCommand) MarshalToSizedBufferVT

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

func (*MovementCommand) MarshalToVT

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

func (*MovementCommand) MarshalVT

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

func (*MovementCommand) ProtoMessage

func (*MovementCommand) ProtoMessage()

func (*MovementCommand) Reset

func (x *MovementCommand) Reset()

func (*MovementCommand) SizeVT

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

func (*MovementCommand) String

func (x *MovementCommand) String() string

func (*MovementCommand) UnmarshalJSON

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

UnmarshalJSON unmarshals the MovementCommand from JSON.

func (*MovementCommand) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the MovementCommand message from JSON.

func (*MovementCommand) UnmarshalVT

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

type MovementSample

type MovementSample struct {

	// Player is the hero's player slot.
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Pawn is the hero's entity handle.
	Pawn uint32 `protobuf:"varint,2,opt,name=pawn,proto3" json:"pawn,omitempty"`
	// Position is the hero's origin, at its feet.
	Position *geometry.Vec3 `protobuf:"bytes,3,opt,name=position,proto3" json:"position,omitempty"`
	// Velocity is the hero's motion in units per second.
	Velocity *geometry.Vec3 `protobuf:"bytes,4,opt,name=velocity,proto3" json:"velocity,omitempty"`
	// Grounded is true while the hero stands on something. Sliding, Mantling,
	// Climbing and Dashing are the game's movement states.
	Grounded bool `protobuf:"varint,6,opt,name=grounded,proto3" json:"grounded,omitempty"`
	Sliding  bool `protobuf:"varint,7,opt,name=sliding,proto3" json:"sliding,omitempty"`
	Mantling bool `protobuf:"varint,8,opt,name=mantling,proto3" json:"mantling,omitempty"`
	Climbing bool `protobuf:"varint,9,opt,name=climbing,proto3" json:"climbing,omitempty"`
	Dashing  bool `protobuf:"varint,10,opt,name=dashing,proto3" json:"dashing,omitempty"`
	// JumpAbility is the hero's jump ability, and WallJumps the game's count of
	// consecutive wall jumps on it.
	JumpAbility uint32 `protobuf:"varint,11,opt,name=jump_ability,json=jumpAbility,proto3" json:"jumpAbility,omitempty"`
	WallJumps   int32  `protobuf:"varint,12,opt,name=wall_jumps,json=wallJumps,proto3" json:"wallJumps,omitempty"`
	// MantleAbility is the hero's mantle ability, and MantleStart the game time
	// its latest mantle began.
	MantleAbility uint32  `protobuf:"varint,13,opt,name=mantle_ability,json=mantleAbility,proto3" json:"mantleAbility,omitempty"`
	MantleStart   float32 `protobuf:"fixed32,14,opt,name=mantle_start,json=mantleStart,proto3" json:"mantleStart,omitempty"`
	// WallContact is where the hero was when the jump ability last found a wall
	// to jump off; it holds still once no wall qualifies.
	WallContact *geometry.Vec3 `protobuf:"bytes,15,opt,name=wall_contact,json=wallContact,proto3" json:"wallContact,omitempty"`
	// WallNormal is the last wall touched, never cleared.
	WallNormal *geometry.Vec3 `protobuf:"bytes,16,opt,name=wall_normal,json=wallNormal,proto3" json:"wallNormal,omitempty"`
	// WallJumpNormal is the normal the latest wall jump used.
	WallJumpNormal *geometry.Vec3 `protobuf:"bytes,17,opt,name=wall_jump_normal,json=wallJumpNormal,proto3" json:"wallJumpNormal,omitempty"`
	// WallJumpFacing is the game's EWallJumpFacing, zero when not on a wall.
	WallJumpFacing uint32 `protobuf:"varint,18,opt,name=wall_jump_facing,json=wallJumpFacing,proto3" json:"wallJumpFacing,omitempty"`
	// ZiplineTime is the game time the hero last rode a zipline; it advances on
	// every tick of a ride.
	ZiplineTime *float32 `protobuf:"fixed32,19,opt,name=zipline_time,json=ziplineTime,proto3,oneof" json:"ziplineTime,omitempty"`
	// Actions are the movement facts the game announced since the last tick.
	Actions []MovementAction `protobuf:"varint,20,rep,packed,name=actions,proto3" json:"actions,omitempty"`
	// Casts are the abilities the hero cast since the last tick, one per
	// MOVEMENT_ACTION_ABILITY_EXECUTED, by entity handle as Ability.entity
	// reports it; Abilities names each one's slot.
	Casts []uint32 `protobuf:"varint,21,rep,packed,name=casts,proto3" json:"casts,omitempty"`
	// Command is the movement the hero's player commanded since the last
	// sample, absent before the game ran any of it.
	Command *MovementCommand `protobuf:"bytes,22,opt,name=command,proto3,oneof" json:"command,omitempty"`
	// Interactions are the map objects the hero collected or broke since the
	// last tick, as the game's own completion named the hero. A hero who stood
	// by, or only benefited from another's pickup, has none.
	Interactions []*Interaction `protobuf:"bytes,23,rep,name=interactions,proto3" json:"interactions,omitempty"`
	// contains filtered or unexported fields
}

MovementSample is one watched hero's movement on one tick, as the game keeps it. A hero whose position, velocity or ground the game does not provide has no sample; another field the game did not provide is absent or zero.

func (*MovementSample) CloneMessageVT

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

func (*MovementSample) CloneVT

func (m *MovementSample) CloneVT() *MovementSample

func (*MovementSample) EqualMessageVT

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

func (*MovementSample) EqualVT

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

func (*MovementSample) GetActions

func (x *MovementSample) GetActions() []MovementAction

func (*MovementSample) GetCasts

func (x *MovementSample) GetCasts() []uint32

func (*MovementSample) GetClimbing

func (x *MovementSample) GetClimbing() bool

func (*MovementSample) GetCommand

func (x *MovementSample) GetCommand() *MovementCommand

func (*MovementSample) GetDashing

func (x *MovementSample) GetDashing() bool

func (*MovementSample) GetGrounded

func (x *MovementSample) GetGrounded() bool

func (*MovementSample) GetInteractions added in v0.1.68

func (x *MovementSample) GetInteractions() []*Interaction

func (*MovementSample) GetJumpAbility

func (x *MovementSample) GetJumpAbility() uint32

func (*MovementSample) GetMantleAbility

func (x *MovementSample) GetMantleAbility() uint32

func (*MovementSample) GetMantleStart

func (x *MovementSample) GetMantleStart() float32

func (*MovementSample) GetMantling

func (x *MovementSample) GetMantling() bool

func (*MovementSample) GetPawn

func (x *MovementSample) GetPawn() uint32

func (*MovementSample) GetPlayer

func (x *MovementSample) GetPlayer() int32

func (*MovementSample) GetPosition

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

func (*MovementSample) GetSliding

func (x *MovementSample) GetSliding() bool

func (*MovementSample) GetVelocity

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

func (*MovementSample) GetWallContact

func (x *MovementSample) GetWallContact() *geometry.Vec3

func (*MovementSample) GetWallJumpFacing

func (x *MovementSample) GetWallJumpFacing() uint32

func (*MovementSample) GetWallJumpNormal

func (x *MovementSample) GetWallJumpNormal() *geometry.Vec3

func (*MovementSample) GetWallJumps

func (x *MovementSample) GetWallJumps() int32

func (*MovementSample) GetWallNormal

func (x *MovementSample) GetWallNormal() *geometry.Vec3

func (*MovementSample) GetZiplineTime

func (x *MovementSample) GetZiplineTime() float32

func (*MovementSample) MarshalJSON

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

MarshalJSON marshals the MovementSample to JSON.

func (*MovementSample) MarshalProtoJSON

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

MarshalProtoJSON marshals the MovementSample message to JSON.

func (*MovementSample) MarshalProtoText

func (x *MovementSample) MarshalProtoText() string

func (*MovementSample) MarshalToSizedBufferVT

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

func (*MovementSample) MarshalToVT

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

func (*MovementSample) MarshalVT

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

func (*MovementSample) ProtoMessage

func (*MovementSample) ProtoMessage()

func (*MovementSample) Reset

func (x *MovementSample) Reset()

func (*MovementSample) SizeVT

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

func (*MovementSample) String

func (x *MovementSample) String() string

func (*MovementSample) UnmarshalJSON

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

UnmarshalJSON unmarshals the MovementSample from JSON.

func (*MovementSample) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the MovementSample message from JSON.

func (*MovementSample) UnmarshalVT

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

type SetVelocityRequest

type SetVelocityRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Velocity is the hero's new motion in units per second.
	Velocity *geometry.Vec3 `protobuf:"bytes,2,opt,name=velocity,proto3" json:"velocity,omitempty"`
	// contains filtered or unexported fields
}

SetVelocityRequest replaces one hero's motion.

func (*SetVelocityRequest) CloneMessageVT

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

func (*SetVelocityRequest) CloneVT

func (m *SetVelocityRequest) CloneVT() *SetVelocityRequest

func (*SetVelocityRequest) EqualMessageVT

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

func (*SetVelocityRequest) EqualVT

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

func (*SetVelocityRequest) GetPlayer

func (x *SetVelocityRequest) GetPlayer() int32

func (*SetVelocityRequest) GetVelocity

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

func (*SetVelocityRequest) MarshalJSON

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

MarshalJSON marshals the SetVelocityRequest to JSON.

func (*SetVelocityRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the SetVelocityRequest message to JSON.

func (*SetVelocityRequest) MarshalProtoText

func (x *SetVelocityRequest) MarshalProtoText() string

func (*SetVelocityRequest) MarshalToSizedBufferVT

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

func (*SetVelocityRequest) MarshalToVT

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

func (*SetVelocityRequest) MarshalVT

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

func (*SetVelocityRequest) ProtoMessage

func (*SetVelocityRequest) ProtoMessage()

func (*SetVelocityRequest) Reset

func (x *SetVelocityRequest) Reset()

func (*SetVelocityRequest) SizeVT

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

func (*SetVelocityRequest) String

func (x *SetVelocityRequest) String() string

func (*SetVelocityRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the SetVelocityRequest from JSON.

func (*SetVelocityRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the SetVelocityRequest message from JSON.

func (*SetVelocityRequest) UnmarshalVT

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

type SteerRequest

type SteerRequest struct {
	Player   int32     `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	Steering *Steering `protobuf:"bytes,2,opt,name=steering,proto3,oneof" json:"steering,omitempty"`
	// contains filtered or unexported fields
}

SteerRequest replays one movement command on a player's hero, or releases the hero without one.

func (*SteerRequest) CloneMessageVT

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

func (*SteerRequest) CloneVT

func (m *SteerRequest) CloneVT() *SteerRequest

func (*SteerRequest) EqualMessageVT

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

func (*SteerRequest) EqualVT

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

func (*SteerRequest) GetPlayer

func (x *SteerRequest) GetPlayer() int32

func (*SteerRequest) GetSteering

func (x *SteerRequest) GetSteering() *Steering

func (*SteerRequest) MarshalJSON

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

MarshalJSON marshals the SteerRequest to JSON.

func (*SteerRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the SteerRequest message to JSON.

func (*SteerRequest) MarshalProtoText

func (x *SteerRequest) MarshalProtoText() string

func (*SteerRequest) MarshalToSizedBufferVT

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

func (*SteerRequest) MarshalToVT

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

func (*SteerRequest) MarshalVT

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

func (*SteerRequest) ProtoMessage

func (*SteerRequest) ProtoMessage()

func (*SteerRequest) Reset

func (x *SteerRequest) Reset()

func (*SteerRequest) SizeVT

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

func (*SteerRequest) String

func (x *SteerRequest) String() string

func (*SteerRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the SteerRequest from JSON.

func (*SteerRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the SteerRequest message from JSON.

func (*SteerRequest) UnmarshalVT

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

type Steering

type Steering struct {
	Command *MovementCommand `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
	// Position, Velocity and Grounded are the pose the next step ends on; the
	// steps after it move on from there.
	Position *geometry.Vec3 `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
	Velocity *geometry.Vec3 `protobuf:"bytes,3,opt,name=velocity,proto3" json:"velocity,omitempty"`
	Grounded bool           `protobuf:"varint,4,opt,name=grounded,proto3" json:"grounded,omitempty"`
	// Facing is where the command looks, which aims the hero and its animation.
	Facing *geometry.EulerAngles `protobuf:"bytes,5,opt,name=facing,proto3" json:"facing,omitempty"`
	// contains filtered or unexported fields
}

Steering is one recorded movement command and the pose its step ends on.

func (*Steering) CloneMessageVT

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

func (*Steering) CloneVT

func (m *Steering) CloneVT() *Steering

func (*Steering) EqualMessageVT

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

func (*Steering) EqualVT

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

func (*Steering) GetCommand

func (x *Steering) GetCommand() *MovementCommand

func (*Steering) GetFacing

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

func (*Steering) GetGrounded

func (x *Steering) GetGrounded() bool

func (*Steering) GetPosition

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

func (*Steering) GetVelocity

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

func (*Steering) MarshalJSON

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

MarshalJSON marshals the Steering to JSON.

func (*Steering) MarshalProtoJSON

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

MarshalProtoJSON marshals the Steering message to JSON.

func (*Steering) MarshalProtoText

func (x *Steering) MarshalProtoText() string

func (*Steering) MarshalToSizedBufferVT

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

func (*Steering) MarshalToVT

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

func (*Steering) MarshalVT

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

func (*Steering) ProtoMessage

func (*Steering) ProtoMessage()

func (*Steering) Reset

func (x *Steering) Reset()

func (*Steering) SizeVT

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

func (*Steering) String

func (x *Steering) String() string

func (*Steering) UnmarshalJSON

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

UnmarshalJSON unmarshals the Steering from JSON.

func (*Steering) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the Steering message from JSON.

func (*Steering) UnmarshalVT

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

type TeleportRequest

type TeleportRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Position is the hero's new origin.
	Position *geometry.Vec3 `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
	// Facing is where the hero and camera face afterwards.
	Facing *geometry.EulerAngles `protobuf:"bytes,3,opt,name=facing,proto3" json:"facing,omitempty"`
	// Velocity replaces the hero's motion when present.
	Velocity *geometry.Vec3 `protobuf:"bytes,4,opt,name=velocity,proto3,oneof" json:"velocity,omitempty"`
	// contains filtered or unexported fields
}

TeleportRequest places one player's hero.

func (*TeleportRequest) CloneMessageVT

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

func (*TeleportRequest) CloneVT

func (m *TeleportRequest) CloneVT() *TeleportRequest

func (*TeleportRequest) EqualMessageVT

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

func (*TeleportRequest) EqualVT

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

func (*TeleportRequest) GetFacing

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

func (*TeleportRequest) GetPlayer

func (x *TeleportRequest) GetPlayer() int32

func (*TeleportRequest) GetPosition

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

func (*TeleportRequest) GetVelocity

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

func (*TeleportRequest) MarshalJSON

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

MarshalJSON marshals the TeleportRequest to JSON.

func (*TeleportRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the TeleportRequest message to JSON.

func (*TeleportRequest) MarshalProtoText

func (x *TeleportRequest) MarshalProtoText() string

func (*TeleportRequest) MarshalToSizedBufferVT

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

func (*TeleportRequest) MarshalToVT

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

func (*TeleportRequest) MarshalVT

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

func (*TeleportRequest) ProtoMessage

func (*TeleportRequest) ProtoMessage()

func (*TeleportRequest) Reset

func (x *TeleportRequest) Reset()

func (*TeleportRequest) SizeVT

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

func (*TeleportRequest) String

func (x *TeleportRequest) String() string

func (*TeleportRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the TeleportRequest from JSON.

func (*TeleportRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the TeleportRequest message from JSON.

func (*TeleportRequest) UnmarshalVT

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

type WatchMovementRequest

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

WatchMovementRequest starts or stops one player's movement samples.

func (*WatchMovementRequest) CloneMessageVT

func (*WatchMovementRequest) CloneVT

func (*WatchMovementRequest) EqualMessageVT

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

func (*WatchMovementRequest) EqualVT

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

func (*WatchMovementRequest) GetPlayer

func (x *WatchMovementRequest) GetPlayer() int32

func (*WatchMovementRequest) GetWatch

func (x *WatchMovementRequest) GetWatch() bool

func (*WatchMovementRequest) MarshalJSON

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

MarshalJSON marshals the WatchMovementRequest to JSON.

func (*WatchMovementRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the WatchMovementRequest message to JSON.

func (*WatchMovementRequest) MarshalProtoText

func (x *WatchMovementRequest) MarshalProtoText() string

func (*WatchMovementRequest) MarshalToSizedBufferVT

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

func (*WatchMovementRequest) MarshalToVT

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

func (*WatchMovementRequest) MarshalVT

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

func (*WatchMovementRequest) ProtoMessage

func (*WatchMovementRequest) ProtoMessage()

func (*WatchMovementRequest) Reset

func (x *WatchMovementRequest) Reset()

func (*WatchMovementRequest) SizeVT

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

func (*WatchMovementRequest) String

func (x *WatchMovementRequest) String() string

func (*WatchMovementRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the WatchMovementRequest from JSON.

func (*WatchMovementRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the WatchMovementRequest message from JSON.

func (*WatchMovementRequest) UnmarshalVT

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

type ZiplineRequest added in v0.1.67

type ZiplineRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Lane is the lane whose zipline the hero rides.
	Lane Lane `protobuf:"varint,2,opt,name=lane,proto3" json:"lane,omitempty"`
	// contains filtered or unexported fields
}

ZiplineRequest puts one player's hero on a lane's zipline.

func (*ZiplineRequest) CloneMessageVT added in v0.1.67

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

func (*ZiplineRequest) CloneVT added in v0.1.67

func (m *ZiplineRequest) CloneVT() *ZiplineRequest

func (*ZiplineRequest) EqualMessageVT added in v0.1.67

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

func (*ZiplineRequest) EqualVT added in v0.1.67

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

func (*ZiplineRequest) GetLane added in v0.1.67

func (x *ZiplineRequest) GetLane() Lane

func (*ZiplineRequest) GetPlayer added in v0.1.67

func (x *ZiplineRequest) GetPlayer() int32

func (*ZiplineRequest) MarshalJSON added in v0.1.67

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

MarshalJSON marshals the ZiplineRequest to JSON.

func (*ZiplineRequest) MarshalProtoJSON added in v0.1.67

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

MarshalProtoJSON marshals the ZiplineRequest message to JSON.

func (*ZiplineRequest) MarshalProtoText added in v0.1.67

func (x *ZiplineRequest) MarshalProtoText() string

func (*ZiplineRequest) MarshalToSizedBufferVT added in v0.1.67

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

func (*ZiplineRequest) MarshalToVT added in v0.1.67

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

func (*ZiplineRequest) MarshalVT added in v0.1.67

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

func (*ZiplineRequest) ProtoMessage added in v0.1.67

func (*ZiplineRequest) ProtoMessage()

func (*ZiplineRequest) Reset added in v0.1.67

func (x *ZiplineRequest) Reset()

func (*ZiplineRequest) SizeVT added in v0.1.67

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

func (*ZiplineRequest) String added in v0.1.67

func (x *ZiplineRequest) String() string

func (*ZiplineRequest) UnmarshalJSON added in v0.1.67

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

UnmarshalJSON unmarshals the ZiplineRequest from JSON.

func (*ZiplineRequest) UnmarshalProtoJSON added in v0.1.67

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

UnmarshalProtoJSON unmarshals the ZiplineRequest message from JSON.

func (*ZiplineRequest) UnmarshalVT added in v0.1.67

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

Jump to

Keyboard shortcuts

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