DayZ 1.24
Loading...
Searching...
No Matches
PluginConfigHandler Class Reference
Collaboration diagram for PluginConfigHandler:
[legend]

Protected Member Functions

CfgParamArray GetNewCfgParamArray (array< ref CfgParam > params)
 
CfgParamBool GetNewCfgParamBool (bool value)
 
CfgParamFloat GetNewCfgParamFloat (float value)
 
CfgParamInt GetNewCfgParamInt (int value)
 
CfgParamString GetNewCfgParamString (string value)
 
CfgParamArray SetArray (string key, array< ref CfgParam > params)
 
array< ref CfgParamGetArray (string key)
 
CfgParamBool SetBool (string key, bool value)
 
bool GetBool (string key)
 
CfgParamFloat SetFloat (string key, float value)
 
float GetFloat (string key)
 
CfgParamInt SetInt (string key, int value)
 
int GetInt (string key)
 
CfgParamString SetString (string key, string value)
 
string GetString (string key)
 
void GetSubParametersInStringArray (string setting_name, string sub_param_name, out TStringArray arr)
 
void PluginConfigDebugProfile ()
 
array< ref CfgParamGetDefaultBatchRectParams ()
 
override void OnInit ()
 
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 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)
 
TStringArray GetPresets ()
 
void SetPreset (string preset_name, int index=-1)
 
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)
 
array< ref CfgParamGetItemParams (string preset_name, int item_index)
 
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)
 
CfgParamInt GetNewCfgParamInt (int value)
 
CfgParamInt SetInt (string key, int value)
 
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 Protected Member Functions

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

Protected Attributes

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

Detailed Description

Definition at line 2 of file PluginConfigDebugProfile.c.

Member Function Documentation

◆ CustomLocationsAdd()

bool PluginConfigHandler::CustomLocationsAdd ( string name,
vector position )
inlineprotected

Definition at line 736 of file PluginConfigDebugProfile.c.

737 {
738 string world = g_Game.GetWorldName();
739 world.ToLower();
740
741 CfgParamString locationName = new CfgParamString(PluginConfigDebugProfileFixed.SUB_PARAM_POS_NAME);
742 locationName.SetValue(name);
743 CfgParamString locationPos = new CfgParamString(PluginConfigDebugProfileFixed.SUB_PARAM_POS_VEC);
744 locationPos.SetValue(position.ToString(false));
745
746 CfgParamArray locationEntry = new CfgParamArray(locationName.GetValue());
747 locationEntry.InsertValue(locationName);
748 locationEntry.InsertValue(locationPos);
749
752 params.Insert(locationEntry);
754 SaveConfigToFile();
755
756 return true;
757 }
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
DayZGame g_Game
Definition DayZGame.c:3528
CfgParamArray SetArray(string key, array< ref CfgParam > params)
array< ref CfgParam > GetArray(string key)

References g_Game, name, and PluginConfigDebugProfile::PluginConfigDebugProfileFixed().

◆ CustomLocationsRemove()

void PluginConfigHandler::CustomLocationsRemove ( string name)
inlineprotected

Definition at line 759 of file PluginConfigDebugProfile.c.

760 {
761 if (!name)
762 return;
763 string world = g_Game.GetWorldName();
764 world.ToLower();
767
768 for (int i = 0; i < params.Count(); i++)
769 {
770 CfgParamArray param = CfgParamArray.Cast(params.Get(i));
771 array<ref CfgParam> prms = param.GetValues();
772 CfgParamString par = CfgParamString.Cast(prms.Get(0));
773 if (par.GetValue() == name)
774 {
775 params.RemoveOrdered(i);
776 break;
777 }
778 }
779
780 //SetArray(paramName, params);
781 SaveConfigToFile();
782 }

References g_Game, and name.

◆ DecodeInitScript()

string PluginConfigHandler::DecodeInitScript ( string script)
inlineprotected

Definition at line 139 of file PluginConfigScene.c.

140 {
141 script.Replace("^", "\"");
142 script.Replace("$", "\n");
143 return script;
144 }

◆ EncodeInitScript()

string PluginConfigHandler::EncodeInitScript ( string script)
inlineprotected

Definition at line 129 of file PluginConfigScene.c.

130 {
131 script.Replace("\"", "^");
132 script.Replace("\n", "$");
133 return script;
134 }

◆ GetArray()

array< ref CfgParam > PluginConfigHandler::GetArray ( string key)
inlineprotected

Definition at line 111 of file PluginConfigDebugProfile.c.

112 {
113 if (ParamExist(key))
114 {
115 CfgParamArray param = CfgParamArray.Cast(GetParamByName(key, CFG_TYPE_ARRAY));
116 return param.GetValues();
117 }
118 else
119 {
120 if (m_DefaultValues.Contains(key))
121 {
122 CfgParamArray default_param = CfgParamArray.Cast(m_DefaultValues.Get(key));
123 return SetArray(key, default_param.GetValues()).GetValues();
124 }
125 else
126 return SetArray(key, new array<ref CfgParam>).GetValues();
127 }
128 }
const int CFG_TYPE_ARRAY
Definition CfgParam.c:5
ref map< string, ref CfgParam > m_DefaultValues

References CFG_TYPE_ARRAY.

◆ GetBatchSpawnQuantity()

int PluginConfigHandler::GetBatchSpawnQuantity ( )
inlineprotected

Definition at line 484 of file PluginConfigDebugProfile.c.

485 {
486 return GetInt(BATCH_QUANT);
487 }
int GetInt()

References GetInt().

◆ GetBatchSpawnRectangle()

array< ref CfgParam > PluginConfigHandler::GetBatchSpawnRectangle ( )
inlineprotected

Definition at line 454 of file PluginConfigDebugProfile.c.

455 {
456 return GetArray(BATCH_RECT);
457 }

◆ GetBool()

bool PluginConfigHandler::GetBool ( string key)
inlineprotected

Definition at line 141 of file PluginConfigDebugProfile.c.

142 {
143 if (ParamExist(key))
144 {
145 CfgParamBool param = CfgParamBool.Cast(GetParamByName(key, CFG_TYPE_BOOL));
146 return param.GetValue();
147 }
148 else
149 {
150 if (m_DefaultValues.Contains(key))
151 {
152 CfgParamBool default_param = CfgParamBool.Cast(m_DefaultValues.Get(key));
153 return SetBool(key, default_param.GetValue()).GetValue();
154 }
155 else
156 return SetBool(key, false).GetValue();
157 }
158 }
const int CFG_TYPE_BOOL
Definition CfgParam.c:4
CfgParamBool SetBool(string key, bool value)

References CFG_TYPE_BOOL.

◆ GetCharacterAgentsVisible()

bool PluginConfigHandler::GetCharacterAgentsVisible ( )
inlineprotected

Definition at line 591 of file PluginConfigDebugProfile.c.

592 {
593 return GetBool(CHAR_AGENTS_VIS);
594 }

◆ GetCharacterDebugVisible()

bool PluginConfigHandler::GetCharacterDebugVisible ( )
inlineprotected

Definition at line 604 of file PluginConfigDebugProfile.c.

605 {
606 return GetBool(CHAR_DEBUG_VIS);
607 }

◆ GetCharacterLevelsVisible()

bool PluginConfigHandler::GetCharacterLevelsVisible ( )
inlineprotected

Definition at line 535 of file PluginConfigDebugProfile.c.

536 {
537 return GetBool(CHAR_LEVELS_VIS);
538 }

◆ GetCharacterModifiersVisible()

bool PluginConfigHandler::GetCharacterModifiersVisible ( )
inlineprotected

Definition at line 578 of file PluginConfigDebugProfile.c.

579 {
581 }

◆ GetCharacterStatsVisible()

bool PluginConfigHandler::GetCharacterStatsVisible ( )
inlineprotected

Definition at line 564 of file PluginConfigDebugProfile.c.

565 {
566 return GetBool(CHAR_STATS_VIS);
567 }

◆ GetCharacterStomachVisible()

bool PluginConfigHandler::GetCharacterStomachVisible ( )
inlineprotected

Definition at line 617 of file PluginConfigDebugProfile.c.

618 {
620 }

◆ GetConfigClassesFlag()

int PluginConfigHandler::GetConfigClassesFlag ( )
inlineprotected

Definition at line 709 of file PluginConfigDebugProfile.c.

710 {
712 }

References GetInt().

◆ GetDefaultBatchRectParams()

array< ref CfgParam > PluginConfigHandler::GetDefaultBatchRectParams ( )
inlineprotected

Definition at line 307 of file PluginConfigDebugProfile.c.

308 {
310 CfgParamInt param1 = new CfgParamInt("");
311 param1.SetValue(5);
312 CfgParamInt param2 = new CfgParamInt("");
313 param2.SetValue(5);
314 CfgParamFloat param3 = new CfgParamFloat("");
315 param3.SetValue(1.0);
316 CfgParamFloat param4 = new CfgParamFloat("");
317 param4.SetValue(1.0);
318
319 params.Insert(param1);
320 params.Insert(param2);
321 params.Insert(param3);
322 params.Insert(param4);
323
324 return params;
325 }

◆ GetDefaultPreset()

string PluginConfigHandler::GetDefaultPreset ( )
inlineprotected

Definition at line 441 of file PluginConfigDebugProfile.c.

442 {
444 }

◆ GetEmoteFromSlot()

int PluginConfigHandler::GetEmoteFromSlot ( string slot)
inlineprotected

Definition at line 222 of file PluginConfigEmotesProfile.c.

223 {
224 return GetInt(slot);
225 }

References GetInt().

◆ GetEmoteSlot1()

int PluginConfigHandler::GetEmoteSlot1 ( )
inlineprotected

Definition at line 102 of file PluginConfigEmotesProfile.c.

103 {
104 return GetInt(EmoteSlots.EMOTE_1.ToString());
105 }

References GetInt().

◆ GetEmoteSlot10()

int PluginConfigHandler::GetEmoteSlot10 ( )
inlineprotected

Definition at line 192 of file PluginConfigEmotesProfile.c.

193 {
194 return GetInt(EmoteSlots.EMOTE_10.ToString());
195 }

References GetInt().

◆ GetEmoteSlot11()

int PluginConfigHandler::GetEmoteSlot11 ( )
inlineprotected

Definition at line 202 of file PluginConfigEmotesProfile.c.

203 {
204 return GetInt(EmoteSlots.EMOTE_11.ToString());
205 }

References GetInt().

◆ GetEmoteSlot2()

int PluginConfigHandler::GetEmoteSlot2 ( )
inlineprotected

Definition at line 112 of file PluginConfigEmotesProfile.c.

113 {
114 return GetInt(EmoteSlots.EMOTE_2.ToString());
115 }

References GetInt().

◆ GetEmoteSlot3()

int PluginConfigHandler::GetEmoteSlot3 ( )
inlineprotected

Definition at line 122 of file PluginConfigEmotesProfile.c.

123 {
124 return GetInt(EmoteSlots.EMOTE_3.ToString());
125 }

References GetInt().

◆ GetEmoteSlot4()

int PluginConfigHandler::GetEmoteSlot4 ( )
inlineprotected

Definition at line 132 of file PluginConfigEmotesProfile.c.

133 {
134 return GetInt(EmoteSlots.EMOTE_4.ToString());
135 }

References GetInt().

◆ GetEmoteSlot5()

int PluginConfigHandler::GetEmoteSlot5 ( )
inlineprotected

Definition at line 142 of file PluginConfigEmotesProfile.c.

