Torque2D Reference

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

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Attributes | List of all members
NetConnection::GhostRef Struct Reference

`#include <netConnection.h>`

## Public Attributes
U32 | mask
| States we transmitted. More...
U32 | ghostInfoFlags
| Flags from GhostInfo::Flags. More...
GhostInfo * | ghost
| Reference to the GhostInfo we're from. More...
GhostRef * | nextRef
| Next GhostRef in this packet. More...
GhostRef * | nextUpdateChain
| Next update we sent for this ghost. More...

## Detailed Description

Structure to track ghost references in packets.

Every packet we send out with an update from a ghost causes one of these to be allocated. mask is used to track what states were sent; that way if a packet is dropped, we can easily manipulate the stored states and figure out what if any data we need to resend.

## Member Data Documentation

GhostInfo* ghost

Reference to the GhostInfo we're from.

U32 ghostInfoFlags

Flags from GhostInfo::Flags.

U32 mask

States we transmitted.

GhostRef* nextRef

Next GhostRef in this packet.

GhostRef* nextUpdateChain

Next update we sent for this ghost.

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

- network/netConnection.h