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>
76 lines
2.0 KiB
C++
76 lines
2.0 KiB
C++
#pragma once
|
|
|
|
#include <GridCtrl_src/GridCtrl.h>
|
|
#include "afxcmn.h"
|
|
#include "afxwin.h"
|
|
|
|
// CCharItemStorePage 대화 상자입니다.
|
|
|
|
#define CHAR_STORE_ITEM WM_USER + 2
|
|
|
|
namespace Item{
|
|
class CItem;
|
|
};
|
|
|
|
class CModifyCharacter;
|
|
|
|
/*!
|
|
\class CCharItemStorePage
|
|
캐릭터 창고 정보 페이지
|
|
*/
|
|
class CCharItemStorePage : public CPropertyPage
|
|
{
|
|
DECLARE_DYNAMIC(CCharItemStorePage)
|
|
|
|
public:
|
|
CCharItemStorePage();
|
|
virtual ~CCharItemStorePage();
|
|
|
|
// 대화 상자 데이터입니다.
|
|
enum { IDD = IDD_CHARITEMSTOREPAGE };
|
|
|
|
enum SORT_TYPE{ SERIAL, NAME, TYPE, COORDINATE, QUANTITY };
|
|
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 지원입니다.
|
|
DECLARE_MESSAGE_MAP()
|
|
virtual BOOL OnInitDialog();
|
|
virtual void PostNcDestroy();
|
|
|
|
private:
|
|
bool m_bSortListAsc;
|
|
int m_iSortListItem;
|
|
|
|
CModifyCharacter* m_lpStorePageInfo;
|
|
unsigned int m_dwDocKey;
|
|
|
|
CGridCtrl m_ctrlItemStoreGrid;
|
|
CTabCtrl m_ctrlItemStoreTab;
|
|
CListCtrl m_ctrlItemStoreItemList;
|
|
CString m_strStorePass;
|
|
CComboBox m_ctrlTabNumCb;
|
|
unsigned long m_dwStoreGold;
|
|
|
|
BOOL IsEnableItemDrop(CPoint selGridCoordinates, CPoint selItemSize);
|
|
|
|
void SortListWndItem(CListCtrl *pListCtrl, const int iCol);
|
|
void StoreGridSet(Item::CItem* StoreItem);
|
|
|
|
afx_msg void OnTcnSelchangeItemstoretab(NMHDR *pNMHDR, LRESULT *pResult);
|
|
afx_msg void OnStoreGridClick(NMHDR *pNotifyStruct, LRESULT* pResult);
|
|
afx_msg void OnStoreitemUpdate();
|
|
afx_msg void OnStoreitemRemove();
|
|
afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
|
|
afx_msg void OnNMDblclkItemstorelist(NMHDR *pNMHDR, LRESULT *pResult);
|
|
afx_msg void OnBnClickedStoreResetBtn();
|
|
afx_msg void OnBnClickedStorePassEdit();
|
|
afx_msg void OnStoreCopy();
|
|
afx_msg void OnBnClickedStoregoldUpdate();
|
|
afx_msg void OnLvnColumnclickItemstorelist(NMHDR *pNMHDR, LRESULT *pResult);
|
|
afx_msg void OnBnClickedStorepageStoreclipBtn();
|
|
|
|
public:
|
|
bool SetStorePageData(unsigned int dwDocKey, CModifyCharacter* lpModifyCharacter);
|
|
void SetStorePage(CModifyCharacter* lpModifyCharacter);
|
|
afx_msg void OnBnClickedTabeditBtn();
|
|
}; |