迷宫总奖励领取

This commit is contained in:
meixiongfeng 2023-08-09 16:33:21 +08:00
parent cfb6ad7b74
commit bda8c44208
3 changed files with 331 additions and 119 deletions

View File

@ -0,0 +1,62 @@
package uigame
import (
"go_dreamfactory/comm"
"go_dreamfactory/pb"
)
//参数校验
func (this *apiComp) LatticeFinishCheck(session comm.IUserSession, req *pb.UiGameLatticeFinishReq) (errdata *pb.ErrorData) {
if req.Hdid == "" {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_ReqParameterError,
Title: pb.ErrorCode_ReqParameterError.ToString(),
}
}
return
}
// 点击某个格子进行拼图
func (this *apiComp) LatticeFinish(session comm.IUserSession, req *pb.UiGameLatticeFinishReq) (errdata *pb.ErrorData) {
if errdata = this.LatticeFinishCheck(session, req); errdata != nil {
return // 参数校验失败直接返回
}
var (
atno []*pb.UserAtno
)
list, _ := this.module.modelLattice.getLatticeList(session.GetUserId(), req.Hdid)
if conf, err := this.module.configure.GetLatticeConsumConf(); err != nil {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_ConfigNoFound,
Title: pb.ErrorCode_ConfigNoFound.ToString(),
Message: err.Error(),
}
return
} else {
list, _ := this.module.modelLattice.getLatticeList(session.GetUserId(), req.Hdid)
if list.BReward {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_ActivityRepatReward,
Title: pb.ErrorCode_ActivityRepatReward.ToString(),
Message: err.Error(),
}
return
}
if errdata, atno = this.module.DispenseAtno(session, conf.Reward, true); errdata != nil {
return
}
// 记录数据
list.BReward = true
update := make(map[string]interface{}, 0)
update["bReward"] = list.BReward
this.module.modelLattice.modifyLatticeListByObjId(session.GetUserId(), update) // 修改进度
}
session.SendMsg(string(this.module.GetType()), "latticefinish", &pb.UiGameLatticeFinishResp{
Data: list,
Atno: atno,
})
return
}

View File

