News SF.net Project Frequently Asked Questions Documentation Downloads Mailing Lists How to Contribute

SourceForge.net Logo

Changing the way games are made and played.

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).

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

GhostRefnextRef
 The next ghost updated in this packet.

GhostRefupdateChain
 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.