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

SitDown() public static method

Broadcasts SitDown in range of creature.
The byte parameter is the rest post to use, 0 being the default. To keep sitting in that position for others, even if they run out of range, CreatureStateEx is required to be set (see Rest). It's unknown which state is the one for Rest R1 though, it might not be implemented at all yet.
public static SitDown ( Creature creature ) : void
creature Creature
return void
		public static void SitDown(Creature creature)
		{
			var packet = new Packet(Op.SitDown, creature.EntityId);
			packet.PutByte(creature.GetRestPose());

			creature.Region.Broadcast(packet, creature);
		}
Send