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 IsRunningGame()
Remarks
Check to see if this executable was launched as a game (not editor or dedicated server) process. This is true for both client only and client/server packaged games, call IsRunningClientOnly to differentiate. An editor build can be launched with -game 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 the NetMode instead.