Torque2D Reference
Loading...
Searching...
No Matches
NetConnection::GhostRef Struct Reference

#include <netConnection.h>

Public Attributes

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

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

◆ ghost

GhostInfo* ghost

Reference to the GhostInfo we're from.

◆ ghostInfoFlags

U32 ghostInfoFlags

Flags from GhostInfo::Flags.

◆ mask

U32 mask

States we transmitted.

◆ nextRef

GhostRef* nextRef

Next GhostRef in this packet.

◆ nextUpdateChain

GhostRef* nextUpdateChain

Next update we sent for this ghost.


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