-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathItem.cpp
More file actions
51 lines (38 loc) · 1007 Bytes
/
Item.cpp
File metadata and controls
51 lines (38 loc) · 1007 Bytes
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
50
51
// Item.cpp: implementation of the CItem class.
//
//////////////////////////////////////////////////////////////////////
#include "Item.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CItem::CItem()
{
ZeroMemory(m_cName, sizeof(m_cName));
m_sSprite = 0;
m_sSpriteFrame = 0;
m_sItemEffectValue1 = 0;
m_sItemEffectValue2 = 0;
m_sItemEffectValue3 = 0;
m_sItemEffectValue4 = 0;
m_sItemEffectValue5 = 0;
m_sItemEffectValue6 = 0;
m_dwCount = 1;
m_sTouchEffectType = 0;
m_sTouchEffectValue1 = 0;
m_sTouchEffectValue2 = 0;
m_sTouchEffectValue3 = 0;
m_cItemColor = 0;
m_sItemSpecEffectValue1 = 0;
m_sItemSpecEffectValue2 = 0;
m_sItemSpecEffectValue3 = 0;
m_sSpecialEffectValue1 = 0;
m_sSpecialEffectValue2 = 0;
m_wCurLifeSpan = 0;
m_dwAttribute = 0;
m_cCategory = NULL;
m_sIDnum = 0;
m_bIsForSale = FALSE;
}
CItem::~CItem()
{
}