1-- automatically generated by the FlatBuffers compiler, do not modify 2 3-- namespace: MyGame 4 5local flatbuffers = require('flatbuffers') 6 7local InParentNamespace = {} -- the module 8local InParentNamespace_mt = {} -- the class metatable 9 10function InParentNamespace.New() 11 local o = {} 12 setmetatable(o, {__index = InParentNamespace_mt}) 13 return o 14end 15function InParentNamespace.GetRootAsInParentNamespace(buf, offset) 16 local n = flatbuffers.N.UOffsetT:Unpack(buf, offset) 17 local o = InParentNamespace.New() 18 o:Init(buf, n + offset) 19 return o 20end 21function InParentNamespace_mt:Init(buf, pos) 22 self.view = flatbuffers.view.New(buf, pos) 23end 24function InParentNamespace.Start(builder) builder:StartObject(0) end 25function InParentNamespace.End(builder) return builder:EndObject() end 26 27return InParentNamespace -- return the module