update
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include "domain/Project.h"
|
||||
|
||||
#include <QString>
|
||||
|
||||
namespace core::persistence {
|
||||
|
||||
/// 动画 payload 的目录 bundle(v7 起):
|
||||
/// assets/animations/<id>/
|
||||
/// anim.json // 元数据 + 所有 track(后续可拆成按 track 分块)
|
||||
struct AnimationBundleStore {
|
||||
static QString bundleRelativeDir(const QString& animationId);
|
||||
|
||||
static bool save(const QString& projectDirAbs, const Project::Animation& animation);
|
||||
static bool load(const QString& projectDirAbs, Project::Animation& inOutAnimation);
|
||||
};
|
||||
|
||||
} // namespace core::persistence
|
||||
|
||||
Reference in New Issue
Block a user