continuity/Server/Packets/SerializationUtilities/TextEncodingAttribute.cs

13 lines
260 B
C#
Raw Normal View History

2023-08-09 20:14:14 +02:00
using System.Text;
2023-08-10 10:47:35 +02:00
namespace Server.Packets.SerializationUtilities;
2023-08-09 20:14:14 +02:00
public class TextEncodingAttribute : Attribute
{
public Encoding Encoding { get; set; }
public TextEncodingAttribute(Encoding encoding)
{
Encoding = encoding;
}
}