mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-05 19:25:04 +00:00
38 lines
No EOL
946 B
C++
38 lines
No EOL
946 B
C++
#pragma once
|
|
#include "al/LiveActor/LiveActor.h"
|
|
#include "al/util.hpp"
|
|
|
|
#include "sead/prim/seadSafeString.hpp"
|
|
|
|
#include "helpers.hpp"
|
|
#include "actors/PuppetHackActor.h"
|
|
|
|
struct CaptureEntry {
|
|
PuppetHackActor *actor;
|
|
char className[0x16];
|
|
};
|
|
|
|
class HackModelHolder {
|
|
public:
|
|
HackModelHolder() = default;
|
|
|
|
PuppetHackActor *getCapture(const char *hackName);
|
|
PuppetHackActor *getCapture(int index);
|
|
|
|
const char *getCaptureClass(int index);
|
|
bool addCapture(PuppetHackActor *capture, const char *hackName);
|
|
bool removeCapture(const char *hackName);
|
|
|
|
int getEntryCount() { return mCaptureCount; };
|
|
|
|
bool setCurrent(const char* hackName);
|
|
|
|
PuppetHackActor *getCurrentActor();
|
|
const char *getCurrentActorName();
|
|
|
|
void resetList();
|
|
private:
|
|
int mCaptureCount;
|
|
CaptureEntry *mCurCapture;
|
|
CaptureEntry mOnlineCaptures[128];
|
|
}; |