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

26 lines
1.3 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.


#include "StdAfx.h"
#include "DnPvPPartyTask.h"
#include "DNUserSession.h"
CDnPvPPartyTask::CDnPvPPartyTask( CDNGameRoom* pRoom )
: CDnPartyTask( pRoom )
{
//g_Log.LogA( "CDnPvPPartyTask 积己!!!\r\n" );
}
CDnPvPPartyTask::~CDnPvPPartyTask()
{
//g_Log.LogA( "CDnPvPPartyTask 颇鲍!!!\r\n" );
}
void CDnPvPPartyTask::OutPartyMember( UINT nOutPartyMemberUID, UINT nNewLeaderUID, char cKickKind )
{
for( DWORD i=0; i<GetUserCount(); i++ )
{
CDNUserSession* pSession = GetUserData(i);
if( pSession )
pSession->SendPartyOut(ERROR_NONE, cKickKind, nOutPartyMemberUID);
//pSession->SendDelPartyMember( nOutPartyMemberUID, bIsUnintended );
}
}