SuperMarioOdysseyOnline/include/al/actor/SubActorKeeper.h

24 lines
635 B
C
Raw Normal View History

2022-06-16 21:33:18 +00:00
#pragma once
#include "al/actor/ActorInitInfo.h"
2022-06-16 21:33:18 +00:00
#include "container/seadPtrArray.h"
2022-06-16 21:33:18 +00:00
namespace al {
struct SubActorInfo {
struct LiveActor* mActor;
void* unkPtr;
int unkInt;
};
class SubActorKeeper {
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;
};
}