143 {
144 return GetInt(EmoteSlots.EMOTE_5.ToString());
145 }

References GetInt().

◆ GetEmoteSlot6()

int PluginConfigHandler::GetEmoteSlot6 ( )
inlineprotected

Definition at line 152 of file PluginConfigEmotesProfile.c.

153 {
154 return GetInt(EmoteSlots.EMOTE_6.ToString());
155 }

References GetInt().

◆ GetEmoteSlot7()

int PluginConfigHandler::GetEmoteSlot7 ( )
inlineprotected

Definition at line 162 of file PluginConfigEmotesProfile.c.

163 {
164 return GetInt(EmoteSlots.EMOTE_7.ToString());
165 }

References GetInt().

◆ GetEmoteSlot8()

int PluginConfigHandler::GetEmoteSlot8 ( )
inlineprotected

Definition at line 172 of file PluginConfigEmotesProfile.c.

173 {
174 return GetInt(EmoteSlots.EMOTE_8.ToString());
175 }

References GetInt().

◆ GetEmoteSlot9()

int PluginConfigHandler::GetEmoteSlot9 ( )
inlineprotected

Definition at line 182 of file PluginConfigEmotesProfile.c.

183 {
184 return GetInt(EmoteSlots.EMOTE_9.ToString());
185 }

References GetInt().

◆ GetFileName() [1/4]

override string PluginConfigHandler::GetFileName ( )
inlineprotected

Definition at line 347 of file PluginConfigDebugProfile.c.

348 {
349 if (!FileExist(GetSubFolderName()))//---ALL LINES CONTAINING THIS COMMENT CAN BE REMOVED IN 1.23
350 return "$profile:debugProfile.cfg";//---ALL LINES CONTAINING THIS COMMENT CAN BE REMOVED IN 1.23
351
353 }
override string GetSubFolderName()
const string CFG_FILE_DEBUG_PROFILE
Definition constants.c:231
proto bool FileExist(string name)
Check existence of file.

References CFG_FILE_DEBUG_PROFILE, FileExist(), and GetSubFolderName().

◆ GetFileName() [2/4]

override string PluginConfigHandler::GetFileName ( )
inlineprotected

Definition at line 94 of file PluginConfigEmotesProfile.c.

95 {
97 }
const string CFG_FILE_EMOTES_PROFILE
Definition constants.c:232

References CFG_FILE_EMOTES_PROFILE.

◆ GetFileName() [3/4]

override string PluginConfigHandler::GetFileName ( )
inlineprotected

Definition at line 54 of file PluginConfigScene.c.

55 {
56 return GetPathScenes() + "\\" + m_FileSceneName;
57 }

◆ GetFileName() [4/4]

override string PluginConfigHandler::GetFileName ( )
inlineprotected

Definition at line 33 of file PluginMissionConfig.c.

34 {
35 return g_Game.GetMissionFolderPath() + "\\" + FILE_NAME;
36 }

References g_Game.

◆ GetFilterOrderReversed()

int PluginConfigHandler::GetFilterOrderReversed ( )
inlineprotected

Definition at line 428 of file PluginConfigDebugProfile.c.

429 {
430 return GetBool(FILTER_REVERSED);
431 }

◆ GetFloat()

float PluginConfigHandler::GetFloat ( string key)
inlineprotected

Definition at line 171 of file PluginConfigDebugProfile.c.

172 {
173 if (ParamExist(key))
174 {
175 CfgParamFloat param = CfgParamFloat.Cast(GetParamByName(key, CFG_TYPE_FLOAT));
176 return param.GetValue();
177 }
178 else
179 {
180 if (m_DefaultValues.Contains(key))
181 {
182 CfgParamFloat default_param = CfgParamFloat.Cast(m_DefaultValues.Get(key));
183 return SetFloat(key, default_param.GetValue()).GetValue();
184 }
185 else
186 return SetFloat(key, 0.0).GetValue();
187 }
188 }
const int CFG_TYPE_FLOAT
Definition CfgParam.c:3
CfgParamFloat SetFloat(string key, float value)

References CFG_TYPE_FLOAT.

◆ GetFreeCameraCrosshairVisible()

bool PluginConfigHandler::GetFreeCameraCrosshairVisible ( )
inlineprotected

Definition at line 630 of file PluginConfigDebugProfile.c.

631 {
633 }

◆ GetInstance() [1/3]

static PluginConfigDebugProfile PluginConfigHandler::GetInstance ( )
inlinestaticprotected

Definition at line 45 of file PluginConfigDebugProfile.c.

46 {
48 }
PluginBase GetPlugin(typename plugin_type)

References GetPlugin().

◆ GetInstance() [2/3]

static PluginConfigEmotesProfile PluginConfigHandler::GetInstance ( )
inlinestaticprotected

Definition at line 22 of file PluginConfigEmotesProfile.c.

References GetPlugin().

◆ GetInstance() [3/3]

static PluginMissionConfig PluginConfigHandler::GetInstance ( )
inlinestaticprotected

Definition at line 9 of file PluginMissionConfig.c.

10 {
12 }

References GetPlugin().

◆ GetInt() [1/2]

int PluginConfigHandler::GetInt ( string key)
inlineprotected

Definition at line 201 of file PluginConfigDebugProfile.c.

202 {
203 if (ParamExist(key))
204 {
205 CfgParamInt param = CfgParamInt.Cast(GetParamByName(key, CFG_TYPE_INT));
206 return param.GetValue();
207 }
208 else
209 {
210 if (m_DefaultValues.Contains(key))
211 {
212 CfgParamInt default_param = CfgParamInt.Cast(m_DefaultValues.Get(key));
213 return SetInt(key, default_param.GetValue()).GetValue();
214 }
215 else
216 return SetInt(key, 0).GetValue();
217 }
218 }
const int CFG_TYPE_INT
Definition CfgParam.c:2
CfgParamInt SetInt(string key, int value)

References CFG_TYPE_INT.

◆ GetInt() [2/2]

int PluginConfigHandler::GetInt ( string key)
inlineprotected

Definition at line 49 of file PluginConfigEmotesProfile.c.

50 {
51 if (ParamExist(key))
52 {
53 CfgParamInt param = CfgParamInt.Cast(GetParamByName(key, CFG_TYPE_INT));
54 return param.GetValue();
55 }
56 else
57 {
58 if (m_DefaultValues.Contains(key))
59 {
60 CfgParamInt default_param = CfgParamInt.Cast(m_DefaultValues.Get(key));
61 return SetInt(key, default_param.GetValue()).GetValue();
62 }
63 else
64 return SetInt(key, 0).GetValue();
65 }
66 }

References CFG_TYPE_INT, and SetInt().

◆ GetItemCategoryFlag()

int PluginConfigHandler::GetItemCategoryFlag ( )
inlineprotected

Definition at line 723 of file PluginConfigDebugProfile.c.

724 {
726 }

References GetInt().

◆ GetItemDebugPos()

vector PluginConfigHandler::GetItemDebugPos ( )
inlineprotected

Definition at line 556 of file PluginConfigDebugProfile.c.

557 {
558 return GetString(ITEMDEBUG).ToVector();
559 }
proto vector ToVector()
Returns a vector from a string.

◆ GetItemHealth()

float PluginConfigHandler::GetItemHealth ( string preset_name,
int item_index )
inlineprotected

Definition at line 961 of file PluginConfigDebugProfile.c.

962 {
964
965 if (param == NULL)
966 return -1;
967 else
968 {
969 CfgParamFloat param_float = CfgParamFloat.Cast(param);
970 return param_float.GetValue();
971 }
972 }
CfgParam GetItemParam(string preset_name, int item_index, string param_name)

◆ GetItemParam()

CfgParam PluginConfigHandler::GetItemParam ( string preset_name,
int item_index,
string param_name )
inlineprotected

Definition at line 944 of file PluginConfigDebugProfile.c.

945 {
947
948 if (item_params == NULL)
949 return NULL;
950
952 for (int i = 0; i < item_params.Count(); i++)
953 {
954 if (item_params.Get(i).GetName() == param_name)
955 param = item_params.Get(i);
956 }
957
958 return param;
959 }
array< ref CfgParam > GetItemParams(string preset_name, int item_index)

◆ GetItemParams()

array< ref CfgParam > PluginConfigHandler::GetItemParams ( string preset_name,
int item_index )
inlineprotected

Definition at line 927 of file PluginConfigDebugProfile.c.

928 {
929 if (m_PresetList.Find(preset_name) == -1)
930 return NULL;
931
933
934 if (!params || item_index >= params.Count())
935 return NULL;
936 if (params.IsValidIndex(item_index))
937 CfgParamArray params_array = CfgParamArray.Cast(params.Get(item_index));
938 if (params_array)
939 return params_array.GetValues();
940
941 return null;
942 }

◆ GetItemQuantity()

int PluginConfigHandler::GetItemQuantity ( string preset_name,
int item_index )
inlineprotected

Definition at line 1000 of file PluginConfigDebugProfile.c.

1001 {
1003
1004 if (param == NULL)
1005 return 1;
1006 else
1007 {
1008 CfgParamInt param_int = CfgParamInt.Cast(param);
1009 return param_int.GetValue();
1010 }
1011 }

◆ GetItemSearch()

string PluginConfigHandler::GetItemSearch ( )
inlineprotected

Definition at line 496 of file PluginConfigDebugProfile.c.

497 {
498 return GetString(ITEM_SEARCH);
499 }

◆ GetItemWithPhysics()

bool PluginConfigHandler::GetItemWithPhysics ( string preset_name,
int item_index )
inlineprotected

Definition at line 1039 of file PluginConfigDebugProfile.c.

1040 {
1042
1043 if (param == NULL)
1044 return false;
1045 else
1046 {
1047 CfgParamBool param_bool = CfgParamBool.Cast(param);
1048 return param_bool.GetValue();
1049 }
1050 }

◆ GetLocationsData()

void PluginConfigHandler::GetLocationsData ( out array< ref LocationParams > arr,
bool isCustom )
inlineprotected

Definition at line 1082 of file PluginConfigDebugProfile.c.

1083 {
1084 string world = g_Game.GetWorldName();
1085 world.ToLower();
1087
1089 GetSubParametersInStringArray(paramName, PluginConfigDebugProfileFixed.SUB_PARAM_POS_NAME, names);
1091 GetSubParametersInStringArray(paramName, PluginConfigDebugProfileFixed.SUB_PARAM_POS_VEC, positions);
1092 int i;
1093 if (isCustom)
1094 {
1095 for (i = names.Count() - 1; i >= 0 ; i--)
1096 arr.Insert(new LocationParams(names.Get(i), isCustom, positions.Get(i).ToVector()));
1097 }
1098 else
1099 {
1100 for (i = 0; i < names.Count(); i++)
1101 arr.Insert(new LocationParams(names.Get(i), isCustom, positions.Get(i).ToVector()));
1102 }
1103 }
void GetSubParametersInStringArray(string setting_name, string sub_param_name, out TStringArray arr)
array< string > TStringArray
Definition EnScript.c:666

References g_Game, and PluginConfigDebugProfile::PluginConfigDebugProfileFixed().

◆ GetLogsEnabled()

bool PluginConfigHandler::GetLogsEnabled ( )
inlineprotected

Definition at line 522 of file PluginConfigDebugProfile.c.

523 {
524 return GetBool(LOGS_ENABLED);
525 }

◆ GetMergeType()

