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.

49 lines
1.2 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #ifndef GAME_ITEM_SCHEMA_H
  7. #define GAME_ITEM_SCHEMA_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #if defined(TF_CLIENT_DLL) || defined(TF_DLL) || defined(TF_GC_DLL)
  12. // TF
  13. class CTFItemSchema;
  14. class CTFItemDefinition;
  15. class CTFItemSystem;
  16. typedef CTFItemSchema GameItemSchema_t;
  17. typedef CTFItemDefinition GameItemDefinition_t;
  18. typedef CTFItemSystem GameItemSystem_t;
  19. #include "tf_item_schema.h"
  20. #elif defined( DOTA_CLIENT_DLL ) || defined( DOTA_DLL ) || defined ( DOTA_GC_DLL )
  21. // DOTA
  22. class CDOTAItemSchema;
  23. class CDOTAItemDefinition;
  24. class CDOTAItemSystem;
  25. typedef CDOTAItemSchema GameItemSchema_t;
  26. typedef CDOTAItemDefinition GameItemDefinition_t;
  27. typedef CDOTAItemSystem GameItemSystem_t;
  28. #include "econ/dota_item_schema.h"
  29. #else
  30. // Fallback Case
  31. class CEconItemSchema;
  32. class CEconItemDefinition;
  33. class CEconItemSystem;
  34. typedef CEconItemSchema GameItemSchema_t;
  35. typedef CEconItemDefinition GameItemDefinition_t;
  36. typedef CEconItemSystem GameItemSystem_t;
  37. #include "econ_item_schema.h"
  38. #endif
  39. extern GameItemSchema_t *GetItemSchema();
  40. #endif // GAME_ITEM_SYSTEM_H