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

Method SetPendingMessage

src/game_message.cpp:136–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136void Game_Message::SetPendingMessage(PendingMessage&& pm) {
137 if (window) {
138 // This flag has no known use, but RPG_RT sets it whenever an event message command
139 // spawns a message. We replicate it for save game compatibility.
140 Main_Data::game_system->SetMessageEventMessageActive(pm.IsEventMessage());
141
142 window->StartMessageProcessing(std::move(pm));
143 }
144}
145
146bool Game_Message::IsMessagePending() {
147 return window ? window->IsMessagePending() : false;

Callers

nothing calls this directly

Calls 3

IsEventMessageMethod · 0.80

Tested by

no test coverage detected