2
0

dlc-schema.js 680 B

1234567891011121314151617181920212223242526272829
  1. var $root = flatbuffers.get('dlc');
  2. $root.dlc = $root.dlc || {};
  3. $root.dlc.NetDefinition = class NetDefinition {
  4. static decode(/* reader, position */) {
  5. const $ = new $root.dlc.NetDefinition();
  6. return $;
  7. }
  8. };
  9. $root.dlc.NetParameter = class NetParameter {
  10. static decode(reader, position) {
  11. const $ = new $root.dlc.NetParameter();
  12. $.params = reader.tableArray(position, 4, $root.dlc.Parameter.decode);
  13. return $;
  14. }
  15. };
  16. $root.dlc.Parameter = class Parameter {
  17. static decode(reader, position) {
  18. const $ = new $root.dlc.Parameter();
  19. $.name = reader.string_(position, 4, null);
  20. return $;
  21. }
  22. };