◆ GameModeSetupConfig()
void GameModeSetupConfig.GameModeSetupConfig |
( |
| ) |
|
◆ GenerateMissionHeader()
bool GameModeSetupConfig.GenerateMissionHeader |
( |
string |
templatePath, |
|
|
out string |
dialogMessage |
|
) |
| |
Create mission header file for the world from a template.
- Parameters
-
[in] | templatePath | Config file of type GameModeSetupConfig where the template is configured |
[out] | dialogMessage | Message show in the dialog window |
- Returns
- True if the mission header file was created
◆ GenerateWorld()
bool GameModeSetupConfig.GenerateWorld |
( |
out string |
dialogMessage | ) |
|
Create game mode prefabs in the world.
- Parameters
-
[out] | dialogMessage | Message show in the dialog window |
- Returns
- True if all entities were created
◆ GetWorldEntityTypes()
set< TypeName > GameModeSetupConfig.GetWorldEntityTypes |
( |
| ) |
|
|
protected |
◆ Init()
void GameModeSetupConfig.Init |
( |
| ) |
|
◆ ValidateMissionHeader()
bool GameModeSetupConfig.ValidateMissionHeader |
( |
out string |
dialogMessage | ) |
|
Check if mission header for the world exists.
- Parameters
-
[out] | dialogMessage | Message show in the dialog window |
- Returns
- True if the mission header exists
◆ ValidateWorld()
bool GameModeSetupConfig.ValidateWorld |
( |
out string |
dialogMessage, |
|
|
out bool |
canAutogenerate |
|
) |
| |
Scan all World Editor entities and check if the required ones are present.
- Parameters
-
[out] | dialogMessage | Message show in the dialog window |
[out] | canAutogenerate | True if the wizard can continue to auto-generation of entities |
- Returns
- True if all required entities are present
◆ DESCRIPTION_ENTITY_MISSING
const string GameModeSetupConfig.DESCRIPTION_ENTITY_MISSING = " ❌ %1\n" |
|
staticprotected |
◆ DESCRIPTION_ENTITY_PRESENT
const string GameModeSetupConfig.DESCRIPTION_ENTITY_PRESENT = " ✅ %1\n" |
|
staticprotected |
◆ DESCRIPTION_GENERATION_ENTITY
const string GameModeSetupConfig.DESCRIPTION_GENERATION_ENTITY = " ❗ %1: %2\n" |
|
staticprotected |
◆ DESCRIPTION_GENERATION_MORE_STEPS_1
const string GameModeSetupConfig.DESCRIPTION_GENERATION_MORE_STEPS_1 = "\nSome entities need to be manually configured or replaced by more specialized prefabs:\n" |
|
staticprotected |
◆ DESCRIPTION_GENERATION_MORE_STEPS_2
const string GameModeSetupConfig.DESCRIPTION_GENERATION_MORE_STEPS_2 = "\nEach has a comment attached explaining necessary steps, so you can return to them later.\n" |
|
staticprotected |
◆ DESCRIPTION_MISSION_HEADER_EXISTS
const string GameModeSetupConfig.DESCRIPTION_MISSION_HEADER_EXISTS = "✅ Mission header config at '%1' is configured correctly.\n" |
|
staticprotected |
◆ DESCRIPTION_VALIDATION_MISSING_ENTITIES
const string GameModeSetupConfig.DESCRIPTION_VALIDATION_MISSING_ENTITIES = "\n⛔ Missing Entities\nOne or more required entity types are missing, listed below.\nThese can be generated automatically in the next step.\n" |
|
staticprotected |
◆ DESCRIPTION_VALIDATION_NO_SUBSCENE
const string GameModeSetupConfig.DESCRIPTION_VALIDATION_NO_SUBSCENE = "\n⛔ Missing Subscene\nYou are attempting to add the game mode to the root world.\nPlease create a subscene for it instead, while leaving the root world intact.\nThat will allow others to create their own subscenes with different game modes.\n" |
|
staticprotected |
◆ DESCRIPTION_VALIDATION_PRESENT_ENTITIES
const string GameModeSetupConfig.DESCRIPTION_VALIDATION_PRESENT_ENTITIES = "\nPresent entity types:\n (NOT USED)" |
|
staticprotected |
◆ DESCRIPTION_VALIDATION_SUCCESS
const string GameModeSetupConfig.DESCRIPTION_VALIDATION_SUCCESS = "\n✅ The world is configured correctly." |
|
staticprotected |
◆ DESCRIPTION_VALIDATION_WRONG_GAME_MODE
const string GameModeSetupConfig.DESCRIPTION_VALIDATION_WRONG_GAME_MODE = "\n⛔ Incompatible Game Mode\nThe scan found existing game mode of type %1.\nThat's incompatible with the expected type %2.\nThere can be only one game mode in the world, so if you wish to continue,\nyou have to manually remove the existing one. The plugin cannot automate this process.\n" |
|
staticprotected |
◆ m_aRequiredTypes
◆ m_GameModeType
TypeName GameModeSetupConfig.m_GameModeType |
|
protected |
◆ m_iLongestTypeLength
int GameModeSetupConfig.m_iLongestTypeLength |
|
protected |
◆ m_MissionHeader
◆ m_Prefabs
◆ m_sFileSystem
string GameModeSetupConfig.m_sFileSystem |
|
protected |
◆ m_sWorldPath
string GameModeSetupConfig.m_sWorldPath |
|
protected |
◆ SCENARIOS_PATH
const string GameModeSetupConfig.SCENARIOS_PATH = "Missions" |
|
staticprotected |
The documentation for this interface was generated from the following file:
- WorkbenchGame/WorldEditor/GameModeSetup/GameModeSetupConfig.c