上传颜色游戏协议优化

This commit is contained in:
liwei1dao 2023-11-09 14:23:16 +08:00
parent 303ca5301d
commit 70b310fac0
5 changed files with 268 additions and 314 deletions

View File

@ -199,6 +199,10 @@ func (this *Room) PlayerHandleEnd(uid string, handle *pb.CatchbugsHandleEndReq)
Blueintegral: this.data.Blue.Integral, Blueintegral: this.data.Blue.Integral,
}); err != nil { }); err != nil {
this.module.Errorln(err)
}
} else {
if err = this.Broadcast("roundend", &pb.CatchbugsRoundEndPush{}); err != nil {
this.module.Errorln(err) this.module.Errorln(err)
} }
} }

View File

@ -14,12 +14,13 @@ func (this *apiComp) AwardCheck(session comm.IUserSession, req *pb.DColorAwardRe
func (this *apiComp) Award(session comm.IUserSession, req *pb.DColorAwardReq) (errdata *pb.ErrorData) { func (this *apiComp) Award(session comm.IUserSession, req *pb.DColorAwardReq) (errdata *pb.ErrorData) {
var ( var (
info *pb.DBDColor info *pb.DBDColor
confs []*cfg.GameGColorRewardData confs []*cfg.GameGColorRewardData
res []*cfg.Gameatn res []*cfg.Gameatn
atno []*pb.UserAtno atno []*pb.UserAtno
ok bool awards map[int32]bool
err error ok bool
err error
) )
if errdata = this.AwardCheck(session, req); errdata != nil { if errdata = this.AwardCheck(session, req); errdata != nil {
return return
@ -47,7 +48,7 @@ func (this *apiComp) Award(session comm.IUserSession, req *pb.DColorAwardReq) (e
for _, conf := range confs { for _, conf := range confs {
if req.Atype == conf.Type { if req.Atype == conf.Type {
if req.Atype == 1 { if req.Atype == 0 {
if _, ok = info.Weekaward[conf.Key]; !ok && info.Integral >= conf.Condition { if _, ok = info.Weekaward[conf.Key]; !ok && info.Integral >= conf.Condition {
res = append(res, conf.Reward...) res = append(res, conf.Reward...)
info.Weekaward[conf.Key] = true info.Weekaward[conf.Key] = true
@ -67,6 +68,9 @@ func (this *apiComp) Award(session comm.IUserSession, req *pb.DColorAwardReq) (e
} }
if req.Atype == 0 { if req.Atype == 0 {
info.Weektime = configure.Now().Unix() info.Weektime = configure.Now().Unix()
awards = info.Weekaward
} else {
awards = info.Allaward
} }
this.module.model.Change(session.GetUserId(), map[string]interface{}{ this.module.model.Change(session.GetUserId(), map[string]interface{}{
@ -74,6 +78,6 @@ func (this *apiComp) Award(session comm.IUserSession, req *pb.DColorAwardReq) (e
"allaward": info.Allaward, "allaward": info.Allaward,
"weektime": info.Weektime, "weektime": info.Weektime,
}) })
session.SendMsg(string(this.module.GetType()), "award", &pb.DColorAwardResp{Atype: req.Atype, Award: atno}) session.SendMsg(string(this.module.GetType()), "award", &pb.DColorAwardResp{Atype: req.Atype, Award: atno, Awardmap: awards})
return return
} }

View File

@ -258,9 +258,9 @@ type DBCatchBugsCard struct {
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` //唯一id Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` //唯一id
Cid int32 `protobuf:"varint,2,opt,name=cid,proto3" json:"cid"` //卡牌配置id Cid int32 `protobuf:"varint,2,opt,name=cid,proto3" json:"cid"` //卡牌配置id
Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index"` Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index"` //坐标转换 x=index%6 y=index/6
Isopen bool `protobuf:"varint,4,opt,name=isopen,proto3" json:"isopen"` //是否开启 Isopen bool `protobuf:"varint,4,opt,name=isopen,proto3" json:"isopen"` //是否开启
} }

View File

@ -200,109 +200,6 @@ func (x *CatchbugsAwardResp) GetAward() []*UserAtno {
return nil return nil
} }
//单机游戏请求
type CatchbugsSingleOverReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Books []int32 `protobuf:"varint,1,rep,packed,name=books,proto3" json:"books"` //图鉴
}
func (x *CatchbugsSingleOverReq) Reset() {
*x = CatchbugsSingleOverReq{}
if protoimpl.UnsafeEnabled {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CatchbugsSingleOverReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CatchbugsSingleOverReq) ProtoMessage() {}
func (x *CatchbugsSingleOverReq) ProtoReflect() protoreflect.Message {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[4]
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 CatchbugsSingleOverReq.ProtoReflect.Descriptor instead.
func (*CatchbugsSingleOverReq) Descriptor() ([]byte, []int) {
return file_catchbugs_catchbugs_msg_proto_rawDescGZIP(), []int{4}
}
func (x *CatchbugsSingleOverReq) GetBooks() []int32 {
if x != nil {
return x.Books
}
return nil
}
type CatchbugsSingleOverResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Integral int32 `protobuf:"varint,1,opt,name=integral,proto3" json:"integral"`
Books map[int32]int32 `protobuf:"bytes,2,rep,name=books,proto3" json:"books" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //图鉴
}
func (x *CatchbugsSingleOverResp) Reset() {
*x = CatchbugsSingleOverResp{}
if protoimpl.UnsafeEnabled {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CatchbugsSingleOverResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CatchbugsSingleOverResp) ProtoMessage() {}
func (x *CatchbugsSingleOverResp) ProtoReflect() protoreflect.Message {
mi := &file_catchbugs_catchbugs_msg_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 CatchbugsSingleOverResp.ProtoReflect.Descriptor instead.
func (*CatchbugsSingleOverResp) Descriptor() ([]byte, []int) {
return file_catchbugs_catchbugs_msg_proto_rawDescGZIP(), []int{5}
}
func (x *CatchbugsSingleOverResp) GetIntegral() int32 {
if x != nil {
return x.Integral
}
return 0
}
func (x *CatchbugsSingleOverResp) GetBooks() map[int32]int32 {
if x != nil {
return x.Books
}
return nil
}
//游戏准备推送 //游戏准备推送
type CatchbugsGameReadyPush struct { type CatchbugsGameReadyPush struct {
state protoimpl.MessageState state protoimpl.MessageState
@ -316,7 +213,7 @@ type CatchbugsGameReadyPush struct {
func (x *CatchbugsGameReadyPush) Reset() { func (x *CatchbugsGameReadyPush) Reset() {
*x = CatchbugsGameReadyPush{} *x = CatchbugsGameReadyPush{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[6] mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -329,7 +226,7 @@ func (x *CatchbugsGameReadyPush) String() string {
func (*CatchbugsGameReadyPush) ProtoMessage() {} func (*CatchbugsGameReadyPush) ProtoMessage() {}
func (x *CatchbugsGameReadyPush) ProtoReflect() protoreflect.Message { func (x *CatchbugsGameReadyPush) ProtoReflect() protoreflect.Message {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[6] mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[4]
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 {
@ -342,7 +239,7 @@ func (x *CatchbugsGameReadyPush) ProtoReflect() protoreflect.Message {
// Deprecated: Use CatchbugsGameReadyPush.ProtoReflect.Descriptor instead. // Deprecated: Use CatchbugsGameReadyPush.ProtoReflect.Descriptor instead.
func (*CatchbugsGameReadyPush) Descriptor() ([]byte, []int) { func (*CatchbugsGameReadyPush) Descriptor() ([]byte, []int) {
return file_catchbugs_catchbugs_msg_proto_rawDescGZIP(), []int{6} return file_catchbugs_catchbugs_msg_proto_rawDescGZIP(), []int{4}
} }
func (x *CatchbugsGameReadyPush) GetServicePath() string { func (x *CatchbugsGameReadyPush) GetServicePath() string {
@ -371,7 +268,7 @@ type CatchbugsReadyReq struct {
func (x *CatchbugsReadyReq) Reset() { func (x *CatchbugsReadyReq) Reset() {
*x = CatchbugsReadyReq{} *x = CatchbugsReadyReq{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[7] mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -384,7 +281,7 @@ func (x *CatchbugsReadyReq) String() string {
func (*CatchbugsReadyReq) ProtoMessage() {} func (*CatchbugsReadyReq) ProtoMessage() {}
func (x *CatchbugsReadyReq) ProtoReflect() protoreflect.Message { func (x *CatchbugsReadyReq) ProtoReflect() protoreflect.Message {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[7] mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[5]
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 {
@ -397,7 +294,7 @@ func (x *CatchbugsReadyReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use CatchbugsReadyReq.ProtoReflect.Descriptor instead. // Deprecated: Use CatchbugsReadyReq.ProtoReflect.Descriptor instead.
func (*CatchbugsReadyReq) Descriptor() ([]byte, []int) { func (*CatchbugsReadyReq) Descriptor() ([]byte, []int) {
return file_catchbugs_catchbugs_msg_proto_rawDescGZIP(), []int{7} return file_catchbugs_catchbugs_msg_proto_rawDescGZIP(), []int{5}
} }
func (x *CatchbugsReadyReq) GetRoomid() string { func (x *CatchbugsReadyReq) GetRoomid() string {
@ -420,7 +317,7 @@ type CatchbugsReadyResp struct {
func (x *CatchbugsReadyResp) Reset() { func (x *CatchbugsReadyResp) Reset() {
*x = CatchbugsReadyResp{} *x = CatchbugsReadyResp{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[8] mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -433,7 +330,7 @@ func (x *CatchbugsReadyResp) String() string {
func (*CatchbugsReadyResp) ProtoMessage() {} func (*CatchbugsReadyResp) ProtoMessage() {}
func (x *CatchbugsReadyResp) ProtoReflect() protoreflect.Message { func (x *CatchbugsReadyResp) ProtoReflect() protoreflect.Message {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[8] mi := &file_catchbugs_catchbugs_msg_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 {
@ -446,7 +343,7 @@ func (x *CatchbugsReadyResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use CatchbugsReadyResp.ProtoReflect.Descriptor instead. // Deprecated: Use CatchbugsReadyResp.ProtoReflect.Descriptor instead.
func (*CatchbugsReadyResp) Descriptor() ([]byte, []int) { func (*CatchbugsReadyResp) Descriptor() ([]byte, []int) {
return file_catchbugs_catchbugs_msg_proto_rawDescGZIP(), []int{8} return file_catchbugs_catchbugs_msg_proto_rawDescGZIP(), []int{6}
} }
func (x *CatchbugsReadyResp) GetRoomid() string { func (x *CatchbugsReadyResp) GetRoomid() string {
@ -476,7 +373,7 @@ type CatchbugsRoundStartPush struct {
func (x *CatchbugsRoundStartPush) Reset() { func (x *CatchbugsRoundStartPush) Reset() {
*x = CatchbugsRoundStartPush{} *x = CatchbugsRoundStartPush{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[9] mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -489,7 +386,7 @@ func (x *CatchbugsRoundStartPush) String() string {
func (*CatchbugsRoundStartPush) ProtoMessage() {} func (*CatchbugsRoundStartPush) ProtoMessage() {}
func (x *CatchbugsRoundStartPush) ProtoReflect() protoreflect.Message { func (x *CatchbugsRoundStartPush) ProtoReflect() protoreflect.Message {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[9] mi := &file_catchbugs_catchbugs_msg_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 {
@ -502,7 +399,7 @@ func (x *CatchbugsRoundStartPush) ProtoReflect() protoreflect.Message {
// Deprecated: Use CatchbugsRoundStartPush.ProtoReflect.Descriptor instead. // Deprecated: Use CatchbugsRoundStartPush.ProtoReflect.Descriptor instead.
func (*CatchbugsRoundStartPush) Descriptor() ([]byte, []int) { func (*CatchbugsRoundStartPush) Descriptor() ([]byte, []int) {
return file_catchbugs_catchbugs_msg_proto_rawDescGZIP(), []int{9} return file_catchbugs_catchbugs_msg_proto_rawDescGZIP(), []int{7}
} }
func (x *CatchbugsRoundStartPush) GetRound() int32 { func (x *CatchbugsRoundStartPush) GetRound() int32 {
@ -525,14 +422,15 @@ type CatchbugsHandleReq struct {
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
Roomid string `protobuf:"bytes,1,opt,name=roomid,proto3" json:"roomid"` //房间id Roomid string `protobuf:"bytes,1,opt,name=roomid,proto3" json:"roomid"` //房间id
Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index"` //卡牌下表 Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index"` //卡牌下表
Number int32 `protobuf:"varint,3,opt,name=number,proto3" json:"number"` //0 表示第一张 1 表示第二张
} }
func (x *CatchbugsHandleReq) Reset() { func (x *CatchbugsHandleReq) Reset() {
*x = CatchbugsHandleReq{} *x = CatchbugsHandleReq{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[10] mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -545,7 +443,7 @@ func (x *CatchbugsHandleReq) String() string {
func (*CatchbugsHandleReq) ProtoMessage() {} func (*CatchbugsHandleReq) ProtoMessage() {}
func (x *CatchbugsHandleReq) ProtoReflect() protoreflect.Message { func (x *CatchbugsHandleReq) ProtoReflect() protoreflect.Message {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[10] mi := &file_catchbugs_catchbugs_msg_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 {
@ -558,7 +456,7 @@ func (x *CatchbugsHandleReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use CatchbugsHandleReq.ProtoReflect.Descriptor instead. // Deprecated: Use CatchbugsHandleReq.ProtoReflect.Descriptor instead.
func (*CatchbugsHandleReq) Descriptor() ([]byte, []int) { func (*CatchbugsHandleReq) Descriptor() ([]byte, []int) {
return file_catchbugs_catchbugs_msg_proto_rawDescGZIP(), []int{10} return file_catchbugs_catchbugs_msg_proto_rawDescGZIP(), []int{8}
} }
func (x *CatchbugsHandleReq) GetRoomid() string { func (x *CatchbugsHandleReq) GetRoomid() string {
@ -575,6 +473,13 @@ func (x *CatchbugsHandleReq) GetIndex() int32 {
return 0 return 0
} }
func (x *CatchbugsHandleReq) GetNumber() int32 {
if x != nil {
return x.Number
}
return 0
}
type CatchbugsHandleResp struct { type CatchbugsHandleResp struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -584,7 +489,7 @@ type CatchbugsHandleResp struct {
func (x *CatchbugsHandleResp) Reset() { func (x *CatchbugsHandleResp) Reset() {
*x = CatchbugsHandleResp{} *x = CatchbugsHandleResp{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[11] mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -597,7 +502,7 @@ func (x *CatchbugsHandleResp) String() string {
func (*CatchbugsHandleResp) ProtoMessage() {} func (*CatchbugsHandleResp) ProtoMessage() {}
func (x *CatchbugsHandleResp) ProtoReflect() protoreflect.Message { func (x *CatchbugsHandleResp) ProtoReflect() protoreflect.Message {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[11] mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[9]
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 {
@ -610,7 +515,7 @@ func (x *CatchbugsHandleResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use CatchbugsHandleResp.ProtoReflect.Descriptor instead. // Deprecated: Use CatchbugsHandleResp.ProtoReflect.Descriptor instead.
func (*CatchbugsHandleResp) Descriptor() ([]byte, []int) { func (*CatchbugsHandleResp) Descriptor() ([]byte, []int) {
return file_catchbugs_catchbugs_msg_proto_rawDescGZIP(), []int{11} return file_catchbugs_catchbugs_msg_proto_rawDescGZIP(), []int{9}
} }
//玩家操作推送 //玩家操作推送
@ -622,13 +527,14 @@ type CatchbugsOpenCardPush struct {
Roomid string `protobuf:"bytes,1,opt,name=roomid,proto3" json:"roomid"` //房间id Roomid string `protobuf:"bytes,1,opt,name=roomid,proto3" json:"roomid"` //房间id
Handleplayer string `protobuf:"bytes,2,opt,name=handleplayer,proto3" json:"handleplayer"` //操作玩家 Handleplayer string `protobuf:"bytes,2,opt,name=handleplayer,proto3" json:"handleplayer"` //操作玩家
Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index"` //卡牌id Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index"` //卡牌id
Issucc bool `protobuf:"varint,4,opt,name=issucc,proto3" json:"issucc"` //是否得分 Number int32 `protobuf:"varint,4,opt,name=number,proto3" json:"number"` //0表示第一张 1表示第二张
Issucc bool `protobuf:"varint,5,opt,name=issucc,proto3" json:"issucc"` //是否得分
} }
func (x *CatchbugsOpenCardPush) Reset() { func (x *CatchbugsOpenCardPush) Reset() {
*x = CatchbugsOpenCardPush{} *x = CatchbugsOpenCardPush{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[12] mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -641,7 +547,7 @@ func (x *CatchbugsOpenCardPush) String() string {
func (*CatchbugsOpenCardPush) ProtoMessage() {} func (*CatchbugsOpenCardPush) ProtoMessage() {}
func (x *CatchbugsOpenCardPush) ProtoReflect() protoreflect.Message { func (x *CatchbugsOpenCardPush) ProtoReflect() protoreflect.Message {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[12] mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[10]
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 {
@ -654,7 +560,7 @@ func (x *CatchbugsOpenCardPush) ProtoReflect() protoreflect.Message {
// Deprecated: Use CatchbugsOpenCardPush.ProtoReflect.Descriptor instead. // Deprecated: Use CatchbugsOpenCardPush.ProtoReflect.Descriptor instead.
func (*CatchbugsOpenCardPush) Descriptor() ([]byte, []int) { func (*CatchbugsOpenCardPush) Descriptor() ([]byte, []int) {
return file_catchbugs_catchbugs_msg_proto_rawDescGZIP(), []int{12} return file_catchbugs_catchbugs_msg_proto_rawDescGZIP(), []int{10}
} }
func (x *CatchbugsOpenCardPush) GetRoomid() string { func (x *CatchbugsOpenCardPush) GetRoomid() string {
@ -678,6 +584,13 @@ func (x *CatchbugsOpenCardPush) GetIndex() int32 {
return 0 return 0
} }
func (x *CatchbugsOpenCardPush) GetNumber() int32 {
if x != nil {
return x.Number
}
return 0
}
func (x *CatchbugsOpenCardPush) GetIssucc() bool { func (x *CatchbugsOpenCardPush) GetIssucc() bool {
if x != nil { if x != nil {
return x.Issucc return x.Issucc
@ -697,7 +610,7 @@ type CatchbugsHandleEndReq struct {
func (x *CatchbugsHandleEndReq) Reset() { func (x *CatchbugsHandleEndReq) Reset() {
*x = CatchbugsHandleEndReq{} *x = CatchbugsHandleEndReq{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[13] mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -710,7 +623,7 @@ func (x *CatchbugsHandleEndReq) String() string {
func (*CatchbugsHandleEndReq) ProtoMessage() {} func (*CatchbugsHandleEndReq) ProtoMessage() {}
func (x *CatchbugsHandleEndReq) ProtoReflect() protoreflect.Message { func (x *CatchbugsHandleEndReq) ProtoReflect() protoreflect.Message {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[13] mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[11]
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 {
@ -723,7 +636,7 @@ func (x *CatchbugsHandleEndReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use CatchbugsHandleEndReq.ProtoReflect.Descriptor instead. // Deprecated: Use CatchbugsHandleEndReq.ProtoReflect.Descriptor instead.
func (*CatchbugsHandleEndReq) Descriptor() ([]byte, []int) { func (*CatchbugsHandleEndReq) Descriptor() ([]byte, []int) {
return file_catchbugs_catchbugs_msg_proto_rawDescGZIP(), []int{13} return file_catchbugs_catchbugs_msg_proto_rawDescGZIP(), []int{11}
} }
func (x *CatchbugsHandleEndReq) GetRoomid() string { func (x *CatchbugsHandleEndReq) GetRoomid() string {
@ -743,7 +656,7 @@ type CatchbugsHandleEndResp struct {
func (x *CatchbugsHandleEndResp) Reset() { func (x *CatchbugsHandleEndResp) Reset() {
*x = CatchbugsHandleEndResp{} *x = CatchbugsHandleEndResp{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[14] mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -756,7 +669,7 @@ func (x *CatchbugsHandleEndResp) String() string {
func (*CatchbugsHandleEndResp) ProtoMessage() {} func (*CatchbugsHandleEndResp) ProtoMessage() {}
func (x *CatchbugsHandleEndResp) ProtoReflect() protoreflect.Message { func (x *CatchbugsHandleEndResp) ProtoReflect() protoreflect.Message {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[14] mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[12]
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 {
@ -769,7 +682,7 @@ func (x *CatchbugsHandleEndResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use CatchbugsHandleEndResp.ProtoReflect.Descriptor instead. // Deprecated: Use CatchbugsHandleEndResp.ProtoReflect.Descriptor instead.
func (*CatchbugsHandleEndResp) Descriptor() ([]byte, []int) { func (*CatchbugsHandleEndResp) Descriptor() ([]byte, []int) {
return file_catchbugs_catchbugs_msg_proto_rawDescGZIP(), []int{14} return file_catchbugs_catchbugs_msg_proto_rawDescGZIP(), []int{12}
} }
//桌面变化推送 //桌面变化推送
@ -785,7 +698,7 @@ type CatchbugsTablesChangePush struct {
func (x *CatchbugsTablesChangePush) Reset() { func (x *CatchbugsTablesChangePush) Reset() {
*x = CatchbugsTablesChangePush{} *x = CatchbugsTablesChangePush{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[15] mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -798,7 +711,7 @@ func (x *CatchbugsTablesChangePush) String() string {
func (*CatchbugsTablesChangePush) ProtoMessage() {} func (*CatchbugsTablesChangePush) ProtoMessage() {}
func (x *CatchbugsTablesChangePush) ProtoReflect() protoreflect.Message { func (x *CatchbugsTablesChangePush) ProtoReflect() protoreflect.Message {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[15] mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[13]
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 {
@ -811,7 +724,7 @@ func (x *CatchbugsTablesChangePush) ProtoReflect() protoreflect.Message {
// Deprecated: Use CatchbugsTablesChangePush.ProtoReflect.Descriptor instead. // Deprecated: Use CatchbugsTablesChangePush.ProtoReflect.Descriptor instead.
func (*CatchbugsTablesChangePush) Descriptor() ([]byte, []int) { func (*CatchbugsTablesChangePush) Descriptor() ([]byte, []int) {
return file_catchbugs_catchbugs_msg_proto_rawDescGZIP(), []int{15} return file_catchbugs_catchbugs_msg_proto_rawDescGZIP(), []int{13}
} }
func (x *CatchbugsTablesChangePush) GetChangetype() int32 { func (x *CatchbugsTablesChangePush) GetChangetype() int32 {
@ -828,6 +741,45 @@ func (x *CatchbugsTablesChangePush) GetCard() []*DBCatchBugsCard {
return nil return nil
} }
//回个结束通知
type CatchbugsRoundEndPush struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *CatchbugsRoundEndPush) Reset() {
*x = CatchbugsRoundEndPush{}
if protoimpl.UnsafeEnabled {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CatchbugsRoundEndPush) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CatchbugsRoundEndPush) ProtoMessage() {}
func (x *CatchbugsRoundEndPush) ProtoReflect() protoreflect.Message {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[14]
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 CatchbugsRoundEndPush.ProtoReflect.Descriptor instead.
func (*CatchbugsRoundEndPush) Descriptor() ([]byte, []int) {
return file_catchbugs_catchbugs_msg_proto_rawDescGZIP(), []int{14}
}
//游戏结束推送 //游戏结束推送
type CatchbugsGameOverPush struct { type CatchbugsGameOverPush struct {
state protoimpl.MessageState state protoimpl.MessageState
@ -842,7 +794,7 @@ type CatchbugsGameOverPush struct {
func (x *CatchbugsGameOverPush) Reset() { func (x *CatchbugsGameOverPush) Reset() {
*x = CatchbugsGameOverPush{} *x = CatchbugsGameOverPush{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[16] mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -855,7 +807,7 @@ func (x *CatchbugsGameOverPush) String() string {
func (*CatchbugsGameOverPush) ProtoMessage() {} func (*CatchbugsGameOverPush) ProtoMessage() {}
func (x *CatchbugsGameOverPush) ProtoReflect() protoreflect.Message { func (x *CatchbugsGameOverPush) ProtoReflect() protoreflect.Message {
mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[16] mi := &file_catchbugs_catchbugs_msg_proto_msgTypes[15]
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 {
@ -868,7 +820,7 @@ func (x *CatchbugsGameOverPush) ProtoReflect() protoreflect.Message {
// Deprecated: Use CatchbugsGameOverPush.ProtoReflect.Descriptor instead. // Deprecated: Use CatchbugsGameOverPush.ProtoReflect.Descriptor instead.
func (*CatchbugsGameOverPush) Descriptor() ([]byte, []int) { func (*CatchbugsGameOverPush) Descriptor() ([]byte, []int) {
return file_catchbugs_catchbugs_msg_proto_rawDescGZIP(), []int{16} return file_catchbugs_catchbugs_msg_proto_rawDescGZIP(), []int{15}
} }
func (x *CatchbugsGameOverPush) GetWinuid() string { func (x *CatchbugsGameOverPush) GetWinuid() string {
@ -916,73 +868,64 @@ var file_catchbugs_catchbugs_msg_proto_rawDesc = []byte{
0x1a, 0x3b, 0x0a, 0x0d, 0x41, 0x77, 0x61, 0x72, 0x64, 0x6d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x1a, 0x3b, 0x0a, 0x0d, 0x41, 0x77, 0x61, 0x72, 0x64, 0x6d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72,
0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03,
0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2e, 0x0a, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x60, 0x0a,
0x16, 0x43, 0x61, 0x74, 0x63, 0x68, 0x62, 0x75, 0x67, 0x73, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x16, 0x43, 0x61, 0x74, 0x63, 0x68, 0x62, 0x75, 0x67, 0x73, 0x47, 0x61, 0x6d, 0x65, 0x52, 0x65,
0x4f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x61, 0x64, 0x79, 0x50, 0x75, 0x73, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69,
0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x22, 0xaa, 0x01, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65,
0x0a, 0x17, 0x43, 0x61, 0x74, 0x63, 0x68, 0x62, 0x75, 0x67, 0x73, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x24, 0x0a, 0x04, 0x72, 0x6f, 0x6f,
0x65, 0x4f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x44, 0x42, 0x43, 0x61, 0x74, 0x63,
0x65, 0x67, 0x72, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x68, 0x42, 0x75, 0x67, 0x73, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x22,
0x65, 0x67, 0x72, 0x61, 0x6c, 0x12, 0x39, 0x0a, 0x05, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x18, 0x02, 0x2b, 0x0a, 0x11, 0x43, 0x61, 0x74, 0x63, 0x68, 0x62, 0x75, 0x67, 0x73, 0x52, 0x65, 0x61, 0x64,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x43, 0x61, 0x74, 0x63, 0x68, 0x62, 0x75, 0x67, 0x73, 0x79, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x18, 0x01,
0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x2e, 0x42, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x22, 0x44, 0x0a, 0x12,
0x6f, 0x6f, 0x6b, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x62, 0x6f, 0x6f, 0x6b, 0x73,
0x1a, 0x38, 0x0a, 0x0a, 0x42, 0x6f, 0x6f, 0x6b, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79,
0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x60, 0x0a, 0x16, 0x43, 0x61,
0x74, 0x63, 0x68, 0x62, 0x75, 0x67, 0x73, 0x47, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79,
0x50, 0x75, 0x73, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50,
0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69,
0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x24, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x18, 0x02,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x44, 0x42, 0x43, 0x61, 0x74, 0x63, 0x68, 0x42, 0x75,
0x67, 0x73, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x22, 0x2b, 0x0a, 0x11,
0x43, 0x61, 0x74, 0x63, 0x68, 0x62, 0x75, 0x67, 0x73, 0x52, 0x65, 0x61, 0x64, 0x79, 0x52, 0x65, 0x43, 0x61, 0x74, 0x63, 0x68, 0x62, 0x75, 0x67, 0x73, 0x52, 0x65, 0x61, 0x64, 0x79, 0x52, 0x65,
0x71, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x22, 0x44, 0x0a, 0x12, 0x43, 0x61, 0x74, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73,
0x63, 0x68, 0x62, 0x75, 0x67, 0x73, 0x52, 0x65, 0x61, 0x64, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x73, 0x75, 0x63, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x73, 0x75,
0x63, 0x63, 0x22, 0x53, 0x0a, 0x17, 0x43, 0x61, 0x74, 0x63, 0x68, 0x62, 0x75, 0x67, 0x73, 0x52,
0x6f, 0x75, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x75, 0x73, 0x68, 0x12, 0x14, 0x0a,
0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x72, 0x6f,
0x75, 0x6e, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x70, 0x6c, 0x61,
0x79, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x68, 0x61, 0x6e, 0x64, 0x6c,
0x65, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x22, 0x5a, 0x0a, 0x12, 0x43, 0x61, 0x74, 0x63, 0x68,
0x62, 0x75, 0x67, 0x73, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a,
0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72,
0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02,
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x6e,
0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e, 0x75, 0x6d,
0x62, 0x65, 0x72, 0x22, 0x15, 0x0a, 0x13, 0x43, 0x61, 0x74, 0x63, 0x68, 0x62, 0x75, 0x67, 0x73,
0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x22, 0x99, 0x01, 0x0a, 0x15, 0x43,
0x61, 0x74, 0x63, 0x68, 0x62, 0x75, 0x67, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x61, 0x72, 0x64,
0x50, 0x75, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x12, 0x22, 0x0a, 0x0c,
0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x52, 0x0c, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72,
0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72,
0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x16,
0x0a, 0x06, 0x69, 0x73, 0x73, 0x75, 0x63, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06,
0x69, 0x73, 0x73, 0x75, 0x63, 0x63, 0x22, 0x2f, 0x0a, 0x15, 0x43, 0x61, 0x74, 0x63, 0x68, 0x62,
0x75, 0x67, 0x73, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x45, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12,
0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x73, 0x75, 0x63, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x43, 0x61, 0x74, 0x63, 0x68,
0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x73, 0x75, 0x63, 0x63, 0x22, 0x62, 0x75, 0x67, 0x73, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x45, 0x6e, 0x64, 0x52, 0x65, 0x73,
0x53, 0x0a, 0x17, 0x43, 0x61, 0x74, 0x63, 0x68, 0x62, 0x75, 0x67, 0x73, 0x52, 0x6f, 0x75, 0x6e, 0x70, 0x22, 0x61, 0x0a, 0x19, 0x43, 0x61, 0x74, 0x63, 0x68, 0x62, 0x75, 0x67, 0x73, 0x54, 0x61,
0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x75, 0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x62, 0x6c, 0x65, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1e,
0x75, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
0x12, 0x22, 0x0a, 0x0c, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x28, 0x05, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x74, 0x79, 0x70, 0x65, 0x12, 0x24,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x70, 0x6c, 0x0a, 0x04, 0x63, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x44,
0x61, 0x79, 0x65, 0x72, 0x22, 0x42, 0x0a, 0x12, 0x43, 0x61, 0x74, 0x63, 0x68, 0x62, 0x75, 0x67, 0x42, 0x43, 0x61, 0x74, 0x63, 0x68, 0x42, 0x75, 0x67, 0x73, 0x43, 0x61, 0x72, 0x64, 0x52, 0x04,
0x73, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x63, 0x61, 0x72, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x43, 0x61, 0x74, 0x63, 0x68, 0x62, 0x75, 0x67,
0x6f, 0x6d, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x50, 0x75, 0x73, 0x68, 0x22, 0x75, 0x0a,
0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x15, 0x43, 0x61, 0x74, 0x63, 0x68, 0x62, 0x75, 0x67, 0x73, 0x47, 0x61, 0x6d, 0x65, 0x4f, 0x76,
0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x15, 0x0a, 0x13, 0x43, 0x61, 0x74, 0x63, 0x65, 0x72, 0x50, 0x75, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x69, 0x6e, 0x75, 0x69, 0x64,
0x68, 0x62, 0x75, 0x67, 0x73, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x22, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x69, 0x6e, 0x75, 0x69, 0x64, 0x12, 0x20,
0x81, 0x01, 0x0a, 0x15, 0x43, 0x61, 0x74, 0x63, 0x68, 0x62, 0x75, 0x67, 0x73, 0x4f, 0x70, 0x65, 0x0a, 0x0b, 0x72, 0x65, 0x64, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x18, 0x02, 0x20,
0x6e, 0x43, 0x61, 0x72, 0x64, 0x50, 0x75, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x72, 0x65, 0x64, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c,
0x6d, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x6c, 0x75, 0x65, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c,
0x64, 0x12, 0x22, 0x0a, 0x0c, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x6c, 0x75, 0x65, 0x69, 0x6e, 0x74, 0x65,
0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x70, 0x67, 0x72, 0x61, 0x6c, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x6f, 0x74, 0x6f, 0x33,
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x69,
0x73, 0x73, 0x75, 0x63, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x73,
0x75, 0x63, 0x63, 0x22, 0x2f, 0x0a, 0x15, 0x43, 0x61, 0x74, 0x63, 0x68, 0x62, 0x75, 0x67, 0x73,
0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x45, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06,
0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f,
0x6f, 0x6d, 0x69, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x43, 0x61, 0x74, 0x63, 0x68, 0x62, 0x75, 0x67,
0x73, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x45, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x22, 0x61,
0x0a, 0x19, 0x43, 0x61, 0x74, 0x63, 0x68, 0x62, 0x75, 0x67, 0x73, 0x54, 0x61, 0x62, 0x6c, 0x65,
0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1e, 0x0a, 0x0a, 0x63,
0x68, 0x61, 0x6e, 0x67, 0x65, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
0x0a, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x74, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x63,
0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x44, 0x42, 0x43, 0x61,
0x74, 0x63, 0x68, 0x42, 0x75, 0x67, 0x73, 0x43, 0x61, 0x72, 0x64, 0x52, 0x04, 0x63, 0x61, 0x72,
0x64, 0x22, 0x75, 0x0a, 0x15, 0x43, 0x61, 0x74, 0x63, 0x68, 0x62, 0x75, 0x67, 0x73, 0x47, 0x61,
0x6d, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x50, 0x75, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x69,
0x6e, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x69, 0x6e, 0x75,
0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x64, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61,
0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x72, 0x65, 0x64, 0x69, 0x6e, 0x74, 0x65,
0x67, 0x72, 0x61, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x6c, 0x75, 0x65, 0x69, 0x6e, 0x74, 0x65,
0x67, 0x72, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x6c, 0x75, 0x65,
0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (
@ -997,44 +940,41 @@ func file_catchbugs_catchbugs_msg_proto_rawDescGZIP() []byte {
return file_catchbugs_catchbugs_msg_proto_rawDescData return file_catchbugs_catchbugs_msg_proto_rawDescData
} }
var file_catchbugs_catchbugs_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 19) var file_catchbugs_catchbugs_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
var file_catchbugs_catchbugs_msg_proto_goTypes = []interface{}{ var file_catchbugs_catchbugs_msg_proto_goTypes = []interface{}{
(*CatchbugsInfoReq)(nil), // 0: CatchbugsInfoReq (*CatchbugsInfoReq)(nil), // 0: CatchbugsInfoReq
(*CatchbugsInfoResp)(nil), // 1: CatchbugsInfoResp (*CatchbugsInfoResp)(nil), // 1: CatchbugsInfoResp
(*CatchbugsAwardReq)(nil), // 2: CatchbugsAwardReq (*CatchbugsAwardReq)(nil), // 2: CatchbugsAwardReq
(*CatchbugsAwardResp)(nil), // 3: CatchbugsAwardResp (*CatchbugsAwardResp)(nil), // 3: CatchbugsAwardResp
(*CatchbugsSingleOverReq)(nil), // 4: CatchbugsSingleOverReq (*CatchbugsGameReadyPush)(nil), // 4: CatchbugsGameReadyPush
(*CatchbugsSingleOverResp)(nil), // 5: CatchbugsSingleOverResp (*CatchbugsReadyReq)(nil), // 5: CatchbugsReadyReq
(*CatchbugsGameReadyPush)(nil), // 6: CatchbugsGameReadyPush (*CatchbugsReadyResp)(nil), // 6: CatchbugsReadyResp
(*CatchbugsReadyReq)(nil), // 7: CatchbugsReadyReq (*CatchbugsRoundStartPush)(nil), // 7: CatchbugsRoundStartPush
(*CatchbugsReadyResp)(nil), // 8: CatchbugsReadyResp (*CatchbugsHandleReq)(nil), // 8: CatchbugsHandleReq
(*CatchbugsRoundStartPush)(nil), // 9: CatchbugsRoundStartPush (*CatchbugsHandleResp)(nil), // 9: CatchbugsHandleResp
(*CatchbugsHandleReq)(nil), // 10: CatchbugsHandleReq (*CatchbugsOpenCardPush)(nil), // 10: CatchbugsOpenCardPush
(*CatchbugsHandleResp)(nil), // 11: CatchbugsHandleResp (*CatchbugsHandleEndReq)(nil), // 11: CatchbugsHandleEndReq
(*CatchbugsOpenCardPush)(nil), // 12: CatchbugsOpenCardPush (*CatchbugsHandleEndResp)(nil), // 12: CatchbugsHandleEndResp
(*CatchbugsHandleEndReq)(nil), // 13: CatchbugsHandleEndReq (*CatchbugsTablesChangePush)(nil), // 13: CatchbugsTablesChangePush
(*CatchbugsHandleEndResp)(nil), // 14: CatchbugsHandleEndResp (*CatchbugsRoundEndPush)(nil), // 14: CatchbugsRoundEndPush
(*CatchbugsTablesChangePush)(nil), // 15: CatchbugsTablesChangePush (*CatchbugsGameOverPush)(nil), // 15: CatchbugsGameOverPush
(*CatchbugsGameOverPush)(nil), // 16: CatchbugsGameOverPush nil, // 16: CatchbugsAwardResp.AwardmapEntry
nil, // 17: CatchbugsAwardResp.AwardmapEntry (*DBCatchBugs)(nil), // 17: DBCatchBugs
nil, // 18: CatchbugsSingleOverResp.BooksEntry (*UserAtno)(nil), // 18: UserAtno
(*DBCatchBugs)(nil), // 19: DBCatchBugs (*DBCatchBugsRoom)(nil), // 19: DBCatchBugsRoom
(*UserAtno)(nil), // 20: UserAtno (*DBCatchBugsCard)(nil), // 20: DBCatchBugsCard
(*DBCatchBugsRoom)(nil), // 21: DBCatchBugsRoom
(*DBCatchBugsCard)(nil), // 22: DBCatchBugsCard
} }
var file_catchbugs_catchbugs_msg_proto_depIdxs = []int32{ var file_catchbugs_catchbugs_msg_proto_depIdxs = []int32{
19, // 0: CatchbugsInfoResp.info:type_name -> DBCatchBugs 17, // 0: CatchbugsInfoResp.info:type_name -> DBCatchBugs
17, // 1: CatchbugsAwardResp.awardmap:type_name -> CatchbugsAwardResp.AwardmapEntry 16, // 1: CatchbugsAwardResp.awardmap:type_name -> CatchbugsAwardResp.AwardmapEntry
20, // 2: CatchbugsAwardResp.award:type_name -> UserAtno 18, // 2: CatchbugsAwardResp.award:type_name -> UserAtno
18, // 3: CatchbugsSingleOverResp.books:type_name -> CatchbugsSingleOverResp.BooksEntry 19, // 3: CatchbugsGameReadyPush.room:type_name -> DBCatchBugsRoom
21, // 4: CatchbugsGameReadyPush.room:type_name -> DBCatchBugsRoom 20, // 4: CatchbugsTablesChangePush.card:type_name -> DBCatchBugsCard
22, // 5: CatchbugsTablesChangePush.card:type_name -> DBCatchBugsCard 5, // [5:5] is the sub-list for method output_type
6, // [6:6] is the sub-list for method output_type 5, // [5:5] is the sub-list for method input_type
6, // [6:6] is the sub-list for method input_type 5, // [5:5] is the sub-list for extension type_name
6, // [6:6] is the sub-list for extension type_name 5, // [5:5] is the sub-list for extension extendee
6, // [6:6] is the sub-list for extension extendee 0, // [0:5] is the sub-list for field type_name
0, // [0:6] is the sub-list for field type_name
} }
func init() { file_catchbugs_catchbugs_msg_proto_init() } func init() { file_catchbugs_catchbugs_msg_proto_init() }
@ -1094,30 +1034,6 @@ func file_catchbugs_catchbugs_msg_proto_init() {
} }
} }
file_catchbugs_catchbugs_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { file_catchbugs_catchbugs_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CatchbugsSingleOverReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_catchbugs_catchbugs_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CatchbugsSingleOverResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_catchbugs_catchbugs_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CatchbugsGameReadyPush); i { switch v := v.(*CatchbugsGameReadyPush); i {
case 0: case 0:
return &v.state return &v.state
@ -1129,7 +1045,7 @@ func file_catchbugs_catchbugs_msg_proto_init() {
return nil return nil
} }
} }
file_catchbugs_catchbugs_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { file_catchbugs_catchbugs_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CatchbugsReadyReq); i { switch v := v.(*CatchbugsReadyReq); i {
case 0: case 0:
return &v.state return &v.state
@ -1141,7 +1057,7 @@ func file_catchbugs_catchbugs_msg_proto_init() {
return nil return nil
} }
} }
file_catchbugs_catchbugs_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { file_catchbugs_catchbugs_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CatchbugsReadyResp); i { switch v := v.(*CatchbugsReadyResp); i {
case 0: case 0:
return &v.state return &v.state
@ -1153,7 +1069,7 @@ func file_catchbugs_catchbugs_msg_proto_init() {
return nil return nil
} }
} }
file_catchbugs_catchbugs_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { file_catchbugs_catchbugs_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CatchbugsRoundStartPush); i { switch v := v.(*CatchbugsRoundStartPush); i {
case 0: case 0:
return &v.state return &v.state
@ -1165,7 +1081,7 @@ func file_catchbugs_catchbugs_msg_proto_init() {
return nil return nil
} }
} }
file_catchbugs_catchbugs_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { file_catchbugs_catchbugs_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CatchbugsHandleReq); i { switch v := v.(*CatchbugsHandleReq); i {
case 0: case 0:
return &v.state return &v.state
@ -1177,7 +1093,7 @@ func file_catchbugs_catchbugs_msg_proto_init() {
return nil return nil
} }
} }
file_catchbugs_catchbugs_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { file_catchbugs_catchbugs_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CatchbugsHandleResp); i { switch v := v.(*CatchbugsHandleResp); i {
case 0: case 0:
return &v.state return &v.state
@ -1189,7 +1105,7 @@ func file_catchbugs_catchbugs_msg_proto_init() {
return nil return nil
} }
} }
file_catchbugs_catchbugs_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { file_catchbugs_catchbugs_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CatchbugsOpenCardPush); i { switch v := v.(*CatchbugsOpenCardPush); i {
case 0: case 0:
return &v.state return &v.state
@ -1201,7 +1117,7 @@ func file_catchbugs_catchbugs_msg_proto_init() {
return nil return nil
} }
} }
file_catchbugs_catchbugs_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { file_catchbugs_catchbugs_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CatchbugsHandleEndReq); i { switch v := v.(*CatchbugsHandleEndReq); i {
case 0: case 0:
return &v.state return &v.state
@ -1213,7 +1129,7 @@ func file_catchbugs_catchbugs_msg_proto_init() {
return nil return nil
} }
} }
file_catchbugs_catchbugs_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { file_catchbugs_catchbugs_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CatchbugsHandleEndResp); i { switch v := v.(*CatchbugsHandleEndResp); i {
case 0: case 0:
return &v.state return &v.state
@ -1225,7 +1141,7 @@ func file_catchbugs_catchbugs_msg_proto_init() {
return nil return nil
} }
} }
file_catchbugs_catchbugs_msg_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { file_catchbugs_catchbugs_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CatchbugsTablesChangePush); i { switch v := v.(*CatchbugsTablesChangePush); i {
case 0: case 0:
return &v.state return &v.state
@ -1237,7 +1153,19 @@ func file_catchbugs_catchbugs_msg_proto_init() {
return nil return nil
} }
} }
file_catchbugs_catchbugs_msg_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { file_catchbugs_catchbugs_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CatchbugsRoundEndPush); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_catchbugs_catchbugs_msg_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CatchbugsGameOverPush); i { switch v := v.(*CatchbugsGameOverPush); i {
case 0: case 0:
return &v.state return &v.state
@ -1256,7 +1184,7 @@ func file_catchbugs_catchbugs_msg_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_catchbugs_catchbugs_msg_proto_rawDesc, RawDescriptor: file_catchbugs_catchbugs_msg_proto_rawDesc,
NumEnums: 0, NumEnums: 0,
NumMessages: 19, NumMessages: 17,
NumExtensions: 0, NumExtensions: 0,
NumServices: 0, NumServices: 0,
}, },

View File

@ -1178,7 +1178,7 @@ type DColorAwardReq struct {
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
Atype int32 `protobuf:"varint,2,opt,name=atype,proto3" json:"atype"` //0 周奖励 1 累计奖励 Atype int32 `protobuf:"varint,1,opt,name=atype,proto3" json:"atype"` //0 周奖励 1 累计奖励
} }
func (x *DColorAwardReq) Reset() { func (x *DColorAwardReq) Reset() {
@ -1225,8 +1225,9 @@ type DColorAwardResp struct {
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
Atype int32 `protobuf:"varint,2,opt,name=atype,proto3" json:"atype"` //0 周奖励 1 累计奖励 Atype int32 `protobuf:"varint,1,opt,name=atype,proto3" json:"atype"` //0 周奖励 1 累计奖励
Award []*UserAtno `protobuf:"bytes,3,rep,name=award,proto3" json:"award"` //获取资源 Award []*UserAtno `protobuf:"bytes,2,rep,name=award,proto3" json:"award"` //获取资源
Awardmap map[int32]bool `protobuf:"bytes,3,rep,name=awardmap,proto3" json:"awardmap" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
} }
func (x *DColorAwardResp) Reset() { func (x *DColorAwardResp) Reset() {
@ -1275,6 +1276,13 @@ func (x *DColorAwardResp) GetAward() []*UserAtno {
return nil return nil
} }
func (x *DColorAwardResp) GetAwardmap() map[int32]bool {
if x != nil {
return x.Awardmap
}
return nil
}
var File_dcolor_dcolor_msg_proto protoreflect.FileDescriptor var File_dcolor_dcolor_msg_proto protoreflect.FileDescriptor
var file_dcolor_dcolor_msg_proto_rawDesc = []byte{ var file_dcolor_dcolor_msg_proto_rawDesc = []byte{
@ -1384,13 +1392,21 @@ var file_dcolor_dcolor_msg_proto_rawDesc = []byte{
0x67, 0x72, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x6c, 0x75, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x6c, 0x75, 0x65,
0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x22, 0x26, 0x0a, 0x0e, 0x44, 0x43, 0x6f, 0x6c, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x22, 0x26, 0x0a, 0x0e, 0x44, 0x43, 0x6f, 0x6c,
0x6f, 0x72, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x74,
0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x61, 0x74, 0x79, 0x70, 0x65, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x61, 0x74, 0x79, 0x70, 0x65,
0x22, 0x48, 0x0a, 0x0f, 0x44, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x22, 0xc1, 0x01, 0x0a, 0x0f, 0x44, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x41, 0x77, 0x61, 0x72, 0x64,
0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
0x28, 0x05, 0x52, 0x05, 0x61, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x01, 0x28, 0x05, 0x52, 0x05, 0x61, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x05, 0x61, 0x77,
0x72, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72,
0x74, 0x6e, 0x6f, 0x52, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x12, 0x3a, 0x0a, 0x08, 0x61,
0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x77, 0x61, 0x72, 0x64, 0x6d, 0x61, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e,
0x44, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x2e,
0x41, 0x77, 0x61, 0x72, 0x64, 0x6d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x61,
0x77, 0x61, 0x72, 0x64, 0x6d, 0x61, 0x70, 0x1a, 0x3b, 0x0a, 0x0d, 0x41, 0x77, 0x61, 0x72, 0x64,
0x6d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
0x3a, 0x02, 0x38, 0x01, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (
@ -1405,7 +1421,7 @@ func file_dcolor_dcolor_msg_proto_rawDescGZIP() []byte {
return file_dcolor_dcolor_msg_proto_rawDescData return file_dcolor_dcolor_msg_proto_rawDescData
} }
var file_dcolor_dcolor_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 23) var file_dcolor_dcolor_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 24)
var file_dcolor_dcolor_msg_proto_goTypes = []interface{}{ var file_dcolor_dcolor_msg_proto_goTypes = []interface{}{
(*DColorInfoReq)(nil), // 0: DColorInfoReq (*DColorInfoReq)(nil), // 0: DColorInfoReq
(*DColorInfoResp)(nil), // 1: DColorInfoResp (*DColorInfoResp)(nil), // 1: DColorInfoResp
@ -1430,29 +1446,31 @@ var file_dcolor_dcolor_msg_proto_goTypes = []interface{}{
(*DColorGameOverPush)(nil), // 20: DColorGameOverPush (*DColorGameOverPush)(nil), // 20: DColorGameOverPush
(*DColorAwardReq)(nil), // 21: DColorAwardReq (*DColorAwardReq)(nil), // 21: DColorAwardReq
(*DColorAwardResp)(nil), // 22: DColorAwardResp (*DColorAwardResp)(nil), // 22: DColorAwardResp
(*DBDColor)(nil), // 23: DBDColor nil, // 23: DColorAwardResp.AwardmapEntry
(DBDColorDifficulty)(0), // 24: DBDColorDifficulty (*DBDColor)(nil), // 24: DBDColor
(*DBDColorResult)(nil), // 25: DBDColorResult (DBDColorDifficulty)(0), // 25: DBDColorDifficulty
(*BaseUserInfo)(nil), // 26: BaseUserInfo (*DBDColorResult)(nil), // 26: DBDColorResult
(*DBDColorRoom)(nil), // 27: DBDColorRoom (*BaseUserInfo)(nil), // 27: BaseUserInfo
(*UserAtno)(nil), // 28: UserAtno (*DBDColorRoom)(nil), // 28: DBDColorRoom
(*UserAtno)(nil), // 29: UserAtno
} }
var file_dcolor_dcolor_msg_proto_depIdxs = []int32{ var file_dcolor_dcolor_msg_proto_depIdxs = []int32{
23, // 0: DColorInfoResp.info:type_name -> DBDColor 24, // 0: DColorInfoResp.info:type_name -> DBDColor
24, // 1: DColorSingleReq.difficulty:type_name -> DBDColorDifficulty 25, // 1: DColorSingleReq.difficulty:type_name -> DBDColorDifficulty
24, // 2: DColorSingleOverReq.difficulty:type_name -> DBDColorDifficulty 25, // 2: DColorSingleOverReq.difficulty:type_name -> DBDColorDifficulty
25, // 3: DColorSingleOverReq.handles:type_name -> DBDColorResult 26, // 3: DColorSingleOverReq.handles:type_name -> DBDColorResult
24, // 4: DColorQiecuoReq.difficulty:type_name -> DBDColorDifficulty 25, // 4: DColorQiecuoReq.difficulty:type_name -> DBDColorDifficulty
26, // 5: DColorQiecuonotifyPush.user:type_name -> BaseUserInfo 27, // 5: DColorQiecuonotifyPush.user:type_name -> BaseUserInfo
24, // 6: DColorQiecuonotifyPush.difficulty:type_name -> DBDColorDifficulty 25, // 6: DColorQiecuonotifyPush.difficulty:type_name -> DBDColorDifficulty
27, // 7: DColorGameReadyPush.room:type_name -> DBDColorRoom 28, // 7: DColorGameReadyPush.room:type_name -> DBDColorRoom
25, // 8: DColorGameHandlePush.handle:type_name -> DBDColorResult 26, // 8: DColorGameHandlePush.handle:type_name -> DBDColorResult
28, // 9: DColorAwardResp.award:type_name -> UserAtno 29, // 9: DColorAwardResp.award:type_name -> UserAtno
10, // [10:10] is the sub-list for method output_type 23, // 10: DColorAwardResp.awardmap:type_name -> DColorAwardResp.AwardmapEntry
10, // [10:10] is the sub-list for method input_type 11, // [11:11] is the sub-list for method output_type
10, // [10:10] is the sub-list for extension type_name 11, // [11:11] is the sub-list for method input_type
10, // [10:10] is the sub-list for extension extendee 11, // [11:11] is the sub-list for extension type_name
0, // [0:10] is the sub-list for field type_name 11, // [11:11] is the sub-list for extension extendee
0, // [0:11] is the sub-list for field type_name
} }
func init() { file_dcolor_dcolor_msg_proto_init() } func init() { file_dcolor_dcolor_msg_proto_init() }
@ -1746,7 +1764,7 @@ func file_dcolor_dcolor_msg_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_dcolor_dcolor_msg_proto_rawDesc, RawDescriptor: file_dcolor_dcolor_msg_proto_rawDesc,
NumEnums: 0, NumEnums: 0,
NumMessages: 23, NumMessages: 24,
NumExtensions: 0, NumExtensions: 0,
NumServices: 0, NumServices: 0,
}, },