prime/include/Kyoto/Animation/CPASAnimInfo.hpp

22 lines
574 B
C++

#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