mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-03 18:57:51 +00:00
For schema enums with the bit_flags attribute, generate the corresponding System.FlagsAttribute in generated Csharp code.
17 lines
232 B
C#
17 lines
232 B
C#
// <auto-generated>
|
|
// automatically generated by the FlatBuffers compiler, do not modify
|
|
// </auto-generated>
|
|
|
|
namespace MyGame.Example
|
|
{
|
|
|
|
[System.FlagsAttribute]
|
|
public enum Color : byte
|
|
{
|
|
Red = 1,
|
|
Green = 2,
|
|
Blue = 8,
|
|
};
|
|
|
|
|
|
}
|