using System;
using Crysome.Common.Network;

namespace Crysome.Server.Network;

public class UdpFrameEventArgs : EventArgs
{
	public CrysomeClient Client { get; }

	public byte PacketTypeId { get; }

	public byte[] Data { get; }

	public UdpFrameEventArgs(CrysomeClient client, byte packetTypeId, byte[] data)
	{
		Client = client;
		PacketTypeId = packetTypeId;
		Data = data;
	}
}
