2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-04-10 21:22:59 +00:00
|
|
|
|
2019-09-28 02:53:03 +00:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include "Runtime/IOStreams.hpp"
|
|
|
|
#include "Runtime/RetroTypes.hpp"
|
2016-04-11 03:59:54 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
|
|
|
|
|
|
|
class CPrimitive {
|
|
|
|
CAssetId x0_animId;
|
|
|
|
u32 x4_animIdx;
|
|
|
|
std::string x8_animName;
|
2016-04-10 21:22:59 +00:00
|
|
|
|
2016-04-11 03:59:54 +00:00
|
|
|
public:
|
2018-12-08 05:30:43 +00:00
|
|
|
CPrimitive(CInputStream& in);
|
|
|
|
CAssetId GetAnimResId() const { return x0_animId; }
|
|
|
|
u32 GetAnimDbIdx() const { return x4_animIdx; }
|
|
|
|
std::string_view GetName() const { return x8_animName; }
|
|
|
|
bool operator<(const CPrimitive& other) const { return x8_animName < other.x8_animName; }
|
2016-04-10 21:22:59 +00:00
|
|
|
};
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|