public static IEnumerable <TResult> FireHook <TResult>( this EnchantmentDictionary dictionary, Expression <Func <IEnchantmentHook, TResult> > action ) where TResult : unmanaged, IComparable, IEquatable <TResult> { return(Fire(dictionary.Values.Values, action)); }
public static EnchantedWeaponItem RequestEnchantment(WeaponItemWeaver magicWeapon, string enchantment) { var newEnchantment = new WeaponEnchantment(new EnchantmentOrder(EnchantmentDictionary.GetEnchantmentData(enchantment))); return(new EnchantedWeaponItem(magicWeapon, newEnchantment)); }
public static void FireHook(this EnchantmentDictionary dictionary, Action <IEnchantmentHook> action) { Dispatcher(dictionary.Values.Values, action); }
public static EnchantmentData GetSpecialAbilityTicket(string specialAbilityName) { var specialAbilityInfo = EnchantmentDictionary.GetEnchantmentData(specialAbilityName); return(specialAbilityInfo); }
public static void FireHook(this EnchantmentDictionary dictionary, Expression <Action <IEnchantmentHook> > action) { Fire(dictionary.Values.Values, action); }