Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
824 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef SV_PACKEDENTITIES_H
  8. #define SV_PACKEDENTITIES_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "server.h"
  13. #include "framesnapshot.h"
  14. #include "server_class.h"
  15. void SV_ComputeClientPacks(
  16. int clientCount,
  17. CGameClient** clients,
  18. CFrameSnapshot *snapshot );
  19. void SV_WriteSendTables( ServerClass *pClasses, bf_write &pBuf );
  20. void SV_WriteClassInfos( ServerClass *pClasses, bf_write &pBuf );
  21. void SV_ComputeClassInfosCRC( CRC32_t* crc );
  22. void SV_EnsureInstanceBaseline( ServerClass *pServerClass, int iEdict, const void *pData, int nBytes );
  23. void SV_EnableChangeFrames( bool state );
  24. #endif // SV_PACKEDENTITIES_H