protected virtual void OnKnuBotTradeEvent(KnuBotTradeEventArgs e) { EventHandler <KnuBotTradeEventArgs> handler = this.CallKnuBotTrade; if (handler != null) { handler(this, e); } }
protected virtual void OnKnuBotTradeEvent(KnuBotTradeEventArgs e) { EventHandler<KnuBotTradeEventArgs> handler = this.CallKnuBotTrade; if (handler != null) { handler(this, e); } }
public virtual void OnKnuBotTrade(object sender, KnuBotTradeEventArgs e) { this.tradedItems.Add(e.Item); }