|
|
|
@ -100,6 +100,126 @@ func (x *PbUser) GetIntegral() int64 {
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// GameStatusReq 游戏状态控制 game.status
|
|
|
|
|
type GameStatusReq struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` // 1开始新战局 2结束战局
|
|
|
|
|
Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // 时间戳
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GameStatusReq) Reset() {
|
|
|
|
|
*x = GameStatusReq{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[1]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GameStatusReq) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*GameStatusReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *GameStatusReq) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[1]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use GameStatusReq.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GameStatusReq) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{1}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GameStatusReq) GetStatus() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Status
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GameStatusReq) GetTimestamp() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Timestamp
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// GameStatusResp 游戏状态控制返回值
|
|
|
|
|
type GameStatusResp struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
|
|
|
BattleId int64 `protobuf:"varint,2,opt,name=battleId,proto3" json:"battleId,omitempty"` // 战局ID | 上一场战局ID(结束时)
|
|
|
|
|
Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // 时间戳
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GameStatusResp) Reset() {
|
|
|
|
|
*x = GameStatusResp{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[2]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GameStatusResp) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*GameStatusResp) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *GameStatusResp) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[2]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use GameStatusResp.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GameStatusResp) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{2}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GameStatusResp) GetSuccess() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Success
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GameStatusResp) GetBattleId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.BattleId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GameStatusResp) GetTimestamp() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Timestamp
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// UserIntegralChanged 用户积分变更 push -> user.integral.change
|
|
|
|
|
type UserIntegralChanged struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
@ -114,7 +234,7 @@ type UserIntegralChanged struct {
|
|
|
|
|
func (x *UserIntegralChanged) Reset() {
|
|
|
|
|
*x = UserIntegralChanged{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[1]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[3]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -127,7 +247,7 @@ func (x *UserIntegralChanged) String() string {
|
|
|
|
|
func (*UserIntegralChanged) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *UserIntegralChanged) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[1]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[3]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -140,7 +260,7 @@ func (x *UserIntegralChanged) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use UserIntegralChanged.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UserIntegralChanged) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{1}
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{3}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UserIntegralChanged) GetUser() *PbUser {
|
|
|
|
@ -177,7 +297,7 @@ type ChangeUserIntegralReq struct {
|
|
|
|
|
func (x *ChangeUserIntegralReq) Reset() {
|
|
|
|
|
*x = ChangeUserIntegralReq{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[2]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[4]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -190,7 +310,7 @@ func (x *ChangeUserIntegralReq) String() string {
|
|
|
|
|
func (*ChangeUserIntegralReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ChangeUserIntegralReq) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[2]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[4]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -203,7 +323,7 @@ func (x *ChangeUserIntegralReq) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ChangeUserIntegralReq.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ChangeUserIntegralReq) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{2}
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{4}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ChangeUserIntegralReq) GetUserId() int64 {
|
|
|
|
@ -226,7 +346,7 @@ type ChangeUserIntegralResp struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // 是否更新成功
|
|
|
|
|
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // code, 200表示成功,其余根据对照表
|
|
|
|
|
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // 消息
|
|
|
|
|
UserId int64 `protobuf:"varint,3,opt,name=userId,proto3" json:"userId,omitempty"` // 用户ID
|
|
|
|
|
Change int64 `protobuf:"varint,4,opt,name=change,proto3" json:"change,omitempty"` // 本次更新积分量
|
|
|
|
@ -236,7 +356,7 @@ type ChangeUserIntegralResp struct {
|
|
|
|
|
func (x *ChangeUserIntegralResp) Reset() {
|
|
|
|
|
*x = ChangeUserIntegralResp{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[3]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[5]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -249,7 +369,7 @@ func (x *ChangeUserIntegralResp) String() string {
|
|
|
|
|
func (*ChangeUserIntegralResp) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ChangeUserIntegralResp) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[3]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[5]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -262,14 +382,14 @@ func (x *ChangeUserIntegralResp) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ChangeUserIntegralResp.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ChangeUserIntegralResp) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{3}
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{5}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ChangeUserIntegralResp) GetSuccess() bool {
|
|
|
|
|
func (x *ChangeUserIntegralResp) GetCode() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Success
|
|
|
|
|
return x.Code
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ChangeUserIntegralResp) GetMsg() string {
|
|
|
|
@ -306,17 +426,17 @@ type CheckInMsg struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
User *PbUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // 最新积分放置在user中
|
|
|
|
|
Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"` // 打卡成功与否
|
|
|
|
|
Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` // 打卡消息: [打卡成功,快乐玩耍吧! | 今天已打过卡了!]
|
|
|
|
|
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // code, 200表示成功,其余根据对照表
|
|
|
|
|
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // 消息 [打卡成功,快乐玩耍吧! | 今天已打过卡了!]
|
|
|
|
|
User *PbUser `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` // 最新积分放置在user中
|
|
|
|
|
IntegralChange int64 `protobuf:"varint,4,opt,name=integralChange,proto3" json:"integralChange,omitempty"` // 积分变动
|
|
|
|
|
IsCritical bool `protobuf:"varint,5,opt,name=isCritical,proto3" json:"isCritical,omitempty"` // 是否发生了打卡积分奖励暴击
|
|
|
|
|
IsCritical bool `protobuf:"varint,5,opt,name=isCritical,proto3" json:"isCritical,omitempty"` // 是否欧皇附体
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CheckInMsg) Reset() {
|
|
|
|
|
*x = CheckInMsg{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[4]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[6]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -329,7 +449,7 @@ func (x *CheckInMsg) String() string {
|
|
|
|
|
func (*CheckInMsg) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CheckInMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[4]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[6]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -342,28 +462,28 @@ func (x *CheckInMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use CheckInMsg.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CheckInMsg) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{4}
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{6}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CheckInMsg) GetUser() *PbUser {
|
|
|
|
|
func (x *CheckInMsg) GetCode() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.User
|
|
|
|
|
return x.Code
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CheckInMsg) GetSuccess() bool {
|
|
|
|
|
func (x *CheckInMsg) GetMsg() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Success
|
|
|
|
|
return x.Msg
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CheckInMsg) GetMsg() string {
|
|
|
|
|
func (x *CheckInMsg) GetUser() *PbUser {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Msg
|
|
|
|
|
return x.User
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CheckInMsg) GetIntegralChange() int64 {
|
|
|
|
@ -380,35 +500,35 @@ func (x *CheckInMsg) GetIsCritical() bool {
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// StarterPackMsg 新手礼包 push -> user.starterPack 命令(新手礼包)
|
|
|
|
|
type StarterPackMsg struct {
|
|
|
|
|
// GiftPackMsg 领取礼包消息 push -> user.giftPack 命令(新手礼包|福利|低保|其它礼包)
|
|
|
|
|
type GiftPackMsg struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
User *PbUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
|
|
|
|
|
Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"` // 领取成功与否
|
|
|
|
|
Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` // 领取消息: [成功无msg | 已经领过礼包了]
|
|
|
|
|
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // code, 200表示成功,其余根据对照表
|
|
|
|
|
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // 领取消息: [成功无msg | 已经领过礼包了xxx ]
|
|
|
|
|
User *PbUser `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
|
|
|
|
|
IntegralChange int64 `protobuf:"varint,4,opt,name=integralChange,proto3" json:"integralChange,omitempty"` // 积分变动
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StarterPackMsg) Reset() {
|
|
|
|
|
*x = StarterPackMsg{}
|
|
|
|
|
func (x *GiftPackMsg) Reset() {
|
|
|
|
|
*x = GiftPackMsg{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[5]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[7]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StarterPackMsg) String() string {
|
|
|
|
|
func (x *GiftPackMsg) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*StarterPackMsg) ProtoMessage() {}
|
|
|
|
|
func (*GiftPackMsg) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *StarterPackMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[5]
|
|
|
|
|
func (x *GiftPackMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[7]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -419,33 +539,33 @@ func (x *StarterPackMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use StarterPackMsg.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*StarterPackMsg) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{5}
|
|
|
|
|
// Deprecated: Use GiftPackMsg.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GiftPackMsg) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{7}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StarterPackMsg) GetUser() *PbUser {
|
|
|
|
|
func (x *GiftPackMsg) GetCode() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.User
|
|
|
|
|
return x.Code
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StarterPackMsg) GetSuccess() bool {
|
|
|
|
|
func (x *GiftPackMsg) GetMsg() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Success
|
|
|
|
|
return x.Msg
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StarterPackMsg) GetMsg() string {
|
|
|
|
|
func (x *GiftPackMsg) GetUser() *PbUser {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Msg
|
|
|
|
|
return x.User
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StarterPackMsg) GetIntegralChange() int64 {
|
|
|
|
|
func (x *GiftPackMsg) GetIntegralChange() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.IntegralChange
|
|
|
|
|
}
|
|
|
|
@ -458,13 +578,15 @@ type UserQueryMsg struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
User *PbUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
|
|
|
|
|
User *PbUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // 用户信息
|
|
|
|
|
Rank []*UserQueryMsg_RankItem `protobuf:"bytes,2,rep,name=rank,proto3" json:"rank,omitempty"` // 排行数据(多个榜)
|
|
|
|
|
TitleIds []int64 `protobuf:"varint,3,rep,packed,name=titleIds,proto3" json:"titleIds,omitempty"` // 称号ID列表,具体称号配置 给接口取
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg) Reset() {
|
|
|
|
|
*x = UserQueryMsg{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[6]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[8]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -477,7 +599,7 @@ func (x *UserQueryMsg) String() string {
|
|
|
|
|
func (*UserQueryMsg) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[6]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[8]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -490,7 +612,7 @@ func (x *UserQueryMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use UserQueryMsg.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UserQueryMsg) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{6}
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{8}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg) GetUser() *PbUser {
|
|
|
|
@ -500,6 +622,20 @@ func (x *UserQueryMsg) GetUser() *PbUser {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg) GetRank() []*UserQueryMsg_RankItem {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Rank
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg) GetTitleIds() []int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TitleIds
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// DanmakuMsg 普通弹幕消息 push -> live.danmaku
|
|
|
|
|
type DanmakuMsg struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
@ -513,7 +649,7 @@ type DanmakuMsg struct {
|
|
|
|
|
func (x *DanmakuMsg) Reset() {
|
|
|
|
|
*x = DanmakuMsg{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[7]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[9]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -526,7 +662,7 @@ func (x *DanmakuMsg) String() string {
|
|
|
|
|
func (*DanmakuMsg) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *DanmakuMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[7]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[9]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -539,7 +675,7 @@ func (x *DanmakuMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use DanmakuMsg.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*DanmakuMsg) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{7}
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{9}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DanmakuMsg) GetUser() *PbUser {
|
|
|
|
@ -556,7 +692,7 @@ func (x *DanmakuMsg) GetContent() string {
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 赠送礼物 push -> live.gift
|
|
|
|
|
// 赠送礼物 push -> live.gift.common | live.gift.nobility
|
|
|
|
|
type GiftMsg struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
@ -573,7 +709,7 @@ type GiftMsg struct {
|
|
|
|
|
func (x *GiftMsg) Reset() {
|
|
|
|
|
*x = GiftMsg{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[8]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[10]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -586,7 +722,7 @@ func (x *GiftMsg) String() string {
|
|
|
|
|
func (*GiftMsg) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *GiftMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[8]
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[10]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -599,7 +735,7 @@ func (x *GiftMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use GiftMsg.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GiftMsg) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{8}
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{10}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GiftMsg) GetUser() *PbUser {
|
|
|
|
@ -644,6 +780,166 @@ func (x *GiftMsg) GetIsPaid() bool {
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 奖池变动消息 push -> game.rewardPool
|
|
|
|
|
type RewardPoolMsg struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
WelfarePool int64 `protobuf:"varint,1,opt,name=welfarePool,proto3" json:"welfarePool,omitempty"` // 福利池,与战局无关
|
|
|
|
|
BattleId int64 `protobuf:"varint,2,opt,name=battleId,proto3" json:"battleId,omitempty"` // 战局ID
|
|
|
|
|
InitReward int64 `protobuf:"varint,3,opt,name=initReward,proto3" json:"initReward,omitempty"` // 初始奖池
|
|
|
|
|
GiftReward int64 `protobuf:"varint,4,opt,name=giftReward,proto3" json:"giftReward,omitempty"` // 礼物奖池
|
|
|
|
|
BattleReward int64 `protobuf:"varint,5,opt,name=battleReward,proto3" json:"battleReward,omitempty"` // 战斗奖池
|
|
|
|
|
OtherReward int64 `protobuf:"varint,6,opt,name=otherReward,proto3" json:"otherReward,omitempty"` // 其它奖池
|
|
|
|
|
AllRewards int64 `protobuf:"varint,10,opt,name=allRewards,proto3" json:"allRewards,omitempty"` // 所有奖池
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *RewardPoolMsg) Reset() {
|
|
|
|
|
*x = RewardPoolMsg{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[11]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *RewardPoolMsg) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*RewardPoolMsg) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *RewardPoolMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[11]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use RewardPoolMsg.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*RewardPoolMsg) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{11}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *RewardPoolMsg) GetWelfarePool() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.WelfarePool
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *RewardPoolMsg) GetBattleId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.BattleId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *RewardPoolMsg) GetInitReward() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.InitReward
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *RewardPoolMsg) GetGiftReward() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.GiftReward
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *RewardPoolMsg) GetBattleReward() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.BattleReward
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *RewardPoolMsg) GetOtherReward() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.OtherReward
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *RewardPoolMsg) GetAllRewards() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.AllRewards
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// RankItem 排行数据结构
|
|
|
|
|
type UserQueryMsg_RankItem struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
RankType int32 `protobuf:"varint,1,opt,name=rankType,proto3" json:"rankType,omitempty"` // 排行榜类型 (与pbGameZhg.RankType一致)
|
|
|
|
|
Score int64 `protobuf:"varint,2,opt,name=score,proto3" json:"score,omitempty"` // 具体分数
|
|
|
|
|
Rank int32 `protobuf:"varint,3,opt,name=rank,proto3" json:"rank,omitempty"` // 具体排名,不上榜为0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg_RankItem) Reset() {
|
|
|
|
|
*x = UserQueryMsg_RankItem{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[12]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg_RankItem) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*UserQueryMsg_RankItem) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg_RankItem) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[12]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use UserQueryMsg_RankItem.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UserQueryMsg_RankItem) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{8, 0}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg_RankItem) GetRankType() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.RankType
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg_RankItem) GetScore() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Score
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg_RankItem) GetRank() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Rank
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var File_common_common_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
|
|
var file_common_common_proto_rawDesc = []byte{
|
|
|
|
@ -657,69 +953,104 @@ var file_common_common_proto_rawDesc = []byte{
|
|
|
|
|
0x6f, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01,
|
|
|
|
|
0x28, 0x05, 0x52, 0x0d, 0x6e, 0x6f, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4c, 0x65, 0x76, 0x65,
|
|
|
|
|
0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x18, 0x05, 0x20,
|
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x22, 0x70, 0x0a,
|
|
|
|
|
0x13, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x43, 0x68, 0x61,
|
|
|
|
|
0x6e, 0x67, 0x65, 0x64, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
|
0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50,
|
|
|
|
|
0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x63,
|
|
|
|
|
0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x68, 0x61,
|
|
|
|
|
0x6e, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x18,
|
|
|
|
|
0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x22,
|
|
|
|
|
0x47, 0x0a, 0x15, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x74,
|
|
|
|
|
0x65, 0x67, 0x72, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72,
|
|
|
|
|
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
|
|
|
|
|
0x12, 0x16, 0x0a, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
|
|
|
|
|
0x52, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x90, 0x01, 0x0a, 0x16, 0x43, 0x68, 0x61,
|
|
|
|
|
0x6e, 0x67, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x52,
|
|
|
|
|
0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01,
|
|
|
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a,
|
|
|
|
|
0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12,
|
|
|
|
|
0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
|
|
0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67,
|
|
|
|
|
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12,
|
|
|
|
|
0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
|
|
|
0x03, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x22, 0xa7, 0x01, 0x0a, 0x0a,
|
|
|
|
|
0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x6e, 0x4d, 0x73, 0x67, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73,
|
|
|
|
|
0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f,
|
|
|
|
|
0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65,
|
|
|
|
|
0x72, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01,
|
|
|
|
|
0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6d,
|
|
|
|
|
0x73, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x26, 0x0a,
|
|
|
|
|
0x0e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18,
|
|
|
|
|
0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x43,
|
|
|
|
|
0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x43, 0x72, 0x69, 0x74, 0x69,
|
|
|
|
|
0x63, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x43, 0x72, 0x69,
|
|
|
|
|
0x74, 0x69, 0x63, 0x61, 0x6c, 0x22, 0x8b, 0x01, 0x0a, 0x0e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65,
|
|
|
|
|
0x72, 0x50, 0x61, 0x63, 0x6b, 0x4d, 0x73, 0x67, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72,
|
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
|
|
|
|
|
0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12,
|
|
|
|
|
0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
|
|
|
|
|
0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67,
|
|
|
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x26, 0x0a, 0x0e, 0x69,
|
|
|
|
|
0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20,
|
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x43, 0x68, 0x61,
|
|
|
|
|
0x6e, 0x67, 0x65, 0x22, 0x35, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x51, 0x75, 0x65, 0x72, 0x79,
|
|
|
|
|
0x4d, 0x73, 0x67, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
|
0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62,
|
|
|
|
|
0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x4d, 0x0a, 0x0a, 0x44, 0x61,
|
|
|
|
|
0x6e, 0x6d, 0x61, 0x6b, 0x75, 0x4d, 0x73, 0x67, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72,
|
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
|
|
|
|
|
0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12,
|
|
|
|
|
0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
|
0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0xa4, 0x01, 0x0a, 0x07, 0x47, 0x69,
|
|
|
|
|
0x66, 0x74, 0x4d, 0x73, 0x67, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20,
|
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x22, 0x45, 0x0a,
|
|
|
|
|
0x0d, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x12, 0x16,
|
|
|
|
|
0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06,
|
|
|
|
|
0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
|
|
|
|
|
0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73,
|
|
|
|
|
0x74, 0x61, 0x6d, 0x70, 0x22, 0x64, 0x0a, 0x0e, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74,
|
|
|
|
|
0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73,
|
|
|
|
|
0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
|
|
|
|
|
0x12, 0x1a, 0x0a, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01,
|
|
|
|
|
0x28, 0x03, 0x52, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09,
|
|
|
|
|
0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
|
|
0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x70, 0x0a, 0x13, 0x55, 0x73,
|
|
|
|
|
0x65, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
|
|
|
|
|
0x64, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
|
|
0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73,
|
|
|
|
|
0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x68, 0x61, 0x6e,
|
|
|
|
|
0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,
|
|
|
|
|
0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01,
|
|
|
|
|
0x28, 0x03, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x22, 0x47, 0x0a, 0x15,
|
|
|
|
|
0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72,
|
|
|
|
|
0x61, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18,
|
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a,
|
|
|
|
|
0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63,
|
|
|
|
|
0x68, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x8a, 0x01, 0x0a, 0x16, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
|
|
|
|
|
0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70,
|
|
|
|
|
0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04,
|
|
|
|
|
0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
|
|
|
0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
|
|
|
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16,
|
|
|
|
|
0x0a, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
|
|
|
|
|
0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72,
|
|
|
|
|
0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72,
|
|
|
|
|
0x61, 0x6c, 0x22, 0xa1, 0x01, 0x0a, 0x0a, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x6e, 0x4d, 0x73,
|
|
|
|
|
0x67, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
|
|
|
0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01,
|
|
|
|
|
0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18,
|
|
|
|
|
0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
|
|
|
|
|
0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x26,
|
|
|
|
|
0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
|
|
|
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c,
|
|
|
|
|
0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x43, 0x72, 0x69, 0x74,
|
|
|
|
|
0x69, 0x63, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x43, 0x72,
|
|
|
|
|
0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x22, 0x82, 0x01, 0x0a, 0x0b, 0x47, 0x69, 0x66, 0x74, 0x50,
|
|
|
|
|
0x61, 0x63, 0x6b, 0x4d, 0x73, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01,
|
|
|
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73,
|
|
|
|
|
0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x25, 0x0a, 0x04,
|
|
|
|
|
0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e,
|
|
|
|
|
0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75,
|
|
|
|
|
0x73, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x43,
|
|
|
|
|
0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x69, 0x6e, 0x74,
|
|
|
|
|
0x65, 0x67, 0x72, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x22, 0xd9, 0x01, 0x0a, 0x0c,
|
|
|
|
|
0x55, 0x73, 0x65, 0x72, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x73, 0x67, 0x12, 0x25, 0x0a, 0x04,
|
|
|
|
|
0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e,
|
|
|
|
|
0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75,
|
|
|
|
|
0x73, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x04, 0x72, 0x61, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x03, 0x28,
|
|
|
|
|
0x0b, 0x32, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x55, 0x73,
|
|
|
|
|
0x65, 0x72, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x73, 0x67, 0x2e, 0x52, 0x61, 0x6e, 0x6b, 0x49,
|
|
|
|
|
0x74, 0x65, 0x6d, 0x52, 0x04, 0x72, 0x61, 0x6e, 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x69, 0x74,
|
|
|
|
|
0x6c, 0x65, 0x49, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x08, 0x74, 0x69, 0x74,
|
|
|
|
|
0x6c, 0x65, 0x49, 0x64, 0x73, 0x1a, 0x50, 0x0a, 0x08, 0x52, 0x61, 0x6e, 0x6b, 0x49, 0x74, 0x65,
|
|
|
|
|
0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x61, 0x6e, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
|
|
|
|
|
0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x61, 0x6e, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a,
|
|
|
|
|
0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73, 0x63,
|
|
|
|
|
0x6f, 0x72, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x61, 0x6e, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
|
|
0x05, 0x52, 0x04, 0x72, 0x61, 0x6e, 0x6b, 0x22, 0x4d, 0x0a, 0x0a, 0x44, 0x61, 0x6e, 0x6d, 0x61,
|
|
|
|
|
0x6b, 0x75, 0x4d, 0x73, 0x67, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20,
|
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
|
|
|
|
|
0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06,
|
|
|
|
|
0x67, 0x69, 0x66, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x67, 0x69,
|
|
|
|
|
0x66, 0x74, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
|
|
0x03, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x69, 0x66, 0x74, 0x4e, 0x61,
|
|
|
|
|
0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x67, 0x69, 0x66, 0x74, 0x4e, 0x61,
|
|
|
|
|
0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
|
|
|
0x03, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x50, 0x61,
|
|
|
|
|
0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x50, 0x61, 0x69, 0x64,
|
|
|
|
|
0x42, 0x1d, 0x5a, 0x1b, 0x64, 0x63, 0x67, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x62, 0x2f,
|
|
|
|
|
0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3b, 0x70, 0x62, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x62,
|
|
|
|
|
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07,
|
|
|
|
|
0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63,
|
|
|
|
|
0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0xa4, 0x01, 0x0a, 0x07, 0x47, 0x69, 0x66, 0x74, 0x4d,
|
|
|
|
|
0x73, 0x67, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
|
|
|
0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55,
|
|
|
|
|
0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x69, 0x66,
|
|
|
|
|
0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x67, 0x69, 0x66, 0x74, 0x49,
|
|
|
|
|
0x64, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03,
|
|
|
|
|
0x6e, 0x75, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x69, 0x66, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18,
|
|
|
|
|
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x67, 0x69, 0x66, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12,
|
|
|
|
|
0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
|
|
|
|
|
0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x50, 0x61, 0x69, 0x64, 0x18,
|
|
|
|
|
0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x50, 0x61, 0x69, 0x64, 0x22, 0xf3, 0x01,
|
|
|
|
|
0x0a, 0x0d, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x50, 0x6f, 0x6f, 0x6c, 0x4d, 0x73, 0x67, 0x12,
|
|
|
|
|
0x20, 0x0a, 0x0b, 0x77, 0x65, 0x6c, 0x66, 0x61, 0x72, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x18, 0x01,
|
|
|
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x77, 0x65, 0x6c, 0x66, 0x61, 0x72, 0x65, 0x50, 0x6f, 0x6f,
|
|
|
|
|
0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20,
|
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a,
|
|
|
|
|
0x0a, 0x69, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
|
|
0x03, 0x52, 0x0a, 0x69, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x1e, 0x0a,
|
|
|
|
|
0x0a, 0x67, 0x69, 0x66, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
|
|
|
0x03, 0x52, 0x0a, 0x67, 0x69, 0x66, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x22, 0x0a,
|
|
|
|
|
0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x05, 0x20,
|
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72,
|
|
|
|
|
0x64, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64,
|
|
|
|
|
0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x52, 0x65, 0x77,
|
|
|
|
|
0x61, 0x72, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64,
|
|
|
|
|
0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x77, 0x61,
|
|
|
|
|
0x72, 0x64, 0x73, 0x42, 0x1d, 0x5a, 0x1b, 0x64, 0x63, 0x67, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f,
|
|
|
|
|
0x70, 0x62, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3b, 0x70, 0x62, 0x43, 0x6f, 0x6d, 0x6d,
|
|
|
|
|
0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
@ -734,30 +1065,35 @@ func file_common_common_proto_rawDescGZIP() []byte {
|
|
|
|
|
return file_common_common_proto_rawDescData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var file_common_common_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
|
|
|
|
var file_common_common_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
|
|
|
|
var file_common_common_proto_goTypes = []interface{}{
|
|
|
|
|
(*PbUser)(nil), // 0: pb.common.PbUser
|
|
|
|
|
(*UserIntegralChanged)(nil), // 1: pb.common.UserIntegralChanged
|
|
|
|
|
(*ChangeUserIntegralReq)(nil), // 2: pb.common.ChangeUserIntegralReq
|
|
|
|
|
(*ChangeUserIntegralResp)(nil), // 3: pb.common.ChangeUserIntegralResp
|
|
|
|
|
(*CheckInMsg)(nil), // 4: pb.common.CheckInMsg
|
|
|
|
|
(*StarterPackMsg)(nil), // 5: pb.common.StarterPackMsg
|
|
|
|
|
(*UserQueryMsg)(nil), // 6: pb.common.UserQueryMsg
|
|
|
|
|
(*DanmakuMsg)(nil), // 7: pb.common.DanmakuMsg
|
|
|
|
|
(*GiftMsg)(nil), // 8: pb.common.GiftMsg
|
|
|
|
|
(*GameStatusReq)(nil), // 1: pb.common.GameStatusReq
|
|
|
|
|
(*GameStatusResp)(nil), // 2: pb.common.GameStatusResp
|
|
|
|
|
(*UserIntegralChanged)(nil), // 3: pb.common.UserIntegralChanged
|
|
|
|
|
(*ChangeUserIntegralReq)(nil), // 4: pb.common.ChangeUserIntegralReq
|
|
|
|
|
(*ChangeUserIntegralResp)(nil), // 5: pb.common.ChangeUserIntegralResp
|
|
|
|
|
(*CheckInMsg)(nil), // 6: pb.common.CheckInMsg
|
|
|
|
|
(*GiftPackMsg)(nil), // 7: pb.common.GiftPackMsg
|
|
|
|
|
(*UserQueryMsg)(nil), // 8: pb.common.UserQueryMsg
|
|
|
|
|
(*DanmakuMsg)(nil), // 9: pb.common.DanmakuMsg
|
|
|
|
|
(*GiftMsg)(nil), // 10: pb.common.GiftMsg
|
|
|
|
|
(*RewardPoolMsg)(nil), // 11: pb.common.RewardPoolMsg
|
|
|
|
|
(*UserQueryMsg_RankItem)(nil), // 12: pb.common.UserQueryMsg.RankItem
|
|
|
|
|
}
|
|
|
|
|
var file_common_common_proto_depIdxs = []int32{
|
|
|
|
|
0, // 0: pb.common.UserIntegralChanged.user:type_name -> pb.common.PbUser
|
|
|
|
|
0, // 1: pb.common.CheckInMsg.user:type_name -> pb.common.PbUser
|
|
|
|
|
0, // 2: pb.common.StarterPackMsg.user:type_name -> pb.common.PbUser
|
|
|
|
|
0, // 3: pb.common.UserQueryMsg.user:type_name -> pb.common.PbUser
|
|
|
|
|
0, // 4: pb.common.DanmakuMsg.user:type_name -> pb.common.PbUser
|
|
|
|
|
0, // 5: pb.common.GiftMsg.user:type_name -> pb.common.PbUser
|
|
|
|
|
6, // [6:6] is the sub-list for method output_type
|
|
|
|
|
6, // [6:6] is the sub-list for method input_type
|
|
|
|
|
6, // [6:6] is the sub-list for extension type_name
|
|
|
|
|
6, // [6:6] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:6] is the sub-list for field type_name
|
|
|
|
|
0, // 0: pb.common.UserIntegralChanged.user:type_name -> pb.common.PbUser
|
|
|
|
|
0, // 1: pb.common.CheckInMsg.user:type_name -> pb.common.PbUser
|
|
|
|
|
0, // 2: pb.common.GiftPackMsg.user:type_name -> pb.common.PbUser
|
|
|
|
|
0, // 3: pb.common.UserQueryMsg.user:type_name -> pb.common.PbUser
|
|
|
|
|
12, // 4: pb.common.UserQueryMsg.rank:type_name -> pb.common.UserQueryMsg.RankItem
|
|
|
|
|
0, // 5: pb.common.DanmakuMsg.user:type_name -> pb.common.PbUser
|
|
|
|
|
0, // 6: pb.common.GiftMsg.user:type_name -> pb.common.PbUser
|
|
|
|
|
7, // [7:7] is the sub-list for method output_type
|
|
|
|
|
7, // [7:7] is the sub-list for method input_type
|
|
|
|
|
7, // [7:7] is the sub-list for extension type_name
|
|
|
|
|
7, // [7:7] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:7] is the sub-list for field type_name
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func init() { file_common_common_proto_init() }
|
|
|
|
@ -779,7 +1115,7 @@ func file_common_common_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_common_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*UserIntegralChanged); i {
|
|
|
|
|
switch v := v.(*GameStatusReq); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -791,7 +1127,7 @@ func file_common_common_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_common_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*ChangeUserIntegralReq); i {
|
|
|
|
|
switch v := v.(*GameStatusResp); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -803,7 +1139,7 @@ func file_common_common_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_common_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*ChangeUserIntegralResp); i {
|
|
|
|
|
switch v := v.(*UserIntegralChanged); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -815,7 +1151,7 @@ func file_common_common_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_common_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*CheckInMsg); i {
|
|
|
|
|
switch v := v.(*ChangeUserIntegralReq); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -827,7 +1163,7 @@ func file_common_common_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_common_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*StarterPackMsg); i {
|
|
|
|
|
switch v := v.(*ChangeUserIntegralResp); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -839,7 +1175,7 @@ func file_common_common_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_common_common_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*UserQueryMsg); i {
|
|
|
|
|
switch v := v.(*CheckInMsg); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -851,7 +1187,7 @@ func file_common_common_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_common_common_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*DanmakuMsg); i {
|
|
|
|
|
switch v := v.(*GiftPackMsg); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -863,6 +1199,30 @@ func file_common_common_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_common_common_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*UserQueryMsg); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_common_common_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*DanmakuMsg); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_common_common_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*GiftMsg); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
@ -874,6 +1234,30 @@ func file_common_common_proto_init() {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_common_common_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*RewardPoolMsg); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_common_common_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*UserQueryMsg_RankItem); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
type x struct{}
|
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
@ -881,7 +1265,7 @@ func file_common_common_proto_init() {
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
|
RawDescriptor: file_common_common_proto_rawDesc,
|
|
|
|
|
NumEnums: 0,
|
|
|
|
|
NumMessages: 9,
|
|
|
|
|
NumMessages: 13,
|
|
|
|
|
NumExtensions: 0,
|
|
|
|
|
NumServices: 0,
|
|
|
|
|
},
|
|
|
|
|