MCPcopy Create free account
hub / github.com/davemoore22/sorcery / get_flag_ref

Method get_flag_ref

src/core/controller.cpp:690–696  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

688 return !classes.at(
689 enum_cast<Enums::Character::Class>(selection + 1).value());
690 } else
691 return false;
692 } else if (component == "buy_menu") {
693
694 if (has_character(Enums::CharacterSlot::STORE)) {
695 const auto &who{
696 _game->characters.at(_characters[Enums::CharacterSlot::STORE])};
697 const auto gold{who.get_gold()};
698
699 // Data is the item type

Callers

nothing calls this directly

Calls 2

containsMethod · 0.80
atMethod · 0.45

Tested by

no test coverage detected