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:
70
Server/ManageTool/MonitoringTool/WhisperDlg.h
Normal file
70
Server/ManageTool/MonitoringTool/WhisperDlg.h
Normal file
@@ -0,0 +1,70 @@
|
||||
#pragma once
|
||||
#include "afxwin.h"
|
||||
#include <Network/Packet/ChatToolPacketCmd.h>
|
||||
|
||||
/** \class CWhisperDlg
|
||||
1대1 대화창. 모니터링 리스트 박스를 더블클릭하거나 계정으로 귓말 보내기를 클릭하면 나타나는 다이얼로그*/
|
||||
class CWhisperDlg : public CDialog
|
||||
{
|
||||
DECLARE_DYNAMIC(CWhisperDlg)
|
||||
|
||||
public:
|
||||
/// 귓속말 대화창 정보
|
||||
struct WhisperDlgInfo
|
||||
{
|
||||
enum SIZE
|
||||
{
|
||||
MAX_NAME = 256
|
||||
};
|
||||
|
||||
/// 대화창 타입
|
||||
enum DLG_TYPE
|
||||
{
|
||||
WHISPER_TYPE_CLK = 0, ///< 모니터링 리스트 박스 더블클릭하여 사용하는 대화창
|
||||
FINDUSER = 1 ///< 직접 계정정보를 입력하는 스타일의 대화창
|
||||
};
|
||||
|
||||
unsigned char m_nDlgType; ///< 대화창 타입
|
||||
unsigned long m_dwUID; ///< 대화상대의 UID
|
||||
unsigned long m_dwCID; ///< 대화상대의 CID
|
||||
unsigned long m_dwDlgID; ///< 대화창의 고유ID
|
||||
char m_cRace; ///< 종족
|
||||
char m_szServerName[MAX_NAME]; ///< 대화중인 상대가 있는 서버군
|
||||
char m_szCharName[MAX_NAME]; ///< 대화 상대의 캐릭명
|
||||
};
|
||||
|
||||
CWhisperDlg(CWnd* pParent, WhisperDlgInfo stInfo); // 표준 생성자입니다.
|
||||
CWhisperDlg();
|
||||
virtual ~CWhisperDlg();
|
||||
|
||||
enum { IDD = IDD_WHISPERDLG };
|
||||
|
||||
protected:
|
||||
DECLARE_MESSAGE_MAP()
|
||||
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 지원입니다.
|
||||
virtual void PostNcDestroy();
|
||||
virtual void OnOK();
|
||||
virtual void OnCancel();
|
||||
virtual BOOL OnInitDialog();
|
||||
virtual BOOL PreTranslateMessage(MSG* pMsg);
|
||||
|
||||
bool IsWhisperDlgSet; ///< 계정으로 찾아서 귓속말 보내는것인지 리스트박스를 클릭해서 귓속말 보내는것인지 체크
|
||||
|
||||
CWnd* m_pParent;
|
||||
|
||||
private:
|
||||
CButton m_ctrlSendByUIDChk;
|
||||
CListBox m_ctrlWhisperOutput; ///< 대화 출력창
|
||||
CString m_strWhisperTitle; ///< 대화 창 타이틀
|
||||
|
||||
WhisperDlgInfo m_stWhisperDlgInfo; ///< 대화상대 정보
|
||||
|
||||
afx_msg void OnClose();
|
||||
afx_msg void OnBnClickedWhisperSend();
|
||||
|
||||
public:
|
||||
void ParseChatData(ChatToolPkt::ChatDataSend* lpChatData);
|
||||
void SetKeyUID(unsigned long dwUID, unsigned long dwCID);
|
||||
unsigned long GetKeyUID() { return m_stWhisperDlgInfo.m_dwUID; };
|
||||
};
|
||||
Reference in New Issue
Block a user