DragonNest/Server/DNGameServer/DNPvPPlayerAggroSystem.h
2024-12-20 16:56:44 +08:00

26 lines
1.9 KiB
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.


#pragma once
#include "DNAggroSystem.h"
class CPvPScoreSystem;
class CDNPvPPlayerAggroSystem : public CDNAggroSystem, public TBoostMemoryPool<CDNPvPPlayerAggroSystem>
{
public:
CDNPvPPlayerAggroSystem( DnActorHandle hActor );
virtual ~CDNPvPPlayerAggroSystem();
void Die( CPvPScoreSystem* pScoreSystem, DnActorHandle hHitter );
virtual void OnProcessAggro( const LOCAL_TIME LocalTime, const float fDelta );
virtual DnActorHandle OnGetAggroTarget( bool& bIsProvocationTarget, DnActorHandle hExceptActor=CDnActor::Identity(), DNVector(DnActorHandle)* vTarget=NULL );
virtual void OnDamageAggro( DnActorHandle hActor, CDnDamageBase::SHitParam& HitParam, int iDamage );
virtual void OnStateBlowAggro( DnBlowHandle hBlow );
virtual bool bOnCheckPlayerBeginStateBlow( CDnPlayerActor* pPlayer );
virtual void OnAggroRegulation( DnActorHandle hActor, int& iAggroValue );
protected:
UINT m_uiMaxAggroValue;
};