33 CfgParamInt param =
new CfgParamInt(
"" );
34 param.SetValue( value );
41 protected CfgParamInt
SetInt(
string key,
int value )
43 CfgParamInt param = CfgParamInt.Cast( GetParamByName( key,
CFG_TYPE_INT ) );
44 param.SetValue( value );
51 if ( ParamExist(key) )
53 CfgParamInt param = CfgParamInt.Cast( GetParamByName( key,
CFG_TYPE_INT ) );
54 return param.GetValue();
60 CfgParamInt default_param = CfgParamInt.Cast(
m_DefaultValues.Get( key ) );
61 return SetInt( key, default_param.GetValue() ).GetValue();
65 return SetInt( key, 0 ).GetValue();
106 return GetInt( EmoteSlots.EMOTE_1.ToString() );
111 SetInt( EmoteSlots.EMOTE_1.ToString(), emoted_id );
116 return GetInt( EmoteSlots.EMOTE_2.ToString() );
121 SetInt( EmoteSlots.EMOTE_2.ToString(), emoted_id );
126 return GetInt( EmoteSlots.EMOTE_3.ToString() );
131 SetInt( EmoteSlots.EMOTE_3.ToString(), emoted_id );
136 return GetInt( EmoteSlots.EMOTE_4.ToString() );
141 SetInt( EmoteSlots.EMOTE_4.ToString(), emoted_id );
146 return GetInt( EmoteSlots.EMOTE_5.ToString() );
151 SetInt( EmoteSlots.EMOTE_5.ToString(), emoted_id );
156 return GetInt( EmoteSlots.EMOTE_6.ToString() );
161 SetInt( EmoteSlots.EMOTE_6.ToString(), emoted_id );
166 return GetInt( EmoteSlots.EMOTE_7.ToString() );
171 SetInt( EmoteSlots.EMOTE_7.ToString(), emoted_id );
176 return GetInt( EmoteSlots.EMOTE_8.ToString() );
181 SetInt( EmoteSlots.EMOTE_8.ToString(), emoted_id );
186 return GetInt( EmoteSlots.EMOTE_9.ToString() );
191 SetInt( EmoteSlots.EMOTE_9.ToString(), emoted_id );
196 return GetInt( EmoteSlots.EMOTE_10.ToString() );
201 SetInt( EmoteSlots.EMOTE_10.ToString(), emoted_id );
206 return GetInt( EmoteSlots.EMOTE_11.ToString() );
211 SetInt( EmoteSlots.EMOTE_11.ToString(), emoted_id );
class PluginConfigEmotesProfile extends PluginConfigHandler EMOTE_6
class PluginConfigEmotesProfile extends PluginConfigHandler EMOTE_8
class PluginConfigEmotesProfile extends PluginConfigHandler EMOTE_11
class PluginConfigEmotesProfile extends PluginConfigHandler EMOTE_2
class PluginConfigEmotesProfile extends PluginConfigHandler EMOTE_1
class PluginConfigEmotesProfile extends PluginConfigHandler EMOTE_9
class PluginConfigEmotesProfile extends PluginConfigHandler EMOTE_3
class PluginConfigEmotesProfile extends PluginConfigHandler EMOTE_7
class PluginConfigEmotesProfile extends PluginConfigHandler EMOTE_10
class PluginConfigEmotesProfile extends PluginConfigHandler EMOTE_4
class PluginConfigEmotesProfile extends PluginConfigHandler EMOTE_5
PluginBase GetPlugin(typename plugin_type)
static PluginConfigEmotesProfile GetInstance()
void SetEmoteSlot8(int emoted_id)
override string GetFileName()
void SetEmoteSlot2(int emoted_id)
void SetEmoteSlot9(int emoted_id)
void SetEmoteSlot7(int emoted_id)
CfgParamInt SetInt(string key, int value)
int GetEmoteFromSlot(string slot)
CfgParamInt GetNewCfgParamInt(int value)
void PluginConfigEmotesProfile()
void SetEmoteSlot3(int emoted_id)
void SetEmoteSlot6(int emoted_id)
void SetEmoteSlot1(int emoted_id)
void SetEmoteSlot4(int emoted_id)
ref map< string, ref CfgParam > m_DefaultValues
void SetEmoteSlot5(int emoted_id)
void SetEmoteSlot10(int emoted_id)
void SetEmoteSlot11(int emoted_id)
const string CFG_FILE_EMOTES_PROFILE
const int ID_EMOTE_SURRENDER
const int ID_EMOTE_GREETING
const int ID_EMOTE_THROAT
const int ID_EMOTE_SUICIDE
const int ID_EMOTE_TAUNTKISS
const int ID_EMOTE_TAUNTELBOW
array< string > TStringArray