mirror of
https://github.com/PrimeDecomp/prime.git
synced 2026-07-12 18:18:56 -07:00
25 lines
715 B
C++
25 lines
715 B
C++
#ifndef _CANIMATIONMANAGER
|
|
#define _CANIMATIONMANAGER
|
|
|
|
#include "Kyoto/Animation/CAnimationDatabase.hpp"
|
|
#include "Kyoto/TToken.hpp"
|
|
|
|
class CMetaAnimTreeBuildOrders;
|
|
class CAnimTreeContext;
|
|
class IMetaAnim;
|
|
class CAnimationManager {
|
|
public:
|
|
CAnimationManager(const TToken< CAnimationDatabase >& animDB, const CAnimSysContext& sysCtx)
|
|
: x0_animDB(animDB), x8_sysCtx(sysCtx) {}
|
|
|
|
rstl::rc_ptr< CAnimTreeNode > GetAnimationTree(uint a,
|
|
const CMetaAnimTreeBuildOrders& orders) const;
|
|
rstl::rc_ptr< IMetaAnim > GetMetaAnimation(uint a) const;
|
|
|
|
private:
|
|
TToken< CAnimationDatabase > x0_animDB;
|
|
const CAnimSysContext& x8_sysCtx;
|
|
};
|
|
|
|
#endif // _CANIMATIONMANAGER
|