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:
95
Server/AdminTool/AdminToolClient/CharGMLogPage.cpp
Normal file
95
Server/AdminTool/AdminToolClient/CharGMLogPage.cpp
Normal file
@@ -0,0 +1,95 @@
|
||||
// CharGMLogPage.cpp : <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Դϴ<D4B4>.
|
||||
//
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "AdminToolClient.h"
|
||||
#include "CharGMLogPage.h"
|
||||
#include "WindowMgr.h"
|
||||
#include "GlobalFunctions.h"
|
||||
#include "PacketManager.h"
|
||||
#include ".\chargmlogpage.h"
|
||||
|
||||
|
||||
// CCharGMLogPage <20><>ȭ <20><><EFBFBD><EFBFBD><EFBFBD>Դϴ<D4B4>.
|
||||
|
||||
IMPLEMENT_DYNAMIC(CCharGMLogPage, CPropertyPage)
|
||||
CCharGMLogPage::CCharGMLogPage()
|
||||
: CPropertyPage(CCharGMLogPage::IDD)
|
||||
{
|
||||
}
|
||||
|
||||
CCharGMLogPage::~CCharGMLogPage()
|
||||
{
|
||||
}
|
||||
|
||||
void CCharGMLogPage::DoDataExchange(CDataExchange* pDX)
|
||||
{
|
||||
CPropertyPage::DoDataExchange(pDX);
|
||||
DDX_Control(pDX, IDC_GMLOG_LIST, m_ctrlGMLogList);
|
||||
}
|
||||
|
||||
|
||||
BEGIN_MESSAGE_MAP(CCharGMLogPage, CPropertyPage)
|
||||
ON_BN_CLICKED(IDC_GMLOGEDIT_BTN, OnBnClickedGmlogeditBtn)
|
||||
ON_BN_CLICKED(IDC_GMLOGDELETE_BTN, OnBnClickedGmlogdeleteBtn)
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
|
||||
// CCharGMLogPage <20><EFBFBD><DEBD><EFBFBD> ó<><C3B3><EFBFBD><EFBFBD><EFBFBD>Դϴ<D4B4>.
|
||||
|
||||
BOOL CCharGMLogPage::OnInitDialog()
|
||||
{
|
||||
CPropertyPage::OnInitDialog();
|
||||
|
||||
m_ctrlGMLogList.InsertColumn(0, _T("LogID"), LVCFMT_LEFT, 20);
|
||||
m_ctrlGMLogList.InsertColumn(1, GetLocalString("ADDED_STRING_039"), LVCFMT_LEFT, 100);
|
||||
m_ctrlGMLogList.InsertColumn(2, GetLocalString("ADDED_STRING_040"), LVCFMT_LEFT, 130);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
void CCharGMLogPage::SetGMLogMsgPage(CModifyCharacter* lpChar)
|
||||
{
|
||||
CPacketMgr::GetInstance().SendPktGMLogMsg(
|
||||
PktAdminMgr::PktGMLogMsg::LOG_SELECT, lpChar->GetClientKey(),
|
||||
lpChar->GetServerGroup(), lpChar->GetUID(), lpChar->GetCID());
|
||||
}
|
||||
|
||||
bool CCharGMLogPage::SetGMLogMsgPageData(unsigned int dwDocKey, CModifyCharacter* lpChar)
|
||||
{
|
||||
if((0 != dwDocKey) && (NULL != lpChar))
|
||||
{
|
||||
m_lpGMLogMsgPageInfo = lpChar;
|
||||
m_dwDocKey = dwDocKey;
|
||||
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
void CCharGMLogPage::OnBnClickedGmlogeditBtn()
|
||||
{
|
||||
if (1 == m_ctrlGMLogList.GetSelectedCount())
|
||||
{
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
void CCharGMLogPage::OnBnClickedGmlogdeleteBtn()
|
||||
{
|
||||
if (1 == m_ctrlGMLogList.GetSelectedCount())
|
||||
{
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user