2022-06-16 21:33:18 +00:00
|
|
|
#pragma once
|
|
|
|
|
2022-09-04 09:23:02 +00:00
|
|
|
#include "al/actor/ActorInitInfo.h"
|
2022-06-16 21:33:18 +00:00
|
|
|
#include "container/seadPtrArray.h"
|
2022-09-04 09:23:02 +00:00
|
|
|
|
2022-06-16 21:33:18 +00:00
|
|
|
namespace al {
|
|
|
|
struct SubActorInfo {
|
|
|
|
struct LiveActor* mActor;
|
|
|
|
void* unkPtr;
|
|
|
|
int unkInt;
|
|
|
|
};
|
|
|
|
|
|
|
|
class SubActorKeeper {
|
2022-09-04 09:23:02 +00:00
|
|
|
public:
|
|
|
|
SubActorKeeper(al::LiveActor*);
|
|
|
|
static SubActorKeeper *tryCreate(al::LiveActor*, char const*, int);
|
|
|
|
static SubActorKeeper *create(al::LiveActor*);
|
|
|
|
void registerSubActor(al::LiveActor*, unsigned int);
|
|
|
|
void init(al::ActorInitInfo const&, char const*, int);
|
|
|
|
|
2022-06-16 21:33:18 +00:00
|
|
|
al::LiveActor* mRootActor;
|
|
|
|
sead::PtrArray<SubActorInfo> mArray;
|
|
|
|
};
|
|
|
|
}
|