DragonNest/GameCommon/PvPAllKillScoreSystem.h
2024-12-20 16:56:44 +08:00

37 lines
1.8 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 "PvPRoundModeScoreSystem.h"
class CPvPAllKillModeScoreSystem:public CPvPRoundModeScoreSystem,public TBoostMemoryPool<CPvPAllKillModeScoreSystem>
{
public:
CPvPAllKillModeScoreSystem()
{
#if defined( _GAMESERVER )
m_uiContinuousCount = 0;
#endif // #if defined( _GAMESERVER )
}
virtual ~CPvPAllKillModeScoreSystem(){}
#if defined( _GAMESERVER )
virtual void OnFinishRound( CDNGameRoom* pGameRoom, UINT uiWinTeam );
DnActorHandle GetPreWinActor() const { return m_hPreWinActor; }
protected:
void _SendContinuousInfo( CDNGameRoom* pGameRoom );
void _SendFinishDetailReason( CDNGameRoom* pGameRoom, PvPCommon::FinishDetailReason::eCode Reason );
void _ClearPreWinActor();
#endif // #if defined( _GAMESERVER )
protected:
#if defined( _GAMESERVER )
DnActorHandle m_hPreWinActor;
UINT m_uiContinuousCount;
#endif // #if defined( _GAMESERVER )
};