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

            kill.InvolvedParties.Add(new KillInvolvedPartyDto(e.AllianceId, e.CorpId, e.PilotId, e.ShipId, e.WeaponId, e.DamageDone, e.SecurityStatus, e.DamageDone));
            _repository.Save(kill);
        }
Beispiel #2
0
 protected void OnKillPartyAdded(KillPartyAdded e)
 {
     _involvedParties.Add(new KillParty(e.AllianceId, e.CorpId, e.PilotId, e.ShipId, e.WeaponId, e.DamageDone, e.SecurityStatus, e.FinalBlow));
     _timestamp = e.Timestamp;
 }