source-engine/engine/sv_packedentities.h

35 lines
824 B
C
Raw Permalink Normal View History

2020-04-22 16:56:21 +00:00
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef SV_PACKEDENTITIES_H
#define SV_PACKEDENTITIES_H
#ifdef _WIN32
#pragma once
#endif
#include "server.h"
#include "framesnapshot.h"
#include "server_class.h"
void SV_ComputeClientPacks(
int clientCount,
CGameClient** clients,
CFrameSnapshot *snapshot );
void SV_WriteSendTables( ServerClass *pClasses, bf_write &pBuf );
void SV_WriteClassInfos( ServerClass *pClasses, bf_write &pBuf );
void SV_ComputeClassInfosCRC( CRC32_t* crc );
void SV_EnsureInstanceBaseline( ServerClass *pServerClass, int iEdict, const void *pData, int nBytes );
void SV_EnableChangeFrames( bool state );
#endif // SV_PACKEDENTITIES_H