battlefield

package
v0.0.0-...-d2bec9b Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_domain_battlefield_battlefield_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Cell

type Cell struct {
	Coordinates *Coordinates `protobuf:"bytes,1,opt,name=coordinates,proto3" json:"coordinates,omitempty"`
	Type        string       `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*Cell) Descriptor deprecated

func (*Cell) Descriptor() ([]byte, []int)

Deprecated: Use Cell.ProtoReflect.Descriptor instead.

func (*Cell) GetCoordinates

func (x *Cell) GetCoordinates() *Coordinates

func (*Cell) GetType

func (x *Cell) GetType() string

func (*Cell) ProtoMessage

func (*Cell) ProtoMessage()

func (*Cell) ProtoReflect

func (x *Cell) ProtoReflect() protoreflect.Message

func (*Cell) Reset

func (x *Cell) Reset()

func (*Cell) String

func (x *Cell) String() string

type Coordinates

type Coordinates struct {
	X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
	Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"`
	// contains filtered or unexported fields
}

func (*Coordinates) Descriptor deprecated

func (*Coordinates) Descriptor() ([]byte, []int)

Deprecated: Use Coordinates.ProtoReflect.Descriptor instead.

func (*Coordinates) GetX

func (x *Coordinates) GetX() int32

func (*Coordinates) GetY

func (x *Coordinates) GetY() int32

func (*Coordinates) ProtoMessage

func (*Coordinates) ProtoMessage()

func (*Coordinates) ProtoReflect

func (x *Coordinates) ProtoReflect() protoreflect.Message

func (*Coordinates) Reset

func (x *Coordinates) Reset()

func (*Coordinates) String

func (x *Coordinates) String() string

Jump to

Keyboard shortcuts

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