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