metaforce/Runtime/Character/CAnimationManager.hpp

33 lines
863 B
C++
Raw Normal View History

2016-04-13 06:07:23 +00:00
#ifndef __URDE_CANIMATIONMANAGER_HPP__
#define __URDE_CANIMATIONMANAGER_HPP__
#include "CToken.hpp"
#include "CAnimSysContext.hpp"
namespace urde
{
2016-04-13 06:07:23 +00:00
class CAnimationDatabaseGame;
class CTransitionDatabaseGame;
class CSimplePool;
2016-09-04 02:27:35 +00:00
class CAnimTreeNode;
class CMetaAnimTreeBuildOrders;
class IMetaAnim;
class CAnimationManager
{
2016-04-13 06:07:23 +00:00
TToken<CAnimationDatabaseGame> x0_animDB;
CAnimSysContext x8_sysCtx;
public:
CAnimationManager(const TToken<CAnimationDatabaseGame>& animDB,
const CAnimSysContext& sysCtx)
: x0_animDB(animDB), x8_sysCtx(sysCtx) {}
2016-05-21 03:02:09 +00:00
const CAnimationDatabaseGame* GetAnimationDatabase() const;
2016-09-04 02:27:35 +00:00
std::shared_ptr<CAnimTreeNode> GetAnimationTree(u32, const CMetaAnimTreeBuildOrders& orders) const;
const std::shared_ptr<IMetaAnim>& GetMetaAnimation(u32) const;
};
}
2016-04-13 06:07:23 +00:00
#endif // __URDE_CANIMATIONMANAGER_HPP__