Main Page Modules Namespaces C++ Classes Compound List File List Index
TNL: TNL::GhostConnection::GhostRef Struct Reference

# TNL::GhostConnection::GhostRef Struct Reference

`#include <tnlGhostConnection.h>`

## Detailed Description

GhostRef tracks an update sent in one packet for the ghost of one NetObject.

When we are notified that a pack is sent/lost, this is used to determine what updates need to be resent and so forth.

## Data Fields

U32 | mask
| The mask of bits that were updated in this packet.
U32 | ghostInfoFlags
| GhostInfo::Flags bitset, determes if the ghost is in a special processing mode (created/deleted).
GhostInfo * | ghost
| The ghost information for the object on the connection that sent the packet this GhostRef is attached to.
GhostRef * | nextRef
| The next ghost updated in this packet.
GhostRef * | updateChain
| A pointer to the GhostRef on the least previous packet that updated this ghost, or NULL, if no prior packet updated this ghost.

## Field Documentation

U32 TNL::GhostConnection::GhostRef::mask

The mask of bits that were updated in this packet.

U32 TNL::GhostConnection::GhostRef::ghostInfoFlags

GhostInfo::Flags bitset, determes if the ghost is in a special processing mode (created/deleted).

GhostInfo* TNL::GhostConnection::GhostRef::ghost

The ghost information for the object on the connection that sent the packet this GhostRef is attached to.

GhostRef* TNL::GhostConnection::GhostRef::nextRef

The next ghost updated in this packet.

GhostRef* TNL::GhostConnection::GhostRef::updateChain

A pointer to the GhostRef on the least previous packet that updated this ghost, or NULL, if no prior packet updated this ghost.