示例#1
0
        public void NotifyAddBuff(IBuff b)
        {
            var add = new AddBuff(b.TargetUnit, b.SourceUnit, b.StackCount, b.Duration, b.BuffType, b.Name, b.Slot);

            _packetHandlerManager.BroadcastPacket(add, Channel.CHL_S2C);
        }
示例#2
0
        public static void notifyAddBuff(Unit u, Unit source, string buffName)
        {
            var add = new AddBuff(u, source, 1, buffName);

            PacketHandlerManager.getInstace().broadcastPacket(add, Channel.CHL_S2C);
        }
示例#3
0
        public void notifyAddBuff(Buff b)
        {
            var add = new AddBuff(b.TargetUnit, b.SourceUnit, b.Stacks, b.Duration, BuffType.Aura, b.Name, 1);

            _game.PacketHandlerManager.broadcastPacket(add, Channel.CHL_S2C);
        }
示例#4
0
        public void notifyAddBuff(Buff b)
        {
            var add = new AddBuff(b.GetUnit(), b.GetSourceUnit(), b.GetStacks(), b.GetDuration(), BuffType.Aura, b.GetName(), 1);

            _game.PacketHandlerManager.broadcastPacket(add, Channel.CHL_S2C);
        }