Restructure repository to include all source folders
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>
This commit is contained in:
83
Server/ToolProject/GameLogAnalyzer/ItemInfoDlg.cpp
Normal file
83
Server/ToolProject/GameLogAnalyzer/ItemInfoDlg.cpp
Normal file
@@ -0,0 +1,83 @@
|
||||
// ItemInfoDlg.cpp : <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Դϴ<D4B4>.
|
||||
//
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "GameLogAnalyzer.h"
|
||||
#include "ItemInfoDlg.h"
|
||||
#include "PrintLog.h"
|
||||
|
||||
#include "GlobalFunctions.h"
|
||||
|
||||
|
||||
// CItemInfoDlg <20><>ȭ <20><><EFBFBD><EFBFBD><EFBFBD>Դϴ<D4B4>.
|
||||
|
||||
IMPLEMENT_DYNAMIC(CItemInfoDlg, CDialog)
|
||||
CItemInfoDlg::CItemInfoDlg(CWnd* pParent /*=NULL*/)
|
||||
: CDialog(CItemInfoDlg::IDD, pParent)
|
||||
{
|
||||
}
|
||||
|
||||
CItemInfoDlg::~CItemInfoDlg()
|
||||
{
|
||||
}
|
||||
|
||||
void CItemInfoDlg::DoDataExchange(CDataExchange* pDX)
|
||||
{
|
||||
CDialog::DoDataExchange(pDX);
|
||||
DDX_Control(pDX, IDC_ITEM_LIST, m_ItemList);
|
||||
DDX_Control(pDX, IDC_ITEMINFOEDIT, m_ItemInfo);
|
||||
}
|
||||
|
||||
|
||||
BEGIN_MESSAGE_MAP(CItemInfoDlg, CDialog)
|
||||
ON_LBN_DBLCLK(IDC_ITEM_LIST, OnLbnDblclkItemList)
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
|
||||
// CItemInfoDlg <20><EFBFBD><DEBD><EFBFBD> ó<><C3B3><EFBFBD><EFBFBD><EFBFBD>Դϴ<D4B4>.
|
||||
|
||||
bool CItemInfoDlg::Initialize(Item::CItemContainer* lpItemContainer)
|
||||
{
|
||||
m_lpItemContainer = lpItemContainer;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
BOOL CItemInfoDlg::OnInitDialog()
|
||||
{
|
||||
CDialog::OnInitDialog();
|
||||
|
||||
// TODO: <20><><EFBFBD> <20>߰<EFBFBD> <20>ʱ<EFBFBD>ȭ <20>۾<EFBFBD><DBBE><EFBFBD> <20>߰<EFBFBD><DFB0>մϴ<D5B4>.
|
||||
|
||||
|
||||
m_Font.CreatePointFont(90, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ü");
|
||||
SetFont(&m_Font);
|
||||
|
||||
m_ItemInfo.SetFont(&m_Font);
|
||||
m_ItemList.SetFont(&m_Font);
|
||||
|
||||
|
||||
if(m_lpItemContainer)
|
||||
{
|
||||
m_lpItemContainer->DumpItemInfo();
|
||||
}
|
||||
|
||||
UpdateData(FALSE);
|
||||
|
||||
return TRUE; // return TRUE unless you set the focus to a control
|
||||
// <20><><EFBFBD><EFBFBD>: OCX <20>Ӽ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> FALSE<53><45> <20><>ȯ<EFBFBD>ؾ<EFBFBD> <20>մϴ<D5B4>.
|
||||
}
|
||||
|
||||
|
||||
|
||||
void CItemInfoDlg::OnLbnDblclkItemList()
|
||||
{
|
||||
int nIndex = m_ItemList.GetCurSel();
|
||||
const Item::CItem* lpItem = static_cast<const Item::CItem*>(m_ItemList.GetItemDataPtr(nIndex));
|
||||
|
||||
if(NULL != lpItem)
|
||||
{
|
||||
CString ItemData = GetMyINIString("STRING_FOR_LOCALIZE", "ITEM_DETAIL_INFO");
|
||||
GAMELOG::DetailInfo::ShowItemInfo(ItemData, lpItem);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user