bool PluginConfigHandler::GetMergeType ( )
inlineprotected

Definition at line 656 of file PluginConfigDebugProfile.c.

657 {
658 return GetBool(MERGE_TYPE);
659 }

◆ GetNewCfgParamArray()

CfgParamArray PluginConfigHandler::GetNewCfgParamArray ( array< ref CfgParam > params)
inlineprotected

Definition at line 53 of file PluginConfigDebugProfile.c.

54 {
55 CfgParamArray param = new CfgParamArray("");
56 param.SetParams(params);
57 return param;
58 }

◆ GetNewCfgParamBool()

CfgParamBool PluginConfigHandler::GetNewCfgParamBool ( bool value)
inlineprotected

Definition at line 63 of file PluginConfigDebugProfile.c.

64 {
65 CfgParamBool param = new CfgParamBool("");
66 param.SetValue(value);
67 return param;
68 }

◆ GetNewCfgParamFloat()

CfgParamFloat PluginConfigHandler::GetNewCfgParamFloat ( float value)
inlineprotected

Definition at line 73 of file PluginConfigDebugProfile.c.

74 {
75 CfgParamFloat param = new CfgParamFloat("");
76 param.SetValue(value);
77 return param;
78 }

◆ GetNewCfgParamInt() [1/2]

CfgParamInt PluginConfigHandler::GetNewCfgParamInt ( int value)
inlineprotected

Definition at line 83 of file PluginConfigDebugProfile.c.

84 {
85 CfgParamInt param = new CfgParamInt("");
86 param.SetValue(value);
87 return param;
88 }

◆ GetNewCfgParamInt() [2/2]

CfgParamInt PluginConfigHandler::GetNewCfgParamInt ( int value)
inlineprotected

Definition at line 31 of file PluginConfigEmotesProfile.c.

32 {
33 CfgParamInt param = new CfgParamInt("");
34 param.SetValue(value);
35 return param;
36 }

◆ GetNewCfgParamString()

CfgParamString PluginConfigHandler::GetNewCfgParamString ( string value)
inlineprotected

Definition at line 93 of file PluginConfigDebugProfile.c.

94 {
95 CfgParamString param = new CfgParamString("");
96 param.SetValue(value);
97 return param;
98 }

◆ GetPathScenes()

string PluginConfigHandler::GetPathScenes ( )
inlineprotected

Definition at line 46 of file PluginConfigScene.c.

47 {
48 return FILE_ROOT + "\\" + FILE_ROOT_SCENES;
49 }
const string FILE_ROOT_SCENES

◆ GetPresetItems()

bool PluginConfigHandler::GetPresetItems ( string preset_name,
out TStringArray arr,
string param_name = "" )
inlineprotected

Definition at line 829 of file PluginConfigDebugProfile.c.

830 {
831 if (m_PresetList.Find(preset_name) == -1)
832 return false;
833 if (param_name == "")
836
837 return true;
838 }

◆ GetPresets()

TStringArray PluginConfigHandler::GetPresets ( )
inlineprotected

Definition at line 787 of file PluginConfigDebugProfile.c.

788 {
789 return m_PresetList;
790 }

◆ GetSceneEditorDrawSelection()

bool PluginConfigHandler::GetSceneEditorDrawSelection ( )
inlineprotected

Definition at line 363 of file PluginConfigDebugProfile.c.

364 {
366 }

◆ GetSceneEditorLoadPlayerPos()

bool PluginConfigHandler::GetSceneEditorLoadPlayerPos ( )
inlineprotected

Definition at line 376 of file PluginConfigDebugProfile.c.

377 {
379 }

◆ GetSceneEditorName()

string PluginConfigHandler::GetSceneEditorName ( )
inlineprotected

Definition at line 41 of file PluginMissionConfig.c.

42 {
43 CfgParamString cfg_scene_name = CfgParamString.Cast(GetParamByName(SCENE_EDITOR_SCENE, CFG_TYPE_STRING));
44
45 if (cfg_scene_name.GetValue() == STRING_EMPTY)
46 {
47 cfg_scene_name.SetValue(PluginSceneManager.SCENE_DEFAULT_NAME);
48 SaveConfigToFile();
49 }
50
51 return cfg_scene_name.GetValue();
52 }
const int CFG_TYPE_STRING
Definition CfgParam.c:1
const string SCENE_EDITOR_SCENE
const string STRING_EMPTY
Definition constants.c:54

References CFG_TYPE_STRING, and STRING_EMPTY.

◆ GetSceneEditorRotationAngle()

int PluginConfigHandler::GetSceneEditorRotationAngle ( )
inlineprotected

Definition at line 389 of file PluginConfigDebugProfile.c.

390 {
392 }

References GetInt().

◆ GetSceneList()

TStringArray PluginConfigHandler::GetSceneList ( )
inlineprotected

Definition at line 99 of file PluginConfigScene.c.

100 {
101 if (!FileExist(GetPathScenes()))
103
104 string file_name;
105 int file_attr;
106 int flags;
108
109 string path_find_pattern = GetPathScenes() + "/*." + PluginSceneManager.SCENE_SUFIX; //*/
111
112 bool found = true;
113 while (found)
114 {
115 int pos = file_name.IndexOf(".");
116
117 if (pos > -1)
118 list.Insert(file_name.Substring(0, pos));
119
121 }
122
123 return list;
124 }
proto native bool MakeDirectory(string name)
Makes a directory.
enum FindFileFlags FindFile(string pattern, out string fileName, out FileAttr fileAttributes, FindFileFlags flags)
proto bool FindNextFile(FindFileHandle handle, out string fileName, out FileAttr fileAttributes)

References FileExist(), FindFile(), FindNextFile(), and MakeDirectory().

◆ GetShowItemPreview()

bool PluginConfigHandler::GetShowItemPreview ( )
inlineprotected

Definition at line 695 of file PluginConfigDebugProfile.c.

696 {
697 return GetBool(ITEM_PREVIEW);
698 }

◆ GetSoundsetFilter()

string PluginConfigHandler::GetSoundsetFilter ( )
inlineprotected

Definition at line 669 of file PluginConfigDebugProfile.c.

670 {
671 return GetString(SOUNDFILTER);
672 }

◆ GetSpawnDistance()

float PluginConfigHandler::GetSpawnDistance ( )
inlineprotected

Definition at line 509 of file PluginConfigDebugProfile.c.

510 {
511 return GetFloat(SPAWN_DISTANCE);
512 }

◆ GetSpawnLocIndex()

int PluginConfigHandler::GetSpawnLocIndex ( )
inlineprotected

Definition at line 415 of file PluginConfigDebugProfile.c.

416 {
417 return GetInt(SPAWN_LOC_INDEX);
418 }

References GetInt().

◆ GetString()

string PluginConfigHandler::GetString ( string key)
inlineprotected

Definition at line 234 of file PluginConfigDebugProfile.c.

235 {
236 CfgParamString param = CfgParamString.Cast(GetParamByName(key, CFG_TYPE_STRING));
237
238 if (param && param.GetValue() != STRING_EMPTY)
239 return param.GetValue();
240 else
241 {
242 if (m_DefaultValues.Contains(key))
243 {
244 CfgParamString default_param = CfgParamString.Cast(m_DefaultValues.Get(key));
245 CfgParamString param_string = SetString(key, default_param.GetValue());
246 if (param_string)
247 return param_string.GetValue();
248 }
249 else
250 return SetString(key, "").GetValue();
251 }
252 return "";
253 }
CfgParamString SetString(string key, string value)

References CFG_TYPE_STRING, and STRING_EMPTY.

◆ GetSubFolderName()

override string PluginConfigHandler::GetSubFolderName ( )
inlineprotected

Definition at line 355 of file PluginConfigDebugProfile.c.

356 {
357 return CFG_FILE_DEBUG_DIR;
358 }
const string CFG_FILE_DEBUG_DIR
Definition constants.c:239

References CFG_FILE_DEBUG_DIR.

◆ GetSubParametersInStringArray()

void PluginConfigHandler::GetSubParametersInStringArray ( string setting_name,
string sub_param_name,
out TStringArray arr )
inlineprotected

Definition at line 255 of file PluginConfigDebugProfile.c.

256 {
258 for (int i = 0; i < items.Count(); i++)
259 {
260 CfgParamArray items_array = CfgParamArray.Cast(items.Get(i));
262
263 for (int j = 0; j < item_params.Count(); j++)
264 {
265 if (item_params.Get(j).GetName() == sub_param_name)
266 {
267 CfgParamString param_string = CfgParamString.Cast(item_params.Get(j));
268 arr.Insert(param_string.GetValue());
269 }
270 }
271 }
272 }

◆ GetTabSelected()

int PluginConfigHandler::GetTabSelected ( )
inlineprotected

Definition at line 402 of file PluginConfigDebugProfile.c.

403 {
405 }

References GetInt().

◆ GetTempVisible()

bool PluginConfigHandler::GetTempVisible ( )
inlineprotected

Definition at line 682 of file PluginConfigDebugProfile.c.

683 {
684 return GetBool(TEMP_VIS);
685 }

◆ GetVersionVisible()

bool PluginConfigHandler::GetVersionVisible ( )
inlineprotected

Definition at line 643 of file PluginConfigDebugProfile.c.

644 {
645 return GetBool(VERSION_VIS);
646 }

◆ ItemAddToPreset()

bool PluginConfigHandler::ItemAddToPreset ( string preset_name,
string item_name )
inlineprotected

Definition at line 878 of file PluginConfigDebugProfile.c.

879 {
880 if (m_PresetList.Find(preset_name) == -1)
881 return false;
882
883 CfgParamString param = new CfgParamString(SUB_PARAM_ITEM_NAME);
884 param.SetValue(item_name);
885
886 CfgParamArray item_params = new CfgParamArray(SUB_PARAM_ITEM);
887 item_params.InsertValue(param);
888
890 params.Insert(item_params);
891
892 SaveConfigToFile();
893
894 return true;
895 }

◆ ItemRemoveFromPreset()

bool PluginConfigHandler::ItemRemoveFromPreset ( string preset_name,
int item_index )
inlineprotected

Definition at line 897 of file PluginConfigDebugProfile.c.

898 {
899 if (m_PresetList.Find(preset_name) == -1)
900 return false;
901
903
904 if (item_index >= params.Count())
905 return false;
906
907 params.Remove(item_index);
908
909 SaveConfigToFile();
910
911 return true;
912 }

◆ LoadSceneObjects()

void PluginConfigHandler::LoadSceneObjects ( SceneData scene)
inlineprotected

Definition at line 539 of file PluginConfigScene.c.

