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
- type C2S
- type Request
- type Response
- type S2C
- func (*S2C) Descriptor() ([]byte, []int)
- func (m *S2C) GetLocalTime() float64
- func (m *S2C) GetMarketHK() int32
- func (m *S2C) GetMarketHKFuture() int32
- func (m *S2C) GetMarketSH() int32
- func (m *S2C) GetMarketSZ() int32
- func (m *S2C) GetMarketUS() int32
- func (m *S2C) GetProgramStatus() *Common.ProgramStatus
- func (m *S2C) GetQotLogined() bool
- func (m *S2C) GetQotSvrIpAddr() string
- func (m *S2C) GetServerBuildNo() int32
- func (m *S2C) GetServerVer() int32
- func (m *S2C) GetTime() int64
- func (m *S2C) GetTrdLogined() bool
- func (m *S2C) GetTrdSvrIpAddr() string
- func (*S2C) ProtoMessage()
- func (m *S2C) Reset()
- func (m *S2C) String() string
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) ProtoMessage ¶
func (*C2S) ProtoMessage()
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) ProtoMessage ¶
func (*Request) ProtoMessage()
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) GetErrCode ¶
func (*Response) GetRetType ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
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) GetLocalTime ¶
func (*S2C) GetMarketHK ¶
func (*S2C) GetMarketHKFuture ¶
func (*S2C) GetMarketSH ¶
func (*S2C) GetMarketSZ ¶
func (*S2C) GetMarketUS ¶
func (*S2C) GetProgramStatus ¶
func (m *S2C) GetProgramStatus() *Common.ProgramStatus
func (*S2C) GetQotLogined ¶
func (*S2C) GetQotSvrIpAddr ¶
func (*S2C) GetServerBuildNo ¶
func (*S2C) GetServerVer ¶
func (*S2C) GetTrdLogined ¶
func (*S2C) GetTrdSvrIpAddr ¶
func (*S2C) ProtoMessage ¶
func (*S2C) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.