Example #1
0
        private void OnPickedUp(object sender, BountyRunePickedupEventAegs e)
        {
            var index = (int)Math.Floor(_controller.Entry.Map.ClockTime / 60d / 5d);

            if (!Minutes.ContainsKey(index))
            {
                var minutes = new BountyRuneGoldMinutes();
                minutes.Add(e.Member, e.Gold);
                Minutes.Add(index, minutes);
            }
            else
            {
                Minutes[index].Add(e.Member, e.Gold);
            }

            OnGoldChanged();
        }