Ejemplo n.º 1
0
        public override void BuildPvPLogPlayerDataPacket(out PVPLogData.PlayerData playerData)
        {
            base.BuildPvPLogPlayerDataPacket(out playerData);

            playerData.Stats.Add(BasesAssaulted);
            playerData.Stats.Add(BasesDefended);
        }
Ejemplo n.º 2
0
        public virtual void BuildPvPLogPlayerDataPacket(out PVPLogData.PlayerData playerData)
        {
            playerData            = new PVPLogData.PlayerData();
            playerData.PlayerGUID = PlayerGuid;
            playerData.Kills      = KillingBlows;
            playerData.Faction    = (byte)TeamId;
            if (HonorableKills != 0 || Deaths != 0 || BonusHonor != 0)
            {
                playerData.Honor.HasValue                 = true;
                playerData.Honor.Value.HonorKills         = HonorableKills;
                playerData.Honor.Value.Deaths             = Deaths;
                playerData.Honor.Value.ContributionPoints = BonusHonor;
            }

            playerData.DamageDone  = DamageDone;
            playerData.HealingDone = HealingDone;
        }
Ejemplo n.º 3
0
        public override void BuildPvPLogPlayerDataPacket(out PVPLogData.PlayerData playerData)
        {
            base.BuildPvPLogPlayerDataPacket(out playerData);

            if (PreMatchRating != 0)
            {
                playerData.PreMatchRating.Set(PreMatchRating);
            }

            if (PostMatchRating != PreMatchRating)
            {
                playerData.RatingChange.Set((int)(PostMatchRating - PreMatchRating));
            }

            if (PreMatchMMR != 0)
            {
                playerData.PreMatchMMR.Set(PreMatchMMR);
            }

            if (PostMatchMMR != PreMatchMMR)
            {
                playerData.MmrChange.Set((int)(PostMatchMMR - PreMatchMMR));
            }
        }