2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-04-10 21:22:59 +00:00
|
|
|
|
2019-09-28 02:53:03 +00:00
|
|
|
#include <memory>
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include "Runtime/IOStreams.hpp"
|
|
|
|
#include "Runtime/Character/CMetaAnimFactory.hpp"
|
2016-04-10 21:22:59 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
2016-04-10 21:22:59 +00:00
|
|
|
class IMetaAnim;
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
class CAnimation {
|
|
|
|
std::string x0_name;
|
|
|
|
std::shared_ptr<IMetaAnim> x10_anim;
|
|
|
|
|
2016-04-10 21:22:59 +00:00
|
|
|
public:
|
2020-03-31 03:52:22 +00:00
|
|
|
explicit CAnimation(CInputStream& in);
|
2018-12-08 05:30:43 +00:00
|
|
|
const std::shared_ptr<IMetaAnim>& GetMetaAnim() const { return x10_anim; }
|
|
|
|
std::string_view GetMetaAnimName() const { return x0_name; }
|
2016-04-10 21:22:59 +00:00
|
|
|
};
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|