...
1#[ MyGame.OtherNameSpace.Unused
2 Automatically generated by the FlatBuffers compiler, do not modify.
3 Or modify. I'm a message, not a cop.
4
5 flatc version: 23.5.26
6
7 Declared by :
8 Rooting type : MyGame.Example.Monster ()
9]#
10
11import flatbuffers
12
13type Unused* = object of FlatObj
14func a*(self: Unused): int32 =
15 return Get[int32](self.tab, self.tab.Pos + 0)
16func `a=`*(self: var Unused, n: int32): bool =
17 return self.tab.Mutate(self.tab.Pos + 0, n)
18proc UnusedCreate*(self: var Builder, a: int32): uoffset =
19 self.Prep(4, 4)
20 self.Prepend(a)
21 return self.Offset()
View as plain text