You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
561 B
28 lines
561 B
<?php
|
|
// automatically generated by the FlatBuffers compiler, do not modify
|
|
|
|
namespace MyGame\Example;
|
|
|
|
class AnyUniqueAliases
|
|
{
|
|
const NONE = 0;
|
|
const M = 1;
|
|
const TS = 2;
|
|
const M2 = 3;
|
|
|
|
private static $names = array(
|
|
AnyUniqueAliases::NONE=>"NONE",
|
|
AnyUniqueAliases::M=>"M",
|
|
AnyUniqueAliases::TS=>"TS",
|
|
AnyUniqueAliases::M2=>"M2",
|
|
);
|
|
|
|
public static function Name($e)
|
|
{
|
|
if (!isset(self::$names[$e])) {
|
|
throw new \Exception();
|
|
}
|
|
return self::$names[$e];
|
|
}
|
|
}
|