2023-01-17 00:17:49 -05:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "soh/resource/importer/scenecommand/SceneCommandFactory.h"
|
|
|
|
|
|
|
|
namespace Ship {
|
|
|
|
class SetMeshFactory : public SceneCommandFactory {
|
|
|
|
public:
|
2023-04-02 14:18:45 -04:00
|
|
|
std::shared_ptr<Resource> ReadResource(std::shared_ptr<ResourceMgr> resourceMgr,
|
|
|
|
std::shared_ptr<ResourceInitData> initData,
|
|
|
|
std::shared_ptr<BinaryReader> reader) override;
|
2023-01-17 00:17:49 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
class SetMeshFactoryV0 : public SceneCommandVersionFactory {
|
|
|
|
public:
|
|
|
|
void ParseFileBinary(std::shared_ptr<BinaryReader> reader, std::shared_ptr<Resource> resource) override;
|
|
|
|
};
|
|
|
|
}; // namespace Ship
|