| 1 |
<?php |
| 2 |
|
| 3 |
|
| 4 |
namespace MyGame; |
| 5 |
|
| 6 |
use \Google\FlatBuffers\Struct; |
| 7 |
use \Google\FlatBuffers\Table; |
| 8 |
use \Google\FlatBuffers\ByteBuffer; |
| 9 |
use \Google\FlatBuffers\FlatBufferBuilder; |
| 10 |
|
| 11 |
class InParentNamespace extends Table |
| 12 |
{ |
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
public static function getRootAsInParentNamespace(ByteBuffer $bb) |
| 18 |
{ |
| 19 |
$obj = new InParentNamespace(); |
| 20 |
return ($obj->init($bb->getInt($bb->getPosition()) + $bb->getPosition(), $bb)); |
| 21 |
} |
| 22 |
|
| 23 |
public static function InParentNamespaceIdentifier() |
| 24 |
{ |
| 25 |
return "MONS"; |
| 26 |
} |
| 27 |
|
| 28 |
public static function InParentNamespaceBufferHasIdentifier(ByteBuffer $buf) |
| 29 |
{ |
| 30 |
return self::__has_identifier($buf, self::InParentNamespaceIdentifier()); |
| 31 |
} |
| 32 |
|
| 33 |
public static function InParentNamespaceExtension() |
| 34 |
{ |
| 35 |
return "mon"; |
| 36 |
} |
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
public function init($_i, ByteBuffer $_bb) |
| 44 |
{ |
| 45 |
$this->bb_pos = $_i; |
| 46 |
$this->bb = $_bb; |
| 47 |
return $this; |
| 48 |
} |
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
public static function startInParentNamespace(FlatBufferBuilder $builder) |
| 55 |
{ |
| 56 |
$builder->StartObject(0); |
| 57 |
} |
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
|
| 63 |
public static function createInParentNamespace(FlatBufferBuilder $builder, ) |
| 64 |
{ |
| 65 |
$builder->startObject(0); |
| 66 |
$o = $builder->endObject(); |
| 67 |
return $o; |
| 68 |
} |
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
|
| 73 |
|
| 74 |
public static function endInParentNamespace(FlatBufferBuilder $builder) |
| 75 |
{ |
| 76 |
$o = $builder->endObject(); |
| 77 |
return $o; |
| 78 |
} |
| 79 |
} |