[raknet] Add PacketPriority enum

This commit is contained in:
RD42 2023-11-25 23:07:09 +08:00
parent 70d9ddbd14
commit 98a560e360

16
raknet/PacketPriority.h Normal file
View File

@ -0,0 +1,16 @@
// TODO: Implement PacketPriority.h
#ifndef __PACKET_PRIORITY_H
#define __PACKET_PRIORITY_H
/// These enumerations are used to describe when packets are delivered.
enum PacketPriority
{
SYSTEM_PRIORITY, /// \internal Used by RakNet to send above-high priority messages.
HIGH_PRIORITY, /// High priority messages are send before medium priority messages.
MEDIUM_PRIORITY, /// Medium priority messages are send before low priority messages.
LOW_PRIORITY, /// Low priority messages are only sent when no other messages are waiting.
NUMBER_OF_PRIORITIES
};
#endif