#pragma once #include "factories/BaseFactory.h" #include "OoTAnimationTypes.h" #include #include namespace OoT { class OoTNormalAnimationData : public IParsedData { public: int16_t frameCount; std::vector rotationValues; std::vector rotationIndices; int16_t limit; bool isLegacy = false; }; class OoTAnimationBinaryExporter : public BaseExporter { ExportResult Export(std::ostream& write, std::shared_ptr data, std::string& entryName, YAML::Node& node, std::string* replacement) override; }; class OoTAnimationFactory : public BaseFactory { public: std::optional> parse(std::vector& buffer, YAML::Node& data) override; std::unordered_map> GetExporters() override { return { REGISTER(Binary, OoTAnimationBinaryExporter) }; } }; } // namespace OoT