Files
LGram16 dd97ddec92 Restructure repository to include all source folders
Move git root from Client/ to src/ to track all source code:
- Client: Game client source (moved to Client/Client/)
- Server: Game server source
- GameTools: Development tools
- CryptoSource: Encryption utilities
- database: Database scripts
- Script: Game scripts
- rylCoder_16.02.2008_src: Legacy coder tools
- GMFont, Game: Additional resources

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 20:17:20 +09:00

49 lines
1.6 KiB
C++

#ifndef _AIRSHIP_OBJECT_H_
#define _AIRSHIP_OBJECT_H_
#pragma once
#include <Creature/Siege/SiegeArms.h>
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; // 해당 캐릭터가 병기에 탑승해 있는가?
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_