AdEvade.Config.Properties.SetSpell C# (CSharp) Method

SetSpell() public static method

public static SetSpell ( string id, SpellConfig value, bool raiseEvent = true ) : void
id string
value SpellConfig
raiseEvent bool
return void
        public static void SetSpell(string id, SpellConfig value, bool raiseEvent = true)
        {
            if (Spells.Any(i => i.Key == id))
            {
                Spells[id] = value;
                return;
            }
            Spells.Add(id, value);
            if (raiseEvent && OnConfigValueChanged != null)
                OnConfigValueChanged.Invoke(new ConfigValueChangedArgs(id, value));
        }
        public static void SetEvadeSpell(string key, EvadeSpellConfig value, bool raiseEvent = true)