metaforce/Runtime/Character/CPASAnimInfo.hpp

22 lines
528 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2016-04-10 04:49:02 +00:00
#include "IOStreams.hpp"
#include "rstl.hpp"
#include "CPASAnimParm.hpp"
2018-12-08 05:30:43 +00:00
namespace urde {
class CPASAnimInfo {
u32 x0_id;
rstl::reserved_vector<CPASAnimParm::UParmValue, 8> x4_parms;
2016-04-10 04:49:02 +00:00
public:
2018-12-08 05:30:43 +00:00
CPASAnimInfo(u32 id) : x0_id(id) {}
CPASAnimInfo(u32 id, rstl::reserved_vector<CPASAnimParm::UParmValue, 8>&& parms);
u32 GetAnimId() const { return x0_id; }
CPASAnimParm::UParmValue GetAnimParmValue(u32 idx) const;
CPASAnimParm GetAnimParmData(u32, CPASAnimParm::EParmType) const;
2016-04-10 04:49:02 +00:00
};
2018-12-08 05:30:43 +00:00
} // namespace urde