Sources/CryGame C++/Solution1/CryGame/XDemoMgr.cpp
//////////////////////////////////////////////////////////////////////////
//! Adding a chunk to the demo.

Adding a chunk to the demo.
Adding a chunk to the demo .
bool CXGame::AddDemoChunk(CStream &stm)
{
	IEntity *e = GetXSystem()->GetEntity(m_pClient->GetPlayerId());
	assert(e);
	return m_XDemoMgr.AddChunk(GetSystem()->GetITimer()->GetCurrTime(), stm, e);
}
bool CXGame :: AddDemoChunk ( CStream & stm ) { IEntity * e = GetXSystem ( ) -> GetEntity ( m_pClient -> GetPlayerId ( ) ) ; assert ( e ) ; return m_XDemoMgr . AddChunk ( GetSystem ( ) -> GetITimer ( ) -> GetCurrTime ( ) , stm , e ) ; }
Adding a chunk to the demo.
Adding a chunk to the demo .