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>
46 lines
1.2 KiB
C++
46 lines
1.2 KiB
C++
// HumanTrade.h: interface for the CHumanTrade class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_HUMANTRADE_H__80416F87_7DFF_452F_808B_999C55F1EB33__INCLUDED_)
|
|
#define AFX_HUMANTRADE_H__80416F87_7DFF_452F_808B_999C55F1EB33__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include "GUIWindow.h"
|
|
#include "Creature\NPC\NPCList.h"
|
|
#include <vector>
|
|
#include "ItemInstance.h" // Added by ClassView
|
|
|
|
using namespace std;
|
|
|
|
class CHumanTrade : public CGUIWindow
|
|
{
|
|
public:
|
|
CItemInstance *m_lpBuyItem;
|
|
unsigned long m_dwBuyResult;
|
|
unsigned long m_dwSellResult;
|
|
void InitTradeWindow(LPNPCNode lpNpcNode);
|
|
unsigned long m_dwKindTitle;
|
|
unsigned long m_dwTradeTab;
|
|
unsigned long m_dwItemNumber;
|
|
BOOL m_bBalckMarket;
|
|
|
|
void DeleteTradeItem(void);
|
|
vector<CItemInstance *> m_lstTradeItem;
|
|
|
|
void InitTrade(unsigned long dwNPCID);
|
|
CHumanTrade();
|
|
~CHumanTrade();
|
|
|
|
BOOL Init(unsigned short x, unsigned short y);
|
|
void InitValue(void);
|
|
BOOL Update(BOOL &bClick, BOOL &bEdge);
|
|
void ShowWindow(BOOL bShow);
|
|
void Render(LPDIRECT3DDEVICE8 lpD3DDevice);
|
|
};
|
|
|
|
#endif // !defined(AFX_HUMANTRADE_H__80416F87_7DFF_452F_808B_999C55F1EB33__INCLUDED_)
|