13 lines
314 B
C#
13 lines
314 B
C#
using System;
|
|
|
|
namespace Mistox.Attributes {
|
|
|
|
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = false, AllowMultiple = false)]
|
|
public sealed class mPacket : Attribute {
|
|
public byte ID { get; }
|
|
public mPacket(byte id) {
|
|
ID = id;
|
|
}
|
|
}
|
|
|
|
} |