📄 npcitem.cpp
字号:
// NpcItem.cpp: implementation of the CNpcItem class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "NpcItem.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CNpcItem::CNpcItem()
{
m_nRow = 0;
m_nField = 0;
m_ppItem = NULL;
}
CNpcItem::~CNpcItem()
{
if(m_ppItem != NULL)
{
for(int i = 0; i < m_nField; i++) delete[] m_ppItem[i];
delete [] m_ppItem;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -