Searched refs:equipped_type (Results 1 – 8 of 8) sorted by relevance
/external/flatbuffers/samples/ |
D | monster_generated.rs | 250 builder.add_equipped_type(args.equipped_type); in create() 294 pub fn equipped_type(&'a self) -> Equipment { in equipped_type() method 304 if self.equipped_type() == Equipment::Weapon { in equipped_as_weapon() 321 pub equipped_type: Equipment, field 335 equipped_type: Equipment::NONE, in default() 374 pub fn add_equipped_type(&mut self, equipped_type: Equipment) { in add_equipped_type() 375 self.fbb_.push_slot::<Equipment>(Monster::VT_EQUIPPED_TYPE, equipped_type, Equipment::NONE); in add_equipped_type()
|
D | sample_binary.rs | 83 equipped_type: Equipment::Weapon, in main() 142 assert_eq!(monster.equipped_type(), Equipment::Weapon); in main()
|
D | monster_generated.h | 319 MyGame::Sample::Equipment equipped_type() const { 327 …return equipped_type() == MyGame::Sample::Equipment_Weapon ? static_cast<const MyGame::Sample::Wea… 353 VerifyEquipment(verifier, equipped(), equipped_type()) && 392 void add_equipped_type(MyGame::Sample::Equipment equipped_type) { 393 fbb_.AddElement<uint8_t>(Monster::VT_EQUIPPED_TYPE, static_cast<uint8_t>(equipped_type), 0); 422 MyGame::Sample::Equipment equipped_type = MyGame::Sample::Equipment_NONE, 434 builder_.add_equipped_type(equipped_type); 448 MyGame::Sample::Equipment equipped_type = MyGame::Sample::Equipment_NONE, 464 equipped_type, 586 { auto _e = equipped_type(); _o->equipped.type = _e; } [all …]
|
D | monster_generated.lobster | 56 def equipped_type(): 93 def add_equipped_type(equipped_type:Equipment): 94 b_.PrependUint8Slot(8, equipped_type, 0)
|
D | monsterdata.json | 19 equipped_type: "Weapon",
|
D | sample_binary.cpp | 97 assert(monster->equipped_type() == Equipment_Weapon); in main()
|
D | sample_binary.lobster | 92 assert monster.equipped_type() == MyGame_Sample_Equipment_Weapon
|
/external/flatbuffers/docs/source/ |
D | Tutorial.md | 1693 equipped_type: Equipment::Weapon, 2945 auto union_type = monster.equipped_type(); 3099 union_type = monster.equipped_type 3116 if monster.equipped_type() == Equipment::Weapon { 3305 equipped_type: "Weapon",
|