source-engine/game/shared/portal/portal_game_account_client.h
2022-04-16 12:05:19 +03:00

25 lines
915 B
C++

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Holds the CPortalGameAccount object
//
// $NoKeywords: $
//=============================================================================//
#ifdef USE_GC_IN_PORTAL1
#include "gcsdk/schemasharedobject.h"
//---------------------------------------------------------------------------------
// Purpose: All the account-level information that the GC tracks for Portal
//---------------------------------------------------------------------------------
class CPortalGameAccountClient : public GCSDK::CSchemaSharedObject< CSchGameAccountClient >
{
public:
CPortalGameAccountClient() : GCSDK::CSchemaSharedObject< CSchGameAccountClient >() {}
CPortalGameAccountClient( uint32 unAccountID ) : GCSDK::CSchemaSharedObject< CSchGameAccountClient >()
{
Obj().m_unAccountID = unAccountID;
}
};
#endif //#ifdef USE_GC_IN_PORTAL1