inventoryslot.h
来自「天之炼狱1服务器端源文件游戏服务端不完整」· C头文件 代码 · 共 34 行
H
34 行
//////////////////////////////////////////////////////////////////////////////// Filename : InventorySlot.h// Written by : elca// Description : //////////////////////////////////////////////////////////////////////////////#ifndef __INVENTORY_SLOT_H__#define __INVENTORY_SLOT_H__#include "Item.h"#include "Assert.h"//////////////////////////////////////////////////////////////////////////////// class InventorySlot//////////////////////////////////////////////////////////////////////////////class InventorySlot {public: InventorySlot() throw() : m_pItem(NULL) {} ~InventorySlot() throw(Error);public: Item* getItem() throw() { return m_pItem; } void addItem(Item* pItem) throw(); void deleteItem() throw(Error);private: Item* m_pItem;};#endif // __INVENTORY_SLOT_H__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?