Files
flatbuffers-bigfoot/tests/MyGame/Example/Any.php
2016-05-26 15:26:58 +02:00

26 lines
481 B
PHP

<?php
// automatically generated by the FlatBuffers compiler, do not modify
namespace MyGame\Example;
class Any
{
const NONE = 0;
const Monster = 1;
const TestSimpleTableWithEnum = 2;
private static $names = array(
"NONE",
"Monster",
"TestSimpleTableWithEnum",
);
public static function Name($e)
{
if (!isset(self::$names[$e])) {
throw new \Exception();
}
return self::$names[$e];
}
}