540 {
541 CfgParamInt cfg_obj_count = CfgParamInt.Cast(GetParamByName(PARAM_OBJ_COUNT, CFG_TYPE_INT));
542 int obj_count = cfg_obj_count.GetValue();
543
544 for (int i = 0; i < obj_count; ++i)
545 {
546 string param_name = PARAM_OBJ_NAME + "_" + i.ToString();
547
548 // Load scene object name
549 CfgParamArray cfg_obj = CfgParamArray.Cast(GetParamByName(param_name, CFG_TYPE_ARRAY));
550
551 CfgParamString cfg_obj_type = CfgParamString.Cast(cfg_obj.GetValueByName(PARAM_OBJ_TYPE, CFG_TYPE_STRING));
552 CfgParamString cfg_obj_pos = CfgParamString.Cast(cfg_obj.GetValueByName(PARAM_OBJ_POS, CFG_TYPE_STRING));
553 CfgParamFloat cfg_obj_rot = CfgParamFloat.Cast(cfg_obj.GetValueByName(PARAM_OBJ_ROT, CFG_TYPE_FLOAT));
554 CfgParamFloat cfg_obj_hlt = CfgParamFloat.Cast(cfg_obj.GetValueByName(PARAM_OBJ_HLT, CFG_TYPE_FLOAT));
555 CfgParamString cfg_obj_iscr = CfgParamString.Cast(cfg_obj.GetValueByName(PARAM_OBJ_ISCR, CFG_TYPE_STRING));
556
557 //PrintString(itoa(i)+ " Loading param_name: "+ param_name+ " => object type: "+ cfg_obj_type.GetValue());
558
559 // Create Scene Object + position
560 SceneObject scn_obj = scene.CreateSceneObject(cfg_obj_type.GetValue(), cfg_obj_pos.GetValue().ToVector());
561
562 // Setup rotation
563 scn_obj.SetRotation(cfg_obj_rot.GetValue());
564 // Setup health
565 scn_obj.SetHealth(cfg_obj_hlt.GetValue());
566 // Setup init script
567 scn_obj.SetInitScript(DecodeInitScript(cfg_obj_iscr.GetValue()));
568
569 // Setup indices for linked objects
570 CfgParamArray cfg_obj_param_links = CfgParamArray.Cast(GetParamByName(param_name + "_" + PARAM_OBJ_LNK, CFG_TYPE_ARRAY));
572
573 for (int lnko = 0; lnko < cfg_obj_links.Count(); lnko++)
574 {
575 CfgParamInt cfg_obj_param_lnk_int = CfgParamInt.Cast(cfg_obj_links.Get(lnko));
576 scn_obj.m_LinkedSceneObjectsIndices.Insert(cfg_obj_param_lnk_int.GetValue());
577 }
578
579 string param_name_att = param_name + "_" + PARAM_OBJ_ATT;
580
581 if (ParamExist(param_name_att))
582 {
583 CfgParamArray cfg_param_att = CfgParamArray.Cast(GetParamByName(param_name_att, CFG_TYPE_ARRAY));
584
586
587 for (int j = 0; j < cfg_param_attachments.Count(); ++j)
588 {
589 CfgParamString cfg_param_att_str = CfgParamString.Cast(cfg_param_attachments.Get(j));
590 scn_obj.GetObject().GetInventory().CreateAttachment(cfg_param_att_str.GetValue());
591 }
592 }
593 }
594 }
const string PARAM_OBJ_ISCR
const string PARAM_OBJ_TYPE
string DecodeInitScript(string script)
const string PARAM_OBJ_NAME
const string PARAM_OBJ_COUNT

References CFG_TYPE_ARRAY, CFG_TYPE_FLOAT, CFG_TYPE_INT, and CFG_TYPE_STRING.

◆ LoadScenePlayer()

void PluginConfigHandler::LoadScenePlayer ( SceneData scene)
inlineprotected

Definition at line 493 of file PluginConfigScene.c.

494 {
495 // Only in local game (without server, (GetGame.GetPlayer is null on server! -> by design)
496 if (GetGame().GetPlayer() != NULL)
497 {
498 CfgParamArray cfg_player = CfgParamArray.Cast(GetParamByName(PARAM_PLAYER, CFG_TYPE_ARRAY));
499 CfgParamString cfg_ply_pos = CfgParamString.Cast(cfg_player.GetValueByName(PARAM_OBJ_POS, CFG_TYPE_STRING));
500 CfgParamFloat cfg_ply_rot = CfgParamFloat.Cast(cfg_player.GetValueByName(PARAM_OBJ_ROT, CFG_TYPE_FLOAT));
501 CfgParamFloat cfg_ply_hlt = CfgParamFloat.Cast(cfg_player.GetValueByName(PARAM_OBJ_HLT, CFG_TYPE_FLOAT));
502 CfgParamString cfg_ply_iscr = CfgParamString.Cast(cfg_player.GetValueByName(PARAM_OBJ_ISCR, CFG_TYPE_STRING));
503
504 ScenePlayer scn_player = scene.CreateScenePlayer();
505 scn_player.LinkEntityAI(GetGame().GetPlayer());
506
507 if (PluginSceneManager.GetInstance().GetLoadPlayerPos())
508 {
509 // start scene position
510 vector start_pos = cfg_ply_pos.GetValue().ToVector();
511
512 if (start_pos != vector.Zero)
513 {
514 // Set Position
515 scn_player.SetPosition(cfg_ply_pos.GetValue().ToVector());
516
517 // Set Rotation
518 scn_player.SetRotation(cfg_ply_rot.GetValue());
519 }
520 }
521
522 // Set Health
523 // Health check. Do not spawn player character as dead. He can still be spawned as injured.
524 float health2 = cfg_ply_hlt.GetValue();
525 if (health2 <= 0)
526 health2 = scn_player.GetMaxHealth();
527
528 scn_player.SetHealth(health2);
529
530 // Exe Script
531 scn_player.SetInitScript(DecodeInitScript(cfg_ply_iscr.GetValue()));
532 }
533 //PrintString("LoadScenePlayer.. Finished");
534 }
PlayerBase GetPlayer()
static const vector Zero
Definition EnConvert.c:110
proto native CGame GetGame()

References CFG_TYPE_ARRAY, CFG_TYPE_FLOAT, CFG_TYPE_STRING, GetGame(), GetPlayer(), and vector::Zero.

◆ LoadSceneSettings()

void PluginConfigHandler::LoadSceneSettings ( SceneData scene)
inlineprotected

Definition at line 397 of file PluginConfigScene.c.

398 {
399 // Load Mission Name
400 CfgParamString cfg_mission = CfgParamString.Cast(GetParamByName(PARAM_MISSION, CFG_TYPE_STRING));
401 scene.SetNameMission(cfg_mission.GetValue());
402
403 // Load Time
404 CfgParamFloat cfg_time = CfgParamFloat.Cast(GetParamByName(PARAM_TIME, CFG_TYPE_FLOAT));
405 scene.SetInitTime(cfg_time.GetValue());
406
407 int year, month, day, hour, minute;
408 GetGame().GetWorld().GetDate(year, month, day, hour, minute);
409
410 // Load Year
411 if (ParamExist(PARAM_YEAR))
412 {
413 CfgParamInt cfg_year = CfgParamInt.Cast(GetParamByName(PARAM_YEAR, CFG_TYPE_INT));
414 scene.SetInitYear(cfg_year.GetValue());
415 }
416 else
417 scene.SetInitYear(year);
418
419 // Load Month
420 if (ParamExist(PARAM_MONTH))
421 {
422 CfgParamInt cfg_month = CfgParamInt.Cast(GetParamByName(PARAM_MONTH, CFG_TYPE_INT));
423 scene.SetInitMonth(cfg_month.GetValue());
424 }
425 else
426 scene.SetInitMonth(month);
427
428 // Load Day
429 if (ParamExist(PARAM_DAY))
430 {
431 CfgParamInt cfg_day = CfgParamInt.Cast(GetParamByName(PARAM_DAY, CFG_TYPE_INT));
432 scene.SetInitDay(cfg_day.GetValue());
433 }
434 else
435 scene.SetInitDay(day);
436
437 // Load Hour
438 if (ParamExist(PARAM_HOUR))
439 {
440 CfgParamInt cfg_hour = CfgParamInt.Cast(GetParamByName(PARAM_HOUR, CFG_TYPE_INT));
441 scene.SetInitHour(cfg_hour.GetValue());
442 }
443 else
444 scene.SetInitHour(hour);
445
446 // Load Minute
447 if (ParamExist(PARAM_MINUTE))
448 {
449 CfgParamInt cfg_minute = CfgParamInt.Cast(GetParamByName(PARAM_MINUTE, CFG_TYPE_INT));
450 scene.SetInitMinute(cfg_minute.GetValue());
451 }
452 else
453 scene.SetInitMinute(minute);
454 }
const string PARAM_MISSION

References CFG_TYPE_FLOAT, CFG_TYPE_INT, CFG_TYPE_STRING, and GetGame().

◆ LoadSceneWeather()

void PluginConfigHandler::LoadSceneWeather ( SceneData scene)
inlineprotected

Definition at line 459 of file PluginConfigScene.c.

460 {
461 //Load Weather Overcast
462 if (ParamExist(PARAM_OVERCAST))
463 {
464 CfgParamFloat cfg_overcast = CfgParamFloat.Cast(GetParamByName(PARAM_OVERCAST, CFG_TYPE_FLOAT));
465 scene.SetInitOvercast(cfg_overcast.GetValue());
466 }
467
468 //Load Weather Rain
469 if (ParamExist(PARAM_RAIN))
470 {
471 CfgParamFloat cfg_rain = CfgParamFloat.Cast(GetParamByName(PARAM_RAIN, CFG_TYPE_FLOAT));
472 scene.SetInitRain(cfg_rain.GetValue());
473 }
474
475 //Load Weather Fog
476 if (ParamExist(PARAM_FOG))
477 {
478 CfgParamFloat cfg_fog = CfgParamFloat.Cast(GetParamByName(PARAM_FOG, CFG_TYPE_FLOAT));
479 scene.SetInitFog(cfg_fog.GetValue());
480 }
481
482 //Load Weather Wind Force
483 if (ParamExist(PARAM_WIND_F))
484 {
485 CfgParamFloat cfg_wind_force = CfgParamFloat.Cast(GetParamByName(PARAM_WIND_F, CFG_TYPE_FLOAT));
486 scene.SetInitWindForce(cfg_wind_force.GetValue());
487 }
488 }
const string PARAM_OVERCAST

References CFG_TYPE_FLOAT.

◆ OnInit() [1/3]

override void PluginConfigHandler::OnInit ( )
inlineprotected

Definition at line 330 of file PluginConfigDebugProfile.c.

331 {
332 super.OnInit();
333
335
337 for (int i = 0; i < params.Count(); i++)
338 {
339 CfgParamString param = CfgParamString.Cast(params.Get(i));
340 m_PresetList.Insert(param.GetValue());
341 }
342 }

◆ OnInit() [2/3]

override void PluginConfigHandler::OnInit ( )
inlineprotected

Definition at line 36 of file PluginConfigScene.c.

37 {
38 //super.OnInit();
39
40 FILE_ROOT = g_Game.GetMissionFolderPath();
41 }

References g_Game.

◆ OnInit() [3/3]

override void PluginConfigHandler::OnInit ( )
inlineprotected

Definition at line 17 of file PluginMissionConfig.c.

18 {
19 super.OnInit();
20
21 CfgParamString cfg_scene_name = CfgParamString.Cast(GetParamByName(SCENE_EDITOR_SCENE, CFG_TYPE_STRING));
22
23 if (cfg_scene_name.GetValue() == STRING_EMPTY)
24 {
25 cfg_scene_name.SetValue(PluginSceneManager.SCENE_DEFAULT_NAME);
26 SaveConfigToFile();
27 }
28 }

References CFG_TYPE_STRING, and STRING_EMPTY.

◆ PluginConfigDebugProfile()

void PluginConfigHandler::PluginConfigDebugProfile ( )
inlineprotected

Definition at line 277 of file PluginConfigDebugProfile.c.

