testprotos

package
v0.0.0-...-ccd9604 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_big_message_proto protoreflect.FileDescriptor
View Source
var File_testpitaya_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BigMessage

type BigMessage struct {
	Code     string              `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Response *BigMessageResponse `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
	// contains filtered or unexported fields
}

func (*BigMessage) Descriptor deprecated

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

Deprecated: Use BigMessage.ProtoReflect.Descriptor instead.

func (*BigMessage) GetCode

func (x *BigMessage) GetCode() string

func (*BigMessage) GetResponse

func (x *BigMessage) GetResponse() *BigMessageResponse

func (*BigMessage) ProtoMessage

func (*BigMessage) ProtoMessage()

func (*BigMessage) ProtoReflect

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

func (*BigMessage) Reset

func (x *BigMessage) Reset()

func (*BigMessage) String

func (x *BigMessage) String() string

type BigMessageResponse

type BigMessageResponse struct {
	Player *PlayerResponse `protobuf:"bytes,1,opt,name=player,proto3" json:"player,omitempty"`
	Npcs   map[string]*NPC `` /* 149-byte string literal not displayed */
	Chests []string        `protobuf:"bytes,3,rep,name=chests,proto3" json:"chests,omitempty"`
	// contains filtered or unexported fields
}

func (*BigMessageResponse) Descriptor deprecated

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

Deprecated: Use BigMessageResponse.ProtoReflect.Descriptor instead.

func (*BigMessageResponse) GetChests

func (x *BigMessageResponse) GetChests() []string

func (*BigMessageResponse) GetNpcs

func (x *BigMessageResponse) GetNpcs() map[string]*NPC

func (*BigMessageResponse) GetPlayer

func (x *BigMessageResponse) GetPlayer() *PlayerResponse

func (*BigMessageResponse) ProtoMessage

func (*BigMessageResponse) ProtoMessage()

func (*BigMessageResponse) ProtoReflect

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

func (*BigMessageResponse) Reset

func (x *BigMessageResponse) Reset()

func (*BigMessageResponse) String

func (x *BigMessageResponse) String() string

type NPC

type NPC struct {
	Name     string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Health   float64 `protobuf:"fixed64,2,opt,name=health,proto3" json:"health,omitempty"`
	PublicId string  `protobuf:"bytes,3,opt,name=publicId,proto3" json:"publicId,omitempty"`
	// contains filtered or unexported fields
}

func (*NPC) Descriptor deprecated

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

Deprecated: Use NPC.ProtoReflect.Descriptor instead.

func (*NPC) GetHealth

func (x *NPC) GetHealth() float64

func (*NPC) GetName

func (x *NPC) GetName() string

func (*NPC) GetPublicId

func (x *NPC) GetPublicId() string

func (*NPC) ProtoMessage

func (*NPC) ProtoMessage()

func (*NPC) ProtoReflect

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

func (*NPC) Reset

func (x *NPC) Reset()

func (*NPC) String

func (x *NPC) String() string

type PlayerResponse

type PlayerResponse struct {
	PublicId    string   `protobuf:"bytes,1,opt,name=publicId,proto3" json:"publicId,omitempty"`
	AccessToken string   `protobuf:"bytes,2,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
	Name        string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Items       []string `protobuf:"bytes,4,rep,name=items,proto3" json:"items,omitempty"`
	Health      float64  `protobuf:"fixed64,5,opt,name=health,proto3" json:"health,omitempty"`
	// contains filtered or unexported fields
}

func (*PlayerResponse) Descriptor deprecated

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

Deprecated: Use PlayerResponse.ProtoReflect.Descriptor instead.

func (*PlayerResponse) GetAccessToken

func (x *PlayerResponse) GetAccessToken() string

func (*PlayerResponse) GetHealth

func (x *PlayerResponse) GetHealth() float64

func (*PlayerResponse) GetItems

func (x *PlayerResponse) GetItems() []string

func (*PlayerResponse) GetName

func (x *PlayerResponse) GetName() string

func (*PlayerResponse) GetPublicId

func (x *PlayerResponse) GetPublicId() string

func (*PlayerResponse) ProtoMessage

func (*PlayerResponse) ProtoMessage()

func (*PlayerResponse) ProtoReflect

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

func (*PlayerResponse) Reset

func (x *PlayerResponse) Reset()

func (*PlayerResponse) String

func (x *PlayerResponse) String() string

type Response

type Response struct {
	Code int32  `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"`
	Msg  string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"`
	// contains filtered or unexported fields
}

func (*Response) Descriptor deprecated

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetCode

func (x *Response) GetCode() int32

func (*Response) GetMsg

func (x *Response) GetMsg() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

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

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

type SessionData

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

func (*SessionData) Descriptor deprecated

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

Deprecated: Use SessionData.ProtoReflect.Descriptor instead.

func (*SessionData) GetData

func (x *SessionData) GetData() string

func (*SessionData) ProtoMessage

func (*SessionData) ProtoMessage()

func (*SessionData) ProtoReflect

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

func (*SessionData) Reset

func (x *SessionData) Reset()

func (*SessionData) String

func (x *SessionData) String() string

Jump to

Keyboard shortcuts

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