/// <summary>
 /// Marks a class with the GladLive payload meta-data. Providing a message type
 /// to register it internally with <see cref="GladNet"/>.
 /// </summary>
 /// <param name="messageType">The <see cref="BoomaPayloadMessageType "/> to mark the payload for.</param>
 public BoomaPayloadAttribute(BoomaPayloadMessageType messageType)
     : base((GladNetIncludeIndex)messageType, typeof(PacketPayload), false)
 {
 }
예제 #2
0
 /// <summary>
 /// Marks a class with the GladLive payload meta-data. Providing a message type
 /// to register it internally with <see cref="GladNet"/>.
 /// </summary>
 /// <param name="messageType">The <see cref="BoomaPayloadMessageType "/> to mark the payload for.</param>
 public BoomaPayloadAttribute(BoomaPayloadMessageType messageType)
     : base((int)messageType, typeof(PacketPayload), false)
 {
 }