1<?php
2// automatically generated by the FlatBuffers compiler, do not modify
3
4class Character
5{
6    const NONE = 0;
7    const MuLan = 1;
8    const Rapunzel = 2;
9    const Belle = 3;
10    const BookFan = 4;
11    const Other = 5;
12    const Unused = 6;
13
14    private static $names = array(
15        "NONE",
16        "MuLan",
17        "Rapunzel",
18        "Belle",
19        "BookFan",
20        "Other",
21        "Unused",
22    );
23
24    public static function Name($e)
25    {
26        if (!isset(self::$names[$e])) {
27            throw new \Exception();
28        }
29        return self::$names[$e];
30    }
31}
32