metaforce/Runtime/Character/CAssetFactory.hpp

21 lines
603 B
C++
Raw Normal View History

2016-02-13 09:02:47 +00:00
#ifndef __PSHAG_CASSETFACTORY_HPP__
#define __PSHAG_CASSETFACTORY_HPP__
2015-08-17 20:33:58 +00:00
2015-08-18 05:54:43 +00:00
#include "../IFactory.hpp"
2015-08-31 03:44:42 +00:00
#include "../IObj.hpp"
2015-08-18 05:54:43 +00:00
2016-02-13 09:02:47 +00:00
namespace pshag
{
2015-08-23 06:42:29 +00:00
class CCharacterFactoryBuilder : public IFactory
2015-08-17 23:46:41 +00:00
{
2015-08-25 07:04:50 +00:00
public:
2015-08-31 03:44:42 +00:00
std::unique_ptr<IObj> Build(const SObjectTag&, const CVParamTransfer&) {return std::unique_ptr<IObj>();}
2015-08-25 07:04:50 +00:00
void BuildAsync(const SObjectTag&, const CVParamTransfer&, IObj**) {}
void CancelBuild(const SObjectTag&) {}
2015-08-31 03:44:42 +00:00
bool CanBuild(const SObjectTag&) {return false;}
const SObjectTag* GetResourceIdByName(const char*) const {return nullptr;}
2015-08-17 23:46:41 +00:00
};
}
2016-02-13 09:02:47 +00:00
#endif // __PSHAG_CASSETFACTORY_HPP__