Beispiel #1
0
        public static void PvPLogDataRequest(IRealmClient client, RealmPacketIn packet)
        {
            Character activeCharacter = client.ActiveCharacter;

            if (!activeCharacter.IsInBattleground)
            {
                return;
            }
            BattlegroundTeam team = activeCharacter.Battlegrounds.Team;

            if (team == null)
            {
                return;
            }
            BattlegroundHandler.SendPvpData((IPacketReceiver)client, team.Side, team.Battleground);
        }