![]() |
Shadowrun: Awakened 29 September 2011 - Build 871
|
#include <InternalPacket.h>
Inheritance diagram for RakNet::InternalPacket:Public Types | |
| enum | AllocationScheme { NORMAL, REF_COUNTED, STACK } |
| How to alloc and delete the data member. More... | |
Public Attributes | |
| enum RakNet::InternalPacket::AllocationScheme | allocationScheme |
| RakNet::TimeUS | creationTime |
| Was this packet number used this update to track windowing drops or increases? Each packet number is only used once per update. | |
| unsigned char * | data |
| Buffer is a pointer to the actual data, assuming this packet has data at all. | |
| BitSize_t | headerLength |
| MessageNumberType | messageInternalOrder |
| Identifies the order in which this number was sent. Used locally. | |
| bool | messageNumberAssigned |
| RakNet::TimeUS | nextActionTime |
| The resendNext time to take action on this packet. | |
| PacketPriority | priority |
| How many attempts we made at sending this message. | |
| InternalPacketRefCountedData * | refCountedData |
| InternalPacket * | resendNext |
| InternalPacket * | resendPrev |
| uint32_t | sendReceiptSerial |
| If the reliability type requires a receipt, then return this number with it. | |
| unsigned char | stackData [128] |
| InternalPacket * | unreliableNext |
| InternalPacket * | unreliablePrev |
Holds a user message, and related information Don't use a constructor or destructor, due to the memory pool I am using
Definition at line 82 of file InternalPacket.h.
| NORMAL |
Data is allocated using rakMalloc. Just free it. |
| REF_COUNTED |
data points to a larger block of data, where the larger block is reference counted. internalPacketRefCountedData is used in this case |
| STACK |
If allocation scheme is STACK, data points to stackData and should not be deallocated This is only used when sending. Received packets are deallocated in RakPeer |
Definition at line 101 of file InternalPacket.h.
{
NORMAL,
REF_COUNTED,
STACK
} allocationScheme;
When this packet was created
Definition at line 93 of file InternalPacket.h.
| unsigned char* RakNet::InternalPacket::data |
Definition at line 99 of file InternalPacket.h.
Definition at line 97 of file InternalPacket.h.
Definition at line 85 of file InternalPacket.h.
Has this message number been assigned yet? We don't assign until the message is actually sent. This fixes a bug where pre-determining message numbers and then sending a message on a different channel creates a huge gap. This causes performance problems and causes those messages to timeout.
Definition at line 89 of file InternalPacket.h.
Definition at line 95 of file InternalPacket.h.
The priority level of this packet
Definition at line 117 of file InternalPacket.h.
Definition at line 113 of file InternalPacket.h.
Definition at line 123 of file InternalPacket.h.
Definition at line 123 of file InternalPacket.h.
Definition at line 119 of file InternalPacket.h.
| unsigned char RakNet::InternalPacket::stackData[128] |
Definition at line 125 of file InternalPacket.h.
Definition at line 123 of file InternalPacket.h.
Definition at line 123 of file InternalPacket.h.
Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.