记录上次位置

This commit is contained in:
meixiongfeng 2023-08-09 20:24:58 +08:00
parent 193deb145d
commit 32bac33a10
3 changed files with 105 additions and 241 deletions

View File

@ -38,10 +38,13 @@ func (this *apiComp) LatticeGrid(session comm.IUserSession, req *pb.UiGameLattic
} }
if v1, ok := list.Lattice[list.Floor]; ok { if v1, ok := list.Lattice[list.Floor]; ok {
if _, ok := v1.Data[req.Grid]; ok { if _, ok := v1.Data[req.Grid]; ok {
errdata = &pb.ErrorData{ // 重复领取 list.Curpos = req.Grid
Code: pb.ErrorCode_ActivityRepatReward, update["curpos"] = list.Curpos
Title: pb.ErrorCode_ActivityRepatReward.ToString(), this.module.modelLattice.modifyLatticeListByObjId(session.GetUserId(), update)
} session.SendMsg(string(this.module.GetType()), "latticegrid", &pb.UiGameLatticeGridResp{
Data: list,
Atno: atno,
})
return return
} }
list.Lattice[list.Floor].Data[req.Grid] = 1 list.Lattice[list.Floor].Data[req.Grid] = 1
@ -97,9 +100,9 @@ func (this *apiComp) LatticeGrid(session comm.IUserSession, req *pb.UiGameLattic
update["total"] = list.Total update["total"] = list.Total
} }
} }
// list.Gotarr[req.Grid] = 1
// update["gotarr"] = list.Gotarr list.Curpos = req.Grid
update["curpos"] = list.Curpos
this.module.modelLattice.modifyLatticeListByObjId(session.GetUserId(), update) this.module.modelLattice.modifyLatticeListByObjId(session.GetUserId(), update)
session.SendMsg(string(this.module.GetType()), "latticegrid", &pb.UiGameLatticeGridResp{ session.SendMsg(string(this.module.GetType()), "latticegrid", &pb.UiGameLatticeGridResp{
Data: list, Data: list,

View File

@ -179,6 +179,7 @@ type DBLatticeData struct {
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"` // 总奖励 BReward bool `protobuf:"varint,9,opt,name=bReward,proto3" json:"bReward"` // 总奖励
Floor int32 `protobuf:"varint,10,opt,name=floor,proto3" json:"floor"` // 当前第几层 Floor int32 `protobuf:"varint,10,opt,name=floor,proto3" json:"floor"` // 当前第几层
Curpos int32 `protobuf:"varint,11,opt,name=curpos,proto3" json:"curpos"` // 当前位置
} }
func (x *DBLatticeData) Reset() { func (x *DBLatticeData) Reset() {
@ -283,6 +284,13 @@ func (x *DBLatticeData) GetFloor() int32 {
return 0 return 0
} }
func (x *DBLatticeData) GetCurpos() int32 {
if x != nil {
return x.Curpos
}
return 0
}
// 矿工 // 矿工
type DBMinerData struct { type DBMinerData struct {
state protoimpl.MessageState state protoimpl.MessageState
@ -412,7 +420,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,
0xab, 0x03, 0x0a, 0x0d, 0x44, 0x42, 0x4c, 0x61, 0x74, 0x74, 0x69, 0x63, 0x65, 0x44, 0x61, 0x74, 0xc3, 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,
@ -430,32 +438,34 @@ var file_uigame_uigame_db_proto_rawDesc = []byte{
0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x52, 0x65, 0x77, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x52, 0x65, 0x77,
0x61, 0x72, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x62, 0x52, 0x65, 0x77, 0x61, 0x61, 0x72, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x62, 0x52, 0x65, 0x77, 0x61,
0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28,
0x05, 0x52, 0x05, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x1a, 0x39, 0x0a, 0x0b, 0x47, 0x6f, 0x74, 0x61, 0x05, 0x52, 0x05, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x75, 0x72, 0x70,
0x72, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x6f, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x63, 0x75, 0x72, 0x70, 0x6f, 0x73,
0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x1a, 0x39, 0x0a, 0x0b, 0x47, 0x6f, 0x74, 0x61, 0x72, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65,
0x02, 0x38, 0x01, 0x1a, 0x48, 0x0a, 0x0c, 0x4c, 0x61, 0x74, 0x74, 0x69, 0x63, 0x65, 0x45, 0x6e, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x48, 0x0a, 0x0c, 0x4c,
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x22, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x61, 0x74, 0x74, 0x69, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x4c, 0x61, 0x74, 0x74, 0x69, 0x63, 0x65, 0x44, 0x61, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x22, 0x0a,
0x74, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xfa, 0x01, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x4c,
0x0a, 0x0b, 0x44, 0x42, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x61, 0x74, 0x74, 0x69, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xfa, 0x01, 0x0a, 0x0b, 0x44, 0x42, 0x4d, 0x69, 0x6e, 0x65,
0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
0x14, 0x0a, 0x05, 0x68, 0x64, 0x6f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
0x68, 0x64, 0x6f, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x67, 0x6f, 0x74, 0x61, 0x72, 0x72, 0x18, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x68, 0x64, 0x6f, 0x69, 0x64,
0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x44, 0x42, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x68, 0x64, 0x6f, 0x69, 0x64, 0x12, 0x30, 0x0a,
0x61, 0x74, 0x61, 0x2e, 0x47, 0x6f, 0x74, 0x61, 0x72, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x67, 0x6f, 0x74, 0x61, 0x72, 0x72, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e,
0x06, 0x67, 0x6f, 0x74, 0x61, 0x72, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x74, 0x44, 0x42, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x6f, 0x74, 0x61,
0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x74, 0x72, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x67, 0x6f, 0x74, 0x61, 0x72, 0x72, 0x12,
0x69, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
0x52, 0x03, 0x76, 0x61, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x03, 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x76,
0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x62, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x1a, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x76, 0x61, 0x6c, 0x12, 0x18, 0x0a,
0x39, 0x0a, 0x0b, 0x47, 0x6f, 0x74, 0x61, 0x72, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x07, 0x62, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x62, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x1a, 0x39, 0x0a, 0x0b, 0x47, 0x6f, 0x74, 0x61, 0x72,
0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 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

@ -1060,118 +1060,6 @@ func (x *UiGameMinerKeyResp) GetAtno() []*UserAtno {
return nil return nil
} }
// 拼图领取奖励
type UiGameMinerRewardReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Hdid string `protobuf:"bytes,1,opt,name=hdid,proto3" json:"hdid"` // 活动ID
Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id"`
}
func (x *UiGameMinerRewardReq) Reset() {
*x = UiGameMinerRewardReq{}
if protoimpl.UnsafeEnabled {
mi := &file_uigame_uigame_msg_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UiGameMinerRewardReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UiGameMinerRewardReq) ProtoMessage() {}
func (x *UiGameMinerRewardReq) ProtoReflect() protoreflect.Message {
mi := &file_uigame_uigame_msg_proto_msgTypes[20]
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 UiGameMinerRewardReq.ProtoReflect.Descriptor instead.
func (*UiGameMinerRewardReq) Descriptor() ([]byte, []int) {
return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{20}
}
func (x *UiGameMinerRewardReq) GetHdid() string {
if x != nil {
return x.Hdid
}
return ""
}
func (x *UiGameMinerRewardReq) GetId() int32 {
if x != nil {
return x.Id
}
return 0
}
// 获取活动列表
type UiGameMinerRewardResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Data *DBMinerData `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
Atno []*UserAtno `protobuf:"bytes,2,rep,name=atno,proto3" json:"atno"` // 奖励
}
func (x *UiGameMinerRewardResp) Reset() {
*x = UiGameMinerRewardResp{}
if protoimpl.UnsafeEnabled {
mi := &file_uigame_uigame_msg_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UiGameMinerRewardResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UiGameMinerRewardResp) ProtoMessage() {}
func (x *UiGameMinerRewardResp) ProtoReflect() protoreflect.Message {
mi := &file_uigame_uigame_msg_proto_msgTypes[21]
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 UiGameMinerRewardResp.ProtoReflect.Descriptor instead.
func (*UiGameMinerRewardResp) Descriptor() ([]byte, []int) {
return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{21}
}
func (x *UiGameMinerRewardResp) GetData() *DBMinerData {
if x != nil {
return x.Data
}
return nil
}
func (x *UiGameMinerRewardResp) GetAtno() []*UserAtno {
if x != nil {
return x.Atno
}
return nil
}
// 进度变化推送 // 进度变化推送
type UiGameMinerChangePush struct { type UiGameMinerChangePush struct {
state protoimpl.MessageState state protoimpl.MessageState
@ -1184,7 +1072,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[22] 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)
} }
@ -1197,7 +1085,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[22] 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 {
@ -1210,7 +1098,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{22} return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{20}
} }
func (x *UiGameMinerChangePush) GetData() *DBMinerData { func (x *UiGameMinerChangePush) GetData() *DBMinerData {
@ -1231,7 +1119,7 @@ type UiGameMinerFinishReq struct {
func (x *UiGameMinerFinishReq) Reset() { func (x *UiGameMinerFinishReq) Reset() {
*x = UiGameMinerFinishReq{} *x = UiGameMinerFinishReq{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_uigame_uigame_msg_proto_msgTypes[23] 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)
} }
@ -1244,7 +1132,7 @@ func (x *UiGameMinerFinishReq) String() string {
func (*UiGameMinerFinishReq) ProtoMessage() {} func (*UiGameMinerFinishReq) ProtoMessage() {}
func (x *UiGameMinerFinishReq) ProtoReflect() protoreflect.Message { func (x *UiGameMinerFinishReq) ProtoReflect() protoreflect.Message {
mi := &file_uigame_uigame_msg_proto_msgTypes[23] 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 {
@ -1257,7 +1145,7 @@ func (x *UiGameMinerFinishReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use UiGameMinerFinishReq.ProtoReflect.Descriptor instead. // Deprecated: Use UiGameMinerFinishReq.ProtoReflect.Descriptor instead.
func (*UiGameMinerFinishReq) Descriptor() ([]byte, []int) { func (*UiGameMinerFinishReq) Descriptor() ([]byte, []int) {
return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{23} return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{21}
} }
func (x *UiGameMinerFinishReq) GetHdid() string { func (x *UiGameMinerFinishReq) GetHdid() string {
@ -1279,7 +1167,7 @@ type UiGameMinerFinishResp struct {
func (x *UiGameMinerFinishResp) Reset() { func (x *UiGameMinerFinishResp) Reset() {
*x = UiGameMinerFinishResp{} *x = UiGameMinerFinishResp{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_uigame_uigame_msg_proto_msgTypes[24] mi := &file_uigame_uigame_msg_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1292,7 +1180,7 @@ func (x *UiGameMinerFinishResp) String() string {
func (*UiGameMinerFinishResp) ProtoMessage() {} func (*UiGameMinerFinishResp) ProtoMessage() {}
func (x *UiGameMinerFinishResp) ProtoReflect() protoreflect.Message { func (x *UiGameMinerFinishResp) ProtoReflect() protoreflect.Message {
mi := &file_uigame_uigame_msg_proto_msgTypes[24] mi := &file_uigame_uigame_msg_proto_msgTypes[22]
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 {
@ -1305,7 +1193,7 @@ func (x *UiGameMinerFinishResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use UiGameMinerFinishResp.ProtoReflect.Descriptor instead. // Deprecated: Use UiGameMinerFinishResp.ProtoReflect.Descriptor instead.
func (*UiGameMinerFinishResp) Descriptor() ([]byte, []int) { func (*UiGameMinerFinishResp) Descriptor() ([]byte, []int) {
return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{24} return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{22}
} }
func (x *UiGameMinerFinishResp) GetData() *DBMinerData { func (x *UiGameMinerFinishResp) GetData() *DBMinerData {
@ -1412,29 +1300,20 @@ var file_uigame_uigame_msg_proto_rawDesc = []byte{
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x4d, 0x69, 0x6e, 0x65, 0x72, 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, 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, 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, 0x3a, 0x0a, 0x14, 0x55, 0x69, 0x47, 0x74, 0x6e, 0x6f, 0x52, 0x04, 0x61, 0x74, 0x6e, 0x6f, 0x22, 0x39, 0x0a, 0x15, 0x55, 0x69, 0x47,
0x61, 0x6d, 0x65, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x61, 0x6d, 0x65, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75,
0x71, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x64, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x73, 0x68, 0x12, 0x20, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
0x04, 0x68, 0x64, 0x69, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04,
0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0x58, 0x0a, 0x15, 0x55, 0x69, 0x47, 0x61, 0x6d, 0x65, 0x4d, 0x64, 0x61, 0x74, 0x61, 0x22, 0x2a, 0x0a, 0x14, 0x55, 0x69, 0x47, 0x61, 0x6d, 0x65, 0x4d, 0x69,
0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x20, 0x6e, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04,
0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x68, 0x64, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x64, 0x69, 0x64,
0x42, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x58, 0x0a, 0x15, 0x55, 0x69, 0x47, 0x61, 0x6d, 0x65, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x46,
0x12, 0x1d, 0x0a, 0x04, 0x61, 0x74, 0x6e, 0x6f, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x12, 0x20, 0x0a, 0x04, 0x64, 0x61, 0x74,
0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x04, 0x61, 0x74, 0x6e, 0x6f, 0x22, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x4d, 0x69, 0x6e, 0x65,
0x39, 0x0a, 0x15, 0x55, 0x69, 0x47, 0x61, 0x6d, 0x65, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x43, 0x68, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x04, 0x61,
0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x20, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x74, 0x6e, 0x6f, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x04, 0x61, 0x74, 0x6e, 0x6f, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b,
0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x2a, 0x0a, 0x14, 0x55, 0x69, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x47, 0x61, 0x6d, 0x65, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52,
0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x64, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x04, 0x68, 0x64, 0x69, 0x64, 0x22, 0x58, 0x0a, 0x15, 0x55, 0x69, 0x47, 0x61, 0x6d, 0x65,
0x4d, 0x69, 0x6e, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 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,
0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (
@ -1449,7 +1328,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, 25) var file_uigame_uigame_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 23)
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
@ -1471,44 +1350,40 @@ var file_uigame_uigame_msg_proto_goTypes = []interface{}{
(*UiGameGetMinerResp)(nil), // 17: UiGameGetMinerResp (*UiGameGetMinerResp)(nil), // 17: UiGameGetMinerResp
(*UiGameMinerKeyReq)(nil), // 18: UiGameMinerKeyReq (*UiGameMinerKeyReq)(nil), // 18: UiGameMinerKeyReq
(*UiGameMinerKeyResp)(nil), // 19: UiGameMinerKeyResp (*UiGameMinerKeyResp)(nil), // 19: UiGameMinerKeyResp
(*UiGameMinerRewardReq)(nil), // 20: UiGameMinerRewardReq (*UiGameMinerChangePush)(nil), // 20: UiGameMinerChangePush
(*UiGameMinerRewardResp)(nil), // 21: UiGameMinerRewardResp (*UiGameMinerFinishReq)(nil), // 21: UiGameMinerFinishReq
(*UiGameMinerChangePush)(nil), // 22: UiGameMinerChangePush (*UiGameMinerFinishResp)(nil), // 22: UiGameMinerFinishResp
(*UiGameMinerFinishReq)(nil), // 23: UiGameMinerFinishReq (*DBPuzzleData)(nil), // 23: DBPuzzleData
(*UiGameMinerFinishResp)(nil), // 24: UiGameMinerFinishResp (*UserAtno)(nil), // 24: UserAtno
(*DBPuzzleData)(nil), // 25: DBPuzzleData (*DBLatticeData)(nil), // 25: DBLatticeData
(*UserAtno)(nil), // 26: UserAtno (*DBMinerData)(nil), // 26: DBMinerData
(*DBLatticeData)(nil), // 27: DBLatticeData
(*DBMinerData)(nil), // 28: DBMinerData
} }
var file_uigame_uigame_msg_proto_depIdxs = []int32{ var file_uigame_uigame_msg_proto_depIdxs = []int32{
25, // 0: UiGameGetPuzzleResp.data:type_name -> DBPuzzleData 23, // 0: UiGameGetPuzzleResp.data:type_name -> DBPuzzleData
25, // 1: UiGamePuzzleGridResp.data:type_name -> DBPuzzleData 23, // 1: UiGamePuzzleGridResp.data:type_name -> DBPuzzleData
26, // 2: UiGamePuzzleGridResp.atno:type_name -> UserAtno 24, // 2: UiGamePuzzleGridResp.atno:type_name -> UserAtno
25, // 3: UiGamePuzzleRewardResp.data:type_name -> DBPuzzleData 23, // 3: UiGamePuzzleRewardResp.data:type_name -> DBPuzzleData
26, // 4: UiGamePuzzleRewardResp.atno:type_name -> UserAtno 24, // 4: UiGamePuzzleRewardResp.atno:type_name -> UserAtno
25, // 5: UiGamePuzzleChangePush.data:type_name -> DBPuzzleData 23, // 5: UiGamePuzzleChangePush.data:type_name -> DBPuzzleData
27, // 6: UiGameGetLatticeResp.data:type_name -> DBLatticeData 25, // 6: UiGameGetLatticeResp.data:type_name -> DBLatticeData
27, // 7: UiGameLatticeGridResp.data:type_name -> DBLatticeData 25, // 7: UiGameLatticeGridResp.data:type_name -> DBLatticeData
26, // 8: UiGameLatticeGridResp.atno:type_name -> UserAtno 24, // 8: UiGameLatticeGridResp.atno:type_name -> UserAtno
27, // 9: UiGameLatticeRewardResp.data:type_name -> DBLatticeData 25, // 9: UiGameLatticeRewardResp.data:type_name -> DBLatticeData
26, // 10: UiGameLatticeRewardResp.atno:type_name -> UserAtno 24, // 10: UiGameLatticeRewardResp.atno:type_name -> UserAtno
27, // 11: UiGameLatticeFinishResp.data:type_name -> DBLatticeData 25, // 11: UiGameLatticeFinishResp.data:type_name -> DBLatticeData
26, // 12: UiGameLatticeFinishResp.atno:type_name -> UserAtno 24, // 12: UiGameLatticeFinishResp.atno:type_name -> UserAtno
27, // 13: UiGameLatticeChangePush.data:type_name -> DBLatticeData 25, // 13: UiGameLatticeChangePush.data:type_name -> DBLatticeData
28, // 14: UiGameGetMinerResp.data:type_name -> DBMinerData 26, // 14: UiGameGetMinerResp.data:type_name -> DBMinerData
28, // 15: UiGameMinerKeyResp.data:type_name -> DBMinerData 26, // 15: UiGameMinerKeyResp.data:type_name -> DBMinerData
26, // 16: UiGameMinerKeyResp.atno:type_name -> UserAtno 24, // 16: UiGameMinerKeyResp.atno:type_name -> UserAtno
28, // 17: UiGameMinerRewardResp.data:type_name -> DBMinerData 26, // 17: UiGameMinerChangePush.data:type_name -> DBMinerData
26, // 18: UiGameMinerRewardResp.atno:type_name -> UserAtno 26, // 18: UiGameMinerFinishResp.data:type_name -> DBMinerData
28, // 19: UiGameMinerChangePush.data:type_name -> DBMinerData 24, // 19: UiGameMinerFinishResp.atno:type_name -> UserAtno
28, // 20: UiGameMinerFinishResp.data:type_name -> DBMinerData 20, // [20:20] is the sub-list for method output_type
26, // 21: UiGameMinerFinishResp.atno:type_name -> UserAtno 20, // [20:20] is the sub-list for method input_type
22, // [22:22] is the sub-list for method output_type 20, // [20:20] is the sub-list for extension type_name
22, // [22:22] is the sub-list for method input_type 20, // [20:20] is the sub-list for extension extendee
22, // [22:22] is the sub-list for extension type_name 0, // [0:20] is the sub-list for field type_name
22, // [22:22] is the sub-list for extension extendee
0, // [0:22] is the sub-list for field type_name
} }
func init() { file_uigame_uigame_msg_proto_init() } func init() { file_uigame_uigame_msg_proto_init() }
@ -1760,30 +1635,6 @@ func file_uigame_uigame_msg_proto_init() {
} }
} }
file_uigame_uigame_msg_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { file_uigame_uigame_msg_proto_msgTypes[20].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[21].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[22].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
@ -1795,7 +1646,7 @@ func file_uigame_uigame_msg_proto_init() {
return nil return nil
} }
} }
file_uigame_uigame_msg_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { file_uigame_uigame_msg_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UiGameMinerFinishReq); i { switch v := v.(*UiGameMinerFinishReq); i {
case 0: case 0:
return &v.state return &v.state
@ -1807,7 +1658,7 @@ func file_uigame_uigame_msg_proto_init() {
return nil return nil
} }
} }
file_uigame_uigame_msg_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { file_uigame_uigame_msg_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UiGameMinerFinishResp); i { switch v := v.(*UiGameMinerFinishResp); i {
case 0: case 0:
return &v.state return &v.state
@ -1826,7 +1677,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: 25, NumMessages: 23,
NumExtensions: 0, NumExtensions: 0,
NumServices: 0, NumServices: 0,
}, },