sub_a

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: MulanPSL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProtoIDSubAReq = uint32(30001)
	ProtoIDSubARsp = uint32(30002)
)

ProtoID

Variables

This section is empty.

Functions

This section is empty.

Types

type SubAElem

type SubAElem struct {
	IDList []string `json:"id_list,omitempty"`
	Lang   string   `json:"lang,omitempty"`
}

func NewSubAElem

func NewSubAElem() *SubAElem

func (*SubAElem) Decode

func (st *SubAElem) Decode(bs []byte) error

func (*SubAElem) Encode

func (st *SubAElem) Encode() ([]byte, error)

func (*SubAElem) Name

func (st *SubAElem) Name() string

func (*SubAElem) NewST

func (st *SubAElem) NewST() sample_proto.DefineST

func (*SubAElem) String

func (st *SubAElem) String() string

type SubAReq

type SubAReq struct {
	Header *sample_proto.HeaderReq `json:"header"`
	List   []*SubAElem             `json:"list,omitempty"`
}

func NewSubAReq

func NewSubAReq() *SubAReq

func (*SubAReq) Decode

func (st *SubAReq) Decode(bs []byte) error

func (*SubAReq) Encode

func (st *SubAReq) Encode() ([]byte, error)

func (*SubAReq) Name

func (st *SubAReq) Name() string

func (*SubAReq) New

func (st *SubAReq) New() sample_proto.Message

func (*SubAReq) NewST

func (st *SubAReq) NewST() sample_proto.DefineST

func (*SubAReq) ProtoID

func (st *SubAReq) ProtoID() uint32

func (*SubAReq) String

func (st *SubAReq) String() string

type SubARsp

type SubARsp struct {
	Header   *sample_proto.HeaderRsp  `json:"header"`
	Modified []string                 `json:"modified,omitempty"`
	Reward   []*super_schema.ItemElem `json:"reward,omitempty"`
}

func NewSubARsp

func NewSubARsp() *SubARsp

func (*SubARsp) Decode

func (st *SubARsp) Decode(bs []byte) error

func (*SubARsp) Encode

func (st *SubARsp) Encode() ([]byte, error)

func (*SubARsp) Name

func (st *SubARsp) Name() string

func (*SubARsp) New

func (st *SubARsp) New() sample_proto.Message

func (*SubARsp) NewST

func (st *SubARsp) NewST() sample_proto.DefineST

func (*SubARsp) ProtoID

func (st *SubARsp) ProtoID() uint32

func (*SubARsp) String

func (st *SubARsp) String() string

Jump to

Keyboard shortcuts

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