Created
November 21, 2014 03:36
-
-
Save y12studio/c8daa97826feb04f2787 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package y12.tw; | |
| // v4 | |
| message Y12Meta { | |
| enum Type { | |
| COMMON = 1; | |
| COMMON_ARRAY = 11; | |
| FILE_EXIST = 21; | |
| ASSET_GENESIS = 31; | |
| ASSET_TRANSCATION = 32; | |
| } | |
| message Common { | |
| optional string valueString = 1; | |
| optional int32 valueInt32 = 2; | |
| optional bytes valueBytes = 3; | |
| } | |
| message CommonArray { | |
| repeated string arrString = 1 [packed=true]; | |
| repeated int32 arrInt32 = 2 [packed=true]; | |
| repeated bytes arrBytes = 3 [packed=true]; | |
| } | |
| message FileExist { | |
| required bytes hash = 1; | |
| optional string title = 2; | |
| optional int32 size = 3; | |
| } | |
| message AssetGenesis { | |
| required string name = 1; | |
| required string domain = 2; | |
| required int32 qty = 3; | |
| } | |
| message AssetTranscation { | |
| required string number = 1; | |
| } | |
| required Type type = 1; | |
| optional Common common = 2; | |
| optional CommonArray commonArray = 3; | |
| optional FileExist fileExist = 4; | |
| optional AssetGenesis assetGenesis = 5; | |
| optional AssetTranscation assetTranscation = 6; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment