MCPcopy Create free account
hub / github.com/diasurgical/devilution / NetSendCmdQuest

Function NetSendCmdQuest

Source/msg.cpp:734–747  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

732}
733
734void NetSendCmdQuest(BOOL bHiPri, BYTE q)
735{
736 TCmdQuest cmd;
737
738 cmd.q = q;
739 cmd.bCmd = CMD_SYNCQUEST;
740 cmd.qstate = quests[q]._qactive;
741 cmd.qlog = quests[q]._qlog;
742 cmd.qvar1 = quests[q]._qvar1;
743 if (bHiPri)
744 NetSendHiPri((BYTE *)&cmd, sizeof(cmd));
745 else
746 NetSendLoPri((BYTE *)&cmd, sizeof(cmd));
747}
748
749void NetSendCmdGItem(BOOL bHiPri, BYTE bCmd, BYTE mast, BYTE pnum, BYTE ii)
750{

Callers 5

CheckQuestsFunction · 0.85
CheckQuestKillFunction · 0.85
ResyncMPQuestsFunction · 0.85
M_DiabloDeathFunction · 0.85
TalkToTownerFunction · 0.85

Calls 2

NetSendHiPriFunction · 0.85
NetSendLoPriFunction · 0.85

Tested by

no test coverage detected