Home
last modified time | relevance | path

Searched refs:structOfStructs (Results 1 – 2 of 2) sorted by relevance

/external/flatbuffers/tests/MyGame/Example/
DStructOfStructs.py67 structOfStructs = StructOfStructs()
68 structOfStructs.Init(buf, pos)
69 return cls.InitFromObj(structOfStructs)
72 def InitFromObj(cls, structOfStructs): argument
74 x._UnPack(structOfStructs)
78 def _UnPack(self, structOfStructs): argument
79 if structOfStructs is None:
81 if structOfStructs.A(MyGame.Example.Ability.Ability()) is not None:
82 …self.a = MyGame.Example.Ability.AbilityT.InitFromObj(structOfStructs.A(MyGame.Example.Ability.Abil…
83 if structOfStructs.B(MyGame.Example.Test.Test()) is not None:
[all …]
/external/flatbuffers/tests/
Dmonster_test_generated.py520 structOfStructs = StructOfStructs()
521 structOfStructs.Init(buf, pos)
522 return cls.InitFromObj(structOfStructs)
525 def InitFromObj(cls, structOfStructs): argument
527 x._UnPack(structOfStructs)
531 def _UnPack(self, structOfStructs): argument
532 if structOfStructs is None:
534 if structOfStructs.A(Ability()) is not None:
535 self.a = AbilityT.InitFromObj(structOfStructs.A(Ability()))
536 if structOfStructs.B(Test()) is not None:
[all …]