You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
702 B
36 lines
702 B
--[[ MyGame.InParentNamespace
|
|
|
|
Automatically generated by the FlatBuffers compiler, do not modify.
|
|
Or modify. I'm a message, not a cop.
|
|
|
|
flatc version: 2.0.7
|
|
|
|
Declared by : //monster_test.fbs
|
|
Rooting type : MyGame.Example.Monster (//monster_test.fbs)
|
|
|
|
--]]
|
|
|
|
local flatbuffers = require('flatbuffers')
|
|
|
|
local InParentNamespace = {}
|
|
local mt = {}
|
|
|
|
function InParentNamespace.New()
|
|
local o = {}
|
|
setmetatable(o, {__index = mt})
|
|
return o
|
|
end
|
|
|
|
function mt:Init(buf, pos)
|
|
self.view = flatbuffers.view.New(buf, pos)
|
|
end
|
|
|
|
function InParentNamespace.Start(builder)
|
|
builder:StartObject(0)
|
|
end
|
|
|
|
function InParentNamespace.End(builder)
|
|
return builder:EndObject()
|
|
end
|
|
|
|
return InParentNamespace |