Added missing generated code.

Change-Id: I7201d6891f56094178656a76bf0f87cf36d12554
This commit is contained in:
Wouter van Oortmerssen
2017-08-11 09:28:06 -07:00
parent 46bb05d952
commit ffddbdc7ab
7 changed files with 2 additions and 21 deletions

View File

@@ -1,8 +1,6 @@
<?php <?php
// automatically generated by the FlatBuffers compiler, do not modify // automatically generated by the FlatBuffers compiler, do not modify
namespace ;
use \Google\FlatBuffers\Struct; use \Google\FlatBuffers\Struct;
use \Google\FlatBuffers\Table; use \Google\FlatBuffers\Table;
use \Google\FlatBuffers\ByteBuffer; use \Google\FlatBuffers\ByteBuffer;

View File

@@ -1,8 +1,6 @@
<?php <?php
// automatically generated by the FlatBuffers compiler, do not modify // automatically generated by the FlatBuffers compiler, do not modify
namespace ;
use \Google\FlatBuffers\Struct; use \Google\FlatBuffers\Struct;
use \Google\FlatBuffers\Table; use \Google\FlatBuffers\Table;
use \Google\FlatBuffers\ByteBuffer; use \Google\FlatBuffers\ByteBuffer;

View File

@@ -1,8 +1,6 @@
<?php <?php
// automatically generated by the FlatBuffers compiler, do not modify // automatically generated by the FlatBuffers compiler, do not modify
namespace ;
class Character class Character
{ {
const NONE = 0; const NONE = 0;

View File

@@ -1,8 +1,6 @@
<?php <?php
// automatically generated by the FlatBuffers compiler, do not modify // automatically generated by the FlatBuffers compiler, do not modify
namespace ;
use \Google\FlatBuffers\Struct; use \Google\FlatBuffers\Struct;
use \Google\FlatBuffers\Table; use \Google\FlatBuffers\Table;
use \Google\FlatBuffers\ByteBuffer; use \Google\FlatBuffers\ByteBuffer;

View File

@@ -1,8 +1,6 @@
<?php <?php
// automatically generated by the FlatBuffers compiler, do not modify // automatically generated by the FlatBuffers compiler, do not modify
namespace ;
use \Google\FlatBuffers\Struct; use \Google\FlatBuffers\Struct;
use \Google\FlatBuffers\Table; use \Google\FlatBuffers\Table;
use \Google\FlatBuffers\ByteBuffer; use \Google\FlatBuffers\ByteBuffer;

View File

@@ -318,7 +318,7 @@ Movie.prototype.charactersTypeArray = function() {
* @param {flatbuffers.Table=} obj * @param {flatbuffers.Table=} obj
* @returns {?flatbuffers.Table} * @returns {?flatbuffers.Table}
*/ */
Movie.prototype.characters = function(index) { Movie.prototype.characters = function(index, obj) {
var offset = this.bb.__offset(this.bb_pos, 10); var offset = this.bb.__offset(this.bb_pos, 10);
return offset ? this.bb.__union(obj, this.bb.__vector(this.bb_pos + offset) + index * 4) : null; return offset ? this.bb.__union(obj, this.bb.__vector(this.bb_pos + offset) + index * 4) : null;
}; };

View File

@@ -3,7 +3,6 @@
/** /**
* @enum * @enum
*/ */
export namespace {
export enum Character{ export enum Character{
NONE= 0, NONE= 0,
MuLan= 1, MuLan= 1,
@@ -12,12 +11,11 @@ export enum Character{
BookFan= 4, BookFan= 4,
Other= 5, Other= 5,
Unused= 6 Unused= 6
}}; };
/** /**
* @constructor * @constructor
*/ */
export namespace {
export class Attacker { export class Attacker {
/** /**
* @type {flatbuffers.ByteBuffer} * @type {flatbuffers.ByteBuffer}
@@ -95,12 +93,10 @@ static endAttacker(builder:flatbuffers.Builder):flatbuffers.Offset {
return offset; return offset;
}; };
}
} }
/** /**
* @constructor * @constructor
*/ */
export namespace {
export class Rapunzel { export class Rapunzel {
/** /**
* @type {flatbuffers.ByteBuffer} * @type {flatbuffers.ByteBuffer}
@@ -155,12 +151,10 @@ static createRapunzel(builder:flatbuffers.Builder, hair_length: number):flatbuff
return builder.offset(); return builder.offset();
}; };
}
} }
/** /**
* @constructor * @constructor
*/ */
export namespace {
export class BookReader { export class BookReader {
/** /**
* @type {flatbuffers.ByteBuffer} * @type {flatbuffers.ByteBuffer}
@@ -215,12 +209,10 @@ static createBookReader(builder:flatbuffers.Builder, books_read: number):flatbuf
return builder.offset(); return builder.offset();
}; };
}
} }
/** /**
* @constructor * @constructor
*/ */
export namespace {
export class Movie { export class Movie {
/** /**
* @type {flatbuffers.ByteBuffer} * @type {flatbuffers.ByteBuffer}
@@ -433,4 +425,3 @@ static finishMovieBuffer(builder:flatbuffers.Builder, offset:flatbuffers.Offset)
}; };
} }
}