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

CharacterLock() public static method

Sends CharacterLock to creature's client.
public static CharacterLock ( Creature creature, System.Collections.Generic.Locks type ) : void
creature Aura.Channel.World.Entities.Creature
type System.Collections.Generic.Locks
return void
		public static void CharacterLock(Creature creature, Locks type)
		{
			var packet = new Packet(Op.CharacterLock, creature.EntityId);
			packet.PutUInt((uint)type);
			packet.PutInt(0);

			creature.Client.Send(packet);
		}
Send