mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-05-13 17:51:21 +00:00
Prevents error-prone implicit conversions where applicable. This targets the regular RuntimeCommon target this time around.
22 lines
580 B
C++
22 lines
580 B
C++
#pragma once
|
|
|
|
#include "Runtime/IOStreams.hpp"
|
|
#include "Runtime/rstl.hpp"
|
|
#include "Runtime/Character/CPASAnimParm.hpp"
|
|
|
|
namespace urde {
|
|
|
|
class CPASAnimInfo {
|
|
u32 x0_id;
|
|
rstl::reserved_vector<CPASAnimParm::UParmValue, 8> x4_parms;
|
|
|
|
public:
|
|
explicit CPASAnimInfo(u32 id) : x0_id(id) {}
|
|
explicit 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;
|
|
};
|
|
|
|
} // namespace urde
|