2023-06-19 19:20:15 -07:00
|
|
|
#ifndef _CANIMATIONMANAGER
|
|
|
|
|
#define _CANIMATIONMANAGER
|
|
|
|
|
|
2026-01-05 18:21:29 -08:00
|
|
|
#include "Kyoto/Animation/CAnimationDatabase.hpp"
|
2023-06-19 19:20:15 -07:00
|
|
|
#include "Kyoto/TToken.hpp"
|
|
|
|
|
|
2026-01-05 18:21:29 -08:00
|
|
|
class CMetaAnimTreeBuildOrders;
|
|
|
|
|
class CAnimTreeContext;
|
2026-02-28 00:58:47 -07:00
|
|
|
class IMetaAnim;
|
2023-06-19 19:20:15 -07:00
|
|
|
class CAnimationManager {
|
|
|
|
|
public:
|
2026-01-05 18:21:29 -08:00
|
|
|
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;
|
2026-02-28 00:58:47 -07:00
|
|
|
rstl::rc_ptr< IMetaAnim > GetMetaAnimation(uint a) const;
|
2023-06-19 19:20:15 -07:00
|
|
|
|
|
|
|
|
private:
|
2026-01-05 18:21:29 -08:00
|
|
|
TToken< CAnimationDatabase > x0_animDB;
|
|
|
|
|
const CAnimSysContext& x8_sysCtx;
|
2023-06-19 19:20:15 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // _CANIMATIONMANAGER
|