MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / SendMultiUpdate

Method SendMultiUpdate

Descent3/levelgoal.cpp:305–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303}
304
305void lgoal::SendMultiUpdate(int handle) {
306 ASSERT(Game_mode & GM_MULTI && Netgame.local_role == LR_SERVER);
307
308 msafe_struct mstruct;
309
310 mstruct.index = handle;
311 GetName(mstruct.message, MSAFE_MESSAGE_LENGTH);
312 mstruct.type = m_flags;
313 mstruct.count = m_priority;
314
315 msafe_CallFunction(MSAFE_MISC_LEVELGOAL, &mstruct);
316}
317
318bool lgoal::SetCompletionMessage(char *message) {
319 if (!message)

Callers

nothing calls this directly

Calls 1

msafe_CallFunctionFunction · 0.85

Tested by

no test coverage detected