prime/include/Kyoto/Animation/CPASAnimInfo.hpp

22 lines
574 B
C++
Raw Normal View History

2023-01-12 03:00:40 +00:00
#ifndef _CPASANIMINFO
#define _CPASANIMINFO
#include "Kyoto/Animation/CPASAnimParm.hpp"
#include "rstl/reserved_vector.hpp"
class CPASAnimInfo {
public:
CPASAnimInfo(int id);
CPASAnimInfo(int id, const rstl::reserved_vector<CPASAnimParm::UParmValue, 8>& parms);
int GetAnimId() const { return x0_id; }
CPASAnimParm GetAnimParmData(uint idx, CPASAnimParm::EParmType type) const;
const CPASAnimParm::UParmValue& GetAnimParmValue(uint idx) const;
private:
uint x0_id;
rstl::reserved_vector< CPASAnimParm::UParmValue, 8 > x4_parms;
};
#endif // _CPASANIMINFO