metaforce/Runtime/Character/CMetaAnimPlay.hpp

27 lines
676 B
C++

#ifndef __URDE_CMETAANIMPLAY_HPP__
#define __URDE_CMETAANIMPLAY_HPP__
#include "IMetaAnim.hpp"
#include "CPrimitive.hpp"
#include "IOStreams.hpp"
namespace urde
{
class CMetaAnimPlay : public IMetaAnim
{
CPrimitive x4_primitive;
CCharAnimTime x1c_startTime;
public:
CMetaAnimPlay(CInputStream& in);
EMetaAnimType GetType() const {return EMetaAnimType::Play;}
void GetUniquePrimitives(std::set<CPrimitive>& primsOut) const;
std::shared_ptr<CAnimTreeNode> VGetAnimationTree(const CAnimSysContext& animSys,
const CMetaAnimTreeBuildOrders& orders) const;
};
}
#endif // __URDE_CMETAANIMPLAY_HPP__