⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 serverpatch.h

📁 网络游戏龙族服务器端管理工具 rmtool 源代码
💻 H
字号:
#if !defined(AFX_SERVERPATCH_H__0B136066_8763_447B_8DFD_0F57A606F679__INCLUDED_)
#define AFX_SERVERPATCH_H__0B136066_8763_447B_8DFD_0F57A606F679__INCLUDED_

#include "RMTool.h"	// Added by ClassView

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ServerPatch.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CServerPatch dialog
//促捞倔肺弊俊辑 PatchView肺 逞败临锭 镜..  备炼眉 
struct DOWNLOADPATH
{
	char szDrive;
	char szPath[MAX_PATH];
};

class CKickOffDlg;		// BBD 040107
class CServerView;		// BBD 040107

class CServerPatch : public CDialog
{
// Construction
public:
	int FindIndex(char *szIp);
	void ResetSelectedBuffer();
	BOOL SetBuffer();
	int	m_nSelectedCount; ////磊悼 靛贰弊 菩摹甫 困茄 急琶等 辑滚 荐 
	SelectServerInfo m_SelectedBuffer[ MAX_SELECTED_BUFFER_SIZE ];	//磊悼 靛贰弊 菩摹甫 困茄 滚欺 
	int CalcSelectedMachine();
	void RefreshServerListOnlyAllServerList();
	BOOL RefreshSomeItem(WORD port, BOOL connect);
	int m_nPrevWidth;
	int m_nPrevHeight;
	//int m_nCurServerSet;				//泅犁 辑滚悸 
	DWORD GetConnection();
	DOWNLOADPATH m_szDownloadPath;		//Listener狼 Download 棺 角青 版肺 
	DOWNLOADPATH m_szUploadPath;		//辑滚颇老 Upload 菩胶 
	void MoveToSelectEachServer(int nServerType);
	void MoveToAllEachServer(int nServerType);
	BOOL CheckExistSelectedList(WORD wPort);
	CString GetWriteFolder(int ServerSetNum, int i);

	void InsertSelectedServer(ServerInfo *pInfo, int i);
	BOOL CheckSameServer(DWORD dwPort);
	void CountConnectServer();
	void RefreshServerList();
	CRMToolApp *m_pApp;
	CServerView *m_pView;			// BBD 040107
	CServerPatch(CWnd* pParent = NULL);		// standard constructor
	~CServerPatch();						// standard destructor

// Dialog Data
	//{{AFX_DATA(CServerPatch)
	enum { IDD = IDD_VIEW_SERVER_PATCH };
	CButton	c_CheckExecute;
	CListCtrl	c_SelectList;
	CListCtrl	c_AllList;
	int		m_nRadioExecute;
	int		m_nRadioShutDown;
	BOOL	m_CheckMap;
	BOOL	m_CheckAgent;
	BOOL	m_CheckDBDemon;
	CString	m_szExeName;
	int		m_nRadioIni;
	BOOL	m_CheckExecute;
	//}}AFX_DATA



// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CServerPatch)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	CKickOffDlg * m_pKickDlg;		// BBD 040107

	// Generated message map functions
	//{{AFX_MSG(CServerPatch)
	virtual BOOL OnInitDialog();
	afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
	afx_msg void OnRightAll();
	afx_msg void OnRight();
	afx_msg void OnLeft();
	afx_msg void OnLeftAll();
	afx_msg void OnShutDown();
	afx_msg void OnServerExecute();
	afx_msg void OnMakeIni();
	afx_msg void OnDownloadPath();
	afx_msg void OnCheckAgent();
	afx_msg void OnCheckDbdemon();
	afx_msg void OnCheckMap();
	afx_msg void OnRadioShutdown();
	afx_msg void OnRadio2();
	afx_msg void OnRadio3();
	afx_msg void OnRadio4();
	afx_msg void OnRadio5();
	afx_msg void OnRadioExecute();
	afx_msg void OnRadio7();
	afx_msg void OnRadio8();
	afx_msg void OnRadio9();
	afx_msg void OnRadio10();
	afx_msg void OnReboot();
	afx_msg void OnColumnclickAllServerList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnColumnclickSelectServerList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnSetServerfile();
	afx_msg void OnListenerPatch();
	afx_msg void OnRadioIni();
	afx_msg void OnRadioNormal();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnKickdlgBtn();
	//}}AFX_MSG
	afx_msg void OnCustomDrawAll(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnCustomDrawSelect(NMHDR* pNMHDR, LRESULT* pResult);
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SERVERPATCH_H__0B136066_8763_447B_8DFD_0F57A606F679__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -