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

Method SelectMission

engine/Poseidon/Network/NetworkClientActions.cpp:1414–1426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1412 }
1413 break;
1414 }
1415 }
1416 break;
1417 }
1418 return true;
1419}
1420
1421void NetworkClient::SelectMission(RString mission, bool cadetMode)
1422{
1423 if (_gameMaster)
1424 {
1425 NetworkCommandMessage msg;
1426 msg.type = NCMTMission;
1427 msg.content.WriteString(mission);
1428 msg.content.Write(&cadetMode, sizeof(bool));
1429 SendMsg(&msg, NMFGuaranteed);

Callers

nothing calls this directly

Calls 2

WriteStringMethod · 0.80
WriteMethod · 0.45

Tested by

no test coverage detected