2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 23:11:20 +00:00
metaforce/Runtime/Character/CAnimation.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

23 lines
465 B
C++

#pragma once
#include <memory>
#include <string>
#include "Runtime/IOStreams.hpp"
#include "Runtime/Character/CMetaAnimFactory.hpp"
namespace urde {
class IMetaAnim;
class CAnimation {
std::string x0_name;
std::shared_ptr<IMetaAnim> x10_anim;
public:
explicit CAnimation(CInputStream& in);
const std::shared_ptr<IMetaAnim>& GetMetaAnim() const { return x10_anim; }
std::string_view GetMetaAnimName() const { return x0_name; }
};
} // namespace urde