Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/CoreMisc.h |
| Include | #include "Misc/CoreMisc.h" |
bool IsRunningClientOnly()
Remarks
Check to see if this executable was launched as a client only game process that should not load server data. This will be true for packaged builds with a Client target type which will define WITH_SERVER_CODE=0. An editor build can be launched with -clientonly to set this to true, but it will be false during single process PlayInEditor mode. This function should not be used for gameplay or networking purposes, check for NM_Client instead.