#ifndef _AIRSHIP_OBJECT_H_ #define _AIRSHIP_OBJECT_H_ #pragma once #include using namespace Siege; class CAirship : public CSiegeArms { public: virtual ~CAirship(); // CSkillMonster ÀÇ ±â´É void NormalBehavior(unsigned long dwTick) { } void AttackBehavior(unsigned long dwTick) { } void SearchPlayer(void) { } bool Dead(CAggresiveCreature* pOffencer); void MoveTo(const Position& NewPosition); // µå¶ø½±Àº ¾Æ·¡ ÇÔ¼öÀÇ ±¸ÇöÀÌ ¾ø´Ù. bool AttackCID(CCharacter* lpRideChar, AtType attackType, AtNode& attackNode, unsigned short& wError) { return false; } bool Attack(AtType attackType, unsigned char cDefenderNum, CAggresiveCreature** ppDefenders, unsigned char* cDefenserJudges, unsigned short* wDefenserMPHeal) { return false; } bool MissileAttack(AtType attackType, float fDir, float nRange, float fAngle, char cTargetType) { return false; } // Rider °ü·Ã Á¤º¸ unsigned char IsRider(unsigned long dwCID) const; // ÇØ´ç ij¸¯ÅͰ¡ º´±â¿¡ ž½ÂÇØ Àִ°¡? bool Ride(unsigned long dwCID); // º´±â ž½Â bool GetOff(unsigned long dwCID); // º´±â ³»¸² (Áß°è ¼­¹ö·Î ÆÐŶ Àü¼Û) void AllGetOff(); // º´±â¿¡¼­ ¸ðµÎ ³»¸² (ÆÐŶ Àü¼Û) void GetRiders( unsigned long* pRiders ) const; unsigned char GetRiderNum() const; private: CAirship(MonsterCreateInfo& MonsterCreate, unsigned long dwOwnerID, unsigned char cNation, unsigned long dwHP, unsigned short wObjectType, unsigned char cState, unsigned char cUpgradeStep); unsigned long m_dwPassengerCID[Siege::AIRSHIP_PASSENGER_NUM]; // ½Â°´ CID friend class CSiegeObjectMgr; }; #endif _AIRSHIP_OBJECT_H_