protobuf文件的编译命令
终端命令:
+---------------------------Java---------------------------------------+
D:\ServerWork\MyGame\protobuf>protoc.exe --java_out=./ Player.proto
+------------------------------------------------------------------+
+---------------------------C#---------------------------------------+
protogen -i:test.proto -0:test.cs -ns:MyProtoBuf
-i指定了输入,-o指定了输出,-ns指定了生成代码的namespace
D:\Game Server\Protobuf\ProtoGen>protogen -i:Person.proto -o:Person.cs -ns:Packets
+------------------------------------------------------------------+
查找和Kill进程
终端命令:
+---------------------------查找进程---------------------------------------+
C:\Users\liulongling>netstat -ano|findstr 8888
+------------------------------------------------------------------+
+---------------------------杀死进程---------------------------------------+
taskkill -PID 10024 -F
+------------------------------------------------------------------+