mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
17 lines
576 B
C
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
|