mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
175 lines
3.2 KiB
Go
175 lines
3.2 KiB
Go
// Code generated by protoc-gen-golite. DO NOT EDIT.
|
|
// source: subcmd0x501.proto
|
|
|
|
package cmd0x6ff
|
|
|
|
type C501ReqBody struct {
|
|
ReqBody *SubCmd0X501ReqBody `protobuf:"bytes,1281,opt"`
|
|
}
|
|
|
|
func (x *C501ReqBody) GetReqBody() *SubCmd0X501ReqBody {
|
|
if x != nil {
|
|
return x.ReqBody
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type C501RspBody struct {
|
|
RspBody *SubCmd0X501RspBody `protobuf:"bytes,1281,opt"`
|
|
}
|
|
|
|
func (x *C501RspBody) GetRspBody() *SubCmd0X501RspBody {
|
|
if x != nil {
|
|
return x.RspBody
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SubCmd0X501ReqBody struct {
|
|
Uin *uint64 `protobuf:"varint,1,opt"`
|
|
IdcId *uint32 `protobuf:"varint,2,opt"`
|
|
Appid *uint32 `protobuf:"varint,3,opt"`
|
|
LoginSigType *uint32 `protobuf:"varint,4,opt"`
|
|
LoginSigTicket []byte `protobuf:"bytes,5,opt"`
|
|
RequestFlag *uint32 `protobuf:"varint,6,opt"`
|
|
ServiceTypes []uint32 `protobuf:"varint,7,rep"`
|
|
Bid *uint32 `protobuf:"varint,8,opt"`
|
|
}
|
|
|
|
func (x *SubCmd0X501ReqBody) GetUin() uint64 {
|
|
if x != nil && x.Uin != nil {
|
|
return *x.Uin
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SubCmd0X501ReqBody) GetIdcId() uint32 {
|
|
if x != nil && x.IdcId != nil {
|
|
return *x.IdcId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SubCmd0X501ReqBody) GetAppid() uint32 {
|
|
if x != nil && x.Appid != nil {
|
|
return *x.Appid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SubCmd0X501ReqBody) GetLoginSigType() uint32 {
|
|
if x != nil && x.LoginSigType != nil {
|
|
return *x.LoginSigType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SubCmd0X501ReqBody) GetLoginSigTicket() []byte {
|
|
if x != nil {
|
|
return x.LoginSigTicket
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SubCmd0X501ReqBody) GetRequestFlag() uint32 {
|
|
if x != nil && x.RequestFlag != nil {
|
|
return *x.RequestFlag
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SubCmd0X501ReqBody) GetServiceTypes() []uint32 {
|
|
if x != nil {
|
|
return x.ServiceTypes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SubCmd0X501ReqBody) GetBid() uint32 {
|
|
if x != nil && x.Bid != nil {
|
|
return *x.Bid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SubCmd0X501RspBody struct {
|
|
SigSession []byte `protobuf:"bytes,1,opt"`
|
|
SessionKey []byte `protobuf:"bytes,2,opt"`
|
|
Addrs []*SrvAddrs `protobuf:"bytes,3,rep"`
|
|
}
|
|
|
|
func (x *SubCmd0X501RspBody) GetSigSession() []byte {
|
|
if x != nil {
|
|
return x.SigSession
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SubCmd0X501RspBody) GetSessionKey() []byte {
|
|
if x != nil {
|
|
return x.SessionKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SubCmd0X501RspBody) GetAddrs() []*SrvAddrs {
|
|
if x != nil {
|
|
return x.Addrs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SrvAddrs struct {
|
|
ServiceType *uint32 `protobuf:"varint,1,opt"`
|
|
Addrs []*IpAddr `protobuf:"bytes,2,rep"`
|
|
}
|
|
|
|
func (x *SrvAddrs) GetServiceType() uint32 {
|
|
if x != nil && x.ServiceType != nil {
|
|
return *x.ServiceType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SrvAddrs) GetAddrs() []*IpAddr {
|
|
if x != nil {
|
|
return x.Addrs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type IpAddr struct {
|
|
Type *uint32 `protobuf:"varint,1,opt"`
|
|
Ip *uint32 `protobuf:"fixed32,2,opt"`
|
|
Port *uint32 `protobuf:"varint,3,opt"`
|
|
Area *uint32 `protobuf:"varint,4,opt"`
|
|
}
|
|
|
|
func (x *IpAddr) GetType() uint32 {
|
|
if x != nil && x.Type != nil {
|
|
return *x.Type
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *IpAddr) GetIp() uint32 {
|
|
if x != nil && x.Ip != nil {
|
|
return *x.Ip
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *IpAddr) GetPort() uint32 {
|
|
if x != nil && x.Port != nil {
|
|
return *x.Port
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *IpAddr) GetArea() uint32 {
|
|
if x != nil && x.Area != nil {
|
|
return *x.Area
|
|
}
|
|
return 0
|
|
}
|