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

📄 anotherquestrewardinfo.cpp

📁 天之炼狱1服务器端源文件游戏服务端不完整
💻 CPP
字号:
#include "AnotherQuestRewardInfo.h"#include "QuestManager.h"#include "PlayerCreature.h"AnotherQuestRewardInfo::AnotherQuestRewardInfo( RewardID_t rID, RewardClass_t rClass, QuestID_t qID )	: RewardInfo( rID, rClass ), m_QuestID(qID){}AnotherQuestRewardInfo::~AnotherQuestRewardInfo(){}QuestMessage AnotherQuestRewardInfo::canGiveReward( PlayerCreature* pPC ) const	throw(Error){	__BEGIN_TRY	return COMPLETE_SUCCESS;	__END_CATCH}QuestMessage AnotherQuestRewardInfo::giveReward( PlayerCreature *pPC ) const	throw(Error){	__BEGIN_TRY	QuestMessage result = canGiveReward( pPC );	if ( result != COMPLETE_SUCCESS ) return result;	Assert( false );	return COMPLETE_SUCCESS;	__END_CATCH}string AnotherQuestRewardInfo::toString() const throw(){	__BEGIN_TRY	StringStream msg;	msg << "AnotherQuestRewardInfo("		<< "QuestID : " << (uint)m_QuestID		<< ") : " << endl << RewardInfo::toString().c_str();	return msg.toString();	__END_CATCH}

⌨️ 快捷键说明

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