修改protocol导入路径

This commit is contained in:
sk 2024-07-09 19:00:30 +08:00
parent d29c485c87
commit 463117de96
8 changed files with 3403 additions and 3384 deletions

File diff suppressed because it is too large Load Diff

View File

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

View File

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

View File

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

@ -1 +1 @@
Subproject commit 7fba2cfaa48724a929e7b393ec9951b6bee61545
Subproject commit 1869e4641809a14e9e5d025e303bdb56350a801c

View File

@ -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 ..
)