forked from BigfootDev/flatbuffers
* Fix 64-bit default numeric enum values in typescript If you had a default value that wasn't a valid enum value (e.g., a zero if you used a bit_flag setting, like you get with AdvancedFeatures in reflection.fbs), we weren't using BigInt. * Run generate_code.py * [DART] Handle deprecated fields & invalid enum defaults * Update .NET test
19 lines
362 B
Lua
19 lines
362 B
Lua
--[[ MyGame.Example.LongEnum
|
|
|
|
Automatically generated by the FlatBuffers compiler, do not modify.
|
|
Or modify. I'm a message, not a cop.
|
|
|
|
flatc version: 2.0.6
|
|
|
|
Declared by : //monster_test.fbs
|
|
Rooting type : MyGame.Example.Monster (//monster_test.fbs)
|
|
|
|
--]]
|
|
|
|
local LongEnum = {
|
|
LongOne = 2,
|
|
LongTwo = 4,
|
|
LongBig = 1099511627776,
|
|
}
|
|
|
|
return LongEnum |