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

SetBgm() public static method

Sends SetBgm to creature's client.
public static SetBgm ( Creature creature, string file, BgmRepeat type ) : void
creature Creature
file string
type BgmRepeat
return void
		public static void SetBgm(Creature creature, string file, BgmRepeat type)
		{
			var packet = new Packet(Op.SetBgm, creature.EntityId);
			packet.PutString(file);
			packet.PutInt((int)type);

			creature.Client.Send(packet);
		}
Send