Documentation ¶
Index ¶
- Variables
- type BigMessage
- func (*BigMessage) Descriptor() ([]byte, []int)deprecated
- func (x *BigMessage) GetCode() string
- func (x *BigMessage) GetResponse() *BigMessageResponse
- func (*BigMessage) ProtoMessage()
- func (x *BigMessage) ProtoReflect() protoreflect.Message
- func (x *BigMessage) Reset()
- func (x *BigMessage) String() string
- type BigMessageResponse
- func (*BigMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BigMessageResponse) GetChests() []string
- func (x *BigMessageResponse) GetNpcs() map[string]*NPC
- func (x *BigMessageResponse) GetPlayer() *PlayerResponse
- func (*BigMessageResponse) ProtoMessage()
- func (x *BigMessageResponse) ProtoReflect() protoreflect.Message
- func (x *BigMessageResponse) Reset()
- func (x *BigMessageResponse) String() string
- type NPC
- type PlayerResponse
- func (*PlayerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerResponse) GetAccessToken() string
- func (x *PlayerResponse) GetHealth() float64
- func (x *PlayerResponse) GetItems() []string
- func (x *PlayerResponse) GetName() string
- func (x *PlayerResponse) GetPublicId() string
- func (*PlayerResponse) ProtoMessage()
- func (x *PlayerResponse) ProtoReflect() protoreflect.Message
- func (x *PlayerResponse) Reset()
- func (x *PlayerResponse) String() string
- type Response
- type SessionData
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) GetPublicId ¶
func (*NPC) ProtoMessage ¶
func (*NPC) ProtoMessage()
func (*NPC) ProtoReflect ¶
func (x *NPC) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
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
Click to show internal directories.
Click to hide internal directories.