上传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: {
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",
id: 1
},
buyNum: {
type: "int32",
id: 2
},
dfantasys: {
rule: "repeated",
type: "DBMoonFantasy",
id: 2
id: 3
}
}
},

View File

@ -2,9 +2,10 @@ syntax = "proto3";
option go_package = ".;pb";
message UserInfo {
string uid = 1; //id
string name = 2; //
string avatar = 12; //
string uid = 1; //id
string name = 2; //
string avatar = 3; //
int32 lv = 4; //
}
//

View File

@ -4,22 +4,16 @@ import "errorcode.proto";
import "moonfantasy_db.proto";
import "battle_msg.proto";
//
//
message MoonfantasyGetListReq {}
//
//
message MoonfantasyGetListResp {
int32 battleNum = 1;
repeated DBMoonFantasy dfantasys = 2; //
int32 battleNum = 1; //
int32 buyNum = 2; //
repeated DBMoonFantasy dfantasys = 3; //
}
// ///
// message MoonfantasyTriggerReq {
// string avatar = 1; //
// string uname = 2; //
// int32 ulv = 3; //
// }
///
///
message MoonfantasyTriggerPush {
bool issucc = 1; //
string mid = 2; //id //