Torque2D Reference
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
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...
 
GhostInfoghost
 Reference to the GhostInfo we're from. More...
 
GhostRefnextRef
 Next GhostRef in this packet. More...
 
GhostRefnextUpdateChain
 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: