示例#1
0
 private void OnModifierAdded(object sender, IModifier e)
 {
     if (e is T mod)
     {
         AddModifier(mod);
         ModifierAdded?.Invoke(sender, mod);
         OnListChanged();
     }
 }
示例#2
0
 protected virtual void OnModifierAdded(RuneModifierAddedEventArgs e)
 {
     ModifierAdded?.Invoke(this, e);
 }
示例#3
0
 protected virtual void OnModifierAdded(Members.Member e)
 {
     ModifierAdded?.Invoke(this, e);
 }