Files
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

58 lines
993 B
C++

#pragma once
#include "afxwin.h"
// CAdmin 대화 상자입니다.
class CAdmin : public CDialog
{
DECLARE_DYNAMIC(CAdmin)
public:
CAdmin(CWnd* pParent = NULL); // 표준 생성자입니다.
virtual ~CAdmin();
// 대화 상자 데이터입니다.
enum { IDD = IDD_ADMIN };
DWORD m_UID;
public:
void SetUID(DWORD UID_In) { m_UID = UID_In; }
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 지원입니다.
DECLARE_MESSAGE_MAP()
public:
virtual BOOL OnInitDialog();
CString m_UserID;
CComboBox m_Level;
afx_msg void OnBnClickedModify();
CString m_SIP;
CString m_EIP;
afx_msg void OnEnChangeSIp();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
};
class CAdminDB
{
public:
enum Level
{
None = 0,
L1 = 1, // 운영자 L1
L2 = 2, // 운영자 L2
L3 = 3, // 운영자 L3
};
private:
enum { MaxList = 100 };
DWORD m_AdminList[MaxList];
int m_AdminNum;
public:
bool Initialize(void);
unsigned short GetAdminLevel(unsigned long UID);
};