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.
25 lines
703 B
25 lines
703 B
4 years ago
|
//========= 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 );
|
||
|
}
|