Aura.Channel.Network.Sending.Send.SkillStop C# (CSharp) Method

SkillStop() public static method

Sends SkillStop to creature's client or broadcasts it if skill is of type "BroadcastStartStop".
public static SkillStop ( Creature creature, Skill skill, byte unkByte ) : void
creature Creature
skill Skill
unkByte byte
return void
		public static void SkillStop(Creature creature, Skill skill, byte unkByte)
		{
			var packet = new Packet(Op.SkillStop, creature.EntityId);
			packet.PutUShort((ushort)skill.Info.Id);
			packet.PutByte(unkByte);

			if (skill.Data.Type != SkillType.BroadcastStartStop)
				creature.Client.Send(packet);
			else
				creature.Region.Broadcast(packet, creature);
		}

Same methods

Send::SkillStop ( Creature creature, Skill skill, string extra ) : void
Send