Example #1
0
        public void Handle(KillDestroyedItemAdded e)
        {
            var kill = _repository.Get <KillDto>(e.Id);

            kill.DestroyedItems.Add(new KillItemDto(e.ItemId, e.Quantity, e.Location));
            _repository.Save(kill);
        }
Example #2
0
 protected void OnKillDestroyedItemAdded(KillDestroyedItemAdded e)
 {
     _destroyedItems.Add(new KillItem(e.ItemId, e.Quantity, e.Location));
     _timestamp = e.Timestamp;
 }