コード例 #1
0
CBaseNetworkable::~CBaseNetworkable()
{
	Assert( m_pPev );	// Not sure if this check is really necessary. It's in here 
						// as a sanity check so I can catch networkables that aren't
						// calling AttachEdict.

	gEntList.RemoveEntity( GetRefEHandle() );
	DetachEdict();
}
コード例 #2
0
CServerNetworkProperty::~CServerNetworkProperty()
{
	/* Free our transmit proxy.
	if ( m_pTransmitProxy )
	{
		m_pTransmitProxy->Release();
	}*/

	// remove the attached edict if it exists
	DetachEdict();
}