上传pb文件

This commit is contained in:
liwei1dao 2022-10-13 18:29:19 +08:00
parent ecc38d841e
commit 796bc6e2cf
3 changed files with 20 additions and 17 deletions

View File

@ -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
} }
} }
}, },

View File

@ -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; //
} }
// //

View File

@ -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 //