2016-03-16 19:53:06 +00:00
|
|
|
#include "CPathFindArea.hpp"
|
|
|
|
#include "IVParamObj.hpp"
|
|
|
|
#include "CToken.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
2016-08-10 16:05:14 +00:00
|
|
|
CPFArea::CPFArea(const std::unique_ptr<u8[]>&& buf, int len)
|
2016-03-16 19:53:06 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2016-08-10 16:05:14 +00:00
|
|
|
std::unique_ptr<IObj> FPathFindAreaFactory(const SObjectTag& /*tag*/, const std::unique_ptr<u8[]>& buf,
|
|
|
|
const CVParamTransfer &xfer)
|
2016-03-16 19:53:06 +00:00
|
|
|
{
|
2016-08-10 16:05:14 +00:00
|
|
|
return TToken<CPFArea>::GetIObjObjectFor(
|
2017-07-30 11:00:30 +00:00
|
|
|
std::make_unique<CPFArea>(std::move(buf), *reinterpret_cast<int*>(xfer.GetObj())));
|
2016-03-16 19:53:06 +00:00
|
|
|
}
|
|
|
|
}
|