#include "Runtime/Character/CMetaTransTrans.hpp" #include "Runtime/Character/CAnimTreeTransition.hpp" namespace metaforce { CMetaTransTrans::CMetaTransTrans(CInputStream& in) { x4_transDur = CCharAnimTime(in); xc_ = in.readBool(); xd_runA = in.readBool(); x10_flags = in.readUint32Big(); } std::shared_ptr CMetaTransTrans::VGetTransitionTree(const std::weak_ptr& a, const std::weak_ptr& b, const CAnimSysContext& animSys) const { return std::make_shared( xc_, a, b, x4_transDur, xd_runA, x10_flags, CAnimTreeTransition::CreatePrimitiveName(a, b, x4_transDur.GetSeconds())); } } // namespace metaforce