MCPcopy Create free account
hub / github.com/EasyRPG/Player / PushChoice

Method PushChoice

src/pending_message.cpp:58–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58int PendingMessage::PushChoice(std::string msg, bool enabled) {
59 assert(!HasNumberInput());
60 if (!HasChoices()) {
61 choice_start = NumLines();
62 }
63 choice_enabled[GetNumChoices()] = enabled;
64 return PushLineImpl(std::move(msg));
65}
66
67int PendingMessage::PushNumInput(int variable_id, int num_digits) {
68 assert(!HasChoices());

Callers 2

SetupChoicesMethod · 0.80
CommandShowInnMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected