SA-MP/raknet/PacketPriority.h
2023-11-25 23:07:09 +08:00

17 lines
576 B
C

// 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