blob: accb0d781b930a14dd22b35dc3f7e76429f3291e [file] [log] [blame]
--[[ MyGame.Example2.Monster
Automatically generated by the FlatBuffers compiler, do not modify.
Or modify. I'm a message, not a cop.
flatc version: 23.5.9
Declared by : //monster_test.fbs
Rooting type : MyGame.Example.Monster (//monster_test.fbs)
--]]
local flatbuffers = require('flatbuffers')
local Monster = {}
local mt = {}
function Monster.New()
local o = {}
setmetatable(o, {__index = mt})
return o
end
function mt:Init(buf, pos)
self.view = flatbuffers.view.New(buf, pos)
end
function Monster.Start(builder)
builder:StartObject(0)
end
function Monster.End(builder)
return builder:EndObject()
end
return Monster