Lines Matching refs:fbb_
253 flatbuffers::FlatBufferBuilder &fbb_;
256 fbb_.AddStruct(Monster::VT_POS, pos);
259 fbb_.AddElement<int16_t>(Monster::VT_MANA, mana, 150);
262 fbb_.AddElement<int16_t>(Monster::VT_HP, hp, 100);
265 fbb_.AddOffset(Monster::VT_NAME, name);
268 fbb_.AddOffset(Monster::VT_INVENTORY, inventory);
271 fbb_.AddElement<int8_t>(Monster::VT_COLOR, static_cast<int8_t>(color), 2);
274 fbb_.AddOffset(Monster::VT_WEAPONS, weapons);
277 fbb_.AddElement<uint8_t>(Monster::VT_EQUIPPED_TYPE, static_cast<uint8_t>(equipped_type), 0);
280 fbb_.AddOffset(Monster::VT_EQUIPPED, equipped);
283 : fbb_(_fbb) {
284 start_ = fbb_.StartTable();
288 const auto end = fbb_.EndTable(start_, 10);
384 flatbuffers::FlatBufferBuilder &fbb_;
387 fbb_.AddOffset(Weapon::VT_NAME, name);
390 fbb_.AddElement<int16_t>(Weapon::VT_DAMAGE, damage, 0);
393 : fbb_(_fbb) {
394 start_ = fbb_.StartTable();
398 const auto end = fbb_.EndTable(start_, 2);