MCPcopy Create free account
hub / github.com/StrongPC123/Far-Cry-1-Source-Full / SendScriptHashResponse

Method SendScriptHashResponse

CryGame/XClient.cpp:966–977  ·  view source on GitHub ↗

///////////////////////////////////////// XCLIENTMSG_RETURNSCRIPTHASH

Source from the content-addressed store, hash-verified

964//////////////////////////////////////////////
965// XCLIENTMSG_RETURNSCRIPTHASH
966void CXClient::SendScriptHashResponse( const unsigned int dwHash )
967{
968 CStream stm;
969
970 IBitStream *pBitStream = m_pGame->GetIBitStream();
971
972 pBitStream->WriteBitStream(stm,(uint32)dwHash,eDoNotCompress); // returned hash
973 SendReliableMsg(XCLIENTMSG_RETURNSCRIPTHASH,stm);
974
975 // debug
976// m_pLog->Log("SendScriptHashResponse %p",dwHash);
977}
978
979
980void CXClient::SendInputToServer( const bool bTimeToSend )

Callers

nothing calls this directly

Calls 2

GetIBitStreamMethod · 0.80
WriteBitStreamMethod · 0.45

Tested by

no test coverage detected