Home
last modified time | relevance | path

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

/external/flatbuffers/samples/
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()
Dsample_binary.rs83 equipped_type: Equipment::Weapon, in main()
142 assert_eq!(monster.equipped_type(), Equipment::Weapon); in main()
Dmonster_generated.h319 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 …]
Dmonster_generated.lobster56 def equipped_type():
93 def add_equipped_type(equipped_type:Equipment):
94 b_.PrependUint8Slot(8, equipped_type, 0)
Dmonsterdata.json19 equipped_type: "Weapon",
Dsample_binary.cpp97 assert(monster->equipped_type() == Equipment_Weapon); in main()
Dsample_binary.lobster92 assert monster.equipped_type() == MyGame_Sample_Equipment_Weapon
/external/flatbuffers/docs/source/
DTutorial.md1693 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",