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.
 
 
 
 
 
 

10 lines
424 B

python GenClassCfg.py
set RUNTIME_WIN=win10-x64
set OUTPATH=..\..\client\client\Assets\Protocol
IF NOT EXIST %OUTPATH% MD %OUTPATH%
.\%RUNTIME_WIN%\protocsstruct.exe ..\protocol\GameCs.proto ..\protocol\GameSs.proto --genclasscfg=.\GenClassConfig --namespace=ProtoCSClass --csharp_out=%OUTPATH% -cna
del %OUTPATH%\*_struct.cs
del %OUTPATH%\FixedRepeatedStruct.cs
del %OUTPATH%\GameSs_enum.cs
if not "%1" == "nopause" pause