using Fiesta.Game.Networking.PacketTypes;
using Fiesta.Networking.Packets;
using Fiesta.Players.Networking;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Villain.Networking.Packets;
using World.Players.Networking.Packets.Misc.Out;

namespace World.Players.Networking.Packets.Misc.In
{
	public static class GameTimeRequest
	{
		[PacketHandler("Player", MISC.GAMETIME_REQ)]
		public static void Handle(PlayerConnection client, InPacket packet)
		{
			using (GameTime gameTime = new GameTime())
			{
				client.Send(gameTime);
			}
		}
	}
}