mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 23:07:42 +00:00
Refactor ResId into CAssetId
This commit is contained in:
@@ -9,12 +9,12 @@ namespace urde
|
||||
|
||||
class CPrimitive
|
||||
{
|
||||
ResId x0_animId;
|
||||
CAssetId x0_animId;
|
||||
u32 x4_animIdx;
|
||||
std::string x8_animName;
|
||||
public:
|
||||
CPrimitive(CInputStream& in);
|
||||
ResId GetAnimResId() const { return x0_animId; }
|
||||
CAssetId GetAnimResId() const { return x0_animId; }
|
||||
u32 GetAnimDbIdx() const { return x4_animIdx; }
|
||||
const std::string& GetName() const { return x8_animName; }
|
||||
bool operator<(const CPrimitive& other) const { return x8_animName < other.x8_animName; }
|
||||
|
||||
Reference in New Issue
Block a user