wildfire chat server source initial submit

This commit is contained in:
heavyrain2012
2019-03-16 17:04:23 +08:00
parent e59217bd10
commit cab3ca0916
1466 changed files with 528862 additions and 15919 deletions
+43
View File
@@ -0,0 +1,43 @@
/*eslint-disable block-scoped-var, no-redeclare, no-control-regex, no-prototype-builtins*/
"use strict";
var $protobuf = require("protobufjs");
var $root = ($protobuf.roots.split || ($protobuf.roots.split = new $protobuf.Root()))
.setOptions({
"(foo)": "bar"
})
.addJSON({
com: {
nested: {
Outer: {
fields: {
inner: {
type: "Inner",
id: 1
},
other: {
type: "Other",
id: 2
}
},
nested: {
Inner: {
fields: {}
}
}
},
Other: {
fields: {
"var": {
rule: "required",
type: "uint32",
id: 1
}
}
}
}
}
});
module.exports = $root;