public void OnPlayerLive(object _source, LiveEventArgs e) { Player p; // Logger.Log.WriteLine("live {0}", e); if (players.TryGetValue(e.PlayerId, out p)) { p.live(); } }
protected virtual void OnLiveEvent(LiveEventArgs args) { LiveEventReached?.Invoke(this, args); }