PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
PluginConfigHandler Class Reference

Private Member Functions

protected CfgParamArray GetNewCfgParamArray (array< ref CfgParam > params)
 
protected CfgParamBool GetNewCfgParamBool (bool value)
 
protected CfgParamFloat GetNewCfgParamFloat (float value)
 
protected CfgParamInt GetNewCfgParamInt (int value)
 
protected CfgParamString GetNewCfgParamString (string value)
 
protected CfgParamArray SetArray (string key, array< ref CfgParam > params)
 
protected array< ref CfgParamGetArray (string key)
 
protected CfgParamBool SetBool (string key, bool value)
 
protected bool GetBool (string key)
 
protected CfgParamFloat SetFloat (string key, float value)
 
protected float GetFloat (string key)
 
protected CfgParamInt SetInt (string key, int value)
 
protected int GetInt (string key)
 
protected CfgParamString SetString (string key, string value)
 
protected string GetString (string key)
 
protected void GetSubParametersInStringArray (string setting_name, string sub_param_name, out TStringArray arr)
 
void PluginConfigDebugProfile ()
 
array< ref CfgParamGetDefaultBatchRectParams ()
 
array< ref CfgParamGetDefaultCameraPresetsParams ()
 
array< ref CfgParamGetDefaultWeatherPresetsParams ()
 
override void OnInit ()
 
protected void LoadCameraPresets ()
 
protected void LoadWeatherPresets ()
 
void AddCameraPreset (string name, float focusDistance, float focusLength, float focusLengthNear, float blur, float focusDepthOffset)
 
void RemoveCameraPreset (string name)
 
void AddWeatherPreset (string name, float overcast, float rain, float snow, float fog, float windM, float windD, float volFogDD, float volFogHD, float volFogHB)
 
void RemoveWeatherPreset (string name)
 
override string GetFileName ()
 
override string GetSubFolderName ()
 
bool GetSceneEditorDrawSelection ()
 
void SetSceneEditorDrawSelection (bool value)
 
bool GetSceneEditorLoadPlayerPos ()
 
void SetSceneEditorLoadPlayerPos (bool value)
 
int GetSceneEditorRotationAngle ()
 
void SetSceneEditorRotationAngle (int value)
 
int GetTabSelected ()
 
void SetTabSelected (int value)
 
int GetSpawnLocIndex ()
 
void SetSpawnLocIndex (int value)
 
int GetFilterOrderReversed ()
 
void SetFilterOrderReversed (bool reversed)
 
string GetDefaultPreset ()
 
void SetDefaultPreset (string value)
 
array< ref CfgParamGetBatchSpawnRectangle ()
 
void SetBatchSpawnRectangle (int row, int column, float rowStep, float columnStep)
 
int GetBatchSpawnQuantity ()
 
void SetBatchSpawnQuantity (int value)
 
string GetItemSearch ()
 
void SetItemSearch (string value)
 
float GetSpawnDistance ()
 
void SetSpawnDistance (float value)
 
bool GetLogsEnabled ()
 
void SetLogsEnabled (bool value)
 
bool GetCharacterLevelsVisible ()
 
void SetCharacterLevelsVisible (bool is_visible)
 
void SetItemDebugPos (vector pos)
 
vector GetItemDebugPos ()
 
bool GetCharacterStatsVisible ()
 
void SetCharacterStatsVisible (bool is_visible)
 
bool GetCharacterModifiersVisible ()
 
void SetCharacterModifiersVisible (bool is_visible)
 
bool GetCharacterAgentsVisible ()
 
void SetCharacterAgentsVisible (bool is_visible)
 
bool GetCharacterDebugVisible ()
 
void SetCharacterDebugVisible (bool is_visible)
 
bool GetCharacterStomachVisible ()
 
void SetCharacterStomachVisible (bool is_visible)
 
bool GetFreeCameraCrosshairVisible ()
 
void SetFreeCameraCrosshairVisible (bool is_visible)
 
bool GetVersionVisible ()
 
void SetVersionVisible (bool is_visible)
 
bool GetMergeType ()
 
void SetMergeType (bool is_visible)
 
string GetSoundsetFilter ()
 
void SetSoundsetFilter (string content)
 
bool GetTempVisible ()
 
void SetTempVisible (bool is_visible)
 
bool GetHealthVisible ()
 
void SetHealthVisible (bool is_visible)
 
bool GetHorticultureVisible ()
 
void SetHorticultureVisible (bool is_visible)
 
bool GetShowItemPreview ()
 
void SetShowItemPreview (bool show)
 
int GetConfigClassesFlag ()
 
void SetConfigClassesFlag (int flag)
 
int GetItemCategoryFlag ()
 
void SetItemCategoryFlag (int flag)
 
bool CustomLocationsAdd (string name, vector position)
 
void CustomLocationsRemove (string name)
 
array< ref ScriptConsoleCameraDOFPresetGetCameraPresets ()
 
array< ref ScriptConsoleWeatherPresetGetWeatherPresets ()
 
TStringArray GetPresets ()
 
protected void SetPreset (string preset_name, int index=-1)
 
