Files
Sun1602/Server/GameServer/Npcai/KnockDownState.h
T
2022-10-26 12:25:11 +08:00

35 lines
1.0 KiB
C++

#ifndef _KNOCKDOWNSTATE_H_
#define _KNOCKDOWNSTATE_H_
#include "State.h"
// @history
// (CHANGES) (091222) (WAVERIX) code arrangement
class KnockDownState : public State
{
public:
KnockDownState();
~KnockDownState();
virtual void Init();
virtual void OnEnter(LPARAM param1, LPARAM param2, LPARAM param3);
virtual void OnExit();
virtual BOOL OnUpdate(DWORD dwDeltaTick);
protected:
virtual void OnMsgForceAttack(const AI_MSG* pMsg) { __UNUSED(pMsg); }
virtual void OnMsgAttacked(const AI_MSG* pMsg);
virtual void OnMsgHelpRequest(const AI_MSG* pMsg) { __UNUSED(pMsg); }
virtual void OnMsgKnockDown(const AI_MSG* pMsg);
virtual void OnMsgStun(const AI_MSG* pMsg) { __UNUSED(pMsg); }
virtual void OnMsgLetsGo(const AI_MSG* pMsg) { __UNUSED(pMsg); }
virtual void OnMsgEnemyFound(const AI_MSG* pMsg) { __UNUSED(pMsg); }
virtual void OnMsgCommandFollow(const AI_MSG* pMsg);
virtual void OnMsgUseSkill(const AI_MSG* pMsg) { __UNUSED(pMsg); }
private:
nsAI::HeartbeatTimer m_DownTimer;
};
#endif