-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCvDllResourceInfo.h
48 lines (39 loc) · 1.62 KB
/
CvDllResourceInfo.h
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
/* -------------------------------------------------------------------------------------------------------
© 1991-2012 Take-Two Interactive Software and its subsidiaries. Developed by Firaxis Games.
Sid Meier's Civilization V, Civ, Civilization, 2K Games, Firaxis Games, Take-Two Interactive Software
and their respective logos are all trademarks of Take-Two interactive Software, Inc.
All other marks and trademarks are the property of their respective owners.
All rights reserved.
------------------------------------------------------------------------------------------------------- */
#pragma once
#include "CvDllInterfaces.h"
class CvResourceInfo;
class CvDllResourceInfo : public ICvResourceInfo1
{
public:
CvDllResourceInfo(_In_ CvResourceInfo* pResourceInfo);
~CvDllResourceInfo();
void* DLLCALL QueryInterface(GUID guidInterface);
unsigned int IncrementReference();
unsigned int DecrementReference();
unsigned int GetReferenceCount();
static void operator delete(void* p);
static void* operator new (size_t bytes);
CvResourceInfo* GetInstance();
const char* DLLCALL GetType();
const char* DLLCALL GetDescription();
int DLLCALL GetResourceClassType();
ResourceUsageTypes DLLCALL GetResourceUsage();
const char* DLLCALL GetIconString();
const char* DLLCALL GetArtDefineTag();
const char* DLLCALL GetArtDefineTagHeavy();
const char* DLLCALL GetAltArtDefineTag();
const char* DLLCALL GetAltArtDefineTagHeavy();
bool DLLCALL IsTerrain(int i);
bool DLLCALL IsFeature(int i);
bool DLLCALL IsFeatureTerrain(int i);
private:
void DLLCALL Destroy();
unsigned int m_uiRefCount;
CvResourceInfo* m_pResourceInfo;
};