2018-11-01 19:51:25 +00:00
|
|
|
<?php
|
|
|
|
// automatically generated by the FlatBuffers compiler, do not modify
|
|
|
|
|
|
|
|
namespace MyGame\Example;
|
|
|
|
|
|
|
|
class AnyUniqueAliases
|
|
|
|
{
|
|
|
|
const NONE = 0;
|
|
|
|
const M = 1;
|
2019-05-30 23:02:57 +00:00
|
|
|
const TS = 2;
|
2018-11-01 19:51:25 +00:00
|
|
|
const M2 = 3;
|
|
|
|
|
|
|
|
private static $names = array(
|
2019-02-04 22:33:57 +00:00
|
|
|
AnyUniqueAliases::NONE=>"NONE",
|
|
|
|
AnyUniqueAliases::M=>"M",
|
2019-05-30 23:02:57 +00:00
|
|
|
AnyUniqueAliases::TS=>"TS",
|
2019-02-04 22:33:57 +00:00
|
|
|
AnyUniqueAliases::M2=>"M2",
|
2018-11-01 19:51:25 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
public static function Name($e)
|
|
|
|
{
|
|
|
|
if (!isset(self::$names[$e])) {
|
|
|
|
throw new \Exception();
|
|
|
|
}
|
|
|
|
return self::$names[$e];
|
|
|
|
}
|
|
|
|
}
|