|
|
@ -380,6 +380,78 @@ func (x *CheckInMsg) GetIsCritical() bool {
|
|
|
|
return false
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// StarterPackMsg 新手礼包 push -> user.starterPack 命令(新手礼包)
|
|
|
|
|
|
|
|
type StarterPackMsg 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 | 已经领过礼包了]
|
|
|
|
|
|
|
|
IntegralChange int64 `protobuf:"varint,4,opt,name=integralChange,proto3" json:"integralChange,omitempty"` // 积分变动
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *StarterPackMsg) Reset() {
|
|
|
|
|
|
|
|
*x = StarterPackMsg{}
|
|
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[5]
|
|
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *StarterPackMsg) String() string {
|
|
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (*StarterPackMsg) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *StarterPackMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
mi := &file_common_common_proto_msgTypes[5]
|
|
|
|
|
|
|
|
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 StarterPackMsg.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
|
|
func (*StarterPackMsg) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{5}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *StarterPackMsg) GetUser() *PbUser {
|
|
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
|
|
return x.User
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return nil
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *StarterPackMsg) GetSuccess() bool {
|
|
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
|
|
return x.Success
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return false
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *StarterPackMsg) GetMsg() string {
|
|
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
|
|
return x.Msg
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return ""
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *StarterPackMsg) GetIntegralChange() int64 {
|
|
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
|
|
return x.IntegralChange
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return 0
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// QueryIntegralMsg 用户查询信息通知 push -> user.query
|
|
|
|
// QueryIntegralMsg 用户查询信息通知 push -> user.query
|
|
|
|
type UserQueryMsg struct {
|
|
|
|
type UserQueryMsg struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
state protoimpl.MessageState
|
|
|
@ -392,7 +464,7 @@ type UserQueryMsg struct {
|
|
|
|
func (x *UserQueryMsg) Reset() {
|
|
|
|
func (x *UserQueryMsg) Reset() {
|
|
|
|
*x = UserQueryMsg{}
|
|
|
|
*x = UserQueryMsg{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_common_common_proto_msgTypes[5]
|
|
|
|
mi := &file_common_common_proto_msgTypes[6]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -405,7 +477,7 @@ func (x *UserQueryMsg) String() string {
|
|
|
|
func (*UserQueryMsg) ProtoMessage() {}
|
|
|
|
func (*UserQueryMsg) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *UserQueryMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_common_common_proto_msgTypes[5]
|
|
|
|
mi := &file_common_common_proto_msgTypes[6]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@ -418,7 +490,7 @@ func (x *UserQueryMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use UserQueryMsg.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use UserQueryMsg.ProtoReflect.Descriptor instead.
|
|
|
|
func (*UserQueryMsg) Descriptor() ([]byte, []int) {
|
|
|
|
func (*UserQueryMsg) Descriptor() ([]byte, []int) {
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{5}
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{6}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg) GetUser() *PbUser {
|
|
|
|
func (x *UserQueryMsg) GetUser() *PbUser {
|
|
|
@ -441,7 +513,7 @@ type DanmakuMsg struct {
|
|
|
|
func (x *DanmakuMsg) Reset() {
|
|
|
|
func (x *DanmakuMsg) Reset() {
|
|
|
|
*x = DanmakuMsg{}
|
|
|
|
*x = DanmakuMsg{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_common_common_proto_msgTypes[6]
|
|
|
|
mi := &file_common_common_proto_msgTypes[7]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -454,7 +526,7 @@ func (x *DanmakuMsg) String() string {
|
|
|
|
func (*DanmakuMsg) ProtoMessage() {}
|
|
|
|
func (*DanmakuMsg) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *DanmakuMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *DanmakuMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_common_common_proto_msgTypes[6]
|
|
|
|
mi := &file_common_common_proto_msgTypes[7]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@ -467,7 +539,7 @@ func (x *DanmakuMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use DanmakuMsg.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use DanmakuMsg.ProtoReflect.Descriptor instead.
|
|
|
|
func (*DanmakuMsg) Descriptor() ([]byte, []int) {
|
|
|
|
func (*DanmakuMsg) Descriptor() ([]byte, []int) {
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{6}
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{7}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *DanmakuMsg) GetUser() *PbUser {
|
|
|
|
func (x *DanmakuMsg) GetUser() *PbUser {
|
|
|
@ -501,7 +573,7 @@ type GiftMsg struct {
|
|
|
|
func (x *GiftMsg) Reset() {
|
|
|
|
func (x *GiftMsg) Reset() {
|
|
|
|
*x = GiftMsg{}
|
|
|
|
*x = GiftMsg{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_common_common_proto_msgTypes[7]
|
|
|
|
mi := &file_common_common_proto_msgTypes[8]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -514,7 +586,7 @@ func (x *GiftMsg) String() string {
|
|
|
|
func (*GiftMsg) ProtoMessage() {}
|
|
|
|
func (*GiftMsg) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GiftMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *GiftMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_common_common_proto_msgTypes[7]
|
|
|
|
mi := &file_common_common_proto_msgTypes[8]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@ -527,7 +599,7 @@ func (x *GiftMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use GiftMsg.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use GiftMsg.ProtoReflect.Descriptor instead.
|
|
|
|
func (*GiftMsg) Descriptor() ([]byte, []int) {
|
|
|
|
func (*GiftMsg) Descriptor() ([]byte, []int) {
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{7}
|
|
|
|
return file_common_common_proto_rawDescGZIP(), []int{8}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GiftMsg) GetUser() *PbUser {
|
|
|
|
func (x *GiftMsg) GetUser() *PbUser {
|
|
|
@ -617,28 +689,37 @@ var file_common_common_proto_rawDesc = []byte{
|
|
|
|
0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x43,
|
|
|
|
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,
|
|
|
|
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,
|
|
|
|
0x63, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x43, 0x72, 0x69,
|
|
|
|
0x74, 0x69, 0x63, 0x61, 0x6c, 0x22, 0x35, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x51, 0x75, 0x65,
|
|
|
|
0x74, 0x69, 0x63, 0x61, 0x6c, 0x22, 0x8b, 0x01, 0x0a, 0x0e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65,
|
|
|
|
0x72, 0x79, 0x4d, 0x73, 0x67, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20,
|
|
|
|
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, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
|
|
|
|
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,
|
|
|
|
0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06,
|
|
|
|
0x44, 0x61, 0x6e, 0x6d, 0x61, 0x6b, 0x75, 0x4d, 0x73, 0x67, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73,
|
|
|
|
0x67, 0x69, 0x66, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x67, 0x69,
|
|
|
|
0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f,
|
|
|
|
0x66, 0x74, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
|
0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65,
|
|
|
|
0x03, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x69, 0x66, 0x74, 0x4e, 0x61,
|
|
|
|
0x72, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01,
|
|
|
|
0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x67, 0x69, 0x66, 0x74, 0x4e, 0x61,
|
|
|
|
0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0xa4, 0x01, 0x0a, 0x07,
|
|
|
|
0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
|
|
0x47, 0x69, 0x66, 0x74, 0x4d, 0x73, 0x67, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18,
|
|
|
|
0x03, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x50, 0x61,
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
|
|
|
|
0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x50, 0x61, 0x69, 0x64,
|
|
|
|
0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x16,
|
|
|
|
0x42, 0x1d, 0x5a, 0x1b, 0x64, 0x63, 0x67, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x62, 0x2f,
|
|
|
|
0x0a, 0x06, 0x67, 0x69, 0x66, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
|
|
|
|
0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3b, 0x70, 0x62, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x62,
|
|
|
|
0x67, 0x69, 0x66, 0x74, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20,
|
|
|
|
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
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,
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
var (
|
|
|
@ -653,28 +734,30 @@ func file_common_common_proto_rawDescGZIP() []byte {
|
|
|
|
return file_common_common_proto_rawDescData
|
|
|
|
return file_common_common_proto_rawDescData
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var file_common_common_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
|
|
|
var file_common_common_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
|
|
|
var file_common_common_proto_goTypes = []interface{}{
|
|
|
|
var file_common_common_proto_goTypes = []interface{}{
|
|
|
|
(*PbUser)(nil), // 0: pb.common.PbUser
|
|
|
|
(*PbUser)(nil), // 0: pb.common.PbUser
|
|
|
|
(*UserIntegralChanged)(nil), // 1: pb.common.UserIntegralChanged
|
|
|
|
(*UserIntegralChanged)(nil), // 1: pb.common.UserIntegralChanged
|
|
|
|
(*ChangeUserIntegralReq)(nil), // 2: pb.common.ChangeUserIntegralReq
|
|
|
|
(*ChangeUserIntegralReq)(nil), // 2: pb.common.ChangeUserIntegralReq
|
|
|
|
(*ChangeUserIntegralResp)(nil), // 3: pb.common.ChangeUserIntegralResp
|
|
|
|
(*ChangeUserIntegralResp)(nil), // 3: pb.common.ChangeUserIntegralResp
|
|
|
|
(*CheckInMsg)(nil), // 4: pb.common.CheckInMsg
|
|
|
|
(*CheckInMsg)(nil), // 4: pb.common.CheckInMsg
|
|
|
|
(*UserQueryMsg)(nil), // 5: pb.common.UserQueryMsg
|
|
|
|
(*StarterPackMsg)(nil), // 5: pb.common.StarterPackMsg
|
|
|
|
(*DanmakuMsg)(nil), // 6: pb.common.DanmakuMsg
|
|
|
|
(*UserQueryMsg)(nil), // 6: pb.common.UserQueryMsg
|
|
|
|
(*GiftMsg)(nil), // 7: pb.common.GiftMsg
|
|
|
|
(*DanmakuMsg)(nil), // 7: pb.common.DanmakuMsg
|
|
|
|
|
|
|
|
(*GiftMsg)(nil), // 8: pb.common.GiftMsg
|
|
|
|
}
|
|
|
|
}
|
|
|
|
var file_common_common_proto_depIdxs = []int32{
|
|
|
|
var file_common_common_proto_depIdxs = []int32{
|
|
|
|
0, // 0: pb.common.UserIntegralChanged.user:type_name -> pb.common.PbUser
|
|
|
|
0, // 0: pb.common.UserIntegralChanged.user:type_name -> pb.common.PbUser
|
|
|
|
0, // 1: pb.common.CheckInMsg.user:type_name -> pb.common.PbUser
|
|
|
|
0, // 1: pb.common.CheckInMsg.user:type_name -> pb.common.PbUser
|
|
|
|
0, // 2: pb.common.UserQueryMsg.user:type_name -> pb.common.PbUser
|
|
|
|
0, // 2: pb.common.StarterPackMsg.user:type_name -> pb.common.PbUser
|
|
|
|
0, // 3: pb.common.DanmakuMsg.user:type_name -> pb.common.PbUser
|
|
|
|
0, // 3: pb.common.UserQueryMsg.user:type_name -> pb.common.PbUser
|
|
|
|
0, // 4: pb.common.GiftMsg.user:type_name -> pb.common.PbUser
|
|
|
|
0, // 4: pb.common.DanmakuMsg.user:type_name -> pb.common.PbUser
|
|
|
|
5, // [5:5] is the sub-list for method output_type
|
|
|
|
0, // 5: pb.common.GiftMsg.user:type_name -> pb.common.PbUser
|
|
|
|
5, // [5:5] is the sub-list for method input_type
|
|
|
|
6, // [6:6] is the sub-list for method output_type
|
|
|
|
5, // [5:5] is the sub-list for extension type_name
|
|
|
|
6, // [6:6] is the sub-list for method input_type
|
|
|
|
5, // [5:5] is the sub-list for extension extendee
|
|
|
|
6, // [6:6] is the sub-list for extension type_name
|
|
|
|
0, // [0:5] is the sub-list for field type_name
|
|
|
|
6, // [6:6] is the sub-list for extension extendee
|
|
|
|
|
|
|
|
0, // [0:6] is the sub-list for field type_name
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func init() { file_common_common_proto_init() }
|
|
|
|
func init() { file_common_common_proto_init() }
|
|
|
@ -744,7 +827,7 @@ func file_common_common_proto_init() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_common_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
file_common_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*UserQueryMsg); i {
|
|
|
|
switch v := v.(*StarterPackMsg); i {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
case 1:
|
|
|
@ -756,7 +839,7 @@ func file_common_common_proto_init() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_common_common_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
file_common_common_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*DanmakuMsg); i {
|
|
|
|
switch v := v.(*UserQueryMsg); i {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
case 1:
|
|
|
@ -768,6 +851,18 @@ func file_common_common_proto_init() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_common_common_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
file_common_common_proto_msgTypes[7].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[8].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*GiftMsg); i {
|
|
|
|
switch v := v.(*GiftMsg); i {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
return &v.state
|
|
|
@ -786,7 +881,7 @@ func file_common_common_proto_init() {
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
RawDescriptor: file_common_common_proto_rawDesc,
|
|
|
|
RawDescriptor: file_common_common_proto_rawDesc,
|
|
|
|
NumEnums: 0,
|
|
|
|
NumEnums: 0,
|
|
|
|
NumMessages: 8,
|
|
|
|
NumMessages: 9,
|
|
|
|
NumExtensions: 0,
|
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 0,
|
|
|
|
NumServices: 0,
|
|
|
|
},
|
|
|
|
},
|
|
|
|