protobuf

package
v0.0.0-...-d869020 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type CsEndFrame

type CsEndFrame struct {
	// contains filtered or unexported fields
}

func (*CsEndFrame) Descriptor deprecated

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

Deprecated: Use CsEndFrame.ProtoReflect.Descriptor instead.

func (*CsEndFrame) ProtoMessage

func (*CsEndFrame) ProtoMessage()

func (*CsEndFrame) ProtoReflect

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

func (*CsEndFrame) Reset

func (x *CsEndFrame) Reset()

func (*CsEndFrame) String

func (x *CsEndFrame) String() string

type CsMove

type CsMove struct {
	FromX float32 `protobuf:"fixed32,1,opt,name=fromX,proto3" json:"fromX,omitempty"`
	FromY float32 `protobuf:"fixed32,2,opt,name=fromY,proto3" json:"fromY,omitempty"`
	FromZ float32 `protobuf:"fixed32,3,opt,name=fromZ,proto3" json:"fromZ,omitempty"`
	ToX   float32 `protobuf:"fixed32,4,opt,name=toX,proto3" json:"toX,omitempty"`
	ToY   float32 `protobuf:"fixed32,5,opt,name=toY,proto3" json:"toY,omitempty"`
	ToZ   float32 `protobuf:"fixed32,6,opt,name=toZ,proto3" json:"toZ,omitempty"`
	Speed float32 `protobuf:"fixed32,7,opt,name=speed,proto3" json:"speed,omitempty"`
	// contains filtered or unexported fields
}

移动

func (*CsMove) Descriptor deprecated

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

Deprecated: Use CsMove.ProtoReflect.Descriptor instead.

func (*CsMove) GetFromX

func (x *CsMove) GetFromX() float32

func (*CsMove) GetFromY

func (x *CsMove) GetFromY() float32

func (*CsMove) GetFromZ

func (x *CsMove) GetFromZ() float32

func (*CsMove) GetSpeed

func (x *CsMove) GetSpeed() float32

func (*CsMove) GetToX

func (x *CsMove) GetToX() float32

func (*CsMove) GetToY

func (x *CsMove) GetToY() float32

func (*CsMove) GetToZ

func (x *CsMove) GetToZ() float32

func (*CsMove) ProtoMessage

func (*CsMove) ProtoMessage()

func (*CsMove) ProtoReflect

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

func (*CsMove) Reset

func (x *CsMove) Reset()

func (*CsMove) String

func (x *CsMove) String() string

type CsStartFrame

type CsStartFrame struct {
	// contains filtered or unexported fields
}

func (*CsStartFrame) Descriptor deprecated

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

Deprecated: Use CsStartFrame.ProtoReflect.Descriptor instead.

func (*CsStartFrame) ProtoMessage

func (*CsStartFrame) ProtoMessage()

func (*CsStartFrame) ProtoReflect

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

func (*CsStartFrame) Reset

func (x *CsStartFrame) Reset()

func (*CsStartFrame) String

func (x *CsStartFrame) String() string

type Hello

type Hello struct {
	Hello string `protobuf:"bytes,1,opt,name=hello,proto3" json:"hello,omitempty"`
	// contains filtered or unexported fields
}

protoc --go_out=. *.proto

func (*Hello) Descriptor deprecated

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

Deprecated: Use Hello.ProtoReflect.Descriptor instead.

func (*Hello) GetHello

func (x *Hello) GetHello() string

func (*Hello) ProtoMessage

func (*Hello) ProtoMessage()

func (*Hello) ProtoReflect

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

func (*Hello) Reset

func (x *Hello) Reset()

func (*Hello) String

func (x *Hello) String() string

Jump to

Keyboard shortcuts

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