2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _CCHARACTERINFO
|
|
|
|
#define _CCHARACTERINFO
|
2022-08-14 18:38:41 +00:00
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
|
|
|
#include "MetroidPrime/CEffectComponent.hpp"
|
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#include "Kyoto/Animation/CPASDatabase.hpp"
|
2022-08-14 18:38:41 +00:00
|
|
|
#include "Kyoto/IObjectStore.hpp"
|
|
|
|
#include "Kyoto/Math/CAABox.hpp"
|
|
|
|
|
|
|
|
#include "rstl/pair.hpp"
|
|
|
|
#include "rstl/string.hpp"
|
|
|
|
#include "rstl/vector.hpp"
|
|
|
|
|
|
|
|
class CCharacterInfo {
|
|
|
|
public:
|
|
|
|
class CParticleResData {
|
|
|
|
private:
|
|
|
|
rstl::vector< CAssetId > x0_part;
|
|
|
|
rstl::vector< CAssetId > x10_swhc;
|
|
|
|
rstl::vector< CAssetId > x20_elsc;
|
|
|
|
rstl::vector< CAssetId > x30_elsc;
|
|
|
|
};
|
2022-10-09 05:13:17 +00:00
|
|
|
|
2022-10-25 15:43:42 +00:00
|
|
|
const CPASDatabase& GetPASDatabase() const { return x30_pasDatabase; }
|
2022-12-05 21:35:31 +00:00
|
|
|
const rstl::vector< rstl::pair< rstl::string, CAABox > >& GetAnimBBoxList() const { return x88_aabbs; }
|
2022-08-14 18:38:41 +00:00
|
|
|
|
|
|
|
private:
|
2022-10-09 05:37:23 +00:00
|
|
|
ushort x0_tableCount;
|
2022-08-14 18:38:41 +00:00
|
|
|
rstl::string x4_name;
|
|
|
|
CAssetId x14_cmdl;
|
|
|
|
CAssetId x18_cksr;
|
|
|
|
CAssetId x1c_cinf;
|
2022-09-05 04:01:13 +00:00
|
|
|
rstl::vector< rstl::pair< int, rstl::pair< rstl::string, rstl::string > > > x20_animInfo;
|
2022-08-14 18:38:41 +00:00
|
|
|
CPASDatabase x30_pasDatabase;
|
|
|
|
CParticleResData x44_partRes;
|
2022-09-05 04:01:13 +00:00
|
|
|
uint x84_unk;
|
2022-08-14 18:38:41 +00:00
|
|
|
rstl::vector< rstl::pair< rstl::string, CAABox > > x88_aabbs;
|
|
|
|
rstl::vector< rstl::pair< rstl::string, rstl::vector< CEffectComponent > > > x98_effects;
|
2022-09-05 04:01:13 +00:00
|
|
|
uint xa8_cmdlOverlay;
|
|
|
|
uint xac_cksrOverlay;
|
|
|
|
rstl::vector< int > xb0_animIdxs;
|
2022-08-14 18:38:41 +00:00
|
|
|
};
|
|
|
|
CHECK_SIZEOF(CCharacterInfo, 0xc0)
|
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _CCHARACTERINFO
|