Lines Matching refs:fbb_
335 flatbuffers::FlatBufferBuilder &fbb_;
338 fbb_.AddStruct(Monster::VT_POS, pos);
341 fbb_.AddElement<int16_t>(Monster::VT_MANA, mana, 150);
344 fbb_.AddElement<int16_t>(Monster::VT_HP, hp, 100);
347 fbb_.AddOffset(Monster::VT_NAME, name);
350 fbb_.AddOffset(Monster::VT_INVENTORY, inventory);
353 fbb_.AddElement<int8_t>(Monster::VT_COLOR, static_cast<int8_t>(color), 2);
356 fbb_.AddOffset(Monster::VT_WEAPONS, weapons);
359 fbb_.AddElement<uint8_t>(Monster::VT_EQUIPPED_TYPE, static_cast<uint8_t>(equipped_type), 0);
362 fbb_.AddOffset(Monster::VT_EQUIPPED, equipped);
365 : fbb_(_fbb) {
366 start_ = fbb_.StartTable();
370 const auto end = fbb_.EndTable(start_);
478 flatbuffers::FlatBufferBuilder &fbb_;
481 fbb_.AddOffset(Weapon::VT_NAME, name);
484 fbb_.AddElement<int16_t>(Weapon::VT_DAMAGE, damage, 0);
487 : fbb_(_fbb) {
488 start_ = fbb_.StartTable();
492 const auto end = fbb_.EndTable(start_);