Home
last modified time | relevance | path

Searched refs:equipped_type (Results 1 – 8 of 8) sorted by relevance

/external/flatbuffers/samples/
Dmonster_generated.h291 Equipment equipped_type() const {
302 return equipped_type() == Equipment_Weapon ? static_cast<const Weapon *>(equipped()) : nullptr;
322 VerifyEquipment(verifier, equipped(), equipped_type()) &&
358 void add_equipped_type(Equipment equipped_type) {
359 fbb_.AddElement<uint8_t>(Monster::VT_EQUIPPED_TYPE, static_cast<uint8_t>(equipped_type), 0);
385 Equipment equipped_type = Equipment_NONE,
395 builder_.add_equipped_type(equipped_type);
409 Equipment equipped_type = Equipment_NONE,
423 equipped_type,
537 { auto _e = equipped_type(); _o->equipped.type = _e; };
[all …]
Dmonster_generated.rs250 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()
Dmonster_generated.lobster57 def equipped_type():
92 def MonsterAddEquippedType(b_:flatbuffers_builder, equipped_type:int):
93 b_.PrependUint8Slot(8, equipped_type, 0)
Dsample_binary.rs83 equipped_type: Equipment::Weapon, in main()
142 assert_eq!(monster.equipped_type(), Equipment::Weapon); in main()
Dmonsterdata.json19 equipped_type: "Weapon",
Dsample_binary.cpp97 assert(monster->equipped_type() == Equipment_Weapon); in main()
Dsample_binary.lobster90 assert monster.equipped_type() == MyGame_Sample_Equipment_Weapon
/external/flatbuffers/docs/source/
DTutorial.md1532 equipped_type: Equipment::Weapon,
2615 auto union_type = monster.equipped_type();
2756 union_type = monster.equipped_type
2773 if monster.equipped_type() == Equipment::Weapon {