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

Method check_for_quick_inspect

src/core/controller.cpp:875–902  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

873 _flags["want_remove"] = true;
874 in_flags.at(0).get() = false;
875 } else {
876 // TODO
877 }
878 return true;
879 } else if (component == "spell_menu") {
880
881 // Flags = &_ui->modalspell->show
882 if (selection == (static_cast<int>(items.size()) - 1)) {
883 _flags["want_spell"] = true;
884 in_flags.at(0).get() = false;
885 } else {
886 // TODO
887 }
888 return true;
889 } else if (component == "drop_menu") {
890
891 // Flags = &_ui->modal_drop->show
892 if (selection == (static_cast<int>(items.size()) - 1)) {
893 _flags["want_drop"] = true;
894 in_flags.at(0).get() = false;
895 } else {
896 }
897 return true;
898 } else if (component == "trade_menu") {
899
900 // Flags = &_ui->modal_trade->show, &_ui->modal_give->show
901 if (selection == (static_cast<int>(items.size()) - 1)) {
902 _flags["want_trade"] = true;
903 _flags["want_give"] = true;
904 in_flags.at(0).get() = false;
905 } else {

Callers

nothing calls this directly

Calls 1

get_party_sizeMethod · 0.80

Tested by

no test coverage detected