You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
770 B
22 lines
770 B
set OUTPATH=..\..\out
|
|
IF NOT EXIST %OUTPATH% MD %OUTPATH%
|
|
.\protoc\protoc.exe .\GameCs.proto .\GameSs.proto --csharp_out=%OUTPATH%
|
|
|
|
set OUTPATH=..\..\server\ServerComm\protocol
|
|
set RUNTIME_WIN=win10-x64
|
|
IF NOT EXIST %OUTPATH% MD %OUTPATH%
|
|
.\%RUNTIME_WIN%\protocsstruct.exe .\GameCs.proto .\GameSs.proto --csharp_out=%OUTPATH%
|
|
del %OUTPATH%\*_class.cs
|
|
|
|
set OUTPATH=..\..\server\ServerComm\protocol_class
|
|
IF NOT EXIST %OUTPATH% MD %OUTPATH%
|
|
.\%RUNTIME_WIN%\protocsstruct.exe .\GameCs.proto .\GameSs.proto --genclasscfg=.\GenClassConfig --namespace=ProtoCSClass --csharp_out=%OUTPATH% -cna
|
|
del %OUTPATH%\*_struct.cs
|
|
del %OUTPATH%\FixedRepeatedStruct.cs
|
|
del %OUTPATH%\GameSs_enum.cs
|
|
|
|
python gen_ServerScriptHotfixCheck.py
|
|
|
|
.\struct2class.bat
|
|
|
|
if not "%1" == "nopause" pause
|