mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-07 12:43:32 +08:00
68 lines
1.2 KiB
Go
68 lines
1.2 KiB
Go
// Code generated by yaprotoc. DO NOT EDIT.
|
|
// source: oidb/0xed3.proto
|
|
|
|
package oidb0xed3
|
|
|
|
import (
|
|
"github.com/pkg/errors"
|
|
"github.com/segmentio/encoding/proto"
|
|
)
|
|
|
|
type ReqBody struct {
|
|
ToUin *uint64 `protobuf:"varint,1,opt"`
|
|
GroupCode *uint64 `protobuf:"varint,2,opt"`
|
|
MsgSeq *uint32 `protobuf:"varint,3,opt"`
|
|
MsgRand *uint32 `protobuf:"varint,4,opt"`
|
|
AioUin *uint64 `protobuf:"varint,5,opt"`
|
|
NudgeType *uint32 `protobuf:"varint,6,opt"`
|
|
}
|
|
|
|
func (x *ReqBody) GetToUin() uint64 {
|
|
if x != nil && x.ToUin != nil {
|
|
return *x.ToUin
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReqBody) GetGroupCode() uint64 {
|
|
if x != nil && x.GroupCode != nil {
|
|
return *x.GroupCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReqBody) GetMsgSeq() uint32 {
|
|
if x != nil && x.MsgSeq != nil {
|
|
return *x.MsgSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReqBody) GetMsgRand() uint32 {
|
|
if x != nil && x.MsgRand != nil {
|
|
return *x.MsgRand
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReqBody) GetAioUin() uint64 {
|
|
if x != nil && x.AioUin != nil {
|
|
return *x.AioUin
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReqBody) GetNudgeType() uint32 {
|
|
if x != nil && x.NudgeType != nil {
|
|
return *x.NudgeType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReqBody) Marshal() ([]byte, error) {
|
|
if x == nil {
|
|
return nil, errors.New("nil message")
|
|
}
|
|
return proto.Marshal(x)
|
|
}
|