Compare commits

...

2 Commits

Author SHA1 Message Date
sk bc679f529e 解决冲突 2024-07-09 19:05:29 +08:00
sk 463117de96 修改protocol导入路径 2024-07-09 19:00:30 +08:00
8 changed files with 3479 additions and 3461 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@ syntax = "proto3";
package player; package player;
option go_package = "mongo.games.com/game/protocol/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 { 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; map<int32, int64> Items = 17;
repeated int32 MatchParams = 18;// repeated int32 MatchParams = 18;//
map<int32, int64> RankScore = 19;// 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; package webapi;
option go_package = "mongo.games.com/game/protocol/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 cd %%s
for %%b in (,*.proto) do ( for %%b in (,*.proto) do (
rem echo %%b 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 .. cd ..
) )