blob: 3bfcca7072d4e776d104c86dd89d8a6adb102190 [file] [log] [blame]
Austin Schuhe89fa2d2019-08-14 20:24:23 -07001# automatically generated by the FlatBuffers compiler, do not modify
2
3# namespace: MyGame
4
5import flatbuffers
6
7class InParentNamespace(object):
8 __slots__ = ['_tab']
9
10 @classmethod
11 def GetRootAsInParentNamespace(cls, buf, offset):
12 n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
13 x = InParentNamespace()
14 x.Init(buf, n + offset)
15 return x
16
17 @classmethod
18 def InParentNamespaceBufferHasIdentifier(cls, buf, offset, size_prefixed=False):
19 return flatbuffers.util.BufferHasIdentifier(buf, offset, b"\x4D\x4F\x4E\x53", size_prefixed=size_prefixed)
20
21 # InParentNamespace
22 def Init(self, buf, pos):
23 self._tab = flatbuffers.table.Table(buf, pos)
24
25def InParentNamespaceStart(builder): builder.StartObject(0)
26def InParentNamespaceEnd(builder): return builder.EndObject()