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

Method OnFinishPage

src/window_message.cpp:199–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199void Window_Message::OnFinishPage() {
200 DebugLog("{}: FINISH PAGE");
201
202 if (pending_message.GetNumChoices() > 0) {
203 StartChoiceProcessing();
204 } else if (pending_message.HasNumberInput()) {
205 StartNumberInputProcessing();
206 } else if (!kill_page) {
207 DebugLog("{}: SET PAUSE");
208 SetPause(true);
209 }
210
211 line_count = 0;
212 kill_page = false;
213 line_char_counter = 0;
214}
215
216void Window_Message::StartChoiceProcessing() {
217 SetIndex(0);

Callers

nothing calls this directly

Calls 3

GetNumChoicesMethod · 0.80
HasNumberInputMethod · 0.80
DebugLogFunction · 0.70

Tested by

no test coverage detected