278 {
305 }
array< ref CfgParam > GetDefaultBatchRectParams()
CfgParamFloat GetNewCfgParamFloat(float value)
CfgParamBool GetNewCfgParamBool(bool value)
CfgParamArray GetNewCfgParamArray(array< ref CfgParam > params)
CfgParamInt GetNewCfgParamInt(int value)
CfgParamString GetNewCfgParamString(string value)

◆ PluginConfigEmotesProfile()

void PluginConfigHandler::PluginConfigEmotesProfile ( )
inlineprotected

Definition at line 71 of file PluginConfigEmotesProfile.c.

72 {
74 //Here you can configure default EMOTES
75
87 //m_DefaultValues.Insert( EMOTE_12, GetNewCfgParamInt(EmoteConstants.ID_EMOTE_DANCE) );
88 //m_DefaultValues.Insert( EMOTE_12, GetNewCfgParamInt(EmoteConstants.ID_EMOTE_SOS) );
89 }
const int ID_EMOTE_SURRENDER
Definition constants.c:389
const int ID_EMOTE_POINT
Definition constants.c:370
const int ID_EMOTE_THUMB
Definition constants.c:358
const int ID_EMOTE_TAUNT
Definition constants.c:353
const int ID_EMOTE_GREETING
Definition constants.c:350
const int ID_EMOTE_THROAT
Definition constants.c:359
const int ID_EMOTE_SUICIDE
Definition constants.c:360
const int ID_EMOTE_HEART
Definition constants.c:352
const int ID_EMOTE_SOS
Definition constants.c:351
const int ID_EMOTE_TAUNTKISS
Definition constants.c:355
const int ID_EMOTE_TAUNTELBOW
Definition constants.c:357

References EmoteConstants::ID_EMOTE_GREETING, EmoteConstants::ID_EMOTE_HEART, EmoteConstants::ID_EMOTE_POINT, EmoteConstants::ID_EMOTE_SOS, EmoteConstants::ID_EMOTE_SUICIDE, EmoteConstants::ID_EMOTE_SURRENDER, EmoteConstants::ID_EMOTE_TAUNT, EmoteConstants::ID_EMOTE_TAUNTELBOW, EmoteConstants::ID_EMOTE_TAUNTKISS, EmoteConstants::ID_EMOTE_THROAT, and EmoteConstants::ID_EMOTE_THUMB.

◆ PresetAdd()

bool PluginConfigHandler::PresetAdd ( string preset_name)
inlineprotected

Definition at line 840 of file PluginConfigDebugProfile.c.

841 {
842 if (m_PresetList.Find(preset_name) > -1)
843 return false;
844
847 SaveConfigToFile();
848
849 return true;
850 }
void SetPreset(string preset_name, int index=-1)

◆ PresetRemove()

bool PluginConfigHandler::PresetRemove ( string preset_name)
inlineprotected

Definition at line 852 of file PluginConfigDebugProfile.c.

853 {
854 if (m_PresetList.Find(preset_name) == -1)
855 return false;
856
858 RemoveParamByName(preset_name);
859 SaveConfigToFile();
860
861 return true;
862 }
void RemovePreset(string preset_name)

◆ PresetRename()

bool PluginConfigHandler::PresetRename ( string old_preset_name,
string new_preset_name )
inlineprotected

Definition at line 864 of file PluginConfigDebugProfile.c.

865 {
867
868 if (index == -1)
869 return false;
870
872 RenameParam(old_preset_name, new_preset_name);
873 SaveConfigToFile();
874
875 return true;
876 }

◆ RemovePreset()

void PluginConfigHandler::RemovePreset ( string preset_name)
inlineprotected

Definition at line 815 of file PluginConfigDebugProfile.c.

816 {
818 for (int i = 0; i < params.Count(); i++)
819 {
820 CfgParamString param = CfgParamString.Cast(params.Get(i));
821 if (param.GetValue() == preset_name)
822 {
823 params.RemoveItem(param);
824 m_PresetList.RemoveItem(preset_name);
825 }
826 }
827 }

◆ SaveSceneObjects()

void PluginConfigHandler::SaveSceneObjects ( SceneData scene)
inlineprotected

Definition at line 272 of file PluginConfigScene.c.

273 {
274 array<ref SceneObject> objects = scene.GetSceneObjects();
275
276 // Save Objects
277 for (int i = 0; i < objects.Count(); ++i)
278 {
279 SceneObject obj = objects.Get(i);
280
281 string param_name;
282
283 param_name = PARAM_OBJ_NAME + "_" + i.ToString();
284
285 // Save Scene Object
286 CfgParamArray cfg_param_obj = CfgParamArray.Cast(GetParamByName(param_name, CFG_TYPE_ARRAY));
287
288 // Obj Type Name
289 CfgParamString cfg_param_obj_type = CfgParamString.Cast(cfg_param_obj.GetValueByName(PARAM_OBJ_TYPE, CFG_TYPE_STRING));
290 cfg_param_obj_type.SetValue(obj.GetTypeName());
291
292 // Obj Position
293 CfgParamString cfg_param_obj_pos = CfgParamString.Cast(cfg_param_obj.GetValueByName(PARAM_OBJ_POS, CFG_TYPE_STRING));
295
296 // Obj Rotation
297 CfgParamFloat cfg_param_obj_rot = CfgParamFloat.Cast(cfg_param_obj.GetValueByName(PARAM_OBJ_ROT, CFG_TYPE_FLOAT));
298 cfg_param_obj_rot.SetValue(obj.GetRotation());
299
300 // Obj Health
301 CfgParamFloat cfg_param_obj_hlt = CfgParamFloat.Cast(cfg_param_obj.GetValueByName(PARAM_OBJ_HLT, CFG_TYPE_FLOAT));
302 cfg_param_obj_hlt.SetValue(obj.GetHealth());
303
304 // Obj Init Script
305 CfgParamString cfg_param_obj_iscr = CfgParamString.Cast(cfg_param_obj.GetValueByName(PARAM_OBJ_ISCR, CFG_TYPE_STRING));
307
308 EntityAI e_obj = obj.GetObject();
309
310 int attcount = e_obj.GetInventory().AttachmentCount();
311
312 if (attcount > 0)
313 {
314 string param_name_att = param_name + "_" + PARAM_OBJ_ATT;
315 CfgParamArray cfg_param_att = CfgParamArray.Cast(GetParamByName(param_name_att, CFG_TYPE_ARRAY));
316 cfg_param_att.Clear();
317
318 for (int att = 0; att < attcount; att++)
319 {
320 EntityAI attachment = e_obj.GetInventory().GetAttachmentFromIndex(att);
321
322 CfgParamString cfg_param_att_str = new CfgParamString("");
323 cfg_param_att_str.SetValue(attachment.GetType());
324 cfg_param_att.InsertValue(cfg_param_att_str);
325 }
326 }
327
329 if (linked_scene_objects.Count() > 0)
330 {
331 string param_name_lnk = param_name + "_" + PARAM_OBJ_LNK;
332 CfgParamArray cfg_param_lnk = CfgParamArray.Cast(GetParamByName(param_name_lnk, CFG_TYPE_ARRAY));
333 cfg_param_lnk.Clear();
334
335 for (int lnk = 0; lnk < linked_scene_objects.Count(); lnk++)
336 {
337 CfgParamInt cfg_param_lnk_int = new CfgParamInt("");
338
339 int index = objects.Find(linked_scene_objects.Get(lnk));
340
341 if (index >= 0)
342 {
343 cfg_param_lnk_int.SetValue(index);
344 cfg_param_lnk.InsertValue(cfg_param_lnk_int);
345 }
346 }
347 }
348 }
349
350 // Save Count Of objects
351 CfgParamInt cfg_obj_count = CfgParamInt.Cast(GetParamByName(PARAM_OBJ_COUNT, CFG_TYPE_INT));
352 cfg_obj_count.SetValue(objects.Count());
353 }
string EncodeInitScript(string script)
array< SceneObject > GetLinkedSceneObjects()
float GetHealth()
string GetTypeName()
float GetRotation()
string GetPositionAsString()
string GetInitScript()
Definition SceneObject.c:81
EntityAI GetObject()
Definition SceneObject.c:57

References CFG_TYPE_ARRAY, CFG_TYPE_FLOAT, CFG_TYPE_INT, CFG_TYPE_STRING, SceneObject::GetHealth(), SceneObject::GetInitScript(), SceneObject::GetLinkedSceneObjects(), SceneObject::GetObject(), SceneObject::GetPositionAsString(), SceneObject::GetRotation(), and SceneObject::GetTypeName().

◆ SaveScenePlayer()

void PluginConfigHandler::SaveScenePlayer ( SceneData scene)
inlineprotected

Definition at line 240 of file PluginConfigScene.c.

241 {
242 array<ref ScenePlayer> players = scene.GetScenePlayers();
243
244 if (players.Count() > 0)
245 {
246 ScenePlayer plyr = players.Get(0);
247
248 // Save Player
249 CfgParamArray cfg_param_player = CfgParamArray.Cast(GetParamByName(PARAM_PLAYER, CFG_TYPE_ARRAY));
250
251 // Obj Position
252 CfgParamString cfg_param_player_pos = CfgParamString.Cast(cfg_param_player.GetValueByName(PARAM_OBJ_POS, CFG_TYPE_STRING));
253 cfg_param_player_pos.SetValue(plyr.GetPositionAsString());
254
255 // Obj Rotation
256 CfgParamFloat cfg_param_player_rot = CfgParamFloat.Cast(cfg_param_player.GetValueByName(PARAM_OBJ_ROT, CFG_TYPE_FLOAT));
257 cfg_param_player_rot.SetValue(plyr.GetRotation());
258
259 // Obj Health
260 CfgParamFloat cfg_param_player_hlt = CfgParamFloat.Cast(cfg_param_player.GetValueByName(PARAM_OBJ_HLT, CFG_TYPE_FLOAT));
261 cfg_param_player_hlt.SetValue(plyr.GetHealth());
262
263 // Obj Init Script
264 CfgParamString cfg_param_player_iscr = CfgParamString.Cast(cfg_param_player.GetValueByName(PARAM_OBJ_ISCR, CFG_TYPE_STRING));
265 cfg_param_player_iscr.SetValue(EncodeInitScript(plyr.GetInitScript()));
266 }
267 }

References CFG_TYPE_ARRAY, CFG_TYPE_FLOAT, and CFG_TYPE_STRING.

◆ SaveSceneSettings()

void PluginConfigHandler::SaveSceneSettings ( SceneData scene)
inlineprotected

Definition at line 184 of file PluginConfigScene.c.

185 {
186 // Save Mission Name
187 CfgParamString cfg_mission = CfgParamString.Cast(GetParamByName(PARAM_MISSION, CFG_TYPE_STRING));
188 cfg_mission.SetValue(scene.GetNameMission());
189
190 // Save Time
191 CfgParamFloat cfg_time = CfgParamFloat.Cast(GetParamByName(PARAM_TIME, CFG_TYPE_FLOAT));
192 cfg_time.SetValue(scene.GetInitTime());
193
194 // Save Year
195 CfgParamInt cfg_year = CfgParamInt.Cast(GetParamByName(PARAM_YEAR, CFG_TYPE_INT));
196 cfg_year.SetValue(scene.GetInitYear());
197
198 // Save Month
199 CfgParamInt cfg_month = CfgParamInt.Cast(GetParamByName(PARAM_MONTH, CFG_TYPE_INT));
200 cfg_month.SetValue(scene.GetInitMonth());
201
202 // Save Day
203 CfgParamInt cfg_day = CfgParamInt.Cast(GetParamByName(PARAM_DAY, CFG_TYPE_INT));
204 cfg_day.SetValue(scene.GetInitDay());
205
206 // Save Hour
207 CfgParamInt cfg_hour = CfgParamInt.Cast(GetParamByName(PARAM_HOUR, CFG_TYPE_INT));
208 cfg_hour.SetValue(scene.GetInitHour());
209
210 // Save Minute
211 CfgParamInt cfg_minute = CfgParamInt.Cast(GetParamByName(PARAM_MINUTE, CFG_TYPE_INT));
212 cfg_minute.SetValue(scene.GetInitMinute());
213 }

