mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +08:00
[raknet] Add PacketPriority enum
This commit is contained in:
parent
70d9ddbd14
commit
98a560e360
16
raknet/PacketPriority.h
Normal file
16
raknet/PacketPriority.h
Normal 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
|
Loading…
Reference in New Issue
Block a user