My Project
Public Member Functions | Public Attributes | List of all members
ParaEngine::CCharacterTracker Class Reference

It tracks a character on the network, such as its last update time, position track, etc. More...

#include <GameNetCommon.h>

Public Member Functions

void Reset ()
 reset to tacker to empty
 
int GetLastSendTime (int nGroupIndex=0)
 last time that the character info is send to the other side of the network
 
void SetLastSendTime (int nTime, int nGroupIndex=0)
 last time that the character info is send to the other side of the network
 
int GetLastReceiveTime (int nGroupIndex=0)
 last time that the character info is received from the other side of the network.
 
void SetLastReceiveTime (int nTime, int nGroupIndex=0)
 last time that the character info is received from the other side of the network.
 
bool IsContant ()
 this function will return true if all field of the tracker are constant.
 
bool IsGroupConstant (int nGroup)
 this function will return true if all trackers in the given group are a constant.
 

Public Attributes

CVector3Tracker m_vPos
 
CFloatTracker m_fFacing
 character position tracker
 
CFloatTracker m_fVerticalSpeed
 
CFloatTracker m_fSpeed
 
CIntTracker m_nAnimID
 
CBooleanTracker m_bWalking
 
CBooleanTracker m_bRunning
 
CBooleanTracker m_bIsGlobal
 
CFloatTracker m_fSizeScale
 
CStringTracker m_sBasemodel
 
CBooleanTracker m_bIsCustomModel
 
CNetByteArrayTracker m_arrayCustomModelData
 
CIntTracker m_nSkinIndex
 

Detailed Description

It tracks a character on the network, such as its last update time, position track, etc.


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