tests/ts/my-game/example/color.ts
raw| 1 | // automatically generated by the FlatBuffers compiler, do not modify |
| 2 | |
| 3 | /* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */ |
| 4 | |
| 5 | /** |
| 6 | * Composite components of Monster color. |
| 7 | */ |
| 8 | export enum Color { |
| 9 | Red = 1, |
| 10 | |
| 11 | /** |
| 12 | * \brief color Green |
| 13 | * Green is bit_flag with value (1u << 1) |
| 14 | */ |
| 15 | Green = 2, |
| 16 | |
| 17 | /** |
| 18 | * \brief color Blue (1u << 3) |
| 19 | */ |
| 20 | Blue = 8 |
| 21 | } |