Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
32 lines
675 B
C++
32 lines
675 B
C++
#ifndef _INVENTORY_CONTAINER_H_
|
|
#define _INVENTORY_CONTAINER_H_
|
|
|
|
#include "ItemContainer.h"
|
|
|
|
namespace Item
|
|
{
|
|
class CItem;
|
|
|
|
class CInventoryContainer : public CArrayContainer
|
|
{
|
|
public:
|
|
|
|
CInventoryContainer();
|
|
virtual ~CInventoryContainer();
|
|
|
|
ItemPos GetBlankPos(unsigned short wProtoTypeID, unsigned char cNum, bool bStack, CItem** ppPrevItem);
|
|
bool TestItem(ItemPos itemPos, unsigned short usProtoTypeID, unsigned char cNum);
|
|
|
|
virtual bool SetItem(ItemPos itemPos, CItem* lpItem);
|
|
virtual bool RemoveItem(ItemPos itemPos);
|
|
|
|
void SetAdminTool(void) { m_bAdminToolFlag = true; }
|
|
|
|
|
|
private:
|
|
|
|
bool m_bAdminToolFlag;
|
|
};
|
|
};
|
|
|
|
#endif |