Aura.Channel.Network.Sending.Send.CollectAnimation C# (CSharp) Méthode

CollectAnimation() public static méthode

Broadcasts CollectAnimation in creature's range.
public static CollectAnimation ( Creature creature, long entityId, int collectId, Position pos ) : void
creature Aura.Channel.World.Entities.Creature
entityId long
collectId int
pos Aura.Channel.World.Position
Résultat void
		public static void CollectAnimation(Creature creature, long entityId, int collectId, Position pos)
		{
			var packet = new Packet(Op.CollectAnimation, creature.EntityId);
			packet.PutLong(entityId);
			packet.PutInt(collectId);
			packet.PutFloat(pos.X);
			packet.PutFloat(pos.Y);
			packet.PutFloat(1);

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