Cafu Engine
EngineEntityT Class Reference

Public Member Functions

IntrusivePtrT
< cf::GameSys::EntityT
GetEntity () const
 Returns the GameSys entity related to this EngineEntityT. More...
 
 EngineEntityT (IntrusivePtrT< cf::GameSys::EntityT > Ent, unsigned long CreationFrameNr)
 
void PreThink (unsigned long ServerFrameNr)
 
void Think (float FrameTime, unsigned long ServerFrameNr)
 
void WriteNewBaseLine (unsigned long SentClientBaseLineFrameNr, ArrayT< ArrayT< char > > &OutDatas) const
 
bool WriteDeltaEntity (bool SendFromBaseLine, unsigned long ClientFrameNr, NetDataT &OutData, bool ForceInfo) const
 
 EngineEntityT (IntrusivePtrT< cf::GameSys::EntityT > Ent, NetDataT &InData)
 
bool ParseServerDeltaUpdateMessage (unsigned long DeltaFrameNr, unsigned long ServerFrameNr, const ArrayT< uint8_t > *DeltaMessage)
 
void Predict (const PlayerCommandT &PlayerCommand)
 Updates the (predicted) state of this entity according to the PlayerCommand. More...
 

Member Function Documentation

IntrusivePtrT<cf::GameSys::EntityT> EngineEntityT::GetEntity ( ) const
inline

Returns the GameSys entity related to this EngineEntityT.

void EngineEntityT::Predict ( const PlayerCommandT PlayerCommand)

Updates the (predicted) state of this entity according to the PlayerCommand.


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