Counter Strike : Global Offensive Source Code
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.

29 lines
944 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef DT_COMMON_ENG_H
  7. #define DT_COMMON_ENG_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. class CBaseClientState;
  12. class ServerClass;
  13. // For shortcutting when server and client have the same game .dll
  14. // data
  15. void DataTable_CreateClientTablesFromServerTables();
  16. void DataTable_CreateClientClassInfosFromServerClasses( CBaseClientState *pState );
  17. void DataTable_ClearWriteFlags( ServerClass *pClasses );
  18. bool DataTable_LoadDataTablesFromBuffer( bf_read *pBuf, int nDemoProtocol );
  19. void DataTable_WriteSendTablesBuffer( ServerClass *pClasses, bf_write *pBuf );
  20. void DataTable_WriteClassInfosBuffer(ServerClass *pClasses, bf_write *pBuf );
  21. bool DataTable_SetupReceiveTableFromSendTable( SendTable *sendTable, bool bNeedsDecoder );
  22. #endif // DT_COMMON_ENG_H