effectgunshotguidancepoint.cpp

来自「dk1游戏的原代码文件,完整.编译系统redhat7.3,mysql 3.23 」· C++ 代码 · 共 63 行

CPP
63
字号
//////////////////////////////////////////////////////////////////////////////// Filename    : EffectGunShotGuidancePoint.cpp// Written by  : bezz//////////////////////////////////////////////////////////////////////////////#include "EffectGunShotGuidancePoint.h"#include "Slayer.h"#include "Vampire.h"#include "Monster.h"#include "GamePlayer.h"#include "PCFinder.h"#include "ZoneUtil.h"#include "ZoneInfoManager.h"#include "SkillUtil.h"#include "Gpackets/GCRemoveEffect.h"#include "Gpackets/GCAddEffectToTile.h"#include "Gpackets/GCSkillToObjectOK2.h"#include "Gpackets/GCStatusCurrentHP.h"////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////EffectGunShotGuidancePoint::EffectGunShotGuidancePoint(Zone* pZone, ZoneCoord_t x, ZoneCoord_t y)	throw(Error){	__BEGIN_TRY	m_pZone = pZone;	m_X = x;	m_Y = y;	__END_CATCH}////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////void EffectGunShotGuidancePoint::unaffect()	throw(Error){	__BEGIN_TRY	Tile& tile = m_pZone->getTile( m_X, m_Y );	tile.deleteEffect( m_ObjectID );		__END_CATCH}////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////string EffectGunShotGuidancePoint::toString() const 	throw(){	__BEGIN_TRY	StringStream msg;	msg << "EffectGunShotGuidancePoint("		<< ")";	return msg.toString();	__END_CATCH}

⌨️ 快捷键说明

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