References CFG_TYPE_FLOAT, CFG_TYPE_INT, and CFG_TYPE_STRING.

◆ SaveSceneWeather()

void PluginConfigHandler::SaveSceneWeather ( SceneData scene)
inlineprotected

Definition at line 218 of file PluginConfigScene.c.

219 {
220 // Save Weather Overcast
221 CfgParamFloat cfg_overcast = CfgParamFloat.Cast(GetParamByName(PARAM_OVERCAST, CFG_TYPE_FLOAT));
222 cfg_overcast.SetValue(scene.GetInitOvercast());
223
224 // Save Weather Rain
225 CfgParamFloat cfg_rain = CfgParamFloat.Cast(GetParamByName(PARAM_RAIN, CFG_TYPE_FLOAT));
226 cfg_rain.SetValue(scene.GetInitRain());
227
228 // Save Weather Fog
229 CfgParamFloat cfg_fog = CfgParamFloat.Cast(GetParamByName(PARAM_FOG, CFG_TYPE_FLOAT));
230 cfg_fog.SetValue(scene.GetInitFog());
231
232 // Save Weather Wind Force
233 CfgParamFloat cfg_wind_force = CfgParamFloat.Cast(GetParamByName(PARAM_WIND_F, CFG_TYPE_FLOAT));
234 cfg_wind_force.SetValue(scene.GetInitWindForce());
235 }

References CFG_TYPE_FLOAT.

◆ SceneDataLoad()

SceneData PluginConfigHandler::SceneDataLoad ( string scene_name)
inlineprotected

Definition at line 364 of file PluginConfigScene.c.

365 {
366 m_FileSceneName = scene_name + "." + PluginSceneManager.SCENE_SUFIX;
367
368 //PrintString("Loading scene: "+ scene_name);
369
370 LoadConfigFile();
371
372 // Load Scene name
374 scene.SetNameScene(scene_name);
375
376 // Load Scene settings
378
379 // Load Scene Weather
381
382 // Load Scene Player
384
385 // Load Scene Objects
387
388 if (!FileExist(GetFileName()))
390
391 return scene;
392 }
void LoadSceneWeather(SceneData scene)
void LoadSceneSettings(SceneData scene)
void LoadSceneObjects(SceneData scene)
void SceneDataSave(SceneData scene)
void LoadScenePlayer(SceneData scene)

References FileExist(), and GetFileName().

◆ SceneDataSave()

void PluginConfigHandler::SceneDataSave ( SceneData scene)
inlineprotected

Definition at line 155 of file PluginConfigScene.c.

156 {
157 PluginSceneManager module_scene_editor = PluginSceneManager.Cast(GetPlugin(PluginSceneManager));
158
159 EntityAI player = PluginSceneManager.PLAYER;
160
161 // Log("Saving started....")
162 m_FileSceneName = scene.GetNameScene() + "." + PluginSceneManager.SCENE_SUFIX;
163
164 // Save Settings
166
167 // Save Weater
169
170 // Save Players
172
173 // Save Objects
175
176 // Save To File
177 SaveConfigToFile();
178 }
void SaveSceneWeather(SceneData scene)
void SaveScenePlayer(SceneData scene)
void SaveSceneSettings(SceneData scene)
void SaveSceneObjects(SceneData scene)

References GetPlugin().

◆ SceneDelete()

void PluginConfigHandler::SceneDelete ( string scene_name)
inlineprotected

Definition at line 72 of file PluginConfigScene.c.

73 {
74 string file_path = GetPathScenes() + "\\" + scene_name + "." + PluginSceneManager.SCENE_SUFIX;
75 PluginFileHandler.FileDelete(file_path);
76 }

◆ SceneDuplicate()

void PluginConfigHandler::SceneDuplicate ( string scene_name)
inlineprotected

Definition at line 81 of file PluginConfigScene.c.

82 {
83 string file_path = GetPathScenes() + "\\" + scene_name + "." + PluginSceneManager.SCENE_SUFIX;
84 string file_path_new = file_path;
85
86 int i = 0;
88 {
89 file_path_new = GetPathScenes() + "\\" + scene_name + "_copy" + i.ToString() + "." + PluginSceneManager.SCENE_SUFIX;
90 i++;
91 }
92
94 }

References FileExist().

◆ SceneRename()

void PluginConfigHandler::SceneRename ( string scene_name,
string scene_name_new )
inlineprotected

Definition at line 62 of file PluginConfigScene.c.

63 {
64 string file_path = GetPathScenes() + "\\" + scene_name + "." + PluginSceneManager.SCENE_SUFIX;
65 string file_path_new = GetPathScenes() + "\\" + scene_name_new + "." + PluginSceneManager.SCENE_SUFIX;
67 }

◆ SetArray()

CfgParamArray PluginConfigHandler::SetArray ( string key,
array< ref CfgParam > params )
inlineprotected

Definition at line 103 of file PluginConfigDebugProfile.c.

104 {
105 CfgParamArray param = CfgParamArray.Cast(GetParamByName(key, CFG_TYPE_ARRAY));
106 param.SetParams(params);
107 SaveConfigToFile();
108 return param;
109 }

References CFG_TYPE_ARRAY.

◆ SetBatchSpawnQuantity()

void PluginConfigHandler::SetBatchSpawnQuantity ( int value)
inlineprotected

Definition at line 489 of file PluginConfigDebugProfile.c.

490 {
492 }

◆ SetBatchSpawnRectangle()

void PluginConfigHandler::SetBatchSpawnRectangle ( int row,
int column,
float rowStep,
float columnStep )
inlineprotected

Definition at line 459 of file PluginConfigDebugProfile.c.

460 {
462 params.Clear();
463 CfgParamString param;
464
465 CfgParamInt param1 = new CfgParamInt("");
466 param1.SetValue(row);
467 CfgParamInt param2 = new CfgParamInt("");
468 param2.SetValue(column);
469 CfgParamFloat param3 = new CfgParamFloat("");
470 param3.SetValue(rowStep);
471 CfgParamFloat param4 = new CfgParamFloat("");
472 param4.SetValue(columnStep);
473
474 params.Insert(param1);
475 params.Insert(param2);
476 params.Insert(param3);
477 params.Insert(param4);
478 SaveConfigToFile();
479 }

◆ SetBool()

CfgParamBool PluginConfigHandler::SetBool ( string key,
bool value )
inlineprotected

Definition at line 133 of file PluginConfigDebugProfile.c.

134 {
135 CfgParamBool param = CfgParamBool.Cast(GetParamByName(key, CFG_TYPE_BOOL));
136 param.SetValue(value);
137 SaveConfigToFile();
138 return param;
139 }

References CFG_TYPE_BOOL.

◆ SetCharacterAgentsVisible()

void PluginConfigHandler::SetCharacterAgentsVisible ( bool is_visible)
inlineprotected

Definition at line 596 of file PluginConfigDebugProfile.c.

597 {
599 }

◆ SetCharacterDebugVisible()

void PluginConfigHandler::SetCharacterDebugVisible ( bool is_visible)
inlineprotected

Definition at line 609 of file PluginConfigDebugProfile.c.

610 {
612 }

◆ SetCharacterLevelsVisible()

void PluginConfigHandler::SetCharacterLevelsVisible ( bool is_visible)
inlineprotected

Definition at line 541 of file PluginConfigDebugProfile.c.

542 {
544 }

◆ SetCharacterModifiersVisible()

void PluginConfigHandler::SetCharacterModifiersVisible ( bool is_visible)
inlineprotected

Definition at line 583 of file PluginConfigDebugProfile.c.

◆ SetCharacterStatsVisible()

void PluginConfigHandler::SetCharacterStatsVisible ( bool is_visible)
inlineprotected

Definition at line 570 of file PluginConfigDebugProfile.c.

571 {
573 }

◆ SetCharacterStomachVisible()

void PluginConfigHandler::SetCharacterStomachVisible ( bool is_visible)
inlineprotected

Definition at line 622 of file PluginConfigDebugProfile.c.

623 {
625 }

◆ SetConfigClassesFlag()

void PluginConfigHandler::SetConfigClassesFlag ( int flag)
inlineprotected

Definition at line 714 of file PluginConfigDebugProfile.c.

715 {
717 }

◆ SetDefaultPreset()

void PluginConfigHandler::SetDefaultPreset ( string value)
inlineprotected

Definition at line 446 of file PluginConfigDebugProfile.c.

447 {
449 }

◆ SetEmoteSlot1()

void PluginConfigHandler::SetEmoteSlot1 ( int emoted_id)
inlineprotected

Definition at line 107 of file PluginConfigEmotesProfile.c.

108 {
109 SetInt(EmoteSlots.EMOTE_1.ToString(), emoted_id);
110 }

References SetInt().

◆ SetEmoteSlot10()

void PluginConfigHandler::SetEmoteSlot10 ( int emoted_id)
inlineprotected

Definition at line 197 of file PluginConfigEmotesProfile.c.

198 {
199 SetInt(EmoteSlots.EMOTE_10.ToString(), emoted_id);
200 }

References SetInt().

◆ SetEmoteSlot11()

void PluginConfigHandler::SetEmoteSlot11 ( int emoted_id)
inlineprotected

Definition at line 207 of file PluginConfigEmotesProfile.c.

208 {
209 SetInt(EmoteSlots.EMOTE_11.ToString(), emoted_id);
210 }

References SetInt().

◆ SetEmoteSlot2()

void PluginConfigHandler::SetEmoteSlot2 ( int emoted_id)
inlineprotected

Definition at line 117 of file PluginConfigEmotesProfile.c.

118 {
119 SetInt(EmoteSlots.EMOTE_2.ToString(), emoted_id);
120 }

References SetInt().

◆ SetEmoteSlot3()

void PluginConfigHandler::SetEmoteSlot3 ( int emoted_id)
inlineprotected

Definition at line 127 of file PluginConfigEmotesProfile.c.

128 {
129 SetInt(EmoteSlots.EMOTE_3.ToString(), emoted_id);
130 }

References SetInt().

◆ SetEmoteSlot4()

void PluginConfigHandler::SetEmoteSlot4 ( int emoted_id)
inlineprotected

Definition at line 137 of file PluginConfigEmotesProfile.c.

138 {
139 SetInt(EmoteSlots.EMOTE_4.ToString(), emoted_id);
140 }

References SetInt().

◆ SetEmoteSlot5()

void PluginConfigHandler::SetEmoteSlot5 ( int emoted_id)
inlineprotected

Definition at line 147 of file PluginConfigEmotesProfile.c.

148 {
149 SetInt(EmoteSlots.EMOTE_5.ToString(), emoted_id);
150 }

References SetInt().

◆ SetEmoteSlot6()

void PluginConfigHandler::SetEmoteSlot6 ( int emoted_id)
inlineprotected

Definition at line 157 of file PluginConfigEmotesProfile.c.

