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
|
|
|
|
}
|