2018-03-29 17:01:57 -04:00
|
|
|
|
|
|
|
|
#include "StdAfx.h"
|
|
|
|
|
#include "ServerObjectMaint.h"
|
|
|
|
|
#include "PhysicsObj.h"
|
|
|
|
|
#include "World.h"
|
|
|
|
|
|
2018-05-23 13:45:22 +01:00
|
|
|
void CServerObjectMaint::GotoLostCell(class std::shared_ptr<CPhysicsObj> , unsigned long)
|
2018-03-29 17:01:57 -04:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2018-05-23 13:45:22 +01:00
|
|
|
void CServerObjectMaint::RemoveFromLostCell(class std::shared_ptr<CPhysicsObj> )
|
2018-03-29 17:01:57 -04:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CServerObjectMaint::AddObjectToBeDestroyed(unsigned long)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CServerObjectMaint::RemoveObjectToBeDestroyed(unsigned long)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2018-05-23 13:45:22 +01:00
|
|
|
std::shared_ptr<CPhysicsObj> CServerObjectMaint::GetObject(DWORD object_id)
|
2018-03-29 17:01:57 -04:00
|
|
|
{
|
2018-05-23 13:45:22 +01:00
|
|
|
// TODO convert CPhysObject to shared pointers?
|
2018-03-29 17:01:57 -04:00
|
|
|
return g_pWorld->FindObject(object_id);
|
|
|
|
|
}
|