158 {
159 SetInt(EmoteSlots.EMOTE_6.ToString(), emoted_id);
160 }

References SetInt().

◆ SetEmoteSlot7()

void PluginConfigHandler::SetEmoteSlot7 ( int emoted_id)
inlineprotected

Definition at line 167 of file PluginConfigEmotesProfile.c.

168 {
169 SetInt(EmoteSlots.EMOTE_7.ToString(), emoted_id);
170 }

References SetInt().

◆ SetEmoteSlot8()

void PluginConfigHandler::SetEmoteSlot8 ( int emoted_id)
inlineprotected

Definition at line 177 of file PluginConfigEmotesProfile.c.

178 {
179 SetInt(EmoteSlots.EMOTE_8.ToString(), emoted_id);
180 }

References SetInt().

◆ SetEmoteSlot9()

void PluginConfigHandler::SetEmoteSlot9 ( int emoted_id)
inlineprotected

Definition at line 187 of file PluginConfigEmotesProfile.c.

188 {
189 SetInt(EmoteSlots.EMOTE_9.ToString(), emoted_id);
190 }

References SetInt().

◆ SetFilterOrderReversed()

void PluginConfigHandler::SetFilterOrderReversed ( bool reversed)
inlineprotected

Definition at line 433 of file PluginConfigDebugProfile.c.

434 {
436 }

◆ SetFloat()

CfgParamFloat PluginConfigHandler::SetFloat ( string key,
float value )
inlineprotected

Definition at line 163 of file PluginConfigDebugProfile.c.

164 {
165 CfgParamFloat param = CfgParamFloat.Cast(GetParamByName(key, CFG_TYPE_FLOAT));
166 param.SetValue(value);
167 SaveConfigToFile();
168 return param;
169 }

References CFG_TYPE_FLOAT.

◆ SetFreeCameraCrosshairVisible()

void PluginConfigHandler::SetFreeCameraCrosshairVisible ( bool is_visible)
inlineprotected

Definition at line 635 of file PluginConfigDebugProfile.c.

◆ SetInt() [1/2]

CfgParamInt PluginConfigHandler::SetInt ( string key,
int value )
inlineprotected

Definition at line 193 of file PluginConfigDebugProfile.c.

194 {
195 CfgParamInt param = CfgParamInt.Cast(GetParamByName(key, CFG_TYPE_INT));
196 param.SetValue(value);
197 SaveConfigToFile();
198 return param;
199 }

References CFG_TYPE_INT.

Referenced by GetInt(), SetEmoteSlot1(), SetEmoteSlot10(), SetEmoteSlot11(), SetEmoteSlot2(), SetEmoteSlot3(), SetEmoteSlot4(), SetEmoteSlot5(), SetEmoteSlot6(), SetEmoteSlot7(), SetEmoteSlot8(), and SetEmoteSlot9().

◆ SetInt() [2/2]

CfgParamInt PluginConfigHandler::SetInt ( string key,
int value )
inlineprotected

Definition at line 41 of file PluginConfigEmotesProfile.c.

42 {
43 CfgParamInt param = CfgParamInt.Cast(GetParamByName(key, CFG_TYPE_INT));
44 param.SetValue(value);
45 //SaveConfigToFile();
46 return param;
47 }

References CFG_TYPE_INT.

◆ SetItemCategoryFlag()

void PluginConfigHandler::SetItemCategoryFlag ( int flag)
inlineprotected

Definition at line 728 of file PluginConfigDebugProfile.c.

729 {
731 }

◆ SetItemDebugPos()

void PluginConfigHandler::SetItemDebugPos ( vector pos)
inlineprotected

Definition at line 550 of file PluginConfigDebugProfile.c.

551 {
552 SetString(ITEMDEBUG, pos.ToString(false));
553 }
proto string ToString(bool beautify=true)
Vector to string.

References vector::ToString().

◆ SetItemHealth()

bool PluginConfigHandler::SetItemHealth ( string preset_name,
int item_index,
float health )
inlineprotected

Definition at line 974 of file PluginConfigDebugProfile.c.

975 {
977
978 if (param != NULL)
979 {
980 CfgParamFloat param_float = CfgParamFloat.Cast(param);
981 param_float.SetValue(health);
982 }
983 else
984 {
986
987 if (item_params != NULL)
988 {
989 CfgParamFloat new_param = new CfgParamFloat(SUB_PARAM_ITEM_HEALTH);
990 new_param.SetValue(health);
991 item_params.Insert(new_param);
992 }
993 }
994
995 SaveConfigToFile();
996
997 return true;
998 }

◆ SetItemQuantity()

bool PluginConfigHandler::SetItemQuantity ( string preset_name,
int item_index,
int quantity )
inlineprotected

Definition at line 1013 of file PluginConfigDebugProfile.c.

1014 {
1016
1017 if (param != NULL)
1018 {
1019 CfgParamInt param_int = CfgParamInt.Cast(param);
1020 param_int.SetValue(quantity);
1021 }
1022 else
1023 {
1025
1026 if (item_params != NULL)
1027 {
1028 CfgParamInt new_param = new CfgParamInt(SUB_PARAM_ITEM_QUANTITY);
1029 new_param.SetValue(quantity);
1030 item_params.Insert(new_param);
1031 }
1032 }
1033
1034 SaveConfigToFile();
1035
1036 return true;
1037 }

◆ SetItemSearch()

void PluginConfigHandler::SetItemSearch ( string value)
inlineprotected

Definition at line 501 of file PluginConfigDebugProfile.c.

502 {
504 }

◆ SetItemWithPhysics()

bool PluginConfigHandler::SetItemWithPhysics ( string preset_name,
int item_index,
bool with_physics )
inlineprotected

Definition at line 1052 of file PluginConfigDebugProfile.c.

1053 {
1055
1056 if (param != NULL)
1057 {
1058 CfgParamBool param_bool = CfgParamBool.Cast(param);
1059 param_bool.SetValue(with_physics);
1060 }
1061 else
1062 {
1064
1065 if (item_params != NULL)
1066 {
1067 CfgParamBool new_param = new CfgParamBool(SUB_PARAM_ITEM_WITH_PHYSICS);
1068 new_param.SetValue(with_physics);
1069 item_params.Insert(new_param);
1070 }
1071 }
1072
1073 SaveConfigToFile();
1074
1075 return true;
1076 }

◆ SetLogsEnabled()

void PluginConfigHandler::SetLogsEnabled ( bool value)
inlineprotected

Definition at line 527 of file PluginConfigDebugProfile.c.

528 {
530 }

◆ SetMergeType()

void PluginConfigHandler::SetMergeType ( bool is_visible)
inlineprotected

Definition at line 661 of file PluginConfigDebugProfile.c.

662 {
664 }

◆ SetPreset()

void PluginConfigHandler::SetPreset ( string preset_name,
int index = -1 )
inlineprotected

Definition at line 792 of file PluginConfigDebugProfile.c.

793 {
795 CfgParamString param;
796
797 if (index == -1)
798 {
799 param = new CfgParamString("");
800 param.SetValue(preset_name);
801 params.Insert(param);
803 }
804 else
805 {
806 param = CfgParamString.Cast(params.Get(index));
807 param.SetValue(preset_name);
808 params.Set(index, param);
810 }
811
812 SaveConfigToFile();
813 }

◆ SetSceneEditorDrawSelection()

void PluginConfigHandler::SetSceneEditorDrawSelection ( bool value)
inlineprotected

Definition at line 368 of file PluginConfigDebugProfile.c.

369 {
371 }

◆ SetSceneEditorLoadPlayerPos()

void PluginConfigHandler::SetSceneEditorLoadPlayerPos ( bool value)
inlineprotected

Definition at line 381 of file PluginConfigDebugProfile.c.

382 {
384 }

◆ SetSceneEditorName()

void PluginConfigHandler::SetSceneEditorName ( string value)
inlineprotected

Definition at line 57 of file PluginMissionConfig.c.

58 {
59 CfgParamString cfg_scene_name = CfgParamString.Cast(GetParamByName(SCENE_EDITOR_SCENE, CFG_TYPE_STRING));
60 cfg_scene_name.SetValue(value);
61 SaveConfigToFile();
62 }

References CFG_TYPE_STRING.

◆ SetSceneEditorRotationAngle()

void PluginConfigHandler::SetSceneEditorRotationAngle ( int value)
inlineprotected

Definition at line 394 of file PluginConfigDebugProfile.c.

395 {
397 }

◆ SetShowItemPreview()

void PluginConfigHandler::SetShowItemPreview ( bool show)
inlineprotected

Definition at line 700 of file PluginConfigDebugProfile.c.

701 {
702 SetBool(ITEM_PREVIEW, show);
703 }

◆ SetSoundsetFilter()

void PluginConfigHandler::SetSoundsetFilter ( string content)
inlineprotected

Definition at line 674 of file PluginConfigDebugProfile.c.

675 {
677 }

◆ SetSpawnDistance()

void PluginConfigHandler::SetSpawnDistance ( float value)
inlineprotected

Definition at line 514 of file PluginConfigDebugProfile.c.

515 {
517 }

◆ SetSpawnLocIndex()

void PluginConfigHandler::SetSpawnLocIndex ( int value)
inlineprotected

Definition at line 420 of file PluginConfigDebugProfile.c.

421 {
423 }

◆ SetString()

CfgParamString PluginConfigHandler::SetString ( string key,
string value )
inlineprotected

Definition at line 223 of file PluginConfigDebugProfile.c.

224 {
225 CfgParamString param = CfgParamString.Cast(GetParamByName(key, CFG_TYPE_STRING));
226 if (param)
227 {
228 param.SetValue(value);
229 SaveConfigToFile();
230 }
231 return param;
232 }

References CFG_TYPE_STRING.

◆ SetTabSelected()

void PluginConfigHandler::SetTabSelected ( int value)
inlineprotected

Definition at line 407 of file PluginConfigDebugProfile.c.

408 {
410 }

◆ SetTempVisible()

void PluginConfigHandler::SetTempVisible ( bool is_visible)
inlineprotected

Definition at line 687 of file PluginConfigDebugProfile.c.

688 {
690 }

◆ SetVersionVisible()

void PluginConfigHandler::SetVersionVisible ( bool is_visible)
inlineprotected

Definition at line 648 of file PluginConfigDebugProfile.c.

649 {
651 }

◆ SwapItem()

bool PluginConfigHandler::SwapItem ( string preset_name,
int item1_index,
int item2_index )
inlineprotected

Definition at line 914 of file PluginConfigDebugProfile.c.

915 {
917
918 if (item1_index >= params.Count() || item2_index >= params.Count())
919 return false;
920
921 params.SwapItems(item1_index, item2_index);
922 SaveConfigToFile();
923
924 return true;
925 }

Member Data Documentation

◆ BATCH_QUANT

const string PluginConfigHandler::BATCH_QUANT = "batch_spawn_quantity"
protected

Definition at line 32 of file PluginConfigDebugProfile.c.

◆ BATCH_RECT

const string PluginConfigHandler::BATCH_RECT = "batch_spawn_rect"
protected

Definition at line 31 of file PluginConfigDebugProfile.c.

◆ CHAR_AGENTS_VIS

const string PluginConfigHandler::CHAR_AGENTS_VIS = "console_character_agents_visible"
protected

Definition at line 15 of file PluginConfigDebugProfile.c.

◆ CHAR_DEBUG_VIS

const string PluginConfigHandler::CHAR_DEBUG_VIS = "console_character_debug_visible"
protected

