上传pb文件
This commit is contained in:
parent
ecc38d841e
commit
796bc6e2cf
@ -3358,7 +3358,11 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
|
|||||||
},
|
},
|
||||||
avatar: {
|
avatar: {
|
||||||
type: "string",
|
type: "string",
|
||||||
id: 12
|
id: 3
|
||||||
|
},
|
||||||
|
lv: {
|
||||||
|
type: "int32",
|
||||||
|
id: 4
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -3442,10 +3446,14 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
|
|||||||
type: "int32",
|
type: "int32",
|
||||||
id: 1
|
id: 1
|
||||||
},
|
},
|
||||||
|
buyNum: {
|
||||||
|
type: "int32",
|
||||||
|
id: 2
|
||||||
|
},
|
||||||
dfantasys: {
|
dfantasys: {
|
||||||
rule: "repeated",
|
rule: "repeated",
|
||||||
type: "DBMoonFantasy",
|
type: "DBMoonFantasy",
|
||||||
id: 2
|
id: 3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -4,7 +4,8 @@ option go_package = ".;pb";
|
|||||||
message UserInfo {
|
message UserInfo {
|
||||||
string uid = 1; //用户id
|
string uid = 1; //用户id
|
||||||
string name = 2; //昵称
|
string name = 2; //昵称
|
||||||
string avatar = 12; // 头像
|
string avatar = 3; // 头像
|
||||||
|
int32 lv = 4; //等级
|
||||||
}
|
}
|
||||||
|
|
||||||
//月之秘境
|
//月之秘境
|
||||||
|
@ -4,22 +4,16 @@ import "errorcode.proto";
|
|||||||
import "moonfantasy_db.proto";
|
import "moonfantasy_db.proto";
|
||||||
import "battle_msg.proto";
|
import "battle_msg.proto";
|
||||||
|
|
||||||
//获取装备列表请求
|
//获取秘境列表请求
|
||||||
message MoonfantasyGetListReq {}
|
message MoonfantasyGetListReq {}
|
||||||
//获取装备列表请求 回应
|
//获取秘境列表请求 回应
|
||||||
message MoonfantasyGetListResp {
|
message MoonfantasyGetListResp {
|
||||||
int32 battleNum = 1;
|
int32 battleNum = 1; //剩余挑战次数
|
||||||
repeated DBMoonFantasy dfantasys = 2; //秘境列表
|
int32 buyNum = 2; //已购买次数
|
||||||
|
repeated DBMoonFantasy dfantasys = 3; //秘境列表
|
||||||
}
|
}
|
||||||
|
|
||||||
// ///触发秘境
|
///推送触发秘境
|
||||||
// message MoonfantasyTriggerReq {
|
|
||||||
// string avatar = 1; //用户头像
|
|
||||||
// string uname = 2; //用户名
|
|
||||||
// int32 ulv = 3; //用户等级
|
|
||||||
// }
|
|
||||||
|
|
||||||
///触发秘境
|
|
||||||
message MoonfantasyTriggerPush {
|
message MoonfantasyTriggerPush {
|
||||||
bool issucc = 1; //是否成功
|
bool issucc = 1; //是否成功
|
||||||
string mid = 2; //唯一id //挑战时需要传递的数据
|
string mid = 2; //唯一id //挑战时需要传递的数据
|
||||||
|
Loading…
Reference in New Issue
Block a user