Files
Sun1602/Client/GameClient/QuestAction_Concrete.cpp
2022-10-26 12:25:11 +08:00

28 lines
525 B
C++

#include "SunClientPrecompiledHeader.h"
#include "QuestAction_Concrete.h"
#include "Quest.h"
#include "ItemManager.h"
//__IMPL_CUSTOMPOOL_PTR( QUEST_ACTION_ITEM )
QUEST_ACTION_ITEM::custom_pool_type QUEST_ACTION_ITEM::custom_pool_static=NULL;
void QUEST_ACTION_ITEM::DoAccept( void * pvParam )
{
Player * pPlayer = (Player *)pvParam;
GetInfo()->GetItemCodePtr();
GetInfo()->GetItemNumPtr();
if( GetInfo()->IsDelete() )
{
}
else
{
}
}
void QUEST_ACTION_ITEM::DoComplete( void * pvParam )
{
DoAccept(pvParam);
}