0
0
Fork 0
mirror of https://github.com/Sanae6/SmoOnlineServer.git synced 2024-11-16 00:25:07 +00:00
SmoOnlineServer/Shared/Packet/PacketAttribute.cs

10 lines
247 B
C#
Raw Normal View History

2022-02-10 01:44:50 +00:00
namespace Shared.Packet;
2021-11-29 04:04:34 +00:00
2022-02-08 16:22:09 +00:00
[AttributeUsage(AttributeTargets.Struct, AllowMultiple = true)]
2021-11-29 04:04:34 +00:00
public class PacketAttribute : Attribute {
public PacketAttribute(PacketType type) {
Type = type;
}
2022-02-10 01:44:50 +00:00
public PacketType Type { get; }
2021-11-29 04:04:34 +00:00
}