MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / SendUnban

Method SendUnban

engine/Poseidon/Network/NetworkClientActions.cpp:1137–1143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1135 NetworkCommandMessage msg;
1136 msg.type = NCMTBan;
1137 msg.content.Write(&player, sizeof(int));
1138 SendMsg(&msg, NMFGuaranteed);
1139}
1140
1141void NetworkClient::SendUnban(const char* idOrIp)
1142{
1143 NetworkCommandMessage msg;
1144 msg.type = NCMTUnban;
1145 msg.content.WriteString(idOrIp);
1146 SendMsg(&msg, NMFGuaranteed);

Callers

nothing calls this directly

Calls 1

WriteStringMethod · 0.80

Tested by

no test coverage detected