Definition at line 16 of file PluginConfigDebugProfile.c.

◆ CHAR_LEVELS_VIS

const string PluginConfigHandler::CHAR_LEVELS_VIS = "console_character_levels_visible"
protected

Definition at line 13 of file PluginConfigDebugProfile.c.

◆ CHAR_MODIFIERS_VIS

const string PluginConfigHandler::CHAR_MODIFIERS_VIS = "console_character_modifiers_visible"
protected

Definition at line 14 of file PluginConfigDebugProfile.c.

◆ CHAR_STATS_VIS

const string PluginConfigHandler::CHAR_STATS_VIS = "console_character_stats_visible"
protected

Definition at line 12 of file PluginConfigDebugProfile.c.

◆ CHAR_STOMACH_VIS

const string PluginConfigHandler::CHAR_STOMACH_VIS = "console_character_stomach_visible"
protected

Definition at line 17 of file PluginConfigDebugProfile.c.

◆ CONFIG_CLASSES_FLAG

const string PluginConfigHandler::CONFIG_CLASSES_FLAG = "toggled_config_classes_flag"
protected

Definition at line 28 of file PluginConfigDebugProfile.c.

◆ FILE_NAME

const string PluginConfigHandler::FILE_NAME = "scene_editor.cfg"
protected

Definition at line 3 of file PluginMissionConfig.c.

◆ FILE_ROOT

string PluginConfigHandler::FILE_ROOT = "$saves:"
protected

Definition at line 3 of file PluginConfigScene.c.

◆ FILE_ROOT_SCENES

const string PluginConfigHandler::FILE_ROOT_SCENES = "scenes"
protected

Definition at line 4 of file PluginConfigScene.c.

◆ FILTER_REVERSED

const string PluginConfigHandler::FILTER_REVERSED = "filter_order_reversed"
protected

Definition at line 36 of file PluginConfigDebugProfile.c.

◆ FREE_CAMERA_CROSSHAIR

const string PluginConfigHandler::FREE_CAMERA_CROSSHAIR = "console_free_camera_crosshair_visible"
protected

Definition at line 18 of file PluginConfigDebugProfile.c.

◆ ITEM_CATEGORY_FLAG

const string PluginConfigHandler::ITEM_CATEGORY_FLAG = "toggled_item_categories_flag"
protected

Definition at line 29 of file PluginConfigDebugProfile.c.

◆ ITEM_PREVIEW

const string PluginConfigHandler::ITEM_PREVIEW = "show_item_preview"
protected

Definition at line 30 of file PluginConfigDebugProfile.c.

◆ ITEM_SEARCH

const string PluginConfigHandler::ITEM_SEARCH = "console_ItemSearch"
protected

Definition at line 10 of file PluginConfigDebugProfile.c.

◆ ITEM_TAB_SELECTED

const string PluginConfigHandler::ITEM_TAB_SELECTED = "console_TabSelected"
protected

Definition at line 7 of file PluginConfigDebugProfile.c.

◆ ITEMDEBUG

const string PluginConfigHandler::ITEMDEBUG = "item_debug"
protected

Definition at line 34 of file PluginConfigDebugProfile.c.

◆ LOGS_ENABLED

const string PluginConfigHandler::LOGS_ENABLED = "logs_enabled"
protected

Definition at line 27 of file PluginConfigDebugProfile.c.

◆ m_CfgTemplate

TStringArray PluginConfigHandler::m_CfgTemplate
protected

Definition at line 29 of file PluginConfigScene.c.

◆ m_DefaultValues

ref map< string, ref CfgParam > PluginConfigHandler::m_DefaultValues
protected

Definition at line 38 of file PluginConfigDebugProfile.c.

◆ m_FileSceneName

string PluginConfigHandler::m_FileSceneName
protected

Definition at line 31 of file PluginConfigScene.c.

◆ m_PresetList

ref TStringArray PluginConfigHandler::m_PresetList
protected

Definition at line 39 of file PluginConfigDebugProfile.c.

◆ MERGE_TYPE

const string PluginConfigHandler::MERGE_TYPE = "category_merge_type"
protected

Definition at line 20 of file PluginConfigDebugProfile.c.

◆ PARAM_DAY

const string PluginConfigHandler::PARAM_DAY = "InitDay"
protected

Definition at line 10 of file PluginConfigScene.c.

◆ PARAM_FOG

const string PluginConfigHandler::PARAM_FOG = "WeatherInitFog"
protected

Definition at line 15 of file PluginConfigScene.c.

◆ PARAM_HOUR

const string PluginConfigHandler::PARAM_HOUR = "InitHour"
protected

Definition at line 11 of file PluginConfigScene.c.

◆ PARAM_MINUTE

const string PluginConfigHandler::PARAM_MINUTE = "InitMinute"
protected

Definition at line 12 of file PluginConfigScene.c.

◆ PARAM_MISSION

const string PluginConfigHandler::PARAM_MISSION = "Mission"
protected

Definition at line 6 of file PluginConfigScene.c.

◆ PARAM_MONTH

const string PluginConfigHandler::PARAM_MONTH = "InitMonth"
protected

Definition at line 9 of file PluginConfigScene.c.

◆ PARAM_OBJ_ATT

const string PluginConfigHandler::PARAM_OBJ_ATT = "Att"
protected

Definition at line 20 of file PluginConfigScene.c.

◆ PARAM_OBJ_COUNT

const string PluginConfigHandler::PARAM_OBJ_COUNT = "SceneObjectsCount"
protected

Definition at line 18 of file PluginConfigScene.c.

◆ PARAM_OBJ_DMG

const string PluginConfigHandler::PARAM_OBJ_DMG = "damage"
protected

Definition at line 25 of file PluginConfigScene.c.

◆ PARAM_OBJ_HLT

const string PluginConfigHandler::PARAM_OBJ_HLT = "health"
protected

Definition at line 26 of file PluginConfigScene.c.

◆ PARAM_OBJ_ISCR

const string PluginConfigHandler::PARAM_OBJ_ISCR = "init_script"
protected

Definition at line 27 of file PluginConfigScene.c.

◆ PARAM_OBJ_LNK

const string PluginConfigHandler::PARAM_OBJ_LNK = "Lnk"
protected

Definition at line 21 of file PluginConfigScene.c.

◆ PARAM_OBJ_NAME

const string PluginConfigHandler::PARAM_OBJ_NAME = "SceneObject"
protected

Definition at line 19 of file PluginConfigScene.c.

◆ PARAM_OBJ_POS

const string PluginConfigHandler::PARAM_OBJ_POS = "position"
protected

Definition at line 23 of file PluginConfigScene.c.

◆ PARAM_OBJ_ROT

const string PluginConfigHandler::PARAM_OBJ_ROT = "rotation"
protected

Definition at line 24 of file PluginConfigScene.c.

◆ PARAM_OBJ_TYPE

const string PluginConfigHandler::PARAM_OBJ_TYPE = "type"
protected

Definition at line 22 of file PluginConfigScene.c.

◆ PARAM_OVERCAST

const string PluginConfigHandler::PARAM_OVERCAST = "WeatherInitOvercast"
protected

Definition at line 13 of file PluginConfigScene.c.

◆ PARAM_PLAYER

const string PluginConfigHandler::PARAM_PLAYER = "Player"
protected

Definition at line 17 of file PluginConfigScene.c.

◆ PARAM_RAIN

const string PluginConfigHandler::PARAM_RAIN = "WeatherInitRain"
protected

Definition at line 14 of file PluginConfigScene.c.

◆ PARAM_TIME

const string PluginConfigHandler::PARAM_TIME = "InitTime"
protected

Definition at line 7 of file PluginConfigScene.c.

◆ PARAM_WIND_F

const string PluginConfigHandler::PARAM_WIND_F = "WeatherInitWindForce"
protected

Definition at line 16 of file PluginConfigScene.c.

◆ PARAM_YEAR

const string PluginConfigHandler::PARAM_YEAR = "InitYear"
protected

Definition at line 8 of file PluginConfigScene.c.

◆ POSITION_NAME_ROOT

const string PluginConfigHandler::POSITION_NAME_ROOT = "console_positions_"
protected

Definition at line 40 of file PluginConfigDebugProfile.c.

◆ PRESET_DEFAULT

const string PluginConfigHandler::PRESET_DEFAULT = "console_preset_default"
protected

Definition at line 9 of file PluginConfigDebugProfile.c.

◆ PRESET_LIST

const string PluginConfigHandler::PRESET_LIST = "console_presets"
protected

Definition at line 8 of file PluginConfigDebugProfile.c.

◆ SCENE_DRAW_SELECTION

const string PluginConfigHandler::SCENE_DRAW_SELECTION = "scene_editor_draw_selection"
protected

Definition at line 4 of file PluginConfigDebugProfile.c.

◆ SCENE_EDITOR_SCENE

const string PluginConfigHandler::SCENE_EDITOR_SCENE = "scene_load"
protected

Definition at line 4 of file PluginMissionConfig.c.

◆ SCENE_LOAD_PLAYER_POS

const string PluginConfigHandler::SCENE_LOAD_PLAYER_POS = "scene_editor_load_player_pos"
protected

Definition at line 5 of file PluginConfigDebugProfile.c.

◆ SCENE_ROTATION_ANGLE

const string PluginConfigHandler::SCENE_ROTATION_ANGLE = "scene_editor_rotation_angle"
protected

Definition at line 6 of file PluginConfigDebugProfile.c.

◆ SOUNDFILTER

const string PluginConfigHandler::SOUNDFILTER = "soundset_editbox"
protected

Definition at line 33 of file PluginConfigDebugProfile.c.

◆ SPAWN_DISTANCE

const string PluginConfigHandler::SPAWN_DISTANCE = "console_SpawnDistance"
protected

Definition at line 11 of file PluginConfigDebugProfile.c.

◆ SPAWN_LOC_INDEX

const string PluginConfigHandler::SPAWN_LOC_INDEX = "spawn_loc_index"
protected

Definition at line 35 of file PluginConfigDebugProfile.c.

◆ SUB_PARAM_ITEM

const string PluginConfigHandler::SUB_PARAM_ITEM = "item"
protected

Definition at line 22 of file PluginConfigDebugProfile.c.

◆ SUB_PARAM_ITEM_HEALTH

const string PluginConfigHandler::SUB_PARAM_ITEM_HEALTH = "health"
protected

Definition at line 24 of file PluginConfigDebugProfile.c.

◆ SUB_PARAM_ITEM_NAME

const string PluginConfigHandler::SUB_PARAM_ITEM_NAME = "name"
protected

Definition at line 23 of file PluginConfigDebugProfile.c.

◆ SUB_PARAM_ITEM_QUANTITY

const string PluginConfigHandler::SUB_PARAM_ITEM_QUANTITY = "quantity"
protected

Definition at line 25 of file PluginConfigDebugProfile.c.

◆ SUB_PARAM_ITEM_WITH_PHYSICS

const string PluginConfigHandler::SUB_PARAM_ITEM_WITH_PHYSICS = "with_physics"
protected

Definition at line 26 of file PluginConfigDebugProfile.c.

◆ TEMP_VIS

const string PluginConfigHandler::TEMP_VIS = "console_temperature_visible"
protected

Definition at line 21 of file PluginConfigDebugProfile.c.

◆ VERSION_VIS

const string PluginConfigHandler::VERSION_VIS = "console_version_visible"
protected

Definition at line 19 of file PluginConfigDebugProfile.c.


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