Beispiel #1
0
        /// <summary>
        /// Broadcasts pvp information for creature in region.
        /// </summary>
        /// <param name="creature"></param>
        /// <param name="region"></param>
        public static void PvPInformation(MabiCreature creature, uint region)
        {
            var packet = new MabiPacket(Op.PvPInformation, creature.Id);
            packet.AddPvPInfo(creature);

            WorldManager.Instance.BroadcastRegion(packet, region);
        }
Beispiel #2
0
        /// <summary>
        /// Broadcasts pvp information for creature in range.
        /// </summary>
        /// <param name="client"></param>
        /// <param name="creature"></param>
        public static void PvPInformation(MabiCreature creature)
        {
            var packet = new MabiPacket(Op.PvPInformation, creature.Id);
            packet.AddPvPInfo(creature);

            WorldManager.Instance.Broadcast(packet, SendTargets.Range, creature);
        }