2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 17:11:22 +00:00
metaforce/Runtime/Character/CMetaTransMetaAnim.hpp
Lioncash 67f6666ea1 Runtime: Add more usages of explicit
Prevents error-prone implicit conversions where applicable.

This targets the regular RuntimeCommon target this time around.
2020-03-31 03:53:49 -04:00

24 lines
705 B
C++

#pragma once
#include <memory>
#include "Runtime/IOStreams.hpp"
#include "Runtime/Character/IMetaAnim.hpp"
#include "Runtime/Character/IMetaTrans.hpp"
namespace urde {
class CMetaTransMetaAnim : public IMetaTrans {
std::shared_ptr<IMetaAnim> x4_metaAnim;
public:
explicit CMetaTransMetaAnim(CInputStream& in);
EMetaTransType GetType() const override { return EMetaTransType::MetaAnim; }
std::shared_ptr<CAnimTreeNode> VGetTransitionTree(const std::weak_ptr<CAnimTreeNode>& a,
const std::weak_ptr<CAnimTreeNode>& b,
const CAnimSysContext& animSys) const override;
};
} // namespace urde