protected void RemovePreset (string preset_name)
 
bool GetPresetItems (string preset_name, out TStringArray arr, string param_name="")
 
bool PresetAdd (string preset_name)
 
bool PresetRemove (string preset_name)
 
bool PresetRename (string old_preset_name, string new_preset_name)
 
bool ItemAddToPreset (string preset_name, string item_name)
 
bool ItemRemoveFromPreset (string preset_name, int item_index)
 
bool SwapItem (string preset_name, int item1_index, int item2_index)
 
protected array< ref CfgParamGetItemParams (string preset_name, int item_index)
 
protected CfgParam GetItemParam (string preset_name, int item_index, string param_name)
 
float GetItemHealth (string preset_name, int item_index)
 
bool SetItemHealth (string preset_name, int item_index, float health)
 
int GetItemQuantity (string preset_name, int item_index)
 
bool SetItemQuantity (string preset_name, int item_index, int quantity)
 
bool GetItemWithPhysics (string preset_name, int item_index)
 
bool SetItemWithPhysics (string preset_name, int item_index, bool with_physics)
 
void GetLocationsData (out array< ref LocationParams > arr, bool isCustom)
 
protected CfgParamInt GetNewCfgParamInt (int value)
 
protected CfgParamInt SetInt (string key, int value)
 
protected int GetInt (string key)
 
void PluginConfigEmotesProfile ()
 
override string GetFileName ()
 
int GetEmoteSlot1 ()
 
void SetEmoteSlot1 (int emoted_id)
 
int GetEmoteSlot2 ()
 
void SetEmoteSlot2 (int emoted_id)
 
int GetEmoteSlot3 ()
 
void SetEmoteSlot3 (int emoted_id)
 
int GetEmoteSlot4 ()
 
void SetEmoteSlot4 (int emoted_id)
 
int GetEmoteSlot5 ()
 
void SetEmoteSlot5 (int emoted_id)
 
int GetEmoteSlot6 ()
 
void SetEmoteSlot6 (int emoted_id)
 
int GetEmoteSlot7 ()
 
void SetEmoteSlot7 (int emoted_id)
 
int GetEmoteSlot8 ()
 
void SetEmoteSlot8 (int emoted_id)
 
int GetEmoteSlot9 ()
 
void SetEmoteSlot9 (int emoted_id)
 
int GetEmoteSlot10 ()
 
void SetEmoteSlot10 (int emoted_id)
 
int GetEmoteSlot11 ()
 
void SetEmoteSlot11 (int emoted_id)
 
int GetEmoteFromSlot (string slot)
 
override void OnInit ()
 
string GetPathScenes ()
 
override string GetFileName ()
 
void SceneRename (string scene_name, string scene_name_new)
 
void SceneDelete (string scene_name)
 
void SceneDuplicate (string scene_name)
 
TStringArray GetSceneList ()
 
string EncodeInitScript (string script)
 
string DecodeInitScript (string script)
 
void SceneDataSave (SceneData scene)
 
void SaveSceneSettings (SceneData scene)
 
void SaveSceneWeather (SceneData scene)
 
void SaveScenePlayer (SceneData scene)
 
void SaveSceneObjects (SceneData scene)
 
SceneData SceneDataLoad (string scene_name)
 
void LoadSceneSettings (SceneData scene)
 
void LoadSceneWeather (SceneData scene)
 
void LoadScenePlayer (SceneData scene)
 
void LoadSceneObjects (SceneData scene)
 
override void OnInit ()
 
override string GetFileName ()
 
string GetSceneEditorName ()
 
void SetSceneEditorName (string value)
 

Static Private Member Functions

static PluginConfigDebugProfile GetInstance ()
 
static PluginConfigEmotesProfile GetInstance ()
 
static PluginMissionConfig GetInstance ()
 

Private Attributes

protected const string SCENE_DRAW_SELECTION = "scene_editor_draw_selection"
 
protected const string SCENE_LOAD_PLAYER_POS = "scene_editor_load_player_pos"
 
protected const string SCENE_ROTATION_ANGLE = "scene_editor_rotation_angle"
 
protected const string ITEM_TAB_SELECTED = "console_TabSelected"
 
protected const string PRESET_LIST = "console_presets"
 
protected const string PRESET_DEFAULT = "console_preset_default"
 
protected const string ITEM_SEARCH = "console_ItemSearch"
 
protected const string SPAWN_DISTANCE = "console_SpawnDistance"
 
protected const string CHAR_STATS_VIS = "console_character_stats_visible"
 
protected const string CHAR_LEVELS_VIS = "console_character_levels_visible"
 
protected const string CHAR_MODIFIERS_VIS = "console_character_modifiers_visible"
 
protected const string CHAR_AGENTS_VIS = "console_character_agents_visible"
 
protected const string CHAR_DEBUG_VIS = "console_character_debug_visible"
 
protected const string CHAR_STOMACH_VIS = "console_character_stomach_visible"
 
protected const string FREE_CAMERA_CROSSHAIR = "console_free_camera_crosshair_visible"
 
protected const string VERSION_VIS = "console_version_visible"
 
