This commit is contained in:
Rian Drake 2026-10-15 14:09:11 +13:00
commit b578433e37

View file

@ -0,0 +1,18 @@
namespace Brutal.RakNetApi
{
public enum PacketPriority
{
/// <summary>The highest possible priority. These message trigger sends immediately, and are generally not buffered or aggregated into a single datagram.</summary>
ImmediatePriority,
/// <summary>For every 2 IMMEDIATE_PRIORITY messages, 1 HIGH_PRIORITY will be sent.Messages at this priority and lower are buffered to be sent in groups at 10 millisecond intervals to reduce UDP overhead and better measure congestion control.</summary>
HighPriority,
/// <summary>For every 2 HIGH_PRIORITY messages, 1 MEDIUM_PRIORITY will be sent.Messages at this priority and lower are buffered to be sent in groups at 10 millisecond intervals to reduce UDP overhead and better measure congestion control.</summary>
MediumPriority,
/// <summary>For every 2 MEDIUM_PRIORITY messages, 1 LOW_PRIORITY will be sent.Messages at this priority and lower are buffered to be sent in groups at 10 millisecond intervals to reduce UDP overhead and better measure congestion control.</summary>
LowPriority,
NumberOfPriorities,
}
}