Searched refs:equipped_type (Results 1 – 8 of 8) sorted by relevance
/external/flatbuffers/samples/ |
D | monster_generated.h | 291 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 …]
|
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 | monster_generated.lobster | 57 def equipped_type(): 92 def MonsterAddEquippedType(b_:flatbuffers_builder, equipped_type:int): 93 b_.PrependUint8Slot(8, equipped_type, 0)
|
D | sample_binary.rs | 83 equipped_type: Equipment::Weapon, in main() 142 assert_eq!(monster.equipped_type(), Equipment::Weapon); in main()
|
D | monsterdata.json | 19 equipped_type: "Weapon",
|
D | sample_binary.cpp | 97 assert(monster->equipped_type() == Equipment_Weapon); in main()
|
D | sample_binary.lobster | 90 assert monster.equipped_type() == MyGame_Sample_Equipment_Weapon
|
/external/flatbuffers/docs/source/ |
D | Tutorial.md | 1532 equipped_type: Equipment::Weapon, 2615 auto union_type = monster.equipped_type(); 2756 union_type = monster.equipped_type 2773 if monster.equipped_type() == Equipment::Weapon {
|