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

Method Done

engine/Poseidon/Network/NetworkServer.cpp:456–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454 // transfer kicks the client. Applies to dedicated and self-hosted servers alike,
455 // mirroring the original OFP Flashpoint.cfg "MaxCustomFileSize" key. 0 blocks all.
456 MaxCustomFileSize = Poseidon::NetworkMaxCustomFileSizeFromCfg(cfg, MaxCustomFileSize);
457
458 _server = InitServer(port, password, cfg);
459 return _server != nullptr;
460}
461
462NetworkServer::~NetworkServer()
463{
464 RemoveSystemMessages();
465
466 if (IsDedicatedServer())
467 {

Callers

nothing calls this directly

Calls 2

DeleteDirectoryStructureFunction · 0.85
GetServerTmpDirFunction · 0.85

Tested by

no test coverage detected