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