mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-07 20:45:53 +08:00
344 lines
8.4 KiB
Go
344 lines
8.4 KiB
Go
// Code generated by Proto2Go.Net. Only used for MiraiGo. DO NOT EDIT.
|
|
// Source: oidb0x89a.proto
|
|
|
|
package oidb0x89a
|
|
|
|
import (
|
|
"github.com/pkg/errors"
|
|
"go.dedis.ch/protobuf"
|
|
)
|
|
|
|
type (
|
|
ReqBody struct {
|
|
GroupCode *int64 `protobuf:"1,opt"`
|
|
StGroupInfo *GroupInfo `protobuf:"2,opt"`
|
|
OriginalOperatorUin *int64 `protobuf:"3,opt"`
|
|
ReqGroupOpenAppid *int32 `protobuf:"4,opt"`
|
|
}
|
|
|
|
GroupInfo struct {
|
|
GroupExtAdmNum *int32 `protobuf:"1,opt"`
|
|
Flag *int32 `protobuf:"2,opt"`
|
|
IngGroupName []byte `protobuf:"3,opt"`
|
|
IngGroupMemo []byte `protobuf:"4,opt"`
|
|
IngGroupFingerMemo []byte `protobuf:"5,opt"`
|
|
IngGroupAioSkinUrl []byte `protobuf:"6,opt"`
|
|
IngGroupBoardSkinUrl []byte `protobuf:"7,opt"`
|
|
IngGroupCoverSkinUrl []byte `protobuf:"8,opt"`
|
|
GroupGrade *int32 `protobuf:"9,opt"`
|
|
ActiveMemberNum *int32 `protobuf:"10,opt"`
|
|
CertificationType *int32 `protobuf:"11,opt"`
|
|
IngCertificationText []byte `protobuf:"12,opt"`
|
|
IngGroupRichFingerMemo []byte `protobuf:"13,opt"`
|
|
StGroupNewguidelines *GroupNewGuidelinesInfo `protobuf:"14,opt"`
|
|
GroupFace *int32 `protobuf:"15,opt"`
|
|
AddOption *int32 `protobuf:"16,opt"`
|
|
ShutupTime *int32 `protobuf:"17,opt"`
|
|
GroupTypeFlag *int32 `protobuf:"18,opt"`
|
|
StringGroupTag []byte `protobuf:"19,opt"`
|
|
MsgGroupGeoInfo *GroupGeoInfo `protobuf:"20,opt"`
|
|
GroupClassExt *int32 `protobuf:"21,opt"`
|
|
IngGroupClassText []byte `protobuf:"22,opt"`
|
|
AppPrivilegeFlag *int32 `protobuf:"23,opt"`
|
|
AppPrivilegeMask *int32 `protobuf:"24,opt"`
|
|
StGroupExInfo *GroupExInfoOnly `protobuf:"25,opt"`
|
|
GroupSecLevel *int32 `protobuf:"26,opt"`
|
|
GroupSecLevelInfo *int32 `protobuf:"27,opt"`
|
|
SubscriptionUin *int64 `protobuf:"28,opt"`
|
|
AllowMemberInvite *int32 `protobuf:"29,opt"`
|
|
IngGroupQuestion []byte `protobuf:"30,opt"`
|
|
IngGroupAnswer []byte `protobuf:"31,opt"`
|
|
GroupFlagext3 *int32 `protobuf:"32,opt"`
|
|
GroupFlagext3Mask *int32 `protobuf:"33,opt"`
|
|
GroupOpenAppid *int32 `protobuf:"34,opt"`
|
|
NoFingerOpenFlag *int32 `protobuf:"35,opt"`
|
|
NoCodeFingerOpenFlag *int32 `protobuf:"36,opt"`
|
|
RootId *int64 `protobuf:"37,opt"`
|
|
MsgLimitFrequency *int32 `protobuf:"38,opt"`
|
|
}
|
|
|
|
GroupNewGuidelinesInfo struct {
|
|
BoolEnabled *bool `protobuf:"1,opt"`
|
|
IngContent []byte `protobuf:"2,opt"`
|
|
}
|
|
|
|
GroupExInfoOnly struct {
|
|
TribeId *int32 `protobuf:"1,opt"`
|
|
MoneyForAddGroup *int32 `protobuf:"2,opt"`
|
|
}
|
|
|
|
GroupGeoInfo struct {
|
|
CityId *int32 `protobuf:"1,opt"`
|
|
Longtitude *int64 `protobuf:"2,opt"`
|
|
Latitude *int64 `protobuf:"3,opt"`
|
|
IngGeoContent []byte `protobuf:"4,opt"`
|
|
PoiId *int64 `protobuf:"5,opt"`
|
|
}
|
|
)
|
|
|
|
func (x *ReqBody) GetGroupCode() int64 {
|
|
if x != nil && x.GroupCode != nil {
|
|
return *x.GroupCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReqBody) GetOriginalOperatorUin() int64 {
|
|
if x != nil && x.OriginalOperatorUin != nil {
|
|
return *x.OriginalOperatorUin
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReqBody) GetReqGroupOpenAppid() int32 {
|
|
if x != nil && x.ReqGroupOpenAppid != nil {
|
|
return *x.ReqGroupOpenAppid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReqBody) Marshal() ([]byte, error) {
|
|
if x == nil {
|
|
return nil, errors.New("nil pointer error")
|
|
}
|
|
return protobuf.Encode(x)
|
|
}
|
|
|
|
func (x *GroupInfo) GetGroupExtAdmNum() int32 {
|
|
if x != nil && x.GroupExtAdmNum != nil {
|
|
return *x.GroupExtAdmNum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupInfo) GetFlag() int32 {
|
|
if x != nil && x.Flag != nil {
|
|
return *x.Flag
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupInfo) GetGroupGrade() int32 {
|
|
if x != nil && x.GroupGrade != nil {
|
|
return *x.GroupGrade
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupInfo) GetActiveMemberNum() int32 {
|
|
if x != nil && x.ActiveMemberNum != nil {
|
|
return *x.ActiveMemberNum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupInfo) GetCertificationType() int32 {
|
|
if x != nil && x.CertificationType != nil {
|
|
return *x.CertificationType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupInfo) GetGroupFace() int32 {
|
|
if x != nil && x.GroupFace != nil {
|
|
return *x.GroupFace
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupInfo) GetAddOption() int32 {
|
|
if x != nil && x.AddOption != nil {
|
|
return *x.AddOption
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupInfo) GetShutupTime() int32 {
|
|
if x != nil && x.ShutupTime != nil {
|
|
return *x.ShutupTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupInfo) GetGroupTypeFlag() int32 {
|
|
if x != nil && x.GroupTypeFlag != nil {
|
|
return *x.GroupTypeFlag
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupInfo) GetGroupClassExt() int32 {
|
|
if x != nil && x.GroupClassExt != nil {
|
|
return *x.GroupClassExt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupInfo) GetAppPrivilegeFlag() int32 {
|
|
if x != nil && x.AppPrivilegeFlag != nil {
|
|
return *x.AppPrivilegeFlag
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupInfo) GetAppPrivilegeMask() int32 {
|
|
if x != nil && x.AppPrivilegeMask != nil {
|
|
return *x.AppPrivilegeMask
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupInfo) GetGroupSecLevel() int32 {
|
|
if x != nil && x.GroupSecLevel != nil {
|
|
return *x.GroupSecLevel
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupInfo) GetGroupSecLevelInfo() int32 {
|
|
if x != nil && x.GroupSecLevelInfo != nil {
|
|
return *x.GroupSecLevelInfo
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupInfo) GetSubscriptionUin() int64 {
|
|
if x != nil && x.SubscriptionUin != nil {
|
|
return *x.SubscriptionUin
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupInfo) GetAllowMemberInvite() int32 {
|
|
if x != nil && x.AllowMemberInvite != nil {
|
|
return *x.AllowMemberInvite
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupInfo) GetGroupFlagext3() int32 {
|
|
if x != nil && x.GroupFlagext3 != nil {
|
|
return *x.GroupFlagext3
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupInfo) GetGroupFlagext3Mask() int32 {
|
|
if x != nil && x.GroupFlagext3Mask != nil {
|
|
return *x.GroupFlagext3Mask
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupInfo) GetGroupOpenAppid() int32 {
|
|
if x != nil && x.GroupOpenAppid != nil {
|
|
return *x.GroupOpenAppid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupInfo) GetNoFingerOpenFlag() int32 {
|
|
if x != nil && x.NoFingerOpenFlag != nil {
|
|
return *x.NoFingerOpenFlag
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupInfo) GetNoCodeFingerOpenFlag() int32 {
|
|
if x != nil && x.NoCodeFingerOpenFlag != nil {
|
|
return *x.NoCodeFingerOpenFlag
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupInfo) GetRootId() int64 {
|
|
if x != nil && x.RootId != nil {
|
|
return *x.RootId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupInfo) GetMsgLimitFrequency() int32 {
|
|
if x != nil && x.MsgLimitFrequency != nil {
|
|
return *x.MsgLimitFrequency
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupInfo) Marshal() ([]byte, error) {
|
|
if x == nil {
|
|
return nil, errors.New("nil pointer error")
|
|
}
|
|
return protobuf.Encode(x)
|
|
}
|
|
|
|
func (x *GroupNewGuidelinesInfo) GetBoolEnabled() bool {
|
|
if x != nil && x.BoolEnabled != nil {
|
|
return *x.BoolEnabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GroupNewGuidelinesInfo) Marshal() ([]byte, error) {
|
|
if x == nil {
|
|
return nil, errors.New("nil pointer error")
|
|
}
|
|
return protobuf.Encode(x)
|
|
}
|
|
|
|
func (x *GroupExInfoOnly) GetTribeId() int32 {
|
|
if x != nil && x.TribeId != nil {
|
|
return *x.TribeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupExInfoOnly) GetMoneyForAddGroup() int32 {
|
|
if x != nil && x.MoneyForAddGroup != nil {
|
|
return *x.MoneyForAddGroup
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupExInfoOnly) Marshal() ([]byte, error) {
|
|
if x == nil {
|
|
return nil, errors.New("nil pointer error")
|
|
}
|
|
return protobuf.Encode(x)
|
|
}
|
|
|
|
func (x *GroupGeoInfo) GetCityId() int32 {
|
|
if x != nil && x.CityId != nil {
|
|
return *x.CityId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupGeoInfo) GetLongtitude() int64 {
|
|
if x != nil && x.Longtitude != nil {
|
|
return *x.Longtitude
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupGeoInfo) GetLatitude() int64 {
|
|
if x != nil && x.Latitude != nil {
|
|
return *x.Latitude
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupGeoInfo) GetPoiId() int64 {
|
|
if x != nil && x.PoiId != nil {
|
|
return *x.PoiId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupGeoInfo) Marshal() ([]byte, error) {
|
|
if x == nil {
|
|
return nil, errors.New("nil pointer error")
|
|
}
|
|
return protobuf.Encode(x)
|
|
}
|