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

📄 azitmanager.h

📁 韩国英雄王座倒闭后流出来部分源代码
💻 H
字号:
////////////////////////////////////////////////////////////////////////////////////////
//	AzitManager.h: interface for the AzitManager class.
//
//
//
////////////////////////////////////////////////////////////////////////////////////////
#if !defined( _AZITMANAGER_H_ )
#define _AZITMANAGER_H_

#include "SafeMap.h"		//	STL MAP
#include "Azit.h"
#include "tgaBase.h"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


//	------------------------------------------------------------------------------------
//	酒瘤飘 技啦	DEFINE
//	------------------------------------------------------------------------------------
#define DEF_AZITTAX_DEFAULTRATE			0.05		//	酒瘤飘 钎霖 技啦


#ifdef DEF_AZIT

////////////////////////////////////////////////////////////////////////////////////////
//
////////////////////////////////////////////////////////////////////////////////////////
class AzitManager  
{
public:
	AzitManager();
	virtual ~AzitManager();

private:
	
	//
	//	甘苞 酒瘤飘 技陛 沥焊甫 包府窃
	//	
	typedef	struct {
		int nMapID;
		int nAzitHandle;
	}_AZITTAX_CHART_;
			
public:

	SafeMap		m_MapAzitTaxChart;	//	酒瘤飘 技陛 包访 沥焊
	SafeMap		m_MapAzit;			//	酒瘤飘 沥焊
	
public:
	void Batch_AzitWarTimeOut();
	int GetAzitTaxRate( int pMapID );


	void	CreateAzit			( int pAzitHandle );

	Azit*	GetAzitTaxMap		( int pMapID );

	bool	GetAzitLocationInfo	( int pGuildHandle, _MOVEMAP_ *pMoveMap  );

	int		GetAzitStatus		( int pAzitSeq );

	bool	GetAzitIncome		( _LPSOCKET_FD	pSocketFD );
	CString GetAzitInfo			( int pAzitSeq );

	bool	GetReturnPoint		( int pAzitSeq, int pGuildHandle, _POINT &pPoint );

	bool	GetAzitWarQuest		( int pGuildHandle, int &pRquestQuest, _ZW_AZITSTATUSLIST_REP &AzitInfo );
	Azit*	GetAzitByGuild		( int pGuildHandle );

	bool	ChangeAzitTax		( _SOCKET_FD *pSocketFD, int pTaxRate );
	Azit*	FindAzit			( int pAzitSeq );

	void	SetAzitUpdate		( _LPZW_AZITSTATUSUPDATE_REP pAzitInfo );
	bool	SetAzitTex			( int pMapID, int pTex );

	void	SetAzitList			( _LPDBPACKET pWorldPacket );
};

#endif

#endif // !defined(_AZITMANAGER_H_)

⌨️ 快捷键说明

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