entities

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PickupKind_name = map[int32]string{
		0: "PICKUP_KIND_URN",
		1: "PICKUP_KIND_MOVEMENT_BUFF",
	}
	PickupKind_value = map[string]int32{
		"PICKUP_KIND_URN":           0,
		"PICKUP_KIND_MOVEMENT_BUFF": 1,
	}
)

Enum value maps for PickupKind.

Functions

This section is empty.

Types

type AliveResponse

type AliveResponse struct {
	Alive bool `protobuf:"varint,1,opt,name=alive,proto3" json:"alive,omitempty"`
	// contains filtered or unexported fields
}

AliveResponse reports whether a unit or pickup was still in the world.

func (*AliveResponse) CloneMessageVT

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

func (*AliveResponse) CloneVT

func (m *AliveResponse) CloneVT() *AliveResponse

func (*AliveResponse) EqualMessageVT

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

func (*AliveResponse) EqualVT

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

func (*AliveResponse) GetAlive

func (x *AliveResponse) GetAlive() bool

func (*AliveResponse) MarshalJSON

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

MarshalJSON marshals the AliveResponse to JSON.

func (*AliveResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the AliveResponse message to JSON.

func (*AliveResponse) MarshalProtoText

func (x *AliveResponse) MarshalProtoText() string

func (*AliveResponse) MarshalToSizedBufferVT

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

func (*AliveResponse) MarshalToVT

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

func (*AliveResponse) MarshalVT

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

func (*AliveResponse) ProtoMessage

func (*AliveResponse) ProtoMessage()

func (*AliveResponse) Reset

func (x *AliveResponse) Reset()

func (*AliveResponse) SizeVT

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

func (*AliveResponse) String

func (x *AliveResponse) String() string

func (*AliveResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the AliveResponse from JSON.

func (*AliveResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the AliveResponse message from JSON.

func (*AliveResponse) UnmarshalVT

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

type CountResponse

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

CountResponse holds how many entities a call changed.

func (*CountResponse) CloneMessageVT

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

func (*CountResponse) CloneVT

func (m *CountResponse) CloneVT() *CountResponse

func (*CountResponse) EqualMessageVT

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

func (*CountResponse) EqualVT

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

func (*CountResponse) GetCount

func (x *CountResponse) GetCount() int32

func (*CountResponse) MarshalJSON

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

MarshalJSON marshals the CountResponse to JSON.

func (*CountResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the CountResponse message to JSON.

func (*CountResponse) MarshalProtoText

func (x *CountResponse) MarshalProtoText() string

func (*CountResponse) MarshalToSizedBufferVT

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

func (*CountResponse) MarshalToVT

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

func (*CountResponse) MarshalVT

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

func (*CountResponse) ProtoMessage

func (*CountResponse) ProtoMessage()

func (*CountResponse) Reset

func (x *CountResponse) Reset()

func (*CountResponse) SizeVT

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

func (*CountResponse) String

func (x *CountResponse) String() string

func (*CountResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the CountResponse from JSON.

func (*CountResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the CountResponse message from JSON.

func (*CountResponse) UnmarshalVT

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

type CreatePickupRequest

type CreatePickupRequest struct {

	// Kind is the pickup.
	Kind PickupKind `protobuf:"varint,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// Position is where the pickup rests.
	Position *geometry.Vec3 `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
	// contains filtered or unexported fields
}

CreatePickupRequest places one pickup.

func (*CreatePickupRequest) CloneMessageVT

func (*CreatePickupRequest) CloneVT

func (*CreatePickupRequest) EqualMessageVT

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

func (*CreatePickupRequest) EqualVT

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

func (*CreatePickupRequest) GetKind

func (x *CreatePickupRequest) GetKind() PickupKind

func (*CreatePickupRequest) GetPosition

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

func (*CreatePickupRequest) MarshalJSON

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

MarshalJSON marshals the CreatePickupRequest to JSON.

func (*CreatePickupRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the CreatePickupRequest message to JSON.

func (*CreatePickupRequest) MarshalProtoText

func (x *CreatePickupRequest) MarshalProtoText() string

func (*CreatePickupRequest) MarshalToSizedBufferVT

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

func (*CreatePickupRequest) MarshalToVT

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

func (*CreatePickupRequest) MarshalVT

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

func (*CreatePickupRequest) ProtoMessage

func (*CreatePickupRequest) ProtoMessage()

func (*CreatePickupRequest) Reset

func (x *CreatePickupRequest) Reset()

func (*CreatePickupRequest) SizeVT

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

func (*CreatePickupRequest) String

func (x *CreatePickupRequest) String() string

func (*CreatePickupRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the CreatePickupRequest from JSON.

func (*CreatePickupRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the CreatePickupRequest message from JSON.

func (*CreatePickupRequest) UnmarshalVT

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

type EntitiesResponse

type EntitiesResponse struct {

	// Entities are the entity handles.
	Entities []uint32 `protobuf:"varint,1,rep,packed,name=entities,proto3" json:"entities,omitempty"`
	// contains filtered or unexported fields
}

EntitiesResponse lists entities by handle.

func (*EntitiesResponse) CloneMessageVT

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

func (*EntitiesResponse) CloneVT

func (m *EntitiesResponse) CloneVT() *EntitiesResponse

func (*EntitiesResponse) EqualMessageVT

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

func (*EntitiesResponse) EqualVT

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

func (*EntitiesResponse) GetEntities

func (x *EntitiesResponse) GetEntities() []uint32

func (*EntitiesResponse) MarshalJSON

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

MarshalJSON marshals the EntitiesResponse to JSON.

func (*EntitiesResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the EntitiesResponse message to JSON.

func (*EntitiesResponse) MarshalProtoText

func (x *EntitiesResponse) MarshalProtoText() string

func (*EntitiesResponse) MarshalToSizedBufferVT

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

func (*EntitiesResponse) MarshalToVT

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

func (*EntitiesResponse) MarshalVT

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

func (*EntitiesResponse) ProtoMessage

func (*EntitiesResponse) ProtoMessage()

func (*EntitiesResponse) Reset

func (x *EntitiesResponse) Reset()

func (*EntitiesResponse) SizeVT

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

func (*EntitiesResponse) String

func (x *EntitiesResponse) String() string

func (*EntitiesResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the EntitiesResponse from JSON.

func (*EntitiesResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the EntitiesResponse message from JSON.

func (*EntitiesResponse) UnmarshalVT

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

type EntityClassName

type EntityClassName struct {

	// ClassName is the server schema class, such as CCitadelPlayerPawn.
	ClassName string `protobuf:"bytes,1,opt,name=class_name,json=className,proto3" json:"className,omitempty"`
	// DesignerName is the name maps and spawns use, such as npc_trooper.
	DesignerName string `protobuf:"bytes,2,opt,name=designer_name,json=designerName,proto3" json:"designerName,omitempty"`
	// contains filtered or unexported fields
}

EntityClassName names one entity's class two ways.

func (*EntityClassName) CloneMessageVT

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

func (*EntityClassName) CloneVT

func (m *EntityClassName) CloneVT() *EntityClassName

func (*EntityClassName) EqualMessageVT

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

func (*EntityClassName) EqualVT

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

func (*EntityClassName) GetClassName

func (x *EntityClassName) GetClassName() string

func (*EntityClassName) GetDesignerName

func (x *EntityClassName) GetDesignerName() string

func (*EntityClassName) MarshalJSON

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

MarshalJSON marshals the EntityClassName to JSON.

func (*EntityClassName) MarshalProtoJSON

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

MarshalProtoJSON marshals the EntityClassName message to JSON.

func (*EntityClassName) MarshalProtoText

func (x *EntityClassName) MarshalProtoText() string

func (*EntityClassName) MarshalToSizedBufferVT

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

func (*EntityClassName) MarshalToVT

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

func (*EntityClassName) MarshalVT

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

func (*EntityClassName) ProtoMessage

func (*EntityClassName) ProtoMessage()

func (*EntityClassName) Reset

func (x *EntityClassName) Reset()

func (*EntityClassName) SizeVT

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

func (*EntityClassName) String

func (x *EntityClassName) String() string

func (*EntityClassName) UnmarshalJSON

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

UnmarshalJSON unmarshals the EntityClassName from JSON.

func (*EntityClassName) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the EntityClassName message from JSON.

func (*EntityClassName) UnmarshalVT

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

type EntityClassResponse

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

EntityClassResponse names a live entity's class.

func (*EntityClassResponse) CloneMessageVT

func (*EntityClassResponse) CloneVT

func (*EntityClassResponse) EqualMessageVT

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

func (*EntityClassResponse) EqualVT

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

func (*EntityClassResponse) GetName

func (x *EntityClassResponse) GetName() *EntityClassName

func (*EntityClassResponse) MarshalJSON

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

MarshalJSON marshals the EntityClassResponse to JSON.

func (*EntityClassResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the EntityClassResponse message to JSON.

func (*EntityClassResponse) MarshalProtoText

func (x *EntityClassResponse) MarshalProtoText() string

func (*EntityClassResponse) MarshalToSizedBufferVT

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

func (*EntityClassResponse) MarshalToVT

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

func (*EntityClassResponse) MarshalVT

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

func (*EntityClassResponse) ProtoMessage

func (*EntityClassResponse) ProtoMessage()

func (*EntityClassResponse) Reset

func (x *EntityClassResponse) Reset()

func (*EntityClassResponse) SizeVT

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

func (*EntityClassResponse) String

func (x *EntityClassResponse) String() string

func (*EntityClassResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the EntityClassResponse from JSON.

func (*EntityClassResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the EntityClassResponse message from JSON.

func (*EntityClassResponse) UnmarshalVT

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

type EntityNameResponse added in v0.1.57

type EntityNameResponse struct {

	// Name is the targetname a map or a spawn key value gave the entity, or
	// empty for an unnamed one.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

EntityNameResponse holds a live entity's name.

func (*EntityNameResponse) CloneMessageVT added in v0.1.57

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

func (*EntityNameResponse) CloneVT added in v0.1.57

func (m *EntityNameResponse) CloneVT() *EntityNameResponse

func (*EntityNameResponse) EqualMessageVT added in v0.1.57

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

func (*EntityNameResponse) EqualVT added in v0.1.57

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

func (*EntityNameResponse) GetName added in v0.1.57

func (x *EntityNameResponse) GetName() string

func (*EntityNameResponse) MarshalJSON added in v0.1.57

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

MarshalJSON marshals the EntityNameResponse to JSON.

func (*EntityNameResponse) MarshalProtoJSON added in v0.1.57

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

MarshalProtoJSON marshals the EntityNameResponse message to JSON.

func (*EntityNameResponse) MarshalProtoText added in v0.1.57

func (x *EntityNameResponse) MarshalProtoText() string

func (*EntityNameResponse) MarshalToSizedBufferVT added in v0.1.57

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

func (*EntityNameResponse) MarshalToVT added in v0.1.57

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

func (*EntityNameResponse) MarshalVT added in v0.1.57

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

func (*EntityNameResponse) ProtoMessage added in v0.1.57

func (*EntityNameResponse) ProtoMessage()

func (*EntityNameResponse) Reset added in v0.1.57

func (x *EntityNameResponse) Reset()

func (*EntityNameResponse) SizeVT added in v0.1.57

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

func (*EntityNameResponse) String added in v0.1.57

func (x *EntityNameResponse) String() string

func (*EntityNameResponse) UnmarshalJSON added in v0.1.57

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

UnmarshalJSON unmarshals the EntityNameResponse from JSON.

func (*EntityNameResponse) UnmarshalProtoJSON added in v0.1.57

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

UnmarshalProtoJSON unmarshals the EntityNameResponse message from JSON.

func (*EntityNameResponse) UnmarshalVT added in v0.1.57

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

type EntityOptions

type EntityOptions struct {

	// DesignerName is the entity's designer name, such as npc_trooper_boss.
	DesignerName string `protobuf:"bytes,1,opt,name=designer_name,json=designerName,proto3" json:"designerName,omitempty"`
	// Subclass names the entity's game data entry, such as npc_boss_tier1 for
	// the lane Guardian, for an entity that reads one while spawning. Without
	// one, the entity uses the entry named for its class when the game has one,
	// and a class whose entries all have other names, such as npc_trooper, is
	// refused.
	Subclass string `protobuf:"bytes,2,opt,name=subclass,proto3" json:"subclass,omitempty"`
	// Team is the entity's team number; 4 is neutral.
	Team int32 `protobuf:"varint,3,opt,name=team,proto3" json:"team,omitempty"`
	// Position is the entity's origin.
	Position *geometry.Vec3 `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"`
	// Facing is where the entity faces.
	Facing *geometry.EulerAngles `protobuf:"bytes,5,opt,name=facing,proto3,oneof" json:"facing,omitempty"`
	// KeyValues are the entity's spawn key values, as a map sets them, such as
	// model or rendercolor.
	KeyValues []*KeyValue `protobuf:"bytes,6,rep,name=key_values,json=keyValues,proto3" json:"keyValues,omitempty"`
	// Fields are schema fields the host writes after it creates the entity and
	// before the entity spawns. A write that fails cancels the creation.
	Fields []*fields.FieldWrite `protobuf:"bytes,7,rep,name=fields,proto3" json:"fields,omitempty"`
	// TransmitAlways sends the entity to every client, past the game's own
	// rule, which never sends one without a model, such as a
	// point_clientui_dialog.
	TransmitAlways *bool `protobuf:"varint,8,opt,name=transmit_always,json=transmitAlways,proto3,oneof" json:"transmitAlways,omitempty"`
	// contains filtered or unexported fields
}

EntityOptions describes an entity to create.

func (*EntityOptions) CloneMessageVT

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

func (*EntityOptions) CloneVT

func (m *EntityOptions) CloneVT() *EntityOptions

func (*EntityOptions) EqualMessageVT

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

func (*EntityOptions) EqualVT

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

func (*EntityOptions) GetDesignerName

func (x *EntityOptions) GetDesignerName() string

func (*EntityOptions) GetFacing

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

func (*EntityOptions) GetFields

func (x *EntityOptions) GetFields() []*fields.FieldWrite

func (*EntityOptions) GetKeyValues

func (x *EntityOptions) GetKeyValues() []*KeyValue

func (*EntityOptions) GetPosition

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

func (*EntityOptions) GetSubclass

func (x *EntityOptions) GetSubclass() string

func (*EntityOptions) GetTeam

func (x *EntityOptions) GetTeam() int32

func (*EntityOptions) GetTransmitAlways

func (x *EntityOptions) GetTransmitAlways() bool

func (*EntityOptions) MarshalJSON

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

MarshalJSON marshals the EntityOptions to JSON.

func (*EntityOptions) MarshalProtoJSON

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

MarshalProtoJSON marshals the EntityOptions message to JSON.

func (*EntityOptions) MarshalProtoText

func (x *EntityOptions) MarshalProtoText() string

func (*EntityOptions) MarshalToSizedBufferVT

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

func (*EntityOptions) MarshalToVT

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

func (*EntityOptions) MarshalVT

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

func (*EntityOptions) ProtoMessage

func (*EntityOptions) ProtoMessage()

func (*EntityOptions) Reset

func (x *EntityOptions) Reset()

func (*EntityOptions) SizeVT

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

func (*EntityOptions) String

func (x *EntityOptions) String() string

func (*EntityOptions) UnmarshalJSON

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

UnmarshalJSON unmarshals the EntityOptions from JSON.

func (*EntityOptions) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the EntityOptions message from JSON.

func (*EntityOptions) UnmarshalVT

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

type EntityPlacement added in v0.1.21

type EntityPlacement struct {

	// Position is the entity's absolute origin.
	Position *geometry.Vec3 `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"`
	// Facing is the entity's absolute angles.
	Facing *geometry.EulerAngles `protobuf:"bytes,2,opt,name=facing,proto3" json:"facing,omitempty"`
	// Velocity is the entity's motion in units per second. For a body the
	// physics simulates, such as a prop_physics, it is the body's.
	Velocity *geometry.Vec3 `protobuf:"bytes,3,opt,name=velocity,proto3,oneof" json:"velocity,omitempty"`
	// contains filtered or unexported fields
}

EntityPlacement is an entity's place in the world.

func (*EntityPlacement) CloneMessageVT added in v0.1.21

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

func (*EntityPlacement) CloneVT added in v0.1.21

func (m *EntityPlacement) CloneVT() *EntityPlacement

func (*EntityPlacement) EqualMessageVT added in v0.1.21

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

func (*EntityPlacement) EqualVT added in v0.1.21

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

func (*EntityPlacement) GetFacing added in v0.1.21

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

func (*EntityPlacement) GetPosition added in v0.1.21

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

func (*EntityPlacement) GetVelocity added in v0.1.31

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

func (*EntityPlacement) MarshalJSON added in v0.1.21

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

MarshalJSON marshals the EntityPlacement to JSON.

func (*EntityPlacement) MarshalProtoJSON added in v0.1.21

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

MarshalProtoJSON marshals the EntityPlacement message to JSON.

func (*EntityPlacement) MarshalProtoText added in v0.1.21

func (x *EntityPlacement) MarshalProtoText() string

func (*EntityPlacement) MarshalToSizedBufferVT added in v0.1.21

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

func (*EntityPlacement) MarshalToVT added in v0.1.21

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

func (*EntityPlacement) MarshalVT added in v0.1.21

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

func (*EntityPlacement) ProtoMessage added in v0.1.21

func (*EntityPlacement) ProtoMessage()

func (*EntityPlacement) Reset added in v0.1.21

func (x *EntityPlacement) Reset()

func (*EntityPlacement) SizeVT added in v0.1.21

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

func (*EntityPlacement) String added in v0.1.21

func (x *EntityPlacement) String() string

func (*EntityPlacement) UnmarshalJSON added in v0.1.21

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

UnmarshalJSON unmarshals the EntityPlacement from JSON.

func (*EntityPlacement) UnmarshalProtoJSON added in v0.1.21

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

UnmarshalProtoJSON unmarshals the EntityPlacement message from JSON.

func (*EntityPlacement) UnmarshalVT added in v0.1.21

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

type EntityPositionResponse added in v0.1.21

type EntityPositionResponse struct {
	Placement *EntityPlacement `protobuf:"bytes,1,opt,name=placement,proto3" json:"placement,omitempty"`
	// contains filtered or unexported fields
}

EntityPositionResponse is where one live entity stands.

func (*EntityPositionResponse) CloneMessageVT added in v0.1.21

func (*EntityPositionResponse) CloneVT added in v0.1.21

func (*EntityPositionResponse) EqualMessageVT added in v0.1.21

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

func (*EntityPositionResponse) EqualVT added in v0.1.21

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

func (*EntityPositionResponse) GetPlacement added in v0.1.21

func (x *EntityPositionResponse) GetPlacement() *EntityPlacement

func (*EntityPositionResponse) MarshalJSON added in v0.1.21

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

MarshalJSON marshals the EntityPositionResponse to JSON.

func (*EntityPositionResponse) MarshalProtoJSON added in v0.1.21

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

MarshalProtoJSON marshals the EntityPositionResponse message to JSON.

func (*EntityPositionResponse) MarshalProtoText added in v0.1.21

func (x *EntityPositionResponse) MarshalProtoText() string

func (*EntityPositionResponse) MarshalToSizedBufferVT added in v0.1.21

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

func (*EntityPositionResponse) MarshalToVT added in v0.1.21

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

func (*EntityPositionResponse) MarshalVT added in v0.1.21

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

func (*EntityPositionResponse) ProtoMessage added in v0.1.21

func (*EntityPositionResponse) ProtoMessage()

func (*EntityPositionResponse) Reset added in v0.1.21

func (x *EntityPositionResponse) Reset()

func (*EntityPositionResponse) SizeVT added in v0.1.21

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

func (*EntityPositionResponse) String added in v0.1.21

func (x *EntityPositionResponse) String() string

func (*EntityPositionResponse) UnmarshalJSON added in v0.1.21

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

UnmarshalJSON unmarshals the EntityPositionResponse from JSON.

func (*EntityPositionResponse) UnmarshalProtoJSON added in v0.1.21

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

UnmarshalProtoJSON unmarshals the EntityPositionResponse message from JSON.

func (*EntityPositionResponse) UnmarshalVT added in v0.1.21

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

type EntityRequest

type EntityRequest struct {

	// Entity is the entity's handle.
	Entity uint32 `protobuf:"varint,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// contains filtered or unexported fields
}

EntityRequest addresses one live entity.

func (*EntityRequest) CloneMessageVT

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

func (*EntityRequest) CloneVT

func (m *EntityRequest) CloneVT() *EntityRequest

func (*EntityRequest) EqualMessageVT

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

func (*EntityRequest) EqualVT

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

func (*EntityRequest) GetEntity

func (x *EntityRequest) GetEntity() uint32

func (*EntityRequest) MarshalJSON

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

MarshalJSON marshals the EntityRequest to JSON.

func (*EntityRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the EntityRequest message to JSON.

func (*EntityRequest) MarshalProtoText

func (x *EntityRequest) MarshalProtoText() string

func (*EntityRequest) MarshalToSizedBufferVT

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

func (*EntityRequest) MarshalToVT

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

func (*EntityRequest) MarshalVT

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

func (*EntityRequest) ProtoMessage

func (*EntityRequest) ProtoMessage()

func (*EntityRequest) Reset

func (x *EntityRequest) Reset()

func (*EntityRequest) SizeVT

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

func (*EntityRequest) String

func (x *EntityRequest) String() string

func (*EntityRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the EntityRequest from JSON.

func (*EntityRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the EntityRequest message from JSON.

func (*EntityRequest) UnmarshalVT

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

type EntityResponse

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

EntityResponse holds one entity handle.

func (*EntityResponse) CloneMessageVT

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

func (*EntityResponse) CloneVT

func (m *EntityResponse) CloneVT() *EntityResponse

func (*EntityResponse) EqualMessageVT

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

func (*EntityResponse) EqualVT

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

func (*EntityResponse) GetEntity

func (x *EntityResponse) GetEntity() uint32

func (*EntityResponse) MarshalJSON

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

MarshalJSON marshals the EntityResponse to JSON.

func (*EntityResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the EntityResponse message to JSON.

func (*EntityResponse) MarshalProtoText

func (x *EntityResponse) MarshalProtoText() string

func (*EntityResponse) MarshalToSizedBufferVT

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

func (*EntityResponse) MarshalToVT

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

func (*EntityResponse) MarshalVT

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

func (*EntityResponse) ProtoMessage

func (*EntityResponse) ProtoMessage()

func (*EntityResponse) Reset

func (x *EntityResponse) Reset()

func (*EntityResponse) SizeVT

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

func (*EntityResponse) String

func (x *EntityResponse) String() string

func (*EntityResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the EntityResponse from JSON.

func (*EntityResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the EntityResponse message from JSON.

func (*EntityResponse) UnmarshalVT

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

type EntityValue

type EntityValue struct {

	// Types that are assignable to Value:
	//	*EntityValue_Boolean
	//	*EntityValue_Integer
	//	*EntityValue_Number
	//	*EntityValue_Text
	//	*EntityValue_Vector
	//	*EntityValue_Color
	Value isEntityValue_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

EntityValue is a value a map gives an entity: a spawn key value or an input's parameter. An input reads its parameter as the type it takes, such as an integer for Skin or a color, as 0xRRGGBBAA, for Color, and does not convert text.

func (*EntityValue) CloneMessageVT

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

func (*EntityValue) CloneVT

func (m *EntityValue) CloneVT() *EntityValue

func (*EntityValue) EqualMessageVT

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

func (*EntityValue) EqualVT

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

func (*EntityValue) GetBoolean

func (x *EntityValue) GetBoolean() bool

func (*EntityValue) GetColor

func (x *EntityValue) GetColor() uint32

func (*EntityValue) GetInteger

func (x *EntityValue) GetInteger() int32

func (*EntityValue) GetNumber

func (x *EntityValue) GetNumber() float32

func (*EntityValue) GetText

func (x *EntityValue) GetText() string

func (*EntityValue) GetValue

func (m *EntityValue) GetValue() isEntityValue_Value

func (*EntityValue) GetVector

func (x *EntityValue) GetVector() *geometry.Vec3

func (*EntityValue) MarshalJSON

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

MarshalJSON marshals the EntityValue to JSON.

func (*EntityValue) MarshalProtoJSON

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

MarshalProtoJSON marshals the EntityValue message to JSON.

func (*EntityValue) MarshalProtoText

func (x *EntityValue) MarshalProtoText() string

func (*EntityValue) MarshalToSizedBufferVT

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

func (*EntityValue) MarshalToVT

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

func (*EntityValue) MarshalVT

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

func (*EntityValue) ProtoMessage

func (*EntityValue) ProtoMessage()

func (*EntityValue) Reset

func (x *EntityValue) Reset()

func (*EntityValue) SizeVT

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

func (*EntityValue) String

func (x *EntityValue) String() string

func (*EntityValue) UnmarshalJSON

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

UnmarshalJSON unmarshals the EntityValue from JSON.

func (*EntityValue) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the EntityValue message from JSON.

func (*EntityValue) UnmarshalVT

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

type EntityValue_Boolean

type EntityValue_Boolean struct {
	Boolean bool `protobuf:"varint,1,opt,name=boolean,proto3,oneof"`
}

func (*EntityValue_Boolean) CloneOneofVT

func (m *EntityValue_Boolean) CloneOneofVT() isEntityValue_Value

func (*EntityValue_Boolean) CloneVT

func (*EntityValue_Boolean) EqualVT

func (this *EntityValue_Boolean) EqualVT(thatIface isEntityValue_Value) bool

func (*EntityValue_Boolean) MarshalToSizedBufferVT

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

func (*EntityValue_Boolean) MarshalToVT

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

func (*EntityValue_Boolean) SizeVT

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

type EntityValue_Color

type EntityValue_Color struct {
	Color uint32 `protobuf:"fixed32,6,opt,name=color,proto3,oneof"`
}

func (*EntityValue_Color) CloneOneofVT

func (m *EntityValue_Color) CloneOneofVT() isEntityValue_Value

func (*EntityValue_Color) CloneVT

func (m *EntityValue_Color) CloneVT() *EntityValue_Color

func (*EntityValue_Color) EqualVT

func (this *EntityValue_Color) EqualVT(thatIface isEntityValue_Value) bool

func (*EntityValue_Color) MarshalToSizedBufferVT

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

func (*EntityValue_Color) MarshalToVT

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

func (*EntityValue_Color) SizeVT

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

type EntityValue_Integer

type EntityValue_Integer struct {
	Integer int32 `protobuf:"varint,2,opt,name=integer,proto3,oneof"`
}

func (*EntityValue_Integer) CloneOneofVT

func (m *EntityValue_Integer) CloneOneofVT() isEntityValue_Value

func (*EntityValue_Integer) CloneVT

func (*EntityValue_Integer) EqualVT

func (this *EntityValue_Integer) EqualVT(thatIface isEntityValue_Value) bool

func (*EntityValue_Integer) MarshalToSizedBufferVT

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

func (*EntityValue_Integer) MarshalToVT

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

func (*EntityValue_Integer) SizeVT

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

type EntityValue_Number

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

func (*EntityValue_Number) CloneOneofVT

func (m *EntityValue_Number) CloneOneofVT() isEntityValue_Value

func (*EntityValue_Number) CloneVT

func (m *EntityValue_Number) CloneVT() *EntityValue_Number

func (*EntityValue_Number) EqualVT

func (this *EntityValue_Number) EqualVT(thatIface isEntityValue_Value) bool

func (*EntityValue_Number) MarshalToSizedBufferVT

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

func (*EntityValue_Number) MarshalToVT

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

func (*EntityValue_Number) SizeVT

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

type EntityValue_Text

type EntityValue_Text struct {
	Text string `protobuf:"bytes,4,opt,name=text,proto3,oneof"`
}

func (*EntityValue_Text) CloneOneofVT

func (m *EntityValue_Text) CloneOneofVT() isEntityValue_Value

func (*EntityValue_Text) CloneVT

func (m *EntityValue_Text) CloneVT() *EntityValue_Text

func (*EntityValue_Text) EqualVT

func (this *EntityValue_Text) EqualVT(thatIface isEntityValue_Value) bool

func (*EntityValue_Text) MarshalToSizedBufferVT

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

func (*EntityValue_Text) MarshalToVT

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

func (*EntityValue_Text) SizeVT

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

type EntityValue_Vector

type EntityValue_Vector struct {
	Vector *geometry.Vec3 `protobuf:"bytes,5,opt,name=vector,proto3,oneof"`
}

func (*EntityValue_Vector) CloneOneofVT

func (m *EntityValue_Vector) CloneOneofVT() isEntityValue_Value

func (*EntityValue_Vector) CloneVT

func (m *EntityValue_Vector) CloneVT() *EntityValue_Vector

func (*EntityValue_Vector) EqualVT

func (this *EntityValue_Vector) EqualVT(thatIface isEntityValue_Value) bool

func (*EntityValue_Vector) MarshalToSizedBufferVT

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

func (*EntityValue_Vector) MarshalToVT

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

func (*EntityValue_Vector) SizeVT

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

type FindEntitiesByNameRequest added in v0.1.57

type FindEntitiesByNameRequest struct {

	// Name is the exact name a map or the targetname key value gave the
	// entities, such as the name ent_find and ent_report print.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

FindEntitiesByNameRequest names the entities to find.

func (*FindEntitiesByNameRequest) CloneMessageVT added in v0.1.57

func (*FindEntitiesByNameRequest) CloneVT added in v0.1.57

func (*FindEntitiesByNameRequest) EqualMessageVT added in v0.1.57

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

func (*FindEntitiesByNameRequest) EqualVT added in v0.1.57

func (*FindEntitiesByNameRequest) GetName added in v0.1.57

func (x *FindEntitiesByNameRequest) GetName() string

func (*FindEntitiesByNameRequest) MarshalJSON added in v0.1.57

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

MarshalJSON marshals the FindEntitiesByNameRequest to JSON.

func (*FindEntitiesByNameRequest) MarshalProtoJSON added in v0.1.57

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

MarshalProtoJSON marshals the FindEntitiesByNameRequest message to JSON.

func (*FindEntitiesByNameRequest) MarshalProtoText added in v0.1.57

func (x *FindEntitiesByNameRequest) MarshalProtoText() string

func (*FindEntitiesByNameRequest) MarshalToSizedBufferVT added in v0.1.57

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

func (*FindEntitiesByNameRequest) MarshalToVT added in v0.1.57

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

func (*FindEntitiesByNameRequest) MarshalVT added in v0.1.57

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

func (*FindEntitiesByNameRequest) ProtoMessage added in v0.1.57

func (*FindEntitiesByNameRequest) ProtoMessage()

func (*FindEntitiesByNameRequest) Reset added in v0.1.57

func (x *FindEntitiesByNameRequest) Reset()

func (*FindEntitiesByNameRequest) SizeVT added in v0.1.57

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

func (*FindEntitiesByNameRequest) String added in v0.1.57

func (x *FindEntitiesByNameRequest) String() string

func (*FindEntitiesByNameRequest) UnmarshalJSON added in v0.1.57

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

UnmarshalJSON unmarshals the FindEntitiesByNameRequest from JSON.

func (*FindEntitiesByNameRequest) UnmarshalProtoJSON added in v0.1.57

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

UnmarshalProtoJSON unmarshals the FindEntitiesByNameRequest message from JSON.

func (*FindEntitiesByNameRequest) UnmarshalVT added in v0.1.57

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

type FindEntitiesRequest

type FindEntitiesRequest struct {

	// ClassName is the exact entity class, such as zip_line_node.
	ClassName string `protobuf:"bytes,1,opt,name=class_name,json=className,proto3" json:"className,omitempty"`
	// contains filtered or unexported fields
}

FindEntitiesRequest names the entity class to find.

func (*FindEntitiesRequest) CloneMessageVT

func (*FindEntitiesRequest) CloneVT

func (*FindEntitiesRequest) EqualMessageVT

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

func (*FindEntitiesRequest) EqualVT

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

func (*FindEntitiesRequest) GetClassName

func (x *FindEntitiesRequest) GetClassName() string

func (*FindEntitiesRequest) MarshalJSON

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

MarshalJSON marshals the FindEntitiesRequest to JSON.

func (*FindEntitiesRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the FindEntitiesRequest message to JSON.

func (*FindEntitiesRequest) MarshalProtoText

func (x *FindEntitiesRequest) MarshalProtoText() string

func (*FindEntitiesRequest) MarshalToSizedBufferVT

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

func (*FindEntitiesRequest) MarshalToVT

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

func (*FindEntitiesRequest) MarshalVT

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

func (*FindEntitiesRequest) ProtoMessage

func (*FindEntitiesRequest) ProtoMessage()

func (*FindEntitiesRequest) Reset

func (x *FindEntitiesRequest) Reset()

func (*FindEntitiesRequest) SizeVT

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

func (*FindEntitiesRequest) String

func (x *FindEntitiesRequest) String() string

func (*FindEntitiesRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the FindEntitiesRequest from JSON.

func (*FindEntitiesRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the FindEntitiesRequest message from JSON.

func (*FindEntitiesRequest) UnmarshalVT

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

type FireInputRequest

type FireInputRequest struct {

	// Entity is the entity's handle.
	Entity uint32 `protobuf:"varint,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// Input is the input's name, such as Skin or Kill.
	Input string `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"`
	// Value is the input's parameter, absent for an input that takes none.
	Value *EntityValue `protobuf:"bytes,3,opt,name=value,proto3,oneof" json:"value,omitempty"`
	// Activator is the handle of the entity that caused the input, such as a
	// player's hero. Inputs that act on one player, such as
	// LocalPlayerAddCSSClass, act on the activator's player.
	Activator *uint32 `protobuf:"varint,4,opt,name=activator,proto3,oneof" json:"activator,omitempty"`
	// contains filtered or unexported fields
}

FireInputRequest sends one input to an entity.

func (*FireInputRequest) CloneMessageVT

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

func (*FireInputRequest) CloneVT

func (m *FireInputRequest) CloneVT() *FireInputRequest

func (*FireInputRequest) EqualMessageVT

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

func (*FireInputRequest) EqualVT

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

func (*FireInputRequest) GetActivator

func (x *FireInputRequest) GetActivator() uint32

func (*FireInputRequest) GetEntity

func (x *FireInputRequest) GetEntity() uint32

func (*FireInputRequest) GetInput

func (x *FireInputRequest) GetInput() string

func (*FireInputRequest) GetValue

func (x *FireInputRequest) GetValue() *EntityValue

func (*FireInputRequest) MarshalJSON

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

MarshalJSON marshals the FireInputRequest to JSON.

func (*FireInputRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the FireInputRequest message to JSON.

func (*FireInputRequest) MarshalProtoText

func (x *FireInputRequest) MarshalProtoText() string

func (*FireInputRequest) MarshalToSizedBufferVT

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

func (*FireInputRequest) MarshalToVT

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

func (*FireInputRequest) MarshalVT

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

func (*FireInputRequest) ProtoMessage

func (*FireInputRequest) ProtoMessage()

func (*FireInputRequest) Reset

func (x *FireInputRequest) Reset()

func (*FireInputRequest) SizeVT

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

func (*FireInputRequest) String

func (x *FireInputRequest) String() string

func (*FireInputRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the FireInputRequest from JSON.

func (*FireInputRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the FireInputRequest message from JSON.

func (*FireInputRequest) UnmarshalVT

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

type KeyValue

type KeyValue struct {

	// Key is the key value's name, such as skin.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Value is the key value's value.
	Value *EntityValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

KeyValue is one spawn key value.

func (*KeyValue) CloneMessageVT

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

func (*KeyValue) CloneVT

func (m *KeyValue) CloneVT() *KeyValue

func (*KeyValue) EqualMessageVT

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

func (*KeyValue) EqualVT

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

func (*KeyValue) GetKey

func (x *KeyValue) GetKey() string

func (*KeyValue) GetValue

func (x *KeyValue) GetValue() *EntityValue

func (*KeyValue) MarshalJSON

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

MarshalJSON marshals the KeyValue to JSON.

func (*KeyValue) MarshalProtoJSON

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

MarshalProtoJSON marshals the KeyValue message to JSON.

func (*KeyValue) MarshalProtoText

func (x *KeyValue) MarshalProtoText() string

func (*KeyValue) MarshalToSizedBufferVT

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

func (*KeyValue) MarshalToVT

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

func (*KeyValue) MarshalVT

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

func (*KeyValue) ProtoMessage

func (*KeyValue) ProtoMessage()

func (*KeyValue) Reset

func (x *KeyValue) Reset()

func (*KeyValue) SizeVT

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

func (*KeyValue) String

func (x *KeyValue) String() string

func (*KeyValue) UnmarshalJSON

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

UnmarshalJSON unmarshals the KeyValue from JSON.

func (*KeyValue) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the KeyValue message from JSON.

func (*KeyValue) UnmarshalVT

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

type MoveEntityRequest

type MoveEntityRequest struct {

	// Entity is the entity's handle.
	Entity uint32 `protobuf:"varint,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// Position replaces the entity's origin when present.
	Position *geometry.Vec3 `protobuf:"bytes,2,opt,name=position,proto3,oneof" json:"position,omitempty"`
	// Facing replaces the entity's angles when present.
	Facing *geometry.EulerAngles `protobuf:"bytes,3,opt,name=facing,proto3,oneof" json:"facing,omitempty"`
	// Velocity replaces the entity's motion when present.
	Velocity *geometry.Vec3 `protobuf:"bytes,4,opt,name=velocity,proto3,oneof" json:"velocity,omitempty"`
	// contains filtered or unexported fields
}

MoveEntityRequest places one entity, or changes only its facing or motion.

func (*MoveEntityRequest) CloneMessageVT

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

func (*MoveEntityRequest) CloneVT

func (m *MoveEntityRequest) CloneVT() *MoveEntityRequest

func (*MoveEntityRequest) EqualMessageVT

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

func (*MoveEntityRequest) EqualVT

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

func (*MoveEntityRequest) GetEntity

func (x *MoveEntityRequest) GetEntity() uint32

func (*MoveEntityRequest) GetFacing

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

func (*MoveEntityRequest) GetPosition

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

func (*MoveEntityRequest) GetVelocity

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

func (*MoveEntityRequest) MarshalJSON

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

MarshalJSON marshals the MoveEntityRequest to JSON.

func (*MoveEntityRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the MoveEntityRequest message to JSON.

func (*MoveEntityRequest) MarshalProtoText

func (x *MoveEntityRequest) MarshalProtoText() string

func (*MoveEntityRequest) MarshalToSizedBufferVT

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

func (*MoveEntityRequest) MarshalToVT

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

func (*MoveEntityRequest) MarshalVT

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

func (*MoveEntityRequest) ProtoMessage

func (*MoveEntityRequest) ProtoMessage()

func (*MoveEntityRequest) Reset

func (x *MoveEntityRequest) Reset()

func (*MoveEntityRequest) SizeVT

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

func (*MoveEntityRequest) String

func (x *MoveEntityRequest) String() string

func (*MoveEntityRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the MoveEntityRequest from JSON.

func (*MoveEntityRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the MoveEntityRequest message from JSON.

func (*MoveEntityRequest) UnmarshalVT

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

type PickupKind

type PickupKind int32

PickupKind is a kind of item players collect by walking over it.

const (
	// PICKUP_KIND_URN is the soul urn, which its carrier delivers.
	PickupKind_PICKUP_KIND_URN PickupKind = 0
	// PICKUP_KIND_MOVEMENT_BUFF is the movement speed buff.
	PickupKind_PICKUP_KIND_MOVEMENT_BUFF PickupKind = 1
)

func (PickupKind) Enum

func (x PickupKind) Enum() *PickupKind

func (PickupKind) MarshalJSON

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

MarshalJSON marshals the PickupKind to JSON.

func (PickupKind) MarshalProtoJSON

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

MarshalProtoJSON marshals the PickupKind to JSON.

func (PickupKind) MarshalProtoText

func (x PickupKind) MarshalProtoText() string

func (PickupKind) MarshalText

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

MarshalText marshals the PickupKind to text.

func (PickupKind) String

func (x PickupKind) String() string

func (*PickupKind) UnmarshalJSON

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

UnmarshalJSON unmarshals the PickupKind from JSON.

func (*PickupKind) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the PickupKind from JSON.

func (*PickupKind) UnmarshalText

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

UnmarshalText unmarshals the PickupKind from text.

type PickupRequest

type PickupRequest struct {

	// Pickup is the pickup's entity handle.
	Pickup uint32 `protobuf:"varint,1,opt,name=pickup,proto3" json:"pickup,omitempty"`
	// contains filtered or unexported fields
}

PickupRequest addresses one pickup the mod placed.

func (*PickupRequest) CloneMessageVT

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

func (*PickupRequest) CloneVT

func (m *PickupRequest) CloneVT() *PickupRequest

func (*PickupRequest) EqualMessageVT

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

func (*PickupRequest) EqualVT

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

func (*PickupRequest) GetPickup

func (x *PickupRequest) GetPickup() uint32

func (*PickupRequest) MarshalJSON

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

MarshalJSON marshals the PickupRequest to JSON.

func (*PickupRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the PickupRequest message to JSON.

func (*PickupRequest) MarshalProtoText

func (x *PickupRequest) MarshalProtoText() string

func (*PickupRequest) MarshalToSizedBufferVT

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

func (*PickupRequest) MarshalToVT

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

func (*PickupRequest) MarshalVT

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

func (*PickupRequest) ProtoMessage

func (*PickupRequest) ProtoMessage()

func (*PickupRequest) Reset

func (x *PickupRequest) Reset()

func (*PickupRequest) SizeVT

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

func (*PickupRequest) String

func (x *PickupRequest) String() string

func (*PickupRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the PickupRequest from JSON.

func (*PickupRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the PickupRequest message from JSON.

func (*PickupRequest) UnmarshalVT

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

type PickupResponse

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

PickupResponse holds the pickup CreatePickup placed.

func (*PickupResponse) CloneMessageVT

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

func (*PickupResponse) CloneVT

func (m *PickupResponse) CloneVT() *PickupResponse

func (*PickupResponse) EqualMessageVT

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

func (*PickupResponse) EqualVT

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

func (*PickupResponse) GetPickup

func (x *PickupResponse) GetPickup() uint32

func (*PickupResponse) MarshalJSON

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

MarshalJSON marshals the PickupResponse to JSON.

func (*PickupResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the PickupResponse message to JSON.

func (*PickupResponse) MarshalProtoText

func (x *PickupResponse) MarshalProtoText() string

func (*PickupResponse) MarshalToSizedBufferVT

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

func (*PickupResponse) MarshalToVT

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

func (*PickupResponse) MarshalVT

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

func (*PickupResponse) ProtoMessage

func (*PickupResponse) ProtoMessage()

func (*PickupResponse) Reset

func (x *PickupResponse) Reset()

func (*PickupResponse) SizeVT

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

func (*PickupResponse) String

func (x *PickupResponse) String() string

func (*PickupResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the PickupResponse from JSON.

func (*PickupResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the PickupResponse message from JSON.

func (*PickupResponse) UnmarshalVT

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

type PushEntityRequest added in v0.1.31

type PushEntityRequest struct {

	// Entity is the entity's handle.
	Entity uint32 `protobuf:"varint,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// Velocity is added to the entity's motion, in units per second in world
	// axes.
	Velocity *geometry.Vec3 `protobuf:"bytes,2,opt,name=velocity,proto3" json:"velocity,omitempty"`
	// Spin is added to the entity's angular velocity when present, in degrees
	// per second about its own x, y and z axes.
	Spin *geometry.Vec3 `protobuf:"bytes,3,opt,name=spin,proto3,oneof" json:"spin,omitempty"`
	// contains filtered or unexported fields
}

PushEntityRequest adds motion to one entity.

func (*PushEntityRequest) CloneMessageVT added in v0.1.31

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

func (*PushEntityRequest) CloneVT added in v0.1.31

func (m *PushEntityRequest) CloneVT() *PushEntityRequest

func (*PushEntityRequest) EqualMessageVT added in v0.1.31

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

func (*PushEntityRequest) EqualVT added in v0.1.31

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

func (*PushEntityRequest) GetEntity added in v0.1.31

func (x *PushEntityRequest) GetEntity() uint32

func (*PushEntityRequest) GetSpin added in v0.1.31

func (x *PushEntityRequest) GetSpin() *geometry.Vec3

func (*PushEntityRequest) GetVelocity added in v0.1.31

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

func (*PushEntityRequest) MarshalJSON added in v0.1.31

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

MarshalJSON marshals the PushEntityRequest to JSON.

func (*PushEntityRequest) MarshalProtoJSON added in v0.1.31

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

MarshalProtoJSON marshals the PushEntityRequest message to JSON.

func (*PushEntityRequest) MarshalProtoText added in v0.1.31

func (x *PushEntityRequest) MarshalProtoText() string

func (*PushEntityRequest) MarshalToSizedBufferVT added in v0.1.31

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

func (*PushEntityRequest) MarshalToVT added in v0.1.31

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

func (*PushEntityRequest) MarshalVT added in v0.1.31

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

func (*PushEntityRequest) ProtoMessage added in v0.1.31

func (*PushEntityRequest) ProtoMessage()

func (*PushEntityRequest) Reset added in v0.1.31

func (x *PushEntityRequest) Reset()

func (*PushEntityRequest) SizeVT added in v0.1.31

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

func (*PushEntityRequest) String added in v0.1.31

func (x *PushEntityRequest) String() string

func (*PushEntityRequest) UnmarshalJSON added in v0.1.31

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

UnmarshalJSON unmarshals the PushEntityRequest from JSON.

func (*PushEntityRequest) UnmarshalProtoJSON added in v0.1.31

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

UnmarshalProtoJSON unmarshals the PushEntityRequest message from JSON.

func (*PushEntityRequest) UnmarshalVT added in v0.1.31

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

type RemoveEntitiesRequest

type RemoveEntitiesRequest struct {

	// ClassName is the exact entity class, such as npc_trooper.
	ClassName string `protobuf:"bytes,1,opt,name=class_name,json=className,proto3" json:"className,omitempty"`
	// contains filtered or unexported fields
}

RemoveEntitiesRequest names the entity class to remove.

func (*RemoveEntitiesRequest) CloneMessageVT

func (*RemoveEntitiesRequest) CloneVT

func (*RemoveEntitiesRequest) EqualMessageVT

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

func (*RemoveEntitiesRequest) EqualVT

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

func (*RemoveEntitiesRequest) GetClassName

func (x *RemoveEntitiesRequest) GetClassName() string

func (*RemoveEntitiesRequest) MarshalJSON

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

MarshalJSON marshals the RemoveEntitiesRequest to JSON.

func (*RemoveEntitiesRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the RemoveEntitiesRequest message to JSON.

func (*RemoveEntitiesRequest) MarshalProtoText

func (x *RemoveEntitiesRequest) MarshalProtoText() string

func (*RemoveEntitiesRequest) MarshalToSizedBufferVT

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

func (*RemoveEntitiesRequest) MarshalToVT

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

func (*RemoveEntitiesRequest) MarshalVT

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

func (*RemoveEntitiesRequest) ProtoMessage

func (*RemoveEntitiesRequest) ProtoMessage()

func (*RemoveEntitiesRequest) Reset

func (x *RemoveEntitiesRequest) Reset()

func (*RemoveEntitiesRequest) SizeVT

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

func (*RemoveEntitiesRequest) String

func (x *RemoveEntitiesRequest) String() string

func (*RemoveEntitiesRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the RemoveEntitiesRequest from JSON.

func (*RemoveEntitiesRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the RemoveEntitiesRequest message from JSON.

func (*RemoveEntitiesRequest) UnmarshalVT

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

type ShowEntityOnlyToRequest

type ShowEntityOnlyToRequest struct {

	// Entity is the handle of an entity the mod created.
	Entity uint32 `protobuf:"varint,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// Players are the server slots of the players who receive it.
	Players []int32 `protobuf:"varint,2,rep,packed,name=players,proto3" json:"players,omitempty"`
	// contains filtered or unexported fields
}

ShowEntityOnlyToRequest names the only players who receive an entity.

func (*ShowEntityOnlyToRequest) CloneMessageVT

func (*ShowEntityOnlyToRequest) CloneVT

func (*ShowEntityOnlyToRequest) EqualMessageVT

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

func (*ShowEntityOnlyToRequest) EqualVT

func (*ShowEntityOnlyToRequest) GetEntity

func (x *ShowEntityOnlyToRequest) GetEntity() uint32

func (*ShowEntityOnlyToRequest) GetPlayers

func (x *ShowEntityOnlyToRequest) GetPlayers() []int32

func (*ShowEntityOnlyToRequest) MarshalJSON

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

MarshalJSON marshals the ShowEntityOnlyToRequest to JSON.

func (*ShowEntityOnlyToRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the ShowEntityOnlyToRequest message to JSON.

func (*ShowEntityOnlyToRequest) MarshalProtoText

func (x *ShowEntityOnlyToRequest) MarshalProtoText() string

func (*ShowEntityOnlyToRequest) MarshalToSizedBufferVT

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

func (*ShowEntityOnlyToRequest) MarshalToVT

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

func (*ShowEntityOnlyToRequest) MarshalVT

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

func (*ShowEntityOnlyToRequest) ProtoMessage

func (*ShowEntityOnlyToRequest) ProtoMessage()

func (*ShowEntityOnlyToRequest) Reset

func (x *ShowEntityOnlyToRequest) Reset()

func (*ShowEntityOnlyToRequest) SizeVT

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

func (*ShowEntityOnlyToRequest) String

func (x *ShowEntityOnlyToRequest) String() string

func (*ShowEntityOnlyToRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the ShowEntityOnlyToRequest from JSON.

func (*ShowEntityOnlyToRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the ShowEntityOnlyToRequest message from JSON.

func (*ShowEntityOnlyToRequest) UnmarshalVT

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

Jump to

Keyboard shortcuts

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