修改protocol导入路径
This commit is contained in:
parent
d29c485c87
commit
463117de96
File diff suppressed because it is too large
Load Diff
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||
package player;
|
||||
option go_package = "mongo.games.com/game/protocol/player";
|
||||
|
||||
import "mongo.games.com/game/protocol/server/pbdata.proto";
|
||||
import "protocol/server/pbdata.proto";
|
||||
|
||||
//操作结果
|
||||
enum OpResultCode {
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -225,6 +225,8 @@ message WGPlayerEnter {
|
|||
map<int32, int64> Items = 17;
|
||||
repeated int32 MatchParams = 18;//比赛参数
|
||||
map<int32, int64> RankScore = 19;// 排位积分
|
||||
int64 Recharge = 20; // 充值总金额
|
||||
int64 VCardCost = 21; // v卡消耗数量
|
||||
}
|
||||
|
||||
//从观众席坐到座位
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||
package webapi;
|
||||
option go_package = "mongo.games.com/game/protocol/webapi";
|
||||
|
||||
import "mongo.games.com/game/protocol/server/pbdata.proto";
|
||||
import "protocol/server/pbdata.proto";
|
||||
/*
|
||||
这个文件保存公共结构
|
||||
*/
|
||||
|
|
2
public
2
public
|
@ -1 +1 @@
|
|||
Subproject commit 7fba2cfaa48724a929e7b393ec9951b6bee61545
|
||||
Subproject commit 1869e4641809a14e9e5d025e303bdb56350a801c
|
|
@ -9,7 +9,7 @@ for /d %%s in (,*) do (
|
|||
cd %%s
|
||||
for %%b in (,*.proto) do (
|
||||
rem echo %%b
|
||||
%protoc% --proto_path=%GOPATH%\src --proto_path=. --plugin=protoc-gen-go=%protoc-gen-go-plugin-path% --go_out=%GOPATH%\src %%b
|
||||
%protoc% --proto_path=%GOPATH%\src\mongo.games.com\game --proto_path=. --plugin=protoc-gen-go=%protoc-gen-go-plugin-path% --go_out=%GOPATH%\src %%b
|
||||
)
|
||||
cd ..
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue