metaforce/Runtime/Character/CAnimTreeTimeScale.hpp

28 lines
769 B
C++

#ifndef __URDE_CANIMTREETIMESCALE_HPP__
#define __URDE_CANIMTREETIMESCALE_HPP__
#include "CAnimTreeSingleChild.hpp"
#include "CTimeScaleFunctions.hpp"
namespace urde
{
class CAnimTreeTimeScale : public CAnimTreeSingleChild
{
std::shared_ptr<CConstantAnimationTimeScale> x18_timeScale;
CCharAnimTime x20_;
CCharAnimTime x28_;
public:
CAnimTreeTimeScale(const std::weak_ptr<CAnimTreeNode>&, float, std::string_view);
static std::string CreatePrimitiveName(const std::weak_ptr<CAnimTreeNode>&, float, const CCharAnimTime&, float);
CCharAnimTime GetRealLifeTime(const CCharAnimTime&) const;
void VSetPhase(float);
std::experimental::optional<std::unique_ptr<IAnimReader>> VSimplified();
};
}
#endif // __URDE_CANIMTREETIMESCALE_HPP__