⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 booth.h

📁 网络游戏魔域源代码 测试可以完整变异
💻 H
字号:
// Booth.h: interface for the CBooth class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_BOOTH_H__50B7A090_A2BB_4D63_8806_74FDFDA86C51__INCLUDED_)
#define AFX_BOOTH_H__50B7A090_A2BB_4D63_8806_74FDFDA86C51__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Item.h"
class CBooth  
{
public:
	CBooth();
	virtual ~CBooth();

public:
	DWORD	GetItemAmount();
	CItem*	GetItemByIndex(int nIndex);
	BOOL	Open(OBJID idBooth);
	void	Close();
	void	AddItem(CItem* pItem);
	void	DelItem(OBJID idItem);
	void	BuyItem(OBJID idItem);
	void	SetPrice(OBJID idItem, DWORD dwPrice);
	char*	GetName(){return m_szName;}
	OBJID	GetID(){return m_idNpc;}
private:
	OBJID		m_idNpc; 
	DEQUE_ITEM	m_dequeItem;
	char		m_szName[32];
};

#endif // !defined(AFX_BOOTH_H__50B7A090_A2BB_4D63_8806_74FDFDA86C51__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -