Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
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.
 
 
 
 
 
 

24 lines
703 B

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#include "cbase.h"
#include "local_steam_shared_object_listener.h"
#include "tf_gc_client.h"
CLocalSteamSharedObjectListener::CLocalSteamSharedObjectListener()
{
// Delayed add in case something derives from us and isn't fully constructed yet
// so their SOCreated functions are setup in the VTable yet.
GTFGCClientSystem()->AddLocalPlayerSOListener( this, false );
}
CLocalSteamSharedObjectListener::~CLocalSteamSharedObjectListener()
{
GTFGCClientSystem()->RemoveLocalPlayerSOListener( this );
}