mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
* Added some getters in 'CBaseEntity' and 'CServerNetworkProperty'. * Implemented 'CPlayer::SetTimeBase'. * WIP implementation of 'CPlayer::RunNullCommand'.
40 lines
1.2 KiB
C++
40 lines
1.2 KiB
C++
//======= Copyright (c) 1996-2009, Valve Corporation, All rights reserved. ======
|
|
//
|
|
// Purpose: The base class from which all game entities are derived.
|
|
//
|
|
//===============================================================================
|
|
#include "core/stdafx.h"
|
|
#include "baseentity.h"
|
|
|
|
//-----------------------------------------------------------------------------
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
CCollisionProperty* CBaseEntity::CollisionProp()
|
|
{
|
|
return &m_Collision;
|
|
}
|
|
|
|
//-----------------------------------------------------------------------------
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
const CCollisionProperty* CBaseEntity::CollisionProp() const
|
|
{
|
|
return &m_Collision;
|
|
}
|
|
|
|
//-----------------------------------------------------------------------------
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
CServerNetworkProperty* CBaseEntity::NetworkProp()
|
|
{
|
|
return &m_Network;
|
|
}
|
|
|
|
//-----------------------------------------------------------------------------
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
const CServerNetworkProperty* CBaseEntity::NetworkProp() const
|
|
{
|
|
return &m_Network;
|
|
}
|