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

NpcTalkEndR() public static method

Sends NpcTalkEndR to creature's client.
If no message is specified "" is sent, to close the dialog box immediately.
public static NpcTalkEndR ( Creature creature, long npcId, string message = null ) : void
creature Creature
npcId long
message string Last message before closing.
return void
		public static void NpcTalkEndR(Creature creature, long npcId, string message = null)
		{
			var p = new Packet(Op.NpcTalkEndR, creature.EntityId);
			p.PutByte(true);
			p.PutLong(npcId);
			p.PutString(message ?? "<end/>");

			creature.Client.Send(p);
		}
Send