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

Function NetSendCmdString

Source/msg.cpp:962–971  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

960}
961
962void NetSendCmdString(int pmask, const char *pszStr)
963{
964 int dwStrLen;
965 TCmdString cmd;
966
967 dwStrLen = strlen(pszStr);
968 cmd.bCmd = CMD_STRING;
969 strcpy(cmd.str, pszStr);
970 multi_send_msg_packet(pmask, (BYTE *)&cmd.bCmd, dwStrLen + 2);
971}
972
973void RemovePlrPortal(int pnum)
974{

Callers 8

diablo_hotkey_msgFunction · 0.85
PressKeyFunction · 0.85
PressCharFunction · 0.85
control_reset_talk_msgFunction · 0.85
PrintDebugPlayerFunction · 0.85
PrintDebugQuestFunction · 0.85
PrintDebugMonsterFunction · 0.85
NextDebugMonsterFunction · 0.85

Calls 1

multi_send_msg_packetFunction · 0.85

Tested by

no test coverage detected