user

package
v0.0.0-...-52d6a69 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

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) Descriptor() ([]byte, []int)

func (*ItemData) GetId

func (m *ItemData) GetId() int32

func (*ItemData) GetNum

func (m *ItemData) GetNum() int32

func (*ItemData) ProtoMessage

func (*ItemData) ProtoMessage()

func (*ItemData) Reset

func (m *ItemData) Reset()

func (*ItemData) String

func (m *ItemData) String() string

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) Descriptor() ([]byte, []int)

func (*UserData) GetBase

func (m *UserData) GetBase() *EntityBase

func (*UserData) GetExp

func (m *UserData) GetExp() int32

func (*UserData) GetItems

func (m *UserData) GetItems() *ItemData

func (*UserData) GetLevel

func (m *UserData) GetLevel() int32

func (*UserData) ProtoMessage

func (*UserData) ProtoMessage()

func (*UserData) Reset

func (m *UserData) Reset()

func (*UserData) String

func (m *UserData) String() string

Jump to

Keyboard shortcuts

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