@ -177,6 +177,7 @@ type DBLatticeData struct {
Lasttime int64 `protobuf:"varint,6,opt,name=lasttime,proto3" json:"lasttime"` Lasttime int64 `protobuf:"varint,6,opt,name=lasttime,proto3" json:"lasttime"`
Val int32 `protobuf:"varint,7,opt,name=val,proto3" json:"val"` // 当前第几层 Val int32 `protobuf:"varint,7,opt,name=val,proto3" json:"val"` // 当前第几层
Total int32 `protobuf:"varint,8,opt,name=total,proto3" json:"total"` // 总的层数 Total int32 `protobuf:"varint,8,opt,name=total,proto3" json:"total"` // 总的层数
BReward bool `protobuf:"varint,9,opt,name=bReward,proto3" json:"bReward"` // 总奖励
} }
func (x *DBLatticeData) Reset() { func (x *DBLatticeData) Reset() {
@ -267,6 +268,13 @@ func (x *DBLatticeData) GetTotal() int32 {
return 0 return 0
} }
func (x *DBLatticeData) GetBReward() bool {
if x != nil {
return x.BReward
}
return false
}
// 矿工 // 矿工
type DBMinerData struct { type DBMinerData struct {
state protoimpl.MessageState state protoimpl.MessageState
@ -396,7 +404,7 @@ var file_uigame_uigame_db_proto_rawDesc = []byte{
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 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, 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, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
0xfb, 0x02, 0x0a, 0x0d, 0x44, 0x42, 0x4c, 0x61, 0x74, 0x74, 0x69, 0x63, 0x65, 0x44, 0x61, 0x74, 0x95, 0x03, 0x0a, 0x0d, 0x44, 0x42, 0x4c, 0x61, 0x74, 0x74, 0x69, 0x63, 0x65, 0x44, 0x61, 0x74,
0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69,
0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x68, 0x64, 0x6f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x68, 0x64, 0x6f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01,
@ -411,32 +419,34 @@ var file_uigame_uigame_db_proto_rawDesc = []byte{
0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x74, 0x69, 0x6d, 0x65,
0x12, 0x10, 0x0a, 0x03, 0x76, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x76, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x76,
0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28,
0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x1a, 0x39, 0x0a, 0x0b, 0x47, 0x6f, 0x74, 0x61, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x52, 0x65, 0x77,
0x72, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x61, 0x72, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x62, 0x52, 0x65, 0x77, 0x61,
0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x72, 0x64, 0x1a, 0x39, 0x0a, 0x0b, 0x47, 0x6f, 0x74, 0x61, 0x72, 0x72, 0x45, 0x6e, 0x74, 0x72,
0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03,
0x02, 0x38, 0x01, 0x1a, 0x48, 0x0a, 0x0c, 0x4c, 0x61, 0x74, 0x74, 0x69, 0x63, 0x65, 0x45, 0x6e, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x48, 0x0a,
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x22, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x0c, 0x4c, 0x61, 0x74, 0x74, 0x69, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x4c, 0x61, 0x74, 0x74, 0x69, 0x63, 0x65, 0x44, 0x61, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
0x74, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xfa, 0x01, 0x22, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c,
0x0a, 0x0b, 0x44, 0x42, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x2e, 0x4c, 0x61, 0x74, 0x74, 0x69, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x61,
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xfa, 0x01, 0x0a, 0x0b, 0x44, 0x42, 0x4d, 0x69,
0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x6e, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
0x14, 0x0a, 0x05, 0x68, 0x64, 0x6f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02,
0x68, 0x64, 0x6f, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x67, 0x6f, 0x74, 0x61, 0x72, 0x72, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x68, 0x64, 0x6f,
0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x44, 0x42, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x44, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x68, 0x64, 0x6f, 0x69, 0x64, 0x12,
0x61, 0x74, 0x61, 0x2e, 0x47, 0x6f, 0x74, 0x61, 0x72, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x30, 0x0a, 0x06, 0x67, 0x6f, 0x74, 0x61, 0x72, 0x72, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x06, 0x67, 0x6f, 0x74, 0x61, 0x72, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x74, 0x18, 0x2e, 0x44, 0x42, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x6f,
0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x74, 0x74, 0x61, 0x72, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x67, 0x6f, 0x74, 0x61, 0x72,
0x69, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20,
0x52, 0x03, 0x76, 0x61, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x10, 0x0a,
0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x62, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x1a, 0x03, 0x76, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x76, 0x61, 0x6c, 0x12,
0x39, 0x0a, 0x0b, 0x47, 0x6f, 0x74, 0x61, 0x72, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x18, 0x0a, 0x07, 0x62, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08,
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x52, 0x07, 0x62, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x1a, 0x39, 0x0a, 0x0b, 0x47, 0x6f, 0x74,
0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x61, 0x72, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 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 (

View File

@ -704,6 +704,109 @@ func (x *UiGameLatticeRewardResp) GetAtno() []*UserAtno {
return nil return nil
} }
// 迷宫总奖励领取
type UiGameLatticeFinishReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Hdid string `protobuf:"bytes,1,opt,name=hdid,proto3" json:"hdid"` // 活动ID
}
func (x *UiGameLatticeFinishReq) Reset() {
*x = UiGameLatticeFinishReq{}
if protoimpl.UnsafeEnabled {
mi := &file_uigame_uigame_msg_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UiGameLatticeFinishReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UiGameLatticeFinishReq) ProtoMessage() {}
func (x *UiGameLatticeFinishReq) ProtoReflect() protoreflect.Message {
mi := &file_uigame_uigame_msg_proto_msgTypes[13]
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 UiGameLatticeFinishReq.ProtoReflect.Descriptor instead.
func (*UiGameLatticeFinishReq) Descriptor() ([]byte, []int) {
return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{13}
}
func (x *UiGameLatticeFinishReq) GetHdid() string {
if x != nil {
return x.Hdid
}
return ""
}
type UiGameLatticeFinishResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Data *DBLatticeData `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
Atno []*UserAtno `protobuf:"bytes,2,rep,name=atno,proto3" json:"atno"` // 奖励
}
func (x *UiGameLatticeFinishResp) Reset() {
*x = UiGameLatticeFinishResp{}
if protoimpl.UnsafeEnabled {
mi := &file_uigame_uigame_msg_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UiGameLatticeFinishResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UiGameLatticeFinishResp) ProtoMessage() {}
func (x *UiGameLatticeFinishResp) ProtoReflect() protoreflect.Message {
mi := &file_uigame_uigame_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 UiGameLatticeFinishResp.ProtoReflect.Descriptor instead.
func (*UiGameLatticeFinishResp) Descriptor() ([]byte, []int) {
return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{14}
}
func (x *UiGameLatticeFinishResp) GetData() *DBLatticeData {
if x != nil {
return x.Data
}
return nil
}
func (x *UiGameLatticeFinishResp) GetAtno() []*UserAtno {
if x != nil {
return x.Atno
}
return nil
}
////////////矿工 ////////////矿工
type UiGameGetMinerReq struct { type UiGameGetMinerReq struct {
state protoimpl.MessageState state protoimpl.MessageState
@ -716,7 +819,7 @@ type UiGameGetMinerReq struct {
func (x *UiGameGetMinerReq) Reset() { func (x *UiGameGetMinerReq) Reset() {
*x = UiGameGetMinerReq{} *x = UiGameGetMinerReq{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_uigame_uigame_msg_proto_msgTypes[13] mi := &file_uigame_uigame_msg_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -729,7 +832,7 @@ func (x *UiGameGetMinerReq) String() string {
func (*UiGameGetMinerReq) ProtoMessage() {} func (*UiGameGetMinerReq) ProtoMessage() {}
func (x *UiGameGetMinerReq) ProtoReflect() protoreflect.Message { func (x *UiGameGetMinerReq) ProtoReflect() protoreflect.Message {
mi := &file_uigame_uigame_msg_proto_msgTypes[13] mi := &file_uigame_uigame_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 {
@ -742,7 +845,7 @@ func (x *UiGameGetMinerReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use UiGameGetMinerReq.ProtoReflect.Descriptor instead. // Deprecated: Use UiGameGetMinerReq.ProtoReflect.Descriptor instead.
func (*UiGameGetMinerReq) Descriptor() ([]byte, []int) { func (*UiGameGetMinerReq) Descriptor() ([]byte, []int) {
return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{13} return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{15}
} }
func (x *UiGameGetMinerReq) GetHdid() string { func (x *UiGameGetMinerReq) GetHdid() string {
@ -764,7 +867,7 @@ type UiGameGetMinerResp struct {
func (x *UiGameGetMinerResp) Reset() { func (x *UiGameGetMinerResp) Reset() {
*x = UiGameGetMinerResp{} *x = UiGameGetMinerResp{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_uigame_uigame_msg_proto_msgTypes[14] mi := &file_uigame_uigame_msg_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -777,7 +880,7 @@ func (x *UiGameGetMinerResp) String() string {
func (*UiGameGetMinerResp) ProtoMessage() {} func (*UiGameGetMinerResp) ProtoMessage() {}
func (x *UiGameGetMinerResp) ProtoReflect() protoreflect.Message { func (x *UiGameGetMinerResp) ProtoReflect() protoreflect.Message {
mi := &file_uigame_uigame_msg_proto_msgTypes[14] mi := &file_uigame_uigame_msg_proto_msgTypes[16]
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 {
@ -790,7 +893,7 @@ func (x *UiGameGetMinerResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use UiGameGetMinerResp.ProtoReflect.Descriptor instead. // Deprecated: Use UiGameGetMinerResp.ProtoReflect.Descriptor instead.
func (*UiGameGetMinerResp) Descriptor() ([]byte, []int) { func (*UiGameGetMinerResp) Descriptor() ([]byte, []int) {
return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{14} return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{16}
} }
func (x *UiGameGetMinerResp) GetData() *DBMinerData { func (x *UiGameGetMinerResp) GetData() *DBMinerData {
@ -812,7 +915,7 @@ type UiGameMinerKeyReq struct {
func (x *UiGameMinerKeyReq) Reset() { func (x *UiGameMinerKeyReq) Reset() {
*x = UiGameMinerKeyReq{} *x = UiGameMinerKeyReq{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_uigame_uigame_msg_proto_msgTypes[15] mi := &file_uigame_uigame_msg_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -825,7 +928,7 @@ func (x *UiGameMinerKeyReq) String() string {
func (*UiGameMinerKeyReq) ProtoMessage() {} func (*UiGameMinerKeyReq) ProtoMessage() {}
func (x *UiGameMinerKeyReq) ProtoReflect() protoreflect.Message { func (x *UiGameMinerKeyReq) ProtoReflect() protoreflect.Message {
mi := &file_uigame_uigame_msg_proto_msgTypes[15] mi := &file_uigame_uigame_msg_proto_msgTypes[17]
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 {
@ -838,7 +941,7 @@ func (x *UiGameMinerKeyReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use UiGameMinerKeyReq.ProtoReflect.Descriptor instead. // Deprecated: Use UiGameMinerKeyReq.ProtoReflect.Descriptor instead.
func (*UiGameMinerKeyReq) Descriptor() ([]byte, []int) { func (*UiGameMinerKeyReq) Descriptor() ([]byte, []int) {
return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{15} return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{17}
} }
func (x *UiGameMinerKeyReq) GetHdid() string { func (x *UiGameMinerKeyReq) GetHdid() string {
@ -867,7 +970,7 @@ type UiGameMinerKeyResp struct {
func (x *UiGameMinerKeyResp) Reset() { func (x *UiGameMinerKeyResp) Reset() {
*x = UiGameMinerKeyResp{} *x = UiGameMinerKeyResp{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_uigame_uigame_msg_proto_msgTypes[16] mi := &file_uigame_uigame_msg_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -880,7 +983,7 @@ func (x *UiGameMinerKeyResp) String() string {
func (*UiGameMinerKeyResp) ProtoMessage() {} func (*UiGameMinerKeyResp) ProtoMessage() {}
func (x *UiGameMinerKeyResp) ProtoReflect() protoreflect.Message { func (x *UiGameMinerKeyResp) ProtoReflect() protoreflect.Message {
mi := &file_uigame_uigame_msg_proto_msgTypes[16] mi := &file_uigame_uigame_msg_proto_msgTypes[18]
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 {
@ -893,7 +996,7 @@ func (x *UiGameMinerKeyResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use UiGameMinerKeyResp.ProtoReflect.Descriptor instead. // Deprecated: Use UiGameMinerKeyResp.ProtoReflect.Descriptor instead.
func (*UiGameMinerKeyResp) Descriptor() ([]byte, []int) { func (*UiGameMinerKeyResp) Descriptor() ([]byte, []int) {
return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{16} return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{18}
} }
func (x *UiGameMinerKeyResp) GetData() *DBMinerData { func (x *UiGameMinerKeyResp) GetData() *DBMinerData {
@ -922,7 +1025,7 @@ type UiGameMinerRewardReq struct {
func (x *UiGameMinerRewardReq) Reset() { func (x *UiGameMinerRewardReq) Reset() {
*x = UiGameMinerRewardReq{} *x = UiGameMinerRewardReq{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_uigame_uigame_msg_proto_msgTypes[17] mi := &file_uigame_uigame_msg_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -935,7 +1038,7 @@ func (x *UiGameMinerRewardReq) String() string {
func (*UiGameMinerRewardReq) ProtoMessage() {} func (*UiGameMinerRewardReq) ProtoMessage() {}
func (x *UiGameMinerRewardReq) ProtoReflect() protoreflect.Message { func (x *UiGameMinerRewardReq) ProtoReflect() protoreflect.Message {
mi := &file_uigame_uigame_msg_proto_msgTypes[17] mi := &file_uigame_uigame_msg_proto_msgTypes[19]
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 {
@ -948,7 +1051,7 @@ func (x *UiGameMinerRewardReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use UiGameMinerRewardReq.ProtoReflect.Descriptor instead. // Deprecated: Use UiGameMinerRewardReq.ProtoReflect.Descriptor instead.
func (*UiGameMinerRewardReq) Descriptor() ([]byte, []int) { func (*UiGameMinerRewardReq) Descriptor() ([]byte, []int) {
return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{17} return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{19}
} }
func (x *UiGameMinerRewardReq) GetHdid() string { func (x *UiGameMinerRewardReq) GetHdid() string {
@ -971,7 +1074,7 @@ type UiGameMinerRewardResp struct {
func (x *UiGameMinerRewardResp) Reset() { func (x *UiGameMinerRewardResp) Reset() {
*x = UiGameMinerRewardResp{} *x = UiGameMinerRewardResp{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_uigame_uigame_msg_proto_msgTypes[18] mi := &file_uigame_uigame_msg_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -984,7 +1087,7 @@ func (x *UiGameMinerRewardResp) String() string {
func (*UiGameMinerRewardResp) ProtoMessage() {} func (*UiGameMinerRewardResp) ProtoMessage() {}
func (x *UiGameMinerRewardResp) ProtoReflect() protoreflect.Message { func (x *UiGameMinerRewardResp) ProtoReflect() protoreflect.Message {
mi := &file_uigame_uigame_msg_proto_msgTypes[18] mi := &file_uigame_uigame_msg_proto_msgTypes[20]
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 {
@ -997,7 +1100,7 @@ func (x *UiGameMinerRewardResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use UiGameMinerRewardResp.ProtoReflect.Descriptor instead. // Deprecated: Use UiGameMinerRewardResp.ProtoReflect.Descriptor instead.
func (*UiGameMinerRewardResp) Descriptor() ([]byte, []int) { func (*UiGameMinerRewardResp) Descriptor() ([]byte, []int) {
return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{18} return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{20}
} }
func (x *UiGameMinerRewardResp) GetData() *DBMinerData { func (x *UiGameMinerRewardResp) GetData() *DBMinerData {
@ -1026,7 +1129,7 @@ type UiGameMinerChangePush struct {
func (x *UiGameMinerChangePush) Reset() { func (x *UiGameMinerChangePush) Reset() {
*x = UiGameMinerChangePush{} *x = UiGameMinerChangePush{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_uigame_uigame_msg_proto_msgTypes[19] mi := &file_uigame_uigame_msg_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1039,7 +1142,7 @@ func (x *UiGameMinerChangePush) String() string {
func (*UiGameMinerChangePush) ProtoMessage() {} func (*UiGameMinerChangePush) ProtoMessage() {}
func (x *UiGameMinerChangePush) ProtoReflect() protoreflect.Message { func (x *UiGameMinerChangePush) ProtoReflect() protoreflect.Message {
mi := &file_uigame_uigame_msg_proto_msgTypes[19] mi := &file_uigame_uigame_msg_proto_msgTypes[21]
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 {
@ -1052,7 +1155,7 @@ func (x *UiGameMinerChangePush) ProtoReflect() protoreflect.Message {
// Deprecated: Use UiGameMinerChangePush.ProtoReflect.Descriptor instead. // Deprecated: Use UiGameMinerChangePush.ProtoReflect.Descriptor instead.
func (*UiGameMinerChangePush) Descriptor() ([]byte, []int) { func (*UiGameMinerChangePush) Descriptor() ([]byte, []int) {
return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{19} return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{21}
} }
func (x *UiGameMinerChangePush) GetData() *DBMinerData { func (x *UiGameMinerChangePush) GetData() *DBMinerData {
@ -1124,35 +1227,44 @@ var file_uigame_uigame_msg_proto_rawDesc = []byte{
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x44, 0x42, 0x4c, 0x61, 0x74, 0x74, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x44, 0x42, 0x4c, 0x61, 0x74, 0x74, 0x69,
0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x04, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x04,
0x61, 0x74, 0x6e, 0x6f, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x61, 0x74, 0x6e, 0x6f, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65,
0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x04, 0x61, 0x74, 0x6e, 0x6f, 0x22, 0x27, 0x0a, 0x11, 0x55, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x04, 0x61, 0x74, 0x6e, 0x6f, 0x22, 0x2c, 0x0a, 0x16, 0x55,
0x69, 0x47, 0x61, 0x6d, 0x65, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x69, 0x47, 0x61, 0x6d, 0x65, 0x4c, 0x61, 0x74, 0x74, 0x69, 0x63, 0x65, 0x46, 0x69, 0x6e, 0x69,
0x12, 0x12, 0x0a, 0x04, 0x68, 0x64, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x73, 0x68, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x64, 0x69, 0x64, 0x18, 0x01, 0x20,
0x68, 0x64, 0x69, 0x64, 0x22, 0x36, 0x0a, 0x12, 0x55, 0x69, 0x47, 0x61, 0x6d, 0x65, 0x47, 0x65, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x64, 0x69, 0x64, 0x22, 0x5c, 0x0a, 0x17, 0x55, 0x69, 0x47,
0x74, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x20, 0x0a, 0x04, 0x64, 0x61, 0x61, 0x6d, 0x65, 0x4c, 0x61, 0x74, 0x74, 0x69, 0x63, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68,
0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x4d, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x22, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01,
0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x39, 0x0a, 0x11, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x44, 0x42, 0x4c, 0x61, 0x74, 0x74, 0x69, 0x63, 0x65, 0x44, 0x61,
0x55, 0x69, 0x47, 0x61, 0x6d, 0x65, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x04, 0x61, 0x74, 0x6e, 0x6f,
0x71, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x64, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e,
0x04, 0x68, 0x64, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x6f, 0x52, 0x04, 0x61, 0x74, 0x6e, 0x6f, 0x22, 0x27, 0x0a, 0x11, 0x55, 0x69, 0x47, 0x61, 0x6d,
0x28, 0x05, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0x55, 0x0a, 0x12, 0x55, 0x69, 0x47, 0x61, 0x6d, 0x65, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04,
0x65, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x20, 0x0a, 0x68, 0x64, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x64, 0x69, 0x64,
0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x22, 0x36, 0x0a, 0x12, 0x55, 0x69, 0x47, 0x61, 0x6d, 0x65, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x6e,
0x4d, 0x69, 0x6e, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x20, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01,
0x1d, 0x0a, 0x04, 0x61, 0x74, 0x6e, 0x6f, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x44, 0x61,
0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x04, 0x61, 0x74, 0x6e, 0x6f, 0x22, 0x2a, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x39, 0x0a, 0x11, 0x55, 0x69, 0x47, 0x61,
0x0a, 0x14, 0x55, 0x69, 0x47, 0x61, 0x6d, 0x65, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x77, 0x6d, 0x65, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a,
0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x64, 0x69, 0x64, 0x18, 0x01, 0x04, 0x68, 0x64, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x64, 0x69,
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x64, 0x69, 0x64, 0x22, 0x58, 0x0a, 0x15, 0x55, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03,
0x63, 0x69, 0x64, 0x22, 0x55, 0x0a, 0x12, 0x55, 0x69, 0x47, 0x61, 0x6d, 0x65, 0x4d, 0x69, 0x6e,
0x65, 0x72, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x20, 0x0a, 0x04, 0x64, 0x61, 0x74,
0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x4d, 0x69, 0x6e, 0x65,
0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x04, 0x61,
0x74, 0x6e, 0x6f, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72,
0x41, 0x74, 0x6e, 0x6f, 0x52, 0x04, 0x61, 0x74, 0x6e, 0x6f, 0x22, 0x2a, 0x0a, 0x14, 0x55, 0x69,
0x47, 0x61, 0x6d, 0x65, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x47, 0x61, 0x6d, 0x65, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52,
0x65, 0x73, 0x70, 0x12, 0x20, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x64, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x52, 0x04, 0x68, 0x64, 0x69, 0x64, 0x22, 0x58, 0x0a, 0x15, 0x55, 0x69, 0x47, 0x61, 0x6d, 0x65,
0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x04, 0x61, 0x74, 0x6e, 0x6f, 0x18, 0x02, 0x20, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12,
0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x04, 0x20, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e,
0x61, 0x74, 0x6e, 0x6f, 0x22, 0x39, 0x0a, 0x15, 0x55, 0x69, 0x47, 0x61, 0x6d, 0x65, 0x4d, 0x69, 0x44, 0x42, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74,
0x6e, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x20, 0x0a, 0x61, 0x12, 0x1d, 0x0a, 0x04, 0x61, 0x74, 0x6e, 0x6f, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x04, 0x61, 0x74, 0x6e, 0x6f,
0x4d, 0x69, 0x6e, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x22, 0x39, 0x0a, 0x15, 0x55, 0x69, 0x47, 0x61, 0x6d, 0x65, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x43,
0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x20, 0x0a, 0x04, 0x64, 0x61, 0x74,
0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x4d, 0x69, 0x6e, 0x65,
0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0x5a, 0x04, 0x2e,
0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (
@ -1167,7 +1279,7 @@ func file_uigame_uigame_msg_proto_rawDescGZIP() []byte {
return file_uigame_uigame_msg_proto_rawDescData return file_uigame_uigame_msg_proto_rawDescData
} }
var file_uigame_uigame_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 20) var file_uigame_uigame_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 22)
var file_uigame_uigame_msg_proto_goTypes = []interface{}{ var file_uigame_uigame_msg_proto_goTypes = []interface{}{
(*UiGameGetPuzzleReq)(nil), // 0: UiGameGetPuzzleReq (*UiGameGetPuzzleReq)(nil), // 0: UiGameGetPuzzleReq
(*UiGameGetPuzzleResp)(nil), // 1: UiGameGetPuzzleResp (*UiGameGetPuzzleResp)(nil), // 1: UiGameGetPuzzleResp
@ -1182,41 +1294,45 @@ var file_uigame_uigame_msg_proto_goTypes = []interface{}{
(*UiGameLatticeGridResp)(nil), // 10: UiGameLatticeGridResp (*UiGameLatticeGridResp)(nil), // 10: UiGameLatticeGridResp
(*UiGameLatticeRewardReq)(nil), // 11: UiGameLatticeRewardReq (*UiGameLatticeRewardReq)(nil), // 11: UiGameLatticeRewardReq
(*UiGameLatticeRewardResp)(nil), // 12: UiGameLatticeRewardResp (*UiGameLatticeRewardResp)(nil), // 12: UiGameLatticeRewardResp
(*UiGameGetMinerReq)(nil), // 13: UiGameGetMinerReq (*UiGameLatticeFinishReq)(nil), // 13: UiGameLatticeFinishReq
(*UiGameGetMinerResp)(nil), // 14: UiGameGetMinerResp (*UiGameLatticeFinishResp)(nil), // 14: UiGameLatticeFinishResp
(*UiGameMinerKeyReq)(nil), // 15: UiGameMinerKeyReq (*UiGameGetMinerReq)(nil), // 15: UiGameGetMinerReq
(*UiGameMinerKeyResp)(nil), // 16: UiGameMinerKeyResp (*UiGameGetMinerResp)(nil), // 16: UiGameGetMinerResp
(*UiGameMinerRewardReq)(nil), // 17: UiGameMinerRewardReq (*UiGameMinerKeyReq)(nil), // 17: UiGameMinerKeyReq
(*UiGameMinerRewardResp)(nil), // 18: UiGameMinerRewardResp (*UiGameMinerKeyResp)(nil), // 18: UiGameMinerKeyResp
(*UiGameMinerChangePush)(nil), // 19: UiGameMinerChangePush (*UiGameMinerRewardReq)(nil), // 19: UiGameMinerRewardReq
(*DBPuzzleData)(nil), // 20: DBPuzzleData (*UiGameMinerRewardResp)(nil), // 20: UiGameMinerRewardResp
(*UserAtno)(nil), // 21: UserAtno (*UiGameMinerChangePush)(nil), // 21: UiGameMinerChangePush
(*DBLatticeData)(nil), // 22: DBLatticeData (*DBPuzzleData)(nil), // 22: DBPuzzleData
(*DBMinerData)(nil), // 23: DBMinerData (*UserAtno)(nil), // 23: UserAtno
(*DBLatticeData)(nil), // 24: DBLatticeData
(*DBMinerData)(nil), // 25: DBMinerData
} }
var file_uigame_uigame_msg_proto_depIdxs = []int32{ var file_uigame_uigame_msg_proto_depIdxs = []int32{
20, // 0: UiGameGetPuzzleResp.data:type_name -> DBPuzzleData 22, // 0: UiGameGetPuzzleResp.data:type_name -> DBPuzzleData
20, // 1: UiGamePuzzleGridResp.data:type_name -> DBPuzzleData 22, // 1: UiGamePuzzleGridResp.data:type_name -> DBPuzzleData
21, // 2: UiGamePuzzleGridResp.atno:type_name -> UserAtno 23, // 2: UiGamePuzzleGridResp.atno:type_name -> UserAtno
20, // 3: UiGamePuzzleRewardResp.data:type_name -> DBPuzzleData 22, // 3: UiGamePuzzleRewardResp.data:type_name -> DBPuzzleData
21, // 4: UiGamePuzzleRewardResp.atno:type_name -> UserAtno 23, // 4: UiGamePuzzleRewardResp.atno:type_name -> UserAtno
20, // 5: UiGamePuzzleChangePush.data:type_name -> DBPuzzleData 22, // 5: UiGamePuzzleChangePush.data:type_name -> DBPuzzleData
22, // 6: UiGameGetLatticeResp.data:type_name -> DBLatticeData 24, // 6: UiGameGetLatticeResp.data:type_name -> DBLatticeData
22, // 7: UiGameLatticeGridResp.data:type_name -> DBLatticeData 24, // 7: UiGameLatticeGridResp.data:type_name -> DBLatticeData
21, // 8: UiGameLatticeGridResp.atno:type_name -> UserAtno 23, // 8: UiGameLatticeGridResp.atno:type_name -> UserAtno
22, // 9: UiGameLatticeRewardResp.data:type_name -> DBLatticeData 24, // 9: UiGameLatticeRewardResp.data:type_name -> DBLatticeData
21, // 10: UiGameLatticeRewardResp.atno:type_name -> UserAtno 23, // 10: UiGameLatticeRewardResp.atno:type_name -> UserAtno
23, // 11: UiGameGetMinerResp.data:type_name -> DBMinerData 24, // 11: UiGameLatticeFinishResp.data:type_name -> DBLatticeData
23, // 12: UiGameMinerKeyResp.data:type_name -> DBMinerData 23, // 12: UiGameLatticeFinishResp.atno:type_name -> UserAtno
21, // 13: UiGameMinerKeyResp.atno:type_name -> UserAtno 25, // 13: UiGameGetMinerResp.data:type_name -> DBMinerData
23, // 14: UiGameMinerRewardResp.data:type_name -> DBMinerData 25, // 14: UiGameMinerKeyResp.data:type_name -> DBMinerData
21, // 15: UiGameMinerRewardResp.atno:type_name -> UserAtno 23, // 15: UiGameMinerKeyResp.atno:type_name -> UserAtno
23, // 16: UiGameMinerChangePush.data:type_name -> DBMinerData 25, // 16: UiGameMinerRewardResp.data:type_name -> DBMinerData
17, // [17:17] is the sub-list for method output_type 23, // 17: UiGameMinerRewardResp.atno:type_name -> UserAtno
17, // [17:17] is the sub-list for method input_type 25, // 18: UiGameMinerChangePush.data:type_name -> DBMinerData
17, // [17:17] is the sub-list for extension type_name 19, // [19:19] is the sub-list for method output_type
17, // [17:17] is the sub-list for extension extendee 19, // [19:19] is the sub-list for method input_type
0, // [0:17] is the sub-list for field type_name 19, // [19:19] is the sub-list for extension type_name
19, // [19:19] is the sub-list for extension extendee
0, // [0:19] is the sub-list for field type_name
} }
func init() { file_uigame_uigame_msg_proto_init() } func init() { file_uigame_uigame_msg_proto_init() }
@ -1384,7 +1500,7 @@ func file_uigame_uigame_msg_proto_init() {
} }
} }
file_uigame_uigame_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { file_uigame_uigame_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UiGameGetMinerReq); i { switch v := v.(*UiGameLatticeFinishReq); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -1396,7 +1512,7 @@ func file_uigame_uigame_msg_proto_init() {
} }
} }
file_uigame_uigame_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { file_uigame_uigame_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UiGameGetMinerResp); i { switch v := v.(*UiGameLatticeFinishResp); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -1408,7 +1524,7 @@ func file_uigame_uigame_msg_proto_init() {
} }
} }
file_uigame_uigame_msg_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { file_uigame_uigame_msg_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UiGameMinerKeyReq); i { switch v := v.(*UiGameGetMinerReq); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -1420,7 +1536,7 @@ func file_uigame_uigame_msg_proto_init() {
} }
} }
file_uigame_uigame_msg_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { file_uigame_uigame_msg_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UiGameMinerKeyResp); i { switch v := v.(*UiGameGetMinerResp); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -1432,7 +1548,7 @@ func file_uigame_uigame_msg_proto_init() {
} }
} }
file_uigame_uigame_msg_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { file_uigame_uigame_msg_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UiGameMinerRewardReq); i { switch v := v.(*UiGameMinerKeyReq); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -1444,7 +1560,7 @@ func file_uigame_uigame_msg_proto_init() {
} }
} }
file_uigame_uigame_msg_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { file_uigame_uigame_msg_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UiGameMinerRewardResp); i { switch v := v.(*UiGameMinerKeyResp); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -1456,6 +1572,30 @@ func file_uigame_uigame_msg_proto_init() {
} }
} }
file_uigame_uigame_msg_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { file_uigame_uigame_msg_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UiGameMinerRewardReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uigame_uigame_msg_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UiGameMinerRewardResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uigame_uigame_msg_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UiGameMinerChangePush); i { switch v := v.(*UiGameMinerChangePush); i {
case 0: case 0:
return &v.state return &v.state
@ -1474,7 +1614,7 @@ func file_uigame_uigame_msg_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_uigame_uigame_msg_proto_rawDesc, RawDescriptor: file_uigame_uigame_msg_proto_rawDesc,
NumEnums: 0, NumEnums: 0,
NumMessages: 20, NumMessages: 22,
NumExtensions: 0, NumExtensions: 0,
NumServices: 0, NumServices: 0,
}, },