导出数据转spine

This commit is contained in:
tianmo
2026-09-07 21:29:15 +08:00
parent d258d4f435
commit 3a7c0b4092
65 changed files with 6000 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
#pragma once
#include <optional>
#include <string>
#include <string_view>
namespace dts {
struct SpineVersion {
int major = 0;
int minor = 0;
int patch = 0;
bool hasPatch = false;
[[nodiscard]] static std::optional<SpineVersion> parse(std::string_view text);
[[nodiscard]] std::string line() const;
[[nodiscard]] std::string toString() const;
[[nodiscard]] bool isSupported() const;
friend bool operator==(const SpineVersion&, const SpineVersion&) = default;
};
} // namespace dts