mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
18 lines
1.1 KiB
C#
18 lines
1.1 KiB
C#
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,
|
|
}
|
|
}
|