Files
Client/Server/ManageTool/ChatParser/ChatParserDlg.h
LGram16 dd97ddec92 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>
2025-11-29 20:17:20 +09:00

93 lines
1.7 KiB
C++

// ChatParserDlg.h : 헤더 파일
//
#pragma once
#include "afxwin.h"
#include "XListBox.h"
#include <map>
typedef struct CHATLIST
{
SYSTEMTIME sysTime;
char strServerName[32];
int iZone;
int iChannel;
unsigned long dwUID;
unsigned long dwCID;
int iChatType;
char strSenderName[32];
char strTargetName[32];
char strMessage[512];
CHATLIST()
{
Clear();
}
void Clear()
{
ZeroMemory(&sysTime, sizeof(sysTime));
iZone=0;
iChannel=0;
dwUID=0;
dwCID=0;
iChatType=0;
ZeroMemory(strServerName, 32);
ZeroMemory(strSenderName, 32);
ZeroMemory(strTargetName, 32);
ZeroMemory(strMessage, 512);
}
}CHATLIST;
// CChatParserDlg 대화 상자
class CChatParserDlg : public CDialog
{
// 생성입니다.
public:
CChatParserDlg(CWnd* pParent = NULL); // 표준 생성자입니다.
// 대화 상자 데이터입니다.
enum { IDD = IDD_CHATPARSER_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 지원입니다.
void AddLineToChatList(unsigned char cChatType, char* szMsg);
void Cleanup();
void LoadFile();
// 구현입니다.
protected:
HICON m_hIcon;
// 생성된 메시지 맵 함수
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
public:
OPENFILENAME m_OpenFile;
char m_szFileName[MAX_PATH * MAX_PATH];
std::map<int, CHATLIST> m_ChatData;
CXListBox m_ChatList;
CButton m_OldVersion;
CComboBox m_ServerGroup;
CComboBox m_ServerZone;
CComboBox m_ChatType;
CButton m_FindNameChk;
CEdit m_FindName;
public:
afx_msg void OnBnClickedOpenfile();
afx_msg void OnBnClickedFindlist();
afx_msg void OnBnClickedFindnamechk();
};