Torque3D Documentation / _generateds / NetConnection::GhostRef

NetConnection::GhostRef

Engine/source/sim/netConnection.h

Structure to track ghost references in packets.

More...

Public Attributes

Reference to the GhostInfo we're from.

States we transmitted.

Next GhostRef in this packet.

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.

Public Attributes

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.