2024-01-05 10:15:41 -06:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "Resource.h"
|
2024-03-26 21:26:31 -04:00
|
|
|
#include "ResourceFactoryBinary.h"
|
|
|
|
|
#include "ResourceFactoryXML.h"
|
2024-01-05 10:15:41 -06:00
|
|
|
|
2024-03-26 21:26:31 -04:00
|
|
|
namespace SOH {
|
2024-05-03 15:57:40 -04:00
|
|
|
class ResourceFactoryBinaryCollisionHeaderV0 : public Ship::ResourceFactoryBinary {
|
2024-01-05 10:15:41 -06:00
|
|
|
public:
|
2024-05-03 15:57:40 -04:00
|
|
|
std::shared_ptr<Ship::IResource> ReadResource(std::shared_ptr<Ship::File> file) override;
|
2024-01-05 10:15:41 -06:00
|
|
|
};
|
|
|
|
|
|
2024-05-03 15:57:40 -04:00
|
|
|
class ResourceFactoryXMLCollisionHeaderV0 : public Ship::ResourceFactoryXML {
|
2024-01-05 10:15:41 -06:00
|
|
|
public:
|
2024-05-03 15:57:40 -04:00
|
|
|
std::shared_ptr<Ship::IResource> ReadResource(std::shared_ptr<Ship::File> file) override;
|
2024-01-05 10:15:41 -06:00
|
|
|
};
|
2024-03-26 21:26:31 -04:00
|
|
|
} // namespace SOH
|