mirror of https://github.com/AxioDL/metaforce.git
17 lines
568 B
C++
17 lines
568 B
C++
#include "CCollisionResponseData.hpp"
|
|
#include "CSimplePool.hpp"
|
|
|
|
namespace pshag
|
|
{
|
|
CCollisionResponseData::CCollisionResponseData(CInputStream& in, CSimplePool* resPool)
|
|
{
|
|
}
|
|
|
|
std::unique_ptr<IObj> FCollisionResponseDataFactory(const SObjectTag& tag, CInputStream& in, const CVParamTransfer& vparms)
|
|
{
|
|
CSimplePool* sp = static_cast<CSimplePool*>(static_cast<TObjOwnerParam<IObjectStore*>*>(vparms.GetObj())->GetParam());
|
|
return TToken<CCollisionResponseData>::GetIObjObjectFor(std::unique_ptr<CCollisionResponseData>(new CCollisionResponseData(in, sp)));
|
|
}
|
|
|
|
}
|