Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

README.md

CocosProtoBuf

This demo is based on Cocos2d-JS v3.10 && Protocol Buffer v2.5.0.

A related book is here on GitBook.

Folder Structure

Demo (cpp/java/python/js)

  • Create Instance
  • Serialize to String
  • Serialize to File
  • Parse from String
  • Parse from File
  • Dump GameInfo Instance
  • Relection Dump Message
  • Relection Generate Message
  • Load Proto
  • Encode / Decode / js
  • Excel .xls to ProtoBuf .bin / Python

Protobuf-2.5.0

Generated libs

CocosProtobuf

Using Protobuf with Cocos2d-JS in JSBinding

  • Send Data from C++
  • Receive Data from C++
  • Send Data from javascript
  • Receive Data from javascript

About

Cocos2d-JS v3.10 && Protocol Buffer v2.5.0 solution.

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.