9 Star 25 Fork 26

liyonghelpme / protobufferUnity

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
log
Loading...
README.md

#protobufferUnity

1:src 目录是 protobuffer csharp port 修改后的代码, 用于ios 上面使用

2:Google.ProtocolBuffersLite.dll 是编译的ios 上可用的 dll

3:build.bat 是编译生成 协议dll 的脚本

4:cs 目录下面是 根据protos 目录 中协议 生成的cs 协议代码

cs 目录的 AssemblyInfo.cs

UpdateSln.py

protoDll.csproj

new.csproj

是一个 cs 工程,执行 UpdateSln.py 之后 编译 new.csproj 可以生成协议的dll 文件, 需要mono 环境的支持,只在 mac上面测试过

5:windows 下需要安装

mono 4.2 最高版本

将Mono安装路径bin目录加入到环境变量 Path中

安装gitbash 在gitbash中执行 python build.py

这两个文件是符号链接:

protoc2.exe 替换掉 protoc.exe

src/ProtoGen/bin/Debug/ProtoGen.exe 替换掉目录里面的 ProtoGen.exe

Repository Comments ( 3 )

Sign in for post a comment

About

protobuffer for unity 自动生成 协议 unity 可以使用的库 expand collapse
C# and 3 more languages
Cancel

Releases

No release

protobufferUnity

Contributors

All

Activities

Load More
can not load any more
C#
1
https://git.oschina.net/liyonghelpme/protobufferUnity.git
git@git.oschina.net:liyonghelpme/protobufferUnity.git
liyonghelpme
protobufferUnity
protobufferUnity
master

Search