protected const string MERGE_TYPE = "category_merge_type"
 
protected const string TEMP_VIS = "console_temperature_visible"
 
protected const string HEALTH_VIS = "console_health_visible"
 
protected const string HORTICULTURE_VIS = "console_horticulture_visible"
 
protected const string SUB_PARAM_ITEM = "item"
 
protected const string SUB_PARAM_ITEM_NAME = "name"
 
protected const string SUB_PARAM_ITEM_HEALTH = "health"
 
protected const string SUB_PARAM_ITEM_QUANTITY = "quantity"
 
protected const string SUB_PARAM_ITEM_WITH_PHYSICS = "with_physics"
 
protected const string LOGS_ENABLED = "logs_enabled"
 
protected const string CONFIG_CLASSES_FLAG = "toggled_config_classes_flag"
 
protected const string ITEM_CATEGORY_FLAG = "toggled_item_categories_flag"
 
protected const string ITEM_PREVIEW = "show_item_preview"
 
protected const string BATCH_RECT = "batch_spawn_rect"
 
protected const string BATCH_QUANT = "batch_spawn_quantity"
 
protected const string SOUNDFILTER = "soundset_editbox"
 
protected const string ITEMDEBUG = "item_debug"
 
protected const string SPAWN_LOC_INDEX = "spawn_loc_index"
 
protected const string FILTER_REVERSED = "filter_order_reversed"
 
protected const string CAMERA_PRESETS_LIST = "camera_presets"
 
protected const string WEATHER_PRESETS_LIST = "weather_presets"
 
protected ref map< string, ref CfgParamm_DefaultValues
 
protected ref TStringArray m_PresetList
 
protected const string POSITION_NAME_ROOT = "console_positions_"
 
protected ref array< ref ScriptConsoleCameraDOFPresetm_CameraPresets
 
protected ref array< ref ScriptConsoleWeatherPresetm_WeatherPresets
 
protected string FILE_ROOT = "$saves:"
 
protected const string FILE_ROOT_SCENES = "scenes"
 
protected const string PARAM_MISSION = "Mission"
 
protected const string PARAM_TIME = "InitTime"
 
protected const string PARAM_YEAR = "InitYear"
 
protected const string PARAM_MONTH = "InitMonth"
 
protected const string PARAM_DAY = "InitDay"
 
protected const string PARAM_HOUR = "InitHour"
 
protected const string PARAM_MINUTE = "InitMinute"
 
protected const string PARAM_OVERCAST = "WeatherInitOvercast"
 
protected const string PARAM_RAIN = "WeatherInitRain"
 
protected const string PARAM_FOG = "WeatherInitFog"
 
protected const string PARAM_WIND_F = "WeatherInitWindForce"
 
protected const string PARAM_PLAYER = "Player"
 
protected const string PARAM_OBJ_COUNT = "SceneObjectsCount"
 
protected const string PARAM_OBJ_NAME = "SceneObject"
 
protected const string PARAM_OBJ_ATT = "Att"
 
protected const string PARAM_OBJ_LNK = "Lnk"
 
protected const string PARAM_OBJ_TYPE = "type"
 
protected const string PARAM_OBJ_POS = "position"
 
protected const string PARAM_OBJ_ROT = "rotation"
 
protected const string PARAM_OBJ_DMG = "damage"
 
protected const string PARAM_OBJ_HLT = "health"
 
protected const string PARAM_OBJ_ISCR = "init_script"
 
TStringArray m_CfgTemplate
 
protected string m_FileSceneName
 
protected const string FILE_NAME = "scene_editor.cfg"
 
protected const string SCENE_EDITOR_SCENE = "scene_load"
 

Member Function Documentation

◆ AddCameraPreset()

void AddCameraPreset ( string  name,
float  focusDistance,
float  focusLength,
float  focusLengthNear,
float  blur,
float  focusDepthOffset 
)
inlineprivate

References CFG_TYPE_STRING, and name.

◆ AddWeatherPreset()

void AddWeatherPreset ( string  name,
float  overcast,
float  rain,
float  snow,
float  fog,
float  windM,
float  windD,
float  volFogDD,
float  volFogHD,
float  volFogHB 
)
inlineprivate

◆ CustomLocationsAdd()

bool CustomLocationsAdd ( string  name,
vector  position 
)
inlineprivate

◆ CustomLocationsRemove()

void CustomLocationsRemove ( string  name)
inlineprivate

References g_Game, name, and string::ToLower().

◆ DecodeInitScript()

string DecodeInitScript ( string  script)
inlineprivate

References string::Replace().

Referenced by LoadSceneObjects(), and LoadScenePlayer().

◆ EncodeInitScript()

string EncodeInitScript ( string  script)
inlineprivate

References string::Replace().

Referenced by SaveSceneObjects(), and SaveScenePlayer().

◆ GetArray()

protected array< ref CfgParam > GetArray ( string  key)
inlineprivate

References CFG_TYPE_ARRAY.

◆ GetBatchSpawnQuantity()

int GetBatchSpawnQuantity ( )
inlineprivate

References GetInt().

◆ GetBatchSpawnRectangle()

array< ref CfgParam > GetBatchSpawnRectangle ( )
inlineprivate

◆ GetBool()

protected bool GetBool ( string  key)
inlineprivate

References CFG_TYPE_BOOL.

◆ GetCameraPresets()

array< ref ScriptConsoleCameraDOFPreset > GetCameraPresets ( )
inlineprivate

◆ GetCharacterAgentsVisible()

bool GetCharacterAgentsVisible ( )
inlineprivate

◆ GetCharacterDebugVisible()

bool GetCharacterDebugVisible ( )
inlineprivate

◆ GetCharacterLevelsVisible()

bool GetCharacterLevelsVisible ( )
inlineprivate

◆ GetCharacterModifiersVisible()

bool GetCharacterModifiersVisible ( )
inlineprivate

◆ GetCharacterStatsVisible()

bool GetCharacterStatsVisible ( )
inlineprivate

◆ GetCharacterStomachVisible()

bool GetCharacterStomachVisible ( )
inlineprivate

◆ GetConfigClassesFlag()

int GetConfigClassesFlag ( )
inlineprivate

References GetInt().

◆ GetDefaultBatchRectParams()

array< ref CfgParam > GetDefaultBatchRectParams ( )
inlineprivate

◆ GetDefaultCameraPresetsParams()

array< ref CfgParam > GetDefaultCameraPresetsParams ( )
inlineprivate

◆ GetDefaultPreset()

string GetDefaultPreset ( )
inlineprivate

◆ GetDefaultWeatherPresetsParams()

array< ref CfgParam > GetDefaultWeatherPresetsParams ( )
inlineprivate

◆ GetEmoteFromSlot()

int GetEmoteFromSlot ( string  slot)
inlineprivate

References GetInt().

◆ GetEmoteSlot1()

int GetEmoteSlot1 ( )
inlineprivate

References GetInt().

◆ GetEmoteSlot10()

int GetEmoteSlot10 ( )
inlineprivate

References GetInt().

◆ GetEmoteSlot11()

int GetEmoteSlot11 ( )
inlineprivate

References GetInt().

◆ GetEmoteSlot2()

int GetEmoteSlot2 ( )
inlineprivate

References GetInt().

◆ GetEmoteSlot3()

int GetEmoteSlot3 ( )
inlineprivate

References GetInt().

◆ GetEmoteSlot4()

int GetEmoteSlot4 ( )
inlineprivate

References GetInt().

◆ GetEmoteSlot5()

int GetEmoteSlot5 ( )
inlineprivate

References GetInt().

◆ GetEmoteSlot6()

int GetEmoteSlot6 ( )
inlineprivate

References GetInt().

◆ GetEmoteSlot7()

int GetEmoteSlot7 ( )
inlineprivate

References GetInt().

◆ GetEmoteSlot8()

int GetEmoteSlot8 ( )
inlineprivate

References GetInt().

◆ GetEmoteSlot9()

int GetEmoteSlot9 ( )
inlineprivate

References GetInt().

◆ GetFileName() [1/4]

override string GetFileName ( )
inlineprivate

◆ GetFileName() [2/4]

override string GetFileName ( )
inlineprivate

◆ GetFileName() [3/4]

override string GetFileName ( )
inlineprivate

References GetPathScenes(), and m_FileSceneName.

◆ GetFileName() [4/4]

override string GetFileName ( )
inlineprivate

References FILE_NAME, and g_Game.

◆ GetFilterOrderReversed()

int GetFilterOrderReversed ( )
inlineprivate

◆ GetFloat()

protected float GetFloat ( string  key)
inlineprivate

References CFG_TYPE_FLOAT.

◆ GetFreeCameraCrosshairVisible()

bool GetFreeCameraCrosshairVisible ( )
inlineprivate

◆ GetHealthVisible()

bool GetHealthVisible ( )
inlineprivate

◆ GetHorticultureVisible()

bool GetHorticultureVisible ( )
inlineprivate

◆ GetInstance() [1/3]

static PluginConfigDebugProfile GetInstance ( )
inlinestaticprivate

References GetPlugin().

◆ GetInstance() [2/3]

static PluginConfigEmotesProfile GetInstance ( )
inlinestaticprivate

References GetPlugin().

◆ GetInstance() [3/3]

static PluginMissionConfig GetInstance ( )
inlinestaticprivate

References GetPlugin().

◆ GetInt() [1/2]

protected int GetInt ( string  key)
inlineprivate

References CFG_TYPE_INT.

◆ GetInt() [2/2]

protected int GetInt ( string  key)
inlineprivate

References CFG_TYPE_INT, and SetInt().

◆ GetItemCategoryFlag()

int GetItemCategoryFlag ( )
inlineprivate

References GetInt().

◆ GetItemDebugPos()

vector GetItemDebugPos ( )
inlineprivate

◆ GetItemHealth()

float GetItemHealth ( string  preset_name,
int  item_index 
)
inlineprivate

◆ GetItemParam()

protected CfgParam GetItemParam ( string  preset_name,
int  item_index,
string  param_name 
)
inlineprivate

◆ GetItemParams()

protected array< ref CfgParam > GetItemParams ( string  preset_name,
int  item_index 
)
inlineprivate

◆ GetItemQuantity()

int GetItemQuantity ( string  preset_name,
int  item_index 
)
inlineprivate

◆ GetItemSearch()

string GetItemSearch ( )
inlineprivate

◆ GetItemWithPhysics()

bool GetItemWithPhysics ( string  preset_name,
int  item_index 
)
inlineprivate

◆ GetLocationsData()

void GetLocationsData ( out array< ref LocationParams arr,
bool  isCustom 
)
inlineprivate

◆ GetLogsEnabled()

bool GetLogsEnabled ( )
inlineprivate

◆ GetMergeType()

bool GetMergeType ( )
inlineprivate

◆ GetNewCfgParamArray()

protected CfgParamArray GetNewCfgParamArray ( array< ref CfgParam params)
inlineprivate

◆ GetNewCfgParamBool()

protected CfgParamBool GetNewCfgParamBool ( bool  value)
inlineprivate

◆ GetNewCfgParamFloat()

protected CfgParamFloat GetNewCfgParamFloat ( float  value)
inlineprivate

◆ GetNewCfgParamInt() [1/2]

protected CfgParamInt GetNewCfgParamInt ( int  value)
inlineprivate

◆ GetNewCfgParamInt() [2/2]

protected CfgParamInt GetNewCfgParamInt ( int  value)
inlineprivate

◆ GetNewCfgParamString()

protected CfgParamString GetNewCfgParamString ( string  value)
inlineprivate

◆ GetPathScenes()

string GetPathScenes ( )
inlineprivate

◆ GetPresetItems()

bool GetPresetItems ( string  preset_name,
out TStringArray  arr,
string  param_name = "" 
)
inlineprivate

◆ GetPresets()

TStringArray GetPresets ( )
inlineprivate

◆ GetSceneEditorDrawSelection()

bool GetSceneEditorDrawSelection ( )
inlineprivate

◆ GetSceneEditorLoadPlayerPos()

bool GetSceneEditorLoadPlayerPos ( )
inlineprivate

◆ GetSceneEditorName()

string GetSceneEditorName ( )
inlineprivate

References CFG_TYPE_STRING, and STRING_EMPTY.

◆ GetSceneEditorRotationAngle()

int GetSceneEditorRotationAngle ( )
inlineprivate

References GetInt().

◆ GetSceneList()

◆ GetShowItemPreview()

bool GetShowItemPreview ( )
inlineprivate

◆ GetSoundsetFilter()

string GetSoundsetFilter ( )
inlineprivate

◆ GetSpawnDistance()

float GetSpawnDistance ( )
inlineprivate

◆ GetSpawnLocIndex()

int GetSpawnLocIndex ( )
inlineprivate

References GetInt().

◆ GetString()

protected string GetString ( string  key)
inlineprivate

References CFG_TYPE_STRING, and STRING_EMPTY.

◆ GetSubFolderName()

override string GetSubFolderName ( )
inlineprivate

References CFG_FILE_DEBUG_DIR.

◆ GetSubParametersInStringArray()

protected void GetSubParametersInStringArray ( string  setting_name,
string  sub_param_name,
out TStringArray  arr 
)
inlineprivate

◆ GetTabSelected()

int GetTabSelected ( )
inlineprivate

References GetInt().

◆ GetTempVisible()

bool GetTempVisible ( )
inlineprivate

◆ GetVersionVisible()

bool GetVersionVisible ( )
inlineprivate

◆ GetWeatherPresets()

array< ref ScriptConsoleWeatherPreset > GetWeatherPresets ( )
inlineprivate

◆ ItemAddToPreset()

bool ItemAddToPreset ( string  preset_name,
string  item_name 
)
inlineprivate

◆ ItemRemoveFromPreset()

bool ItemRemoveFromPreset ( string  preset_name,
int  item_index 
)
inlineprivate

◆ LoadCameraPresets()

protected void LoadCameraPresets ( )
inlineprivate

References CFG_TYPE_FLOAT, and CFG_TYPE_STRING.

◆ LoadSceneObjects()

◆ LoadScenePlayer()

◆ LoadSceneSettings()

◆ LoadSceneWeather()

◆ LoadWeatherPresets()

protected void LoadWeatherPresets ( )
inlineprivate

◆ OnInit() [1/3]

override void OnInit ( )
inlineprivate

◆ OnInit() [2/3]

override void OnInit ( )
inlineprivate

References g_Game.

◆ OnInit() [3/3]

override void OnInit ( )
inlineprivate

References CFG_TYPE_STRING, and STRING_EMPTY.

◆ PluginConfigDebugProfile()

void PluginConfigDebugProfile ( )
inlineprivate

◆ PluginConfigEmotesProfile()

◆ PresetAdd()

bool PresetAdd ( string  preset_name)
inlineprivate

◆ PresetRemove()

bool PresetRemove ( string  preset_name)
inlineprivate

◆ PresetRename()

bool PresetRename ( string  old_preset_name,
string  new_preset_name 
)
inlineprivate

◆ RemoveCameraPreset()

void RemoveCameraPreset ( string  name)
inlineprivate

◆ RemovePreset()

protected void RemovePreset ( string  preset_name)
inlineprivate

◆ RemoveWeatherPreset()

void RemoveWeatherPreset ( string  name)
inlineprivate

◆ SaveSceneObjects()

◆ SaveScenePlayer()

void SaveScenePlayer ( SceneData  scene)
inlineprivate

◆ SaveSceneSettings()

◆ SaveSceneWeather()

◆ SceneDataLoad()

◆ SceneDataSave()

void SceneDataSave ( SceneData  scene)
inlineprivate

◆ SceneDelete()

void SceneDelete ( string  scene_name)
inlineprivate

References GetPathScenes().

◆ SceneDuplicate()

void SceneDuplicate ( string  scene_name)
inlineprivate

References FileExist(), and GetPathScenes().

◆ SceneRename()

void SceneRename ( string  scene_name,
string  scene_name_new 
)
inlineprivate

References GetPathScenes().

◆ SetArray()

protected CfgParamArray SetArray ( string  key,
array< ref CfgParam params 
)
inlineprivate

References CFG_TYPE_ARRAY.

◆ SetBatchSpawnQuantity()

void SetBatchSpawnQuantity ( int  value)
inlineprivate

◆ SetBatchSpawnRectangle()

void SetBatchSpawnRectangle ( int  row,
int  column,
float  rowStep,
float  columnStep 
)
inlineprivate

◆ SetBool()

protected CfgParamBool SetBool ( string  key,
bool  value 
)
inlineprivate

References CFG_TYPE_BOOL.

◆ SetCharacterAgentsVisible()

void SetCharacterAgentsVisible ( bool  is_visible)
inlineprivate

◆ SetCharacterDebugVisible()

void SetCharacterDebugVisible ( bool  is_visible)
inlineprivate

◆ SetCharacterLevelsVisible()

void SetCharacterLevelsVisible ( bool  is_visible)
inlineprivate

◆ SetCharacterModifiersVisible()

void SetCharacterModifiersVisible ( bool  is_visible)
inlineprivate

◆ SetCharacterStatsVisible()

void SetCharacterStatsVisible ( bool  is_visible)
inlineprivate

◆ SetCharacterStomachVisible()

void SetCharacterStomachVisible ( bool  is_visible)
inlineprivate

◆ SetConfigClassesFlag()

void SetConfigClassesFlag ( int  flag)
inlineprivate

◆ SetDefaultPreset()

void SetDefaultPreset ( string  value)
inlineprivate

◆ SetEmoteSlot1()

void SetEmoteSlot1 ( int  emoted_id)
inlineprivate

References SetInt().

◆ SetEmoteSlot10()

void SetEmoteSlot10 ( int  emoted_id)
inlineprivate

References SetInt().

◆ SetEmoteSlot11()

void SetEmoteSlot11 ( int  emoted_id)
inlineprivate

References SetInt().

◆ SetEmoteSlot2()

void SetEmoteSlot2 ( int  emoted_id)
inlineprivate

References SetInt().

◆ SetEmoteSlot3()

void SetEmoteSlot3 ( int  emoted_id)
inlineprivate

References SetInt().

◆ SetEmoteSlot4()

void SetEmoteSlot4 ( int  emoted_id)
inlineprivate

References SetInt().

◆ SetEmoteSlot5()

void SetEmoteSlot5 ( int  emoted_id)
inlineprivate

References SetInt().

◆ SetEmoteSlot6()

void SetEmoteSlot6 ( int  emoted_id)
inlineprivate

References SetInt().

◆ SetEmoteSlot7()

void SetEmoteSlot7 ( int  emoted_id)
inlineprivate

References SetInt().

◆ SetEmoteSlot8()

void SetEmoteSlot8 ( int  emoted_id)
inlineprivate

References SetInt().

◆ SetEmoteSlot9()

void SetEmoteSlot9 ( int  emoted_id)
inlineprivate

References SetInt().

◆ SetFilterOrderReversed()

void SetFilterOrderReversed ( bool  reversed)
inlineprivate

◆ SetFloat()

protected CfgParamFloat SetFloat ( string  key,
float  value 
)
inlineprivate

References CFG_TYPE_FLOAT.

◆ SetFreeCameraCrosshairVisible()

void SetFreeCameraCrosshairVisible ( bool  is_visible)
inlineprivate

◆ SetHealthVisible()

void SetHealthVisible ( bool  is_visible)
inlineprivate

◆ SetHorticultureVisible()

void SetHorticultureVisible ( bool  is_visible)
inlineprivate

◆ SetInt() [1/2]

◆ SetInt() [2/2]

protected CfgParamInt SetInt ( string  key,
int  value 
)
inlineprivate

References CFG_TYPE_INT.

◆ SetItemCategoryFlag()

void SetItemCategoryFlag ( int  flag)
inlineprivate

◆ SetItemDebugPos()

void SetItemDebugPos ( vector  pos)
inlineprivate

References vector::ToString().

◆ SetItemHealth()

bool SetItemHealth ( string  preset_name,
int  item_index,
float  health 
)
inlineprivate

◆ SetItemQuantity()

bool SetItemQuantity ( string  preset_name,
int  item_index,
int  quantity 
)
inlineprivate

◆ SetItemSearch()

void SetItemSearch ( string  value)
inlineprivate

◆ SetItemWithPhysics()

bool SetItemWithPhysics ( string  preset_name,
int  item_index,
bool  with_physics 
)
inlineprivate

◆ SetLogsEnabled()

void SetLogsEnabled ( bool  value)
inlineprivate

◆ SetMergeType()

void SetMergeType ( bool  is_visible)
inlineprivate

◆ SetPreset()

protected void SetPreset ( string  preset_name,
int  index = -1 
)
inlineprivate

◆ SetSceneEditorDrawSelection()

void SetSceneEditorDrawSelection ( bool  value)
inlineprivate

◆ SetSceneEditorLoadPlayerPos()

void SetSceneEditorLoadPlayerPos ( bool  value)
inlineprivate

◆ SetSceneEditorName()

void SetSceneEditorName ( string  value)
inlineprivate

References CFG_TYPE_STRING.

◆ SetSceneEditorRotationAngle()

void SetSceneEditorRotationAngle ( int  value)
inlineprivate

◆ SetShowItemPreview()

void SetShowItemPreview ( bool  show)
inlineprivate

◆ SetSoundsetFilter()

void SetSoundsetFilter ( string  content)
inlineprivate

◆ SetSpawnDistance()

void SetSpawnDistance ( float  value)
inlineprivate

◆ SetSpawnLocIndex()

void SetSpawnLocIndex ( int  value)
inlineprivate

◆ SetString()

protected CfgParamString SetString ( string  key,
string  value 
)
inlineprivate

References CFG_TYPE_STRING.

◆ SetTabSelected()

void SetTabSelected ( int  value)
inlineprivate

◆ SetTempVisible()

void SetTempVisible ( bool  is_visible)
inlineprivate

◆ SetVersionVisible()

void SetVersionVisible ( bool  is_visible)
inlineprivate

◆ SwapItem()

bool SwapItem ( string  preset_name,
int  item1_index,
int  item2_index 
)
inlineprivate

Field Documentation

◆ BATCH_QUANT

protected const string BATCH_QUANT = "batch_spawn_quantity"
private

◆ BATCH_RECT

protected const string BATCH_RECT = "batch_spawn_rect"
private

◆ CAMERA_PRESETS_LIST

protected const string CAMERA_PRESETS_LIST = "camera_presets"
private

◆ CHAR_AGENTS_VIS

protected const string CHAR_AGENTS_VIS = "console_character_agents_visible"
private

◆ CHAR_DEBUG_VIS

protected const string CHAR_DEBUG_VIS = "console_character_debug_visible"
private

◆ CHAR_LEVELS_VIS

protected const string CHAR_LEVELS_VIS = "console_character_levels_visible"
private

◆ CHAR_MODIFIERS_VIS

protected const string CHAR_MODIFIERS_VIS = "console_character_modifiers_visible"
private

◆ CHAR_STATS_VIS

protected const string CHAR_STATS_VIS = "console_character_stats_visible"
private

◆ CHAR_STOMACH_VIS

protected const string CHAR_STOMACH_VIS = "console_character_stomach_visible"
private

◆ CONFIG_CLASSES_FLAG

protected const string CONFIG_CLASSES_FLAG = "toggled_config_classes_flag"
private

◆ FILE_NAME

protected const string FILE_NAME = "scene_editor.cfg"
private

Referenced by GetFileName().

◆ FILE_ROOT

protected string FILE_ROOT = "$saves:"
private

◆ FILE_ROOT_SCENES

protected const string FILE_ROOT_SCENES = "scenes"
private

Referenced by GetPathScenes().

◆ FILTER_REVERSED

protected const string FILTER_REVERSED = "filter_order_reversed"
private

◆ FREE_CAMERA_CROSSHAIR

protected const string FREE_CAMERA_CROSSHAIR = "console_free_camera_crosshair_visible"
private

◆ HEALTH_VIS

protected const string HEALTH_VIS = "console_health_visible"
private

◆ HORTICULTURE_VIS

protected const string HORTICULTURE_VIS = "console_horticulture_visible"
private

◆ ITEM_CATEGORY_FLAG

protected const string ITEM_CATEGORY_FLAG = "toggled_item_categories_flag"
private

◆ ITEM_PREVIEW

protected const string ITEM_PREVIEW = "show_item_preview"
private

◆ ITEM_SEARCH

protected const string ITEM_SEARCH = "console_ItemSearch"
private

◆ ITEM_TAB_SELECTED

protected const string ITEM_TAB_SELECTED = "console_TabSelected"
private

◆ ITEMDEBUG

protected const string ITEMDEBUG = "item_debug"
private

◆ LOGS_ENABLED

protected const string LOGS_ENABLED = "logs_enabled"
private

◆ m_CameraPresets

protected ref array<ref ScriptConsoleCameraDOFPreset> m_CameraPresets
private

◆ m_CfgTemplate

TStringArray m_CfgTemplate
private

◆ m_DefaultValues

protected ref map< string, ref CfgParam > m_DefaultValues
private

◆ m_FileSceneName

protected string m_FileSceneName
private

Referenced by GetFileName().

◆ m_PresetList

protected ref TStringArray m_PresetList
private

◆ m_WeatherPresets

protected ref array<ref ScriptConsoleWeatherPreset> m_WeatherPresets
private

◆ MERGE_TYPE

protected const string MERGE_TYPE = "category_merge_type"
private

◆ PARAM_DAY

protected const string PARAM_DAY = "InitDay"
private

◆ PARAM_FOG

protected const string PARAM_FOG = "WeatherInitFog"
private

◆ PARAM_HOUR

protected const string PARAM_HOUR = "InitHour"
private

◆ PARAM_MINUTE

protected const string PARAM_MINUTE = "InitMinute"
private

◆ PARAM_MISSION

protected const string PARAM_MISSION = "Mission"
private

◆ PARAM_MONTH

protected const string PARAM_MONTH = "InitMonth"
private

◆ PARAM_OBJ_ATT

protected const string PARAM_OBJ_ATT = "Att"
private

◆ PARAM_OBJ_COUNT

protected const string PARAM_OBJ_COUNT = "SceneObjectsCount"
private

◆ PARAM_OBJ_DMG

protected const string PARAM_OBJ_DMG = "damage"
private

◆ PARAM_OBJ_HLT

protected const string PARAM_OBJ_HLT = "health"
private

◆ PARAM_OBJ_ISCR

protected const string PARAM_OBJ_ISCR = "init_script"
private

◆ PARAM_OBJ_LNK

protected const string PARAM_OBJ_LNK = "Lnk"
private

Referenced by SaveSceneObjects().

◆ PARAM_OBJ_NAME

protected const string PARAM_OBJ_NAME = "SceneObject"
private

◆ PARAM_OBJ_POS

protected const string PARAM_OBJ_POS = "position"
private

◆ PARAM_OBJ_ROT

protected const string PARAM_OBJ_ROT = "rotation"
private

◆ PARAM_OBJ_TYPE

protected const string PARAM_OBJ_TYPE = "type"
private

◆ PARAM_OVERCAST

protected const string PARAM_OVERCAST = "WeatherInitOvercast"
private

◆ PARAM_PLAYER

protected const string PARAM_PLAYER = "Player"
private

◆ PARAM_RAIN

protected const string PARAM_RAIN = "WeatherInitRain"
private

◆ PARAM_TIME

protected const string PARAM_TIME = "InitTime"
private

◆ PARAM_WIND_F

protected const string PARAM_WIND_F = "WeatherInitWindForce"
private

◆ PARAM_YEAR

protected const string PARAM_YEAR = "InitYear"
private

◆ POSITION_NAME_ROOT

protected const string POSITION_NAME_ROOT = "console_positions_"
private

◆ PRESET_DEFAULT

protected const string PRESET_DEFAULT = "console_preset_default"
private

◆ PRESET_LIST

protected const string PRESET_LIST = "console_presets"
private

◆ SCENE_DRAW_SELECTION

protected const string SCENE_DRAW_SELECTION = "scene_editor_draw_selection"
private

◆ SCENE_EDITOR_SCENE

protected const string SCENE_EDITOR_SCENE = "scene_load"
private

◆ SCENE_LOAD_PLAYER_POS

protected const string SCENE_LOAD_PLAYER_POS = "scene_editor_load_player_pos"
private

◆ SCENE_ROTATION_ANGLE

protected const string SCENE_ROTATION_ANGLE = "scene_editor_rotation_angle"
private

◆ SOUNDFILTER

protected const string SOUNDFILTER = "soundset_editbox"
private

◆ SPAWN_DISTANCE

protected const string SPAWN_DISTANCE = "console_SpawnDistance"
private

◆ SPAWN_LOC_INDEX

protected const string SPAWN_LOC_INDEX = "spawn_loc_index"
private

◆ SUB_PARAM_ITEM

protected const string SUB_PARAM_ITEM = "item"
private

◆ SUB_PARAM_ITEM_HEALTH

protected const string SUB_PARAM_ITEM_HEALTH = "health"
private

◆ SUB_PARAM_ITEM_NAME

protected const string SUB_PARAM_ITEM_NAME = "name"
private

◆ SUB_PARAM_ITEM_QUANTITY

protected const string SUB_PARAM_ITEM_QUANTITY = "quantity"
private

◆ SUB_PARAM_ITEM_WITH_PHYSICS

protected const string SUB_PARAM_ITEM_WITH_PHYSICS = "with_physics"
private

◆ TEMP_VIS

protected const string TEMP_VIS = "console_temperature_visible"
private

◆ VERSION_VIS

protected const string VERSION_VIS = "console_version_visible"
private

◆ WEATHER_PRESETS_LIST

protected const string WEATHER_PRESETS_LIST = "weather_presets"
private

The documentation for this class was generated from the following files: