metaforce/Runtime/Character/CMetaTransMetaAnim.hpp

24 lines
696 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2016-04-10 21:22:59 +00:00
#include <memory>
#include "Runtime/IOStreams.hpp"
#include "Runtime/Character/IMetaAnim.hpp"
#include "Runtime/Character/IMetaTrans.hpp"
2016-04-10 21:22:59 +00:00
2018-12-08 05:30:43 +00:00
namespace urde {
class CMetaTransMetaAnim : public IMetaTrans {
std::shared_ptr<IMetaAnim> x4_metaAnim;
2016-04-10 21:22:59 +00:00
public:
2018-12-08 05:30:43 +00:00
CMetaTransMetaAnim(CInputStream& in);
EMetaTransType GetType() const override { return EMetaTransType::MetaAnim; }
2016-04-10 21:22:59 +00:00
2018-12-08 05:30:43 +00:00
std::shared_ptr<CAnimTreeNode> VGetTransitionTree(const std::weak_ptr<CAnimTreeNode>& a,
const std::weak_ptr<CAnimTreeNode>& b,
const CAnimSysContext& animSys) const override;
2016-04-10 21:22:59 +00:00
};
2018-12-08 05:30:43 +00:00
} // namespace urde