上传代码
This commit is contained in:
parent
2d0d9aa0c1
commit
e0039dcc41
41
modules/island/api_buy.go
Normal file
41
modules/island/api_buy.go
Normal file
@ -0,0 +1,41 @@
|
||||
package island
|
||||
|
||||
import (
|
||||
"go_dreamfactory/comm"
|
||||
"go_dreamfactory/pb"
|
||||
)
|
||||
|
||||
// 参数校验
|
||||
func (this *apiComp) BuyCheck(session comm.IUserSession, req *pb.IsLandBuyReq) (errdata *pb.ErrorData) {
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// /获取自己的排行榜信息
|
||||
func (this *apiComp) Buy(session comm.IUserSession, req *pb.IsLandBuyReq) (errdata *pb.ErrorData) {
|
||||
var (
|
||||
info *pb.DBIsland
|
||||
heros []*pb.DBHero
|
||||
err error
|
||||
)
|
||||
if errdata = this.BuyCheck(session, req); errdata != nil {
|
||||
return
|
||||
}
|
||||
|
||||
if info, err = this.module.model.getmodel(session.GetUserId()); err != nil {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_DBError,
|
||||
Message: err.Error(),
|
||||
}
|
||||
return
|
||||
}
|
||||
if heros, err = this.module.modelhero.getHeroList(session.GetUserId()); err != nil {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_DBError,
|
||||
Message: err.Error(),
|
||||
}
|
||||
return
|
||||
}
|
||||
session.SendMsg(string(this.module.GetType()), "info", &pb.IsLandInfoResp{Info: info, Heros: heros})
|
||||
return
|
||||
}
|
41
modules/island/api_refresheroshop.go
Normal file
41
modules/island/api_refresheroshop.go
Normal file
@ -0,0 +1,41 @@
|
||||
package island
|
||||
|
||||
import (
|
||||
"go_dreamfactory/comm"
|
||||
"go_dreamfactory/pb"
|
||||
)
|
||||
|
||||
// 参数校验
|
||||
func (this *apiComp) RefreshHeroShopCheck(session comm.IUserSession, req *pb.IsLandRefresHeroShopReq) (errdata *pb.ErrorData) {
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
//刷新商店
|
||||
func (this *apiComp) RefreshHeroShop(session comm.IUserSession, req *pb.IsLandRefresHeroShopReq) (errdata *pb.ErrorData) {
|
||||
var (
|
||||
info *pb.DBIsland
|
||||
heros []*pb.DBHero
|
||||
err error
|
||||
)
|
||||
if errdata = this.RefreshHeroShopCheck(session, req); errdata != nil {
|
||||
return
|
||||
}
|
||||
|
||||
if info, err = this.module.model.getmodel(session.GetUserId()); err != nil {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_DBError,
|
||||
Message: err.Error(),
|
||||
}
|
||||
return
|
||||
}
|
||||
if heros, err = this.module.modelhero.getHeroList(session.GetUserId()); err != nil {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_DBError,
|
||||
Message: err.Error(),
|
||||
}
|
||||
return
|
||||
}
|
||||
session.SendMsg(string(this.module.GetType()), "info", &pb.IsLandInfoResp{Info: info, Heros: heros})
|
||||
return
|
||||
}
|
@ -32,3 +32,7 @@ func (this *modelHeroComp) getHeroList(uid string) (heros []*pb.DBHero, err erro
|
||||
err = this.GetList(uid, &heros)
|
||||
return
|
||||
}
|
||||
|
||||
func (this *modelHeroComp) addheros(heros *pb.DBHero) (err error) {
|
||||
return
|
||||
}
|
||||
|
@ -27,6 +27,7 @@ type DBIsland struct {
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"`
|
||||
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid"`
|
||||
Heroshop []int32 `protobuf:"varint,3,rep,packed,name=heroshop,proto3" json:"heroshop"` //英雄商店
|
||||
Islands map[int32]*DBIslandItem `protobuf:"bytes,4,rep,name=islands,proto3" json:"islands" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` //岛屿
|
||||
Nodes map[int32]int32 `protobuf:"bytes,5,rep,name=nodes,proto3" json:"nodes" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //养成节点
|
||||
Freeprogress int32 `protobuf:"varint,6,opt,name=freeprogress,proto3" json:"freeprogress"` //已领取天数
|
||||
@ -80,6 +81,13 @@ func (x *DBIsland) GetUid() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *DBIsland) GetHeroshop() []int32 {
|
||||
if x != nil {
|
||||
return x.Heroshop
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *DBIsland) GetIslands() map[int32]*DBIslandItem {
|
||||
if x != nil {
|
||||
return x.Islands
|
||||
@ -175,39 +183,41 @@ var File_island_island_db_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_island_island_db_proto_rawDesc = []byte{
|
||||
0x0a, 0x16, 0x69, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x2f, 0x69, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x5f,
|
||||
0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe7, 0x02, 0x0a, 0x08, 0x44, 0x42, 0x49,
|
||||
0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x83, 0x03, 0x0a, 0x08, 0x44, 0x42, 0x49,
|
||||
0x73, 0x6c, 0x61, 0x6e, 0x64, 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, 0x75, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x07, 0x69, 0x73, 0x6c, 0x61, 0x6e,
|
||||
0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x44, 0x42, 0x49, 0x73, 0x6c,
|
||||
0x61, 0x6e, 0x64, 0x2e, 0x49, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
||||
0x52, 0x07, 0x69, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x73, 0x12, 0x2a, 0x0a, 0x05, 0x6e, 0x6f, 0x64,
|
||||
0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x44, 0x42, 0x49, 0x73, 0x6c,
|
||||
0x61, 0x6e, 0x64, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05,
|
||||
0x6e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x66, 0x72, 0x65, 0x65, 0x70, 0x72, 0x6f,
|
||||
0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x66, 0x72, 0x65,
|
||||
0x65, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x79,
|
||||
0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b,
|
||||
0x70, 0x61, 0x79, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x76,
|
||||
0x69, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x76, 0x69, 0x70, 0x1a, 0x49, 0x0a,
|
||||
0x0c, 0x49, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
|
||||
0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x65, 0x72, 0x6f, 0x73,
|
||||
0x68, 0x6f, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, 0x05, 0x52, 0x08, 0x68, 0x65, 0x72, 0x6f, 0x73,
|
||||
0x68, 0x6f, 0x70, 0x12, 0x30, 0x0a, 0x07, 0x69, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x73, 0x18, 0x04,
|
||||
0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x44, 0x42, 0x49, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x2e,
|
||||
0x49, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x69, 0x73,
|
||||
0x6c, 0x61, 0x6e, 0x64, 0x73, 0x12, 0x2a, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x05,
|
||||
0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x44, 0x42, 0x49, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x2e,
|
||||
0x4e, 0x6f, 0x64, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65,
|
||||
0x73, 0x12, 0x22, 0x0a, 0x0c, 0x66, 0x72, 0x65, 0x65, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73,
|
||||
0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x66, 0x72, 0x65, 0x65, 0x70, 0x72, 0x6f,
|
||||
0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x79, 0x70, 0x72, 0x6f, 0x67,
|
||||
0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x70, 0x61, 0x79, 0x70,
|
||||
0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x69, 0x70, 0x18, 0x08,
|
||||
0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x76, 0x69, 0x70, 0x1a, 0x49, 0x0a, 0x0c, 0x49, 0x73, 0x6c,
|
||||
0x61, 0x6e, 0x64, 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, 0x23, 0x0a, 0x05, 0x76,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x49,
|
||||
0x73, 0x6c, 0x61, 0x6e, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x3a, 0x02, 0x38, 0x01, 0x1a, 0x38, 0x0a, 0x0a, 0x4e, 0x6f, 0x64, 0x65, 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, 0x88,
|
||||
0x01, 0x0a, 0x0c, 0x44, 0x42, 0x49, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x12,
|
||||
0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12,
|
||||
0x2e, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18,
|
||||
0x2e, 0x44, 0x42, 0x49, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x4c, 0x65,
|
||||
0x76, 0x65, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x1a,
|
||||
0x38, 0x0a, 0x0a, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
|
||||
0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
|
||||
0x23, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d,
|
||||
0x2e, 0x44, 0x42, 0x49, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x76,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x38, 0x0a, 0x0a, 0x4e, 0x6f, 0x64, 0x65,
|
||||
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, 0x88, 0x01, 0x0a, 0x0c, 0x44, 0x42, 0x49, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x49,
|
||||
0x74, 0x65, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||
0x02, 0x69, 0x64, 0x12, 0x2e, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x03,
|
||||
0x28, 0x0b, 0x32, 0x18, 0x2e, 0x44, 0x42, 0x49, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x49, 0x74, 0x65,
|
||||
0x6d, 0x2e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x6c, 0x65,
|
||||
0x76, 0x65, 0x6c, 0x1a, 0x38, 0x0a, 0x0a, 0x4c, 0x65, 0x76, 0x65, 0x6c, 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, 0x42, 0x06, 0x5a,
|
||||
0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
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, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70,
|
||||
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
|
@ -354,6 +354,188 @@ func (x *IsLandCompleteResp) GetAward() []*UserAtno {
|
||||
return nil
|
||||
}
|
||||
|
||||
//刷新英雄商店
|
||||
type IsLandRefresHeroShopReq struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *IsLandRefresHeroShopReq) Reset() {
|
||||
*x = IsLandRefresHeroShopReq{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_island_island_msg_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *IsLandRefresHeroShopReq) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*IsLandRefresHeroShopReq) ProtoMessage() {}
|
||||
|
||||
func (x *IsLandRefresHeroShopReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_island_island_msg_proto_msgTypes[6]
|
||||
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 IsLandRefresHeroShopReq.ProtoReflect.Descriptor instead.
|
||||
func (*IsLandRefresHeroShopReq) Descriptor() ([]byte, []int) {
|
||||
return file_island_island_msg_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
type IsLandRefresHeroShopResp struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Heroshop []int32 `protobuf:"varint,1,rep,packed,name=heroshop,proto3" json:"heroshop"` //英雄商店
|
||||
}
|
||||
|
||||
func (x *IsLandRefresHeroShopResp) Reset() {
|
||||
*x = IsLandRefresHeroShopResp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_island_island_msg_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *IsLandRefresHeroShopResp) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*IsLandRefresHeroShopResp) ProtoMessage() {}
|
||||
|
||||
func (x *IsLandRefresHeroShopResp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_island_island_msg_proto_msgTypes[7]
|
||||
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 IsLandRefresHeroShopResp.ProtoReflect.Descriptor instead.
|
||||
func (*IsLandRefresHeroShopResp) Descriptor() ([]byte, []int) {
|
||||
return file_island_island_msg_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *IsLandRefresHeroShopResp) GetHeroshop() []int32 {
|
||||
if x != nil {
|
||||
return x.Heroshop
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
//购买英雄卡
|
||||
type IsLandBuyReq struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Cids []int32 `protobuf:"varint,1,rep,packed,name=cids,proto3" json:"cids"`
|
||||
}
|
||||
|
||||
func (x *IsLandBuyReq) Reset() {
|
||||
*x = IsLandBuyReq{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_island_island_msg_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *IsLandBuyReq) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*IsLandBuyReq) ProtoMessage() {}
|
||||
|
||||
func (x *IsLandBuyReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_island_island_msg_proto_msgTypes[8]
|
||||
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 IsLandBuyReq.ProtoReflect.Descriptor instead.
|
||||
func (*IsLandBuyReq) Descriptor() ([]byte, []int) {
|
||||
return file_island_island_msg_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *IsLandBuyReq) GetCids() []int32 {
|
||||
if x != nil {
|
||||
return x.Cids
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
//购买英雄卡回应
|
||||
type IsLandBuyResp struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Award []*UserAtno `protobuf:"bytes,1,rep,name=award,proto3" json:"award"` //奖励
|
||||
}
|
||||
|
||||
func (x *IsLandBuyResp) Reset() {
|
||||
*x = IsLandBuyResp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_island_island_msg_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *IsLandBuyResp) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*IsLandBuyResp) ProtoMessage() {}
|
||||
|
||||
func (x *IsLandBuyResp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_island_island_msg_proto_msgTypes[9]
|
||||
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 IsLandBuyResp.ProtoReflect.Descriptor instead.
|
||||
func (*IsLandBuyResp) Descriptor() ([]byte, []int) {
|
||||
return file_island_island_msg_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *IsLandBuyResp) GetAward() []*UserAtno {
|
||||
if x != nil {
|
||||
return x.Award
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
//升级节点
|
||||
type IsLandUpgradeReq struct {
|
||||
state protoimpl.MessageState
|
||||
@ -366,7 +548,7 @@ type IsLandUpgradeReq struct {
|
||||
func (x *IsLandUpgradeReq) Reset() {
|
||||
*x = IsLandUpgradeReq{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_island_island_msg_proto_msgTypes[6]
|
||||
mi := &file_island_island_msg_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@ -379,7 +561,7 @@ func (x *IsLandUpgradeReq) String() string {
|
||||
func (*IsLandUpgradeReq) ProtoMessage() {}
|
||||
|
||||
func (x *IsLandUpgradeReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_island_island_msg_proto_msgTypes[6]
|
||||
mi := &file_island_island_msg_proto_msgTypes[10]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@ -392,7 +574,7 @@ func (x *IsLandUpgradeReq) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use IsLandUpgradeReq.ProtoReflect.Descriptor instead.
|
||||
func (*IsLandUpgradeReq) Descriptor() ([]byte, []int) {
|
||||
return file_island_island_msg_proto_rawDescGZIP(), []int{6}
|
||||
return file_island_island_msg_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *IsLandUpgradeReq) GetNid() int32 {
|
||||
@ -415,7 +597,7 @@ type IsLandUpgradeResp struct {
|
||||
func (x *IsLandUpgradeResp) Reset() {
|
||||
*x = IsLandUpgradeResp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_island_island_msg_proto_msgTypes[7]
|
||||
mi := &file_island_island_msg_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@ -428,7 +610,7 @@ func (x *IsLandUpgradeResp) String() string {
|
||||
func (*IsLandUpgradeResp) ProtoMessage() {}
|
||||
|
||||
func (x *IsLandUpgradeResp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_island_island_msg_proto_msgTypes[7]
|
||||
mi := &file_island_island_msg_proto_msgTypes[11]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@ -441,7 +623,7 @@ func (x *IsLandUpgradeResp) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use IsLandUpgradeResp.ProtoReflect.Descriptor instead.
|
||||
func (*IsLandUpgradeResp) Descriptor() ([]byte, []int) {
|
||||
return file_island_island_msg_proto_rawDescGZIP(), []int{7}
|
||||
return file_island_island_msg_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
func (x *IsLandUpgradeResp) GetNid() int32 {
|
||||
@ -468,7 +650,7 @@ type IsLandReceiveReq struct {
|
||||
func (x *IsLandReceiveReq) Reset() {
|
||||
*x = IsLandReceiveReq{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_island_island_msg_proto_msgTypes[8]
|
||||
mi := &file_island_island_msg_proto_msgTypes[12]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@ -481,7 +663,7 @@ func (x *IsLandReceiveReq) String() string {
|
||||
func (*IsLandReceiveReq) ProtoMessage() {}
|
||||
|
||||
func (x *IsLandReceiveReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_island_island_msg_proto_msgTypes[8]
|
||||
mi := &file_island_island_msg_proto_msgTypes[12]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@ -494,7 +676,7 @@ func (x *IsLandReceiveReq) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use IsLandReceiveReq.ProtoReflect.Descriptor instead.
|
||||
func (*IsLandReceiveReq) Descriptor() ([]byte, []int) {
|
||||
return file_island_island_msg_proto_rawDescGZIP(), []int{8}
|
||||
return file_island_island_msg_proto_rawDescGZIP(), []int{12}
|
||||
}
|
||||
|
||||
type IsLandReceiveResp struct {
|
||||
@ -509,7 +691,7 @@ type IsLandReceiveResp struct {
|
||||
func (x *IsLandReceiveResp) Reset() {
|
||||
*x = IsLandReceiveResp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_island_island_msg_proto_msgTypes[9]
|
||||
mi := &file_island_island_msg_proto_msgTypes[13]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@ -522,7 +704,7 @@ func (x *IsLandReceiveResp) String() string {
|
||||
func (*IsLandReceiveResp) ProtoMessage() {}
|
||||
|
||||
func (x *IsLandReceiveResp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_island_island_msg_proto_msgTypes[9]
|
||||
mi := &file_island_island_msg_proto_msgTypes[13]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@ -535,7 +717,7 @@ func (x *IsLandReceiveResp) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use IsLandReceiveResp.ProtoReflect.Descriptor instead.
|
||||
func (*IsLandReceiveResp) Descriptor() ([]byte, []int) {
|
||||
return file_island_island_msg_proto_rawDescGZIP(), []int{9}
|
||||
return file_island_island_msg_proto_rawDescGZIP(), []int{13}
|
||||
}
|
||||
|
||||
func (x *IsLandReceiveResp) GetInfo() *DBIsland {
|
||||
@ -590,20 +772,31 @@ var file_island_island_msg_proto_rawDesc = []byte{
|
||||
0x05, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74,
|
||||
0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x03,
|
||||
0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x05, 0x61,
|
||||
0x77, 0x61, 0x72, 0x64, 0x22, 0x24, 0x0a, 0x10, 0x49, 0x73, 0x4c, 0x61, 0x6e, 0x64, 0x55, 0x70,
|
||||
0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x69, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6e, 0x69, 0x64, 0x22, 0x35, 0x0a, 0x11, 0x49, 0x73,
|
||||
0x4c, 0x61, 0x6e, 0x64, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12,
|
||||
0x10, 0x0a, 0x03, 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6e, 0x69,
|
||||
0x64, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c,
|
||||
0x76, 0x22, 0x12, 0x0a, 0x10, 0x49, 0x73, 0x4c, 0x61, 0x6e, 0x64, 0x52, 0x65, 0x63, 0x65, 0x69,
|
||||
0x76, 0x65, 0x52, 0x65, 0x71, 0x22, 0x53, 0x0a, 0x11, 0x49, 0x73, 0x4c, 0x61, 0x6e, 0x64, 0x52,
|
||||
0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x04, 0x69, 0x6e,
|
||||
0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x49, 0x73, 0x6c,
|
||||
0x61, 0x6e, 0x64, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x05, 0x61, 0x77, 0x61,
|
||||
0x72, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41,
|
||||
0x74, 0x6e, 0x6f, 0x52, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b,
|
||||
0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x77, 0x61, 0x72, 0x64, 0x22, 0x19, 0x0a, 0x17, 0x49, 0x73, 0x4c, 0x61, 0x6e, 0x64, 0x52, 0x65,
|
||||
0x66, 0x72, 0x65, 0x73, 0x48, 0x65, 0x72, 0x6f, 0x53, 0x68, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x22,
|
||||
0x36, 0x0a, 0x18, 0x49, 0x73, 0x4c, 0x61, 0x6e, 0x64, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x48,
|
||||
0x65, 0x72, 0x6f, 0x53, 0x68, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x68,
|
||||
0x65, 0x72, 0x6f, 0x73, 0x68, 0x6f, 0x70, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x08, 0x68,
|
||||
0x65, 0x72, 0x6f, 0x73, 0x68, 0x6f, 0x70, 0x22, 0x22, 0x0a, 0x0c, 0x49, 0x73, 0x4c, 0x61, 0x6e,
|
||||
0x64, 0x42, 0x75, 0x79, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x69, 0x64, 0x73, 0x18,
|
||||
0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x04, 0x63, 0x69, 0x64, 0x73, 0x22, 0x30, 0x0a, 0x0d, 0x49,
|
||||
0x73, 0x4c, 0x61, 0x6e, 0x64, 0x42, 0x75, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x05,
|
||||
0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73,
|
||||
0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x22, 0x24, 0x0a,
|
||||
0x10, 0x49, 0x73, 0x4c, 0x61, 0x6e, 0x64, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65,
|
||||
0x71, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03,
|
||||
0x6e, 0x69, 0x64, 0x22, 0x35, 0x0a, 0x11, 0x49, 0x73, 0x4c, 0x61, 0x6e, 0x64, 0x55, 0x70, 0x67,
|
||||
0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x69, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6e, 0x69, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x76,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x22, 0x12, 0x0a, 0x10, 0x49, 0x73,
|
||||
0x4c, 0x61, 0x6e, 0x64, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x22, 0x53,
|
||||
0x0a, 0x11, 0x49, 0x73, 0x4c, 0x61, 0x6e, 0x64, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52,
|
||||
0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x49, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x52, 0x04, 0x69, 0x6e,
|
||||
0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28,
|
||||
0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x05, 0x61, 0x77,
|
||||
0x61, 0x72, 0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@ -618,7 +811,7 @@ func file_island_island_msg_proto_rawDescGZIP() []byte {
|
||||
return file_island_island_msg_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_island_island_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
||||
var file_island_island_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
||||
var file_island_island_msg_proto_goTypes = []interface{}{
|
||||
(*IsLandInfoReq)(nil), // 0: IsLandInfoReq
|
||||
(*IsLandInfoResp)(nil), // 1: IsLandInfoResp
|
||||
@ -626,31 +819,36 @@ var file_island_island_msg_proto_goTypes = []interface{}{
|
||||
(*IsLandBattleResp)(nil), // 3: IsLandBattleResp
|
||||
(*IsLandCompleteReq)(nil), // 4: IsLandCompleteReq
|
||||
(*IsLandCompleteResp)(nil), // 5: IsLandCompleteResp
|
||||
(*IsLandUpgradeReq)(nil), // 6: IsLandUpgradeReq
|
||||
(*IsLandUpgradeResp)(nil), // 7: IsLandUpgradeResp
|
||||
(*IsLandReceiveReq)(nil), // 8: IsLandReceiveReq
|
||||
(*IsLandReceiveResp)(nil), // 9: IsLandReceiveResp
|
||||
(*DBIsland)(nil), // 10: DBIsland
|
||||
(*DBHero)(nil), // 11: DBHero
|
||||
(*BattleFormation)(nil), // 12: BattleFormation
|
||||
(*BattleInfo)(nil), // 13: BattleInfo
|
||||
(*BattleReport)(nil), // 14: BattleReport
|
||||
(*UserAtno)(nil), // 15: UserAtno
|
||||
(*IsLandRefresHeroShopReq)(nil), // 6: IsLandRefresHeroShopReq
|
||||
(*IsLandRefresHeroShopResp)(nil), // 7: IsLandRefresHeroShopResp
|
||||
(*IsLandBuyReq)(nil), // 8: IsLandBuyReq
|
||||
(*IsLandBuyResp)(nil), // 9: IsLandBuyResp
|
||||
(*IsLandUpgradeReq)(nil), // 10: IsLandUpgradeReq
|
||||
(*IsLandUpgradeResp)(nil), // 11: IsLandUpgradeResp
|
||||
(*IsLandReceiveReq)(nil), // 12: IsLandReceiveReq
|
||||
(*IsLandReceiveResp)(nil), // 13: IsLandReceiveResp
|
||||
(*DBIsland)(nil), // 14: DBIsland
|
||||
(*DBHero)(nil), // 15: DBHero
|
||||
(*BattleFormation)(nil), // 16: BattleFormation
|
||||
(*BattleInfo)(nil), // 17: BattleInfo
|
||||
(*BattleReport)(nil), // 18: BattleReport
|
||||
(*UserAtno)(nil), // 19: UserAtno
|
||||
}
|
||||
var file_island_island_msg_proto_depIdxs = []int32{
|
||||
10, // 0: IsLandInfoResp.info:type_name -> DBIsland
|
||||
11, // 1: IsLandInfoResp.heros:type_name -> DBHero
|
||||
12, // 2: IsLandBattleReq.battle:type_name -> BattleFormation
|
||||
13, // 3: IsLandBattleResp.info:type_name -> BattleInfo
|
||||
14, // 4: IsLandCompleteReq.report:type_name -> BattleReport
|
||||
15, // 5: IsLandCompleteResp.award:type_name -> UserAtno
|
||||
10, // 6: IsLandReceiveResp.info:type_name -> DBIsland
|
||||
15, // 7: IsLandReceiveResp.award:type_name -> UserAtno
|
||||
8, // [8:8] is the sub-list for method output_type
|
||||
8, // [8:8] is the sub-list for method input_type
|
||||
8, // [8:8] is the sub-list for extension type_name
|
||||
8, // [8:8] is the sub-list for extension extendee
|
||||
0, // [0:8] is the sub-list for field type_name
|
||||
14, // 0: IsLandInfoResp.info:type_name -> DBIsland
|
||||
15, // 1: IsLandInfoResp.heros:type_name -> DBHero
|
||||
16, // 2: IsLandBattleReq.battle:type_name -> BattleFormation
|
||||
17, // 3: IsLandBattleResp.info:type_name -> BattleInfo
|
||||
18, // 4: IsLandCompleteReq.report:type_name -> BattleReport
|
||||
19, // 5: IsLandCompleteResp.award:type_name -> UserAtno
|
||||
19, // 6: IsLandBuyResp.award:type_name -> UserAtno
|
||||
14, // 7: IsLandReceiveResp.info:type_name -> DBIsland
|
||||
19, // 8: IsLandReceiveResp.award:type_name -> UserAtno
|
||||
9, // [9:9] is the sub-list for method output_type
|
||||
9, // [9:9] is the sub-list for method input_type
|
||||
9, // [9:9] is the sub-list for extension type_name
|
||||
9, // [9:9] is the sub-list for extension extendee
|
||||
0, // [0:9] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_island_island_msg_proto_init() }
|
||||
@ -736,7 +934,7 @@ func file_island_island_msg_proto_init() {
|
||||
}
|
||||
}
|
||||
file_island_island_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*IsLandUpgradeReq); i {
|
||||
switch v := v.(*IsLandRefresHeroShopReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
@ -748,7 +946,7 @@ func file_island_island_msg_proto_init() {
|
||||
}
|
||||
}
|
||||
file_island_island_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*IsLandUpgradeResp); i {
|
||||
switch v := v.(*IsLandRefresHeroShopResp); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
@ -760,7 +958,7 @@ func file_island_island_msg_proto_init() {
|
||||
}
|
||||
}
|
||||
file_island_island_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*IsLandReceiveReq); i {
|
||||
switch v := v.(*IsLandBuyReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
@ -772,6 +970,54 @@ func file_island_island_msg_proto_init() {
|
||||
}
|
||||
}
|
||||
file_island_island_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*IsLandBuyResp); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_island_island_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*IsLandUpgradeReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_island_island_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*IsLandUpgradeResp); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_island_island_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*IsLandReceiveReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_island_island_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*IsLandReceiveResp); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@ -790,7 +1036,7 @@ func file_island_island_msg_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_island_island_msg_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 10,
|
||||
NumMessages: 14,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user