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.

83 lines
2.1 KiB

  1. //===== Copyright c 1996-2009, Valve Corporation, All rights reserved. ======//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //===========================================================================//
  7. #ifndef IMATCHEXT_SWARM_H
  8. #define IMATCHEXT_SWARM_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. //
  13. //
  14. // WARNING!! WARNING!! WARNING!! WARNING!!
  15. // This structure TitleData1 should remain
  16. // intact after we ship otherwise
  17. // users profiles will be busted.
  18. // You are allowed to add fields at the end
  19. // as long as structure size stays under
  20. // XPROFILE_SETTING_MAX_SIZE = 1000 bytes.
  21. // WARNING!! WARNING!! WARNING!! WARNING!!
  22. //
  23. struct TitleData1
  24. {
  25. uint64 unused;
  26. };
  27. //
  28. //
  29. // WARNING!! WARNING!! WARNING!! WARNING!!
  30. // This structure TitleData2 should remain
  31. // intact after we ship otherwise
  32. // users profiles will be busted.
  33. // You are allowed to add fields at the end
  34. // as long as structure size stays under
  35. // XPROFILE_SETTING_MAX_SIZE = 1000 bytes.
  36. // WARNING!! WARNING!! WARNING!! WARNING!!
  37. //
  38. struct TitleData2
  39. {
  40. // Achievement Counters
  41. uint8 iCountXxx; // ACHIEVEMENT_XXX
  42. uint8 iCountYyy; // ACHIEVEMENT_YYY
  43. // Achievement Component Bitfields
  44. uint8 iCompXxx; // ACHIEVEMENT_XXX
  45. };
  46. //
  47. //
  48. // WARNING!! WARNING!! WARNING!! WARNING!!
  49. // This structure TitleData3 should remain
  50. // intact after we ship otherwise
  51. // users profiles will be busted.
  52. // You are allowed to add fields at the end
  53. // as long as structure size stays under
  54. // XPROFILE_SETTING_MAX_SIZE = 1000 bytes.
  55. // WARNING!! WARNING!! WARNING!! WARNING!!
  56. //
  57. struct TitleData3
  58. {
  59. uint64 unused; // unused, free for taking
  60. };
  61. abstract_class IMatchExtSwarm
  62. {
  63. public:
  64. // Get server map information for the session settings
  65. virtual KeyValues * GetAllMissions() = 0;
  66. virtual KeyValues * GetMapInfo( KeyValues *pSettings, KeyValues **ppMissionInfo = NULL ) = 0;
  67. virtual KeyValues * GetMapInfoByBspName( KeyValues *pSettings, char const *szBspMapName, KeyValues **ppMissionInfo = NULL ) = 0;
  68. };
  69. #define IMATCHEXT_SWARM_INTERFACE "IMATCHEXT_SWARM_INTERFACE_001"
  70. // #define SWARM_DLC_NUMBER_XXX 20
  71. #endif // IMATCHEXT_L4D_H