Beispiel #1
0
void CSteamGameServerRecordingWrapper::SetHeartbeatInterval(int iHeartbeatInterval)
{
	CGameServerSetHeartbeatIntervalCall fcall(iHeartbeatInterval); CRecorderFuncCall frec(&fcall);
	m_Recorder->PushFunc(&frec);
	m_Wrapped->SetHeartbeatInterval(iHeartbeatInterval);
	m_Recorder->PopFunc(&frec);
}
Beispiel #2
0
void CRecordingEngExtInterceptor::srand(uint32 seed)
{
	CStdSrandCall fcall(seed); CRecorderFuncCall frec(&fcall);
	PushFunc(&frec);
	m_BasePlatform->srand(seed);
	PopFunc(&frec);
}
Beispiel #3
0
void CSteamGameServerRecordingWrapper::SendUserDisconnect(CSteamID steamIDUser)
{
	CGameServerSendUserDisconnectCall fcall(steamIDUser); CRecorderFuncCall frec(&fcall);
	m_Recorder->PushFunc(&frec);
	m_Wrapped->SendUserDisconnect(steamIDUser);
	m_Recorder->PopFunc(&frec);
}
Beispiel #4
0
void CSteamGameServerRecordingWrapper::EnableHeartbeats(bool bActive)
{
	CGameServerEnableHeartbeatsCall fcall(bActive); CRecorderFuncCall frec(&fcall);
	m_Recorder->PushFunc(&frec);
	m_Wrapped->EnableHeartbeats(bActive);
	m_Recorder->PopFunc(&frec);
}
Beispiel #5
0
void CSteamGameServerRecordingWrapper::ClearAllKeyValues()
{
	CGameServerClearAllKVsCall fcall; CRecorderFuncCall frec(&fcall);
	m_Recorder->PushFunc(&frec);
	m_Wrapped->ClearAllKeyValues();
	m_Recorder->PopFunc(&frec);
}
Beispiel #6
0
void CSteamGameServerRecordingWrapper::SetKeyValue(const char *pKey, const char *pValue)
{
	CGameServerSetKeyValueCall fcall(pKey, pValue); CRecorderFuncCall frec(&fcall);
	m_Recorder->PushFunc(&frec);
	m_Wrapped->SetKeyValue(pKey, pValue);
	m_Recorder->PopFunc(&frec);
}
Beispiel #7
0
void CSteamGameServerRecordingWrapper::SetMapName(const char *pszMapName)
{
	CGameServerSetMapNameCall fcall(pszMapName); CRecorderFuncCall frec(&fcall);
	m_Recorder->PushFunc(&frec);
	m_Wrapped->SetMapName(pszMapName);
	m_Recorder->PopFunc(&frec);
}
Beispiel #8
0
void CSteamGameServerRecordingWrapper::SetPasswordProtected(bool bPasswordProtected)
{
	CGameServerSetPasswordProtectedCall fcall(bPasswordProtected); CRecorderFuncCall frec(&fcall);
	m_Recorder->PushFunc(&frec);
	m_Wrapped->SetPasswordProtected(bPasswordProtected);
	m_Recorder->PopFunc(&frec);
}
Beispiel #9
0
void CSteamGameServerRecordingWrapper::SetMaxPlayerCount(int cPlayersMax)
{
	CGameServerSetMaxPlayersCall fcall(cPlayersMax); CRecorderFuncCall frec(&fcall);
	m_Recorder->PushFunc(&frec);
	m_Wrapped->SetMaxPlayerCount(cPlayersMax);
	m_Recorder->PopFunc(&frec);
}
Beispiel #10
0
void CSteamGameServerRecordingWrapper::SetBotPlayerCount(int cBotplayers)
{
	CGameServerSetBotCountCall fcall(cBotplayers); CRecorderFuncCall frec(&fcall);
	m_Recorder->PushFunc(&frec);
	m_Wrapped->SetBotPlayerCount(cBotplayers);
	m_Recorder->PopFunc(&frec);
}
Beispiel #11
0
void CSteamGameServerRecordingWrapper::LogOff()
{
	CGameServerLogOffCall fcall; CRecorderFuncCall frec(&fcall);
	m_Recorder->PushFunc(&frec);
	m_Wrapped->LogOff();
	m_Recorder->PopFunc(&frec);
}
Beispiel #12
0
void CSteamGameServerRecordingWrapper::SetDedicatedServer(bool bDedicated)
{
	CGameServerSetDedicatedServerCall fcall(bDedicated); CRecorderFuncCall frec(&fcall);
	m_Recorder->PushFunc(&frec);
	m_Wrapped->SetDedicatedServer(bDedicated);
	m_Recorder->PopFunc(&frec);
}
Beispiel #13
0
void CSteamGameServerRecordingWrapper::SetGameDescription(const char *pszGameDescription)
{
	CGameServerSetGameDescCall fcall(pszGameDescription); CRecorderFuncCall frec(&fcall);
	m_Recorder->PushFunc(&frec);
	m_Wrapped->SetGameDescription(pszGameDescription);
	m_Recorder->PopFunc(&frec);
}
Beispiel #14
0
void CSteamGameServerRecordingWrapper::SetProduct(const char *pszProduct)
{
	CGameServerSetProductCall fcall(pszProduct); CRecorderFuncCall frec(&fcall);
	m_Recorder->PushFunc(&frec);
	m_Wrapped->SetProduct(pszProduct);
	m_Recorder->PopFunc(&frec);
}
Beispiel #15
0
void CRecordingEngExtInterceptor::Sleep(DWORD msec)
{
	CSleepExtCall fcall(msec); CRecorderFuncCall frec(&fcall);
	PushFunc(&frec);
	m_BasePlatform->Sleep(msec);
	PopFunc(&frec);
}
Beispiel #16
0
const std::function<U(T)>& rec (std::function<U(std::function<U(T)>, T)> frec){
    std::function<U(T)>* g = new std::function<U(T)>;
    *g = [frec, g](T n){
        return frec(*g, n);
    };
    return *g;
}
Beispiel #17
0
void CRecordingEngExtInterceptor::SteamAPI_SetBreakpadAppID(uint32 unAppID)
{
	CSteamApiSetBreakpadAppIdCall fcall(unAppID); CRecorderFuncCall frec(&fcall);
	PushFunc(&frec);
	m_BasePlatform->SteamAPI_SetBreakpadAppID(unAppID);
	PopFunc(&frec);
}
Beispiel #18
0
void CRecordingEngExtInterceptor::SteamAPI_RunCallbacks()
{
	CSteamApiRunCallbacksCall fcall; CRecorderFuncCall frec(&fcall);
	PushFunc(&frec);
	m_BasePlatform->SteamAPI_RunCallbacks();
	PopFunc(&frec);
}
Beispiel #19
0
void CRecordingEngExtInterceptor::SteamGameServer_Shutdown()
{
	CSteamGameServerShutdownCall fcall; CRecorderFuncCall frec(&fcall);
	PushFunc(&frec);
	m_BasePlatform->SteamGameServer_Shutdown();
	m_GameServerWrapper = NULL;
	PopFunc(&frec);
}
Beispiel #20
0
void CRecordingEngExtInterceptor::GetSystemTimeAsFileTime(LPFILETIME lpSystemTimeAsFileTime)
{
	CGetSystemTimeAsFileTimeCall fcall; CRecorderFuncCall frec(&fcall);
	PushFunc(&frec);
	m_BasePlatform->GetSystemTimeAsFileTime(lpSystemTimeAsFileTime);
	fcall.setResult(lpSystemTimeAsFileTime);
	PopFunc(&frec);
}
Beispiel #21
0
void CRecordingEngExtInterceptor::GetTimeZoneInfo(LPTIME_ZONE_INFORMATION zinfo)
{
	CGetTimeZoneInfoCall fcall; CRecorderFuncCall frec(&fcall);
	PushFunc(&frec);
	m_BasePlatform->GetTimeZoneInfo(zinfo);
	fcall.SetResult(zinfo);
	PopFunc(&frec);
}
Beispiel #22
0
void CRecordingEngExtInterceptor::GetSystemTime(LPSYSTEMTIME time)
{
	CGetSystemTimeCall fcall; CRecorderFuncCall frec(&fcall);
	PushFunc(&frec);
	m_BasePlatform->GetSystemTime(time);
	fcall.SetResult(time);
	PopFunc(&frec);
}
Beispiel #23
0
bool CRecordingEngExtInterceptor::SteamAPI_Init()
{
	CSteamApiInitCall fcall; CRecorderFuncCall frec(&fcall);
	PushFunc(&frec);
	bool res = m_BasePlatform->SteamAPI_Init();
	fcall.setResult(res);
	PopFunc(&frec);
	return res;
}
Beispiel #24
0
const char* CSteamAppsRecordingWrapper::GetCurrentGameLanguage()
{
	CSteamAppGetCurrentGameLanguageCall fcall; CRecorderFuncCall frec(&fcall);
	m_Recorder->PushFunc(&frec); 
	const char* res = m_Wrapped->GetCurrentGameLanguage();
	fcall.setResult(res);
	m_Recorder->PopFunc(&frec);
	return res;
}
Beispiel #25
0
int CRecordingEngExtInterceptor::gethostname(char *name, int namelen)
{
	CGetHostNameCall fcall(namelen); CRecorderFuncCall frec(&fcall);
	PushFunc(&frec);
	int res = m_BasePlatform->gethostname(name, namelen);
	fcall.setResult(name, res);
	PopFunc(&frec);
	return res;
}
Beispiel #26
0
struct hostent* CRecordingEngExtInterceptor::gethostbyname(const char *name)
{
	CGetHostByNameCall fcall(name); CRecorderFuncCall frec(&fcall);
	PushFunc(&frec);
	struct hostent* res = m_BasePlatform->gethostbyname(name);
	fcall.setResult(res);
	PopFunc(&frec);
	return res;
}
Beispiel #27
0
int CRecordingEngExtInterceptor::WSAGetLastError()
{
	CWSAGetLastErrorCall fcall; CRecorderFuncCall frec(&fcall);
	PushFunc(&frec);
	int res = m_BasePlatform->WSAGetLastError();
	fcall.setResult(res);
	PopFunc(&frec);
	return res;
}
Beispiel #28
0
int CRecordingEngExtInterceptor::getsockname(SOCKET s, struct sockaddr* name, socklen_t* namelen)
{
	CGetSockNameCall fcall(s, *namelen); CRecorderFuncCall frec(&fcall);
	PushFunc(&frec);
	int res = m_BasePlatform->getsockname(s, name, namelen);
	fcall.setResult(name, *namelen, res);
	PopFunc(&frec);
	return res;
}
Beispiel #29
0
int CRecordingEngExtInterceptor::bind(SOCKET s, const struct sockaddr* addr, int namelen)
{
	CBindCall fcall(s, addr, namelen); CRecorderFuncCall frec(&fcall);
	PushFunc(&frec);
	int res = m_BasePlatform->bind(s, addr, namelen);
	fcall.setResult(res);
	PopFunc(&frec);
	return res;
}
Beispiel #30
0
int CRecordingEngExtInterceptor::sendto(SOCKET s, const char* buf, int len, int flags, const struct sockaddr* to, int tolen)
{
	CSendToCall fcall(s, buf, len, flags, to, tolen); CRecorderFuncCall frec(&fcall);
	PushFunc(&frec);
	int res = m_BasePlatform->sendto(s, buf, len, flags, to, tolen);
	fcall.setResult(res);
	PopFunc(&frec);
	return res;
}