Files
Client/Server/AdminTool/AdminToolClient/AdminToolClient.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

90 lines
1.9 KiB
C++

// AdminToolClient.h : AdminToolClient 응용 프로그램에 대한 주 헤더 파일
//
#pragma once
#ifndef __AFXWIN_H__
#error PCH에서 이 파일을 포함하기 전에 'stdafx.h'를 포함하십시오.
#endif
#include "stdafx.h"
#include "./res/resource.h" // 주 기호
#include "InfoStruct.h"
#include <Network/Protocol/Ryl_AdminMgrProtocol.h>
#include <Character/ModifyCharacter.h>
#include <vector>
struct MyItemInfo
{
enum Mode
{
NONE = 0,
CREATE_PLURAL = 1,
CREATE_SINGLE = 2,
CREATE_DISTRIBUTE = 3,
EDIT = 4,
EDIT_ADMINSTORE = 5,
REMOVE = 6
};
unsigned int m_nModeIndex;
CModifyCharacter* m_lpModifyCharInfo;
unsigned int m_dwDocKey;
unsigned __int64 m_dwItemSerial;
char m_szItemName[255];
unsigned char m_cTakeType;
unsigned long m_dwStoreUID;
// 생성모드일때 필요한 정보
PktAdminMgr::CreateItemInfo m_stItemInfo;
unsigned short m_SizeX;
unsigned short m_SizeY;
MyItemInfo()
: m_nModeIndex(0), m_SizeX(0), m_SizeY(0), m_dwItemSerial(0)
, m_lpModifyCharInfo(NULL), m_dwDocKey(0), m_dwStoreUID(0) { }
};
class CSingleSession;
class CAdminToolClientApp : public CWinApp
{
public:
CAdminToolClientApp();
DECLARE_MESSAGE_MAP()
virtual BOOL InitInstance();
virtual int ExitInstance();
private:
afx_msg void OnAppAbout();
afx_msg void OnTadminmanagementdlg();
afx_msg void OnCharrestore();
afx_msg void OnBlocklist();
afx_msg void OnGadminmanagement();
unsigned int m_nAgentType;
char m_szNationType[256];
public:
CSingleSession* m_lpSession;
bool ConnectServer();
bool IsConnected();
bool OnLoadResourceDLL();
ClientInfo m_MyInfo;
CDocument* NewUserDocument();
unsigned int GetAgentType() { return m_nAgentType; };
const char* GetNationType() { return m_szNationType; };
};
extern CAdminToolClientApp theApp;
extern MyItemInfo g_stMyItemInfo; // 전역 아이템 정보
extern bool g_bItemGrab; // 아이템 선택 여부
extern bool g_bIsLogin; // 로그인 했는지 여부