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

Function NetSendCmdString

Source/msg.cpp:3117–3124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3115}
3116
3117void NetSendCmdString(uint32_t pmask, const char *pszStr)
3118{
3119 TCmdString cmd;
3120
3121 cmd.bCmd = CMD_STRING;
3122 CopyUtf8(cmd.str, pszStr, sizeof(cmd.str));
3123 multi_send_msg_packet(pmask, (byte *)&cmd, strlen(cmd.str) + 2);
3124}
3125
3126void delta_close_portal(int pnum)
3127{

Callers 2

ResetTalkMsgFunction · 0.85
DiabloHotkeyMsgFunction · 0.85

Calls 2

CopyUtf8Function · 0.85
multi_send_msg_packetFunction · 0.85

Tested by

no test coverage detected