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>
50 lines
1.1 KiB
C++
50 lines
1.1 KiB
C++
// PacketDecoderDlg.h : 헤더 파일
|
|
//
|
|
|
|
#pragma once
|
|
#include "afxwin.h"
|
|
#include "FindFFEdit.h"
|
|
|
|
// forward decl
|
|
struct PktBase;
|
|
|
|
// CPacketDecoderDlg 대화 상자
|
|
// 네트워크로 캡쳐한 패킷을 입력하면, 디코딩해서 원하는 정보로 뽑아냅니다.
|
|
class CPacketDecoderDlg : public CDialog
|
|
{
|
|
// 생성
|
|
public:
|
|
CPacketDecoderDlg(CWnd* pParent = NULL); // 표준 생성자
|
|
|
|
// 대화 상자 데이터
|
|
enum { IDD = IDD_PACKETDECODER_DIALOG };
|
|
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 지원
|
|
|
|
|
|
// 구현
|
|
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()
|
|
|
|
private:
|
|
|
|
afx_msg void OnBnClickedParseHeader();
|
|
afx_msg void OnBnClickedCompressPacket();
|
|
|
|
PktBase* DecodePacket(LPBYTE lpBuffer, int nBufferLen, int& nPacketSize);
|
|
|
|
CFindFFEdit m_edPacketContents;
|
|
CFindFFEdit m_edWorkspace;
|
|
CString m_szParseResult;
|
|
CString m_szCompressMiniLZO;
|
|
CString m_szCompressZLIB;
|
|
};
|