metaforce/Runtime/Character/CAnimation.hpp

23 lines
483 B
C++
Raw Normal View History

2018-10-06 20:42:33 -07:00
#pragma once
2016-04-10 14:22:59 -07:00
#include <memory>
#include <string>
#include "Runtime/Streams/IOStreams.hpp"
#include "Runtime/Character/CMetaAnimFactory.hpp"
2016-04-10 14:22:59 -07:00
2021-04-10 01:42:06 -07:00
namespace metaforce {
2016-04-10 14:22:59 -07:00
class IMetaAnim;
2018-12-07 21:30:43 -08:00
class CAnimation {
std::string x0_name;
std::shared_ptr<IMetaAnim> x10_anim;
2016-04-10 14:22:59 -07:00
public:
explicit CAnimation(CInputStream& in);
2018-12-07 21:30:43 -08:00
const std::shared_ptr<IMetaAnim>& GetMetaAnim() const { return x10_anim; }
std::string_view GetMetaAnimName() const { return x0_name; }
2016-04-10 14:22:59 -07:00
};
2021-04-10 01:42:06 -07:00
} // namespace metaforce