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.

35 lines
757 B

  1. //========= Copyright � Valve Corporation, All rights reserved. ============//
  2. #ifndef ENGINE_BROADCAST_HDR
  3. #define ENGINE_BROADCAST_HDR
  4. enum BroadcastChunkEnum
  5. {
  6. BROADCAST_FULLFRAME, // a single keyframe message
  7. BROADCAST_SIGNON,
  8. BROADCAST_NETWORK_DATA_TABLES,
  9. BROADCAST_STRING_TABLES,
  10. BROADCAST_FRAMES, // a number of incremental frames (384 frames for a 3-second pack on a 128-tick server)
  11. BROADCAST_DELTAFRAME,
  12. BROADCAST_CONSOLE_COMMAND,
  13. BROADCAST_STOP,
  14. BROADCAST_TOC,
  15. BROADCAST_TOC_SIZE
  16. };
  17. struct BroadcastChunk_t
  18. {
  19. uint32 nChunkId;
  20. uint32 nChunkSize; // size in bytes of the chunk that follows; 0 means it's empty
  21. };
  22. struct BroadcastTocKeyframe_t
  23. {
  24. uint32 nKeyframeTick;
  25. uint32 nBroadcastIndex;
  26. };
  27. #endif // ENGINE_BROADCAST_HDR