- Main Page
- Modules
- Namespaces
- Classes
- Files
- Directories
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# Packet Struct Reference

This represents a user message from another system. More...

`#include <NetworkTypes.h>`

List of all members.

## Public Attributes
PlayerIndex | playerIndex
| Server only - this is the index into the player array that this playerId maps to.
PlayerID | playerId
| The system that send this packet.
unsigned int | length
unsigned int | bitSize
| The length of the data in bits.
unsigned char * | data
| The data from the sender.
bool | deleteData

## Detailed Description

This represents a user message from another system.

## Member Data Documentation

unsigned int Packet::length

| The length of the data in bytes Deprecated: You should use bitSize.

The documentation for this struct was generated from the following file:

- C:/RakNet 2.518/Include/NetworkTypes.h