Files
hl2_src-leak-2017/src/game/client/econ/local_steam_shared_object_listener.cpp
BotoX 60f625f414 import hl2_src from full.7z
source: magnet:?xt=urn:btih:21DDA6847DDE983F2F8063739249D2D1D09A5DDA
2020-12-25 16:26:23 +01:00

25 lines
703 B
C++

//========= 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 );
}