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

📄 role.h

📁 自已写的单机修改程序(天河传说RPG)
💻 H
字号:
#if !defined(AFX_ROLE_H__81D4ABA8_1769_4535_8368_BC4CE8750858__INCLUDED_)
#define AFX_ROLE_H__81D4ABA8_1769_4535_8368_BC4CE8750858__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CRole dialog

class CRole : public CDialog
{
// Construction
public:
	CRole(CWnd* pParent = NULL);   // standard constructor

	void SetHProcess(HANDLE hProcess);

	void ReadRole(int index=0);

	void WriteRole(int index=0);

// Dialog Data
	//{{AFX_DATA(CRole)
	enum { IDD = IDD_ROLE };
	DWORD	m_Attack;
	DWORD	m_Defend;
	DWORD	m_Grade;
	DWORD	m_Life;
	DWORD	m_Luck;
	DWORD	m_MaxLife;
	DWORD	m_Magic;
	DWORD	m_MaxMagic;
	DWORD	m_Money;
	DWORD	m_Quick;
	DWORD	m_Skill;
	//}}AFX_DATA


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

// Implementation
protected:
	CMemory m_Memory;

	int m_nCurPos;

	// Generated message map functions
	//{{AFX_MSG(CRole)
	afx_msg void OnSave();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_ROLE_H__81D4ABA8_1769_4535_8368_BC4CE8750858__INCLUDED_)

⌨️ 快捷键说明

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