2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-04-10 04:49:02 +00:00
|
|
|
|
2019-09-28 02:53:03 +00:00
|
|
|
#include "Runtime/IOStreams.hpp"
|
|
|
|
#include "Runtime/rstl.hpp"
|
|
|
|
#include "Runtime/Character/CPASAnimParm.hpp"
|
2016-04-10 04:49:02 +00:00
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
namespace metaforce {
|
2018-12-08 05:30:43 +00:00
|
|
|
|
|
|
|
class CPASAnimInfo {
|
|
|
|
u32 x0_id;
|
|
|
|
rstl::reserved_vector<CPASAnimParm::UParmValue, 8> x4_parms;
|
2016-04-10 04:49:02 +00:00
|
|
|
|
|
|
|
public:
|
2020-03-31 03:52:22 +00:00
|
|
|
explicit CPASAnimInfo(u32 id) : x0_id(id) {}
|
|
|
|
explicit CPASAnimInfo(u32 id, rstl::reserved_vector<CPASAnimParm::UParmValue, 8>&& parms);
|
2018-12-08 05:30:43 +00:00
|
|
|
u32 GetAnimId() const { return x0_id; }
|
2020-04-06 17:02:18 +00:00
|
|
|
CPASAnimParm::UParmValue GetAnimParmValue(size_t idx) const;
|
|
|
|
CPASAnimParm GetAnimParmData(size_t idx, CPASAnimParm::EParmType type) const;
|
2016-04-10 04:49:02 +00:00
|
|
|
};
|
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
} // namespace metaforce
|