mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-27 00:26:50 +00:00
23 lines
640 B
C++
23 lines
640 B
C++
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
//=============================================================================
|
||
|
|
||
|
|
||
|
#include "cbase.h"
|
||
|
#include "gcsdk/gcsdk_auto.h"
|
||
|
#include "base_gcmessages.pb.h"
|
||
|
#include "party.h"
|
||
|
#include "gcsdk/accountdetails.h"
|
||
|
|
||
|
using namespace GCSDK;
|
||
|
|
||
|
#ifdef GC
|
||
|
void CPartyInvite::YldInitFromPlayerGroup( GCSDK::IPlayerGroup *pPlayerGroup )
|
||
|
{
|
||
|
SetGroupID( pPlayerGroup->GetGroupID() );
|
||
|
SetSenderID( pPlayerGroup->GetLeader().ConvertToUint64() );
|
||
|
SetSenderName( GGCBase()->YieldingGetPersonaName( pPlayerGroup->GetLeader(), "Unknown Player" ) );
|
||
|
}
|
||
|
#endif
|