Documentation ¶
Overview ¶
Package user is a generated protocol buffer package.
It is generated from these files:
proto/user.proto
It has these top-level messages:
EntityBase UserData ItemData
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntityBase ¶
type EntityBase struct { Id *uint64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*EntityBase) Descriptor ¶
func (*EntityBase) Descriptor() ([]byte, []int)
func (*EntityBase) GetId ¶
func (m *EntityBase) GetId() uint64
func (*EntityBase) GetName ¶
func (m *EntityBase) GetName() string
func (*EntityBase) ProtoMessage ¶
func (*EntityBase) ProtoMessage()
func (*EntityBase) Reset ¶
func (m *EntityBase) Reset()
func (*EntityBase) String ¶
func (m *EntityBase) String() string
type ItemData ¶
type ItemData struct { Id *int32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Num *int32 `protobuf:"varint,2,opt,name=num" json:"num,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ItemData) Descriptor ¶
func (*ItemData) ProtoMessage ¶
func (*ItemData) ProtoMessage()
type UserData ¶
type UserData struct { Base *EntityBase `protobuf:"bytes,1,opt,name=base" json:"base,omitempty"` Level *int32 `protobuf:"varint,2,opt,name=level" json:"level,omitempty"` Exp *int32 `protobuf:"varint,3,opt,name=exp" json:"exp,omitempty"` Items *ItemData `protobuf:"bytes,4,opt,name=items" json:"items,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*UserData) Descriptor ¶
func (*UserData) GetBase ¶
func (m *UserData) GetBase() *EntityBase
func (*UserData) ProtoMessage ¶
func (*UserData) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.