You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
611 B
23 lines
611 B
//====== Copyright c, Valve Corporation, All rights reserved. =======
|
|
//
|
|
// Purpose:
|
|
//
|
|
//=============================================================================
|
|
|
|
|
|
#include "cbase.h"
|
|
#include "base_gcmessages.pb.h"
|
|
#include "lobby.h"
|
|
#include "gcsdk/accountdetails.h"
|
|
|
|
using namespace GCSDK;
|
|
|
|
#ifdef GC
|
|
|
|
void CLobbyInvite::YldInitFromPlayerGroup( const GCSDK::IPlayerGroup *pPlayerGroup )
|
|
{
|
|
SetGroupID( pPlayerGroup->GetGroupID() );
|
|
SetSenderID( pPlayerGroup->GetLeader().ConvertToUint64() );
|
|
SetSenderName( GGCBase()->YieldingGetPersonaName( pPlayerGroup->GetLeader(), "Unknown Player" ) );
|
|
}
|
|
#endif
|