-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCvDllPlayerColorInfo.h
40 lines (31 loc) · 1.34 KB
/
CvDllPlayerColorInfo.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
/* -------------------------------------------------------------------------------------------------------
© 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 CvPlayerColorInfo;
class CvDllPlayerColorInfo : public ICvPlayerColorInfo1
{
public:
CvDllPlayerColorInfo(_In_ CvPlayerColorInfo* pPlayerColorInfo);
~CvDllPlayerColorInfo();
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);
CvPlayerColorInfo* GetInstance();
const char* DLLCALL GetType();
const char* DLLCALL GetDescription();
ColorTypes DLLCALL GetColorTypePrimary();
ColorTypes DLLCALL GetColorTypeSecondary();
private:
void DLLCALL Destroy();
unsigned int m_uiRefCount;
CvPlayerColorInfo* m_pPlayerColorInfo;
};