1
This commit is contained in:
23
game/shared/lobby.cpp
Normal file
23
game/shared/lobby.cpp
Normal file
@ -0,0 +1,23 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose:
|
||||
//
|
||||
//=============================================================================
|
||||
|
||||
|
||||
#include "cbase.h"
|
||||
#include "gcsdk/gcsdk_auto.h"
|
||||
#include "base_gcmessages.pb.h"
|
||||
#include "lobby.h"
|
||||
#include "gcsdk/accountdetails.h"
|
||||
|
||||
using namespace GCSDK;
|
||||
|
||||
#ifdef GC
|
||||
void CLobbyInvite::YldInitFromPlayerGroup( GCSDK::IPlayerGroup *pPlayerGroup )
|
||||
{
|
||||
SetGroupID( pPlayerGroup->GetGroupID() );
|
||||
SetSenderID( pPlayerGroup->GetLeader().ConvertToUint64() );
|
||||
SetSenderName( GGCBase()->YieldingGetPersonaName( pPlayerGroup->GetLeader(), "Unknown Player" ) );
|
||||
}
|
||||
#endif
|
Reference in New Issue
Block a user