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

Method DestroyAllObjects

engine/Poseidon/Network/NetworkClientActions.cpp:757–767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

755 }
756
757 ChangeGameState gs(NGSBriefing);
758 SendMsg(&gs, NMFGuaranteed);
759}
760
761void NetworkClient::DestroyAllObjects()
762{
763 _localObjects.Clear();
764 _remoteObjects.Clear();
765 if (DiagLevel >= 1)
766 {
767 DiagLogF("Client: all objects destroyed");
768 }
769
770 // avoid id duplicity at next missions

Callers

nothing calls this directly

Calls 2

DiagLogFFunction · 0.85
ClearMethod · 0.45

Tested by

no test coverage detected