2023-01-17 00:17:49 -05:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Resource.h"
|
|
|
|
#include "ResourceFactory.h"
|
|
|
|
|
|
|
|
namespace Ship {
|
|
|
|
class SkeletonFactory : public ResourceFactory
|
|
|
|
{
|
|
|
|
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 SkeletonFactoryV0 : public ResourceVersionFactory
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
void ParseFileBinary(std::shared_ptr<BinaryReader> reader, std::shared_ptr<Resource> resource) override;
|
|
|
|
};
|
|
|
|
}; // namespace Ship
|