...
1#[ MyGame.Example.StructOfStructsOfStructs
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 StructOfStructs as MyGame_Example_StructOfStructs
12import flatbuffers
13
14type StructOfStructsOfStructs* = object of FlatObj
15func a*(self: StructOfStructsOfStructs): MyGame_Example_StructOfStructs.StructOfStructs =
16 return MyGame_Example_StructOfStructs.StructOfStructs(tab: Vtable(Bytes: self.tab.Bytes, Pos: self.tab.Pos + 0))
17proc StructOfStructsOfStructsCreate*(self: var Builder, a_a_id: uint32, a_a_distance: uint32, a_b_a: int16, a_b_b: int8, a_c_id: uint32, a_c_distance: uint32): uoffset =
18 self.Prep(4, 20)
19 self.Prep(4, 20)
20 self.Prep(4, 8)
21 self.Prepend(a_c_distance)
22 self.Prepend(a_c_id)
23 self.Prep(2, 4)
24 self.Pad(1)
25 self.Prepend(a_b_b)
26 self.Prepend(a_b_a)
27 self.Prep(4, 8)
28 self.Prepend(a_a_distance)
29 self.Prepend(a_a_id)
30 return self.Offset()
View as plain text