forked from Helbreath/server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBuildItem.cpp
More file actions
36 lines (27 loc) · 729 Bytes
/
Copy pathBuildItem.cpp
File metadata and controls
36 lines (27 loc) · 729 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
// BuildItem.cpp: implementation of the CBuildItem class.
//
//////////////////////////////////////////////////////////////////////
#include "BuildItem.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CBuildItem::CBuildItem()
{
int i;
ZeroMemory(m_cName, sizeof(m_cName));
m_sItemID = -1;
m_iSkillLimit = 0;
for (i = 0; i < 6; i++) {
m_iMaterialItemID[i] = NULL;
m_iMaterialItemCount[i] = NULL;
m_iMaterialItemValue[i] = NULL;
m_iIndex[i] = -1;
}
m_iMaxValue = 0;
m_iAverageValue = 0;
m_iMaxSkill = 0;
m_wAttribute = 0;
}
CBuildItem::~CBuildItem()
{
}