GetGlobalState

package
v0.0.0-...-1a60310 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package GetGlobalState is a generated protocol buffer package.

It is generated from these files:

GetGlobalState.proto

It has these top-level messages:

C2S
S2C
Request
Response

Index

Constants

View Source
const Default_Response_RetType int32 = -400

Variables

This section is empty.

Functions

This section is empty.

Types

type C2S

type C2S struct {
	UserID           *uint64 `protobuf:"varint,1,req,name=userID" json:"userID,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*C2S) Descriptor

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

func (*C2S) GetUserID

func (m *C2S) GetUserID() uint64

func (*C2S) ProtoMessage

func (*C2S) ProtoMessage()

func (*C2S) Reset

func (m *C2S) Reset()

func (*C2S) String

func (m *C2S) String() string

type Request

type Request struct {
	C2S              *C2S   `protobuf:"bytes,1,req,name=c2s" json:"c2s,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*Request) Descriptor

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

func (*Request) GetC2S

func (m *Request) GetC2S() *C2S

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) String

func (m *Request) String() string

type Response

type Response struct {
	RetType          *int32  `protobuf:"varint,1,req,name=retType,def=-400" json:"retType,omitempty"`
	RetMsg           *string `protobuf:"bytes,2,opt,name=retMsg" json:"retMsg,omitempty"`
	ErrCode          *int32  `protobuf:"varint,3,opt,name=errCode" json:"errCode,omitempty"`
	S2C              *S2C    `protobuf:"bytes,4,opt,name=s2c" json:"s2c,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*Response) Descriptor

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

func (*Response) GetErrCode

func (m *Response) GetErrCode() int32

func (*Response) GetRetMsg

func (m *Response) GetRetMsg() string

func (*Response) GetRetType

func (m *Response) GetRetType() int32

func (*Response) GetS2C

func (m *Response) GetS2C() *S2C

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

type S2C

type S2C struct {
	MarketHK         *int32                `protobuf:"varint,1,req,name=marketHK" json:"marketHK,omitempty"`
	MarketUS         *int32                `protobuf:"varint,2,req,name=marketUS" json:"marketUS,omitempty"`
	MarketSH         *int32                `protobuf:"varint,3,req,name=marketSH" json:"marketSH,omitempty"`
	MarketSZ         *int32                `protobuf:"varint,4,req,name=marketSZ" json:"marketSZ,omitempty"`
	MarketHKFuture   *int32                `protobuf:"varint,5,req,name=marketHKFuture" json:"marketHKFuture,omitempty"`
	QotLogined       *bool                 `protobuf:"varint,6,req,name=qotLogined" json:"qotLogined,omitempty"`
	TrdLogined       *bool                 `protobuf:"varint,7,req,name=trdLogined" json:"trdLogined,omitempty"`
	ServerVer        *int32                `protobuf:"varint,8,req,name=serverVer" json:"serverVer,omitempty"`
	ServerBuildNo    *int32                `protobuf:"varint,9,req,name=serverBuildNo" json:"serverBuildNo,omitempty"`
	Time             *int64                `protobuf:"varint,10,req,name=time" json:"time,omitempty"`
	LocalTime        *float64              `protobuf:"fixed64,11,opt,name=localTime" json:"localTime,omitempty"`
	ProgramStatus    *Common.ProgramStatus `protobuf:"bytes,12,opt,name=programStatus" json:"programStatus,omitempty"`
	QotSvrIpAddr     *string               `protobuf:"bytes,13,opt,name=qotSvrIpAddr" json:"qotSvrIpAddr,omitempty"`
	TrdSvrIpAddr     *string               `protobuf:"bytes,14,opt,name=trdSvrIpAddr" json:"trdSvrIpAddr,omitempty"`
	XXX_unrecognized []byte                `json:"-"`
}

func (*S2C) Descriptor

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

func (*S2C) GetLocalTime

func (m *S2C) GetLocalTime() float64

func (*S2C) GetMarketHK

func (m *S2C) GetMarketHK() int32

func (*S2C) GetMarketHKFuture

func (m *S2C) GetMarketHKFuture() int32

func (*S2C) GetMarketSH

func (m *S2C) GetMarketSH() int32

func (*S2C) GetMarketSZ

func (m *S2C) GetMarketSZ() int32

func (*S2C) GetMarketUS

func (m *S2C) GetMarketUS() int32

func (*S2C) GetProgramStatus

func (m *S2C) GetProgramStatus() *Common.ProgramStatus

func (*S2C) GetQotLogined

func (m *S2C) GetQotLogined() bool

func (*S2C) GetQotSvrIpAddr

func (m *S2C) GetQotSvrIpAddr() string

func (*S2C) GetServerBuildNo

func (m *S2C) GetServerBuildNo() int32

func (*S2C) GetServerVer

func (m *S2C) GetServerVer() int32

func (*S2C) GetTime

func (m *S2C) GetTime() int64

func (*S2C) GetTrdLogined

func (m *S2C) GetTrdLogined() bool

func (*S2C) GetTrdSvrIpAddr

func (m *S2C) GetTrdSvrIpAddr() string

func (*S2C) ProtoMessage

func (*S2C) ProtoMessage()

func (*S2C) Reset

func (m *S2C) Reset()

func (*S2C) String

func (m *S2C) String() string

Jump to

Keyboard shortcuts

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