2022-05-24 02:23:37 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// Launch and inject specified dll based on launchmode
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
//enum class eLaunchMode : int
|
|
|
|
//{
|
|
|
|
// LM_NULL,
|
|
|
|
// LM_DEBUG_GAME, // Debug worker DLL.
|
|
|
|
// LM_RELEASE_GAME, // Release worker DLL.
|
|
|
|
// LM_DEBUG_DEDI, // Debug dedicated DLL.
|
|
|
|
// LM_RELEASE_DEDI // Release dedicated DLL.
|
|
|
|
//};
|
|
|
|
|
|
|
|
|
|
|
|
enum class eLaunchMode : int
|
|
|
|
{
|
2022-05-26 01:44:46 +02:00
|
|
|
LM_NONE = -1,
|
2022-05-24 02:23:37 +02:00
|
|
|
LM_HOST_DEBUG,
|
|
|
|
LM_HOST,
|
|
|
|
LM_SERVER_DEBUG,
|
|
|
|
LM_SERVER,
|
|
|
|
LM_CLIENT_DEBUG,
|
|
|
|
LM_CLIENT,
|
|
|
|
};
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// [TODO] Launch with FCVAR_DEVELOPMENTONLY and FCVAR_CHEATS disabled/enabled
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
enum class eLaunchState : int
|
|
|
|
{
|
|
|
|
LS_NULL,
|
|
|
|
LS_NOCHEATS, // Disabled cheats
|
|
|
|
LS_CHEATS, // Enable cheats
|
|
|
|
LS_DEBUG // Enable debug
|
|
|
|
};
|