SuperMarioOdysseyOnline/include/game/Player/PlayerModelHolder.h

25 lines
675 B
C
Raw Normal View History

2022-06-16 21:33:18 +00:00
#pragma once
#include "al/LiveActor/LiveActor.h"
#include "sead/container/seadPtrArray.h"
class PlayerModelHolder {
public:
struct Entry {
sead::FixedSafeString<0x80> mName;
al::LiveActor* mLiveActor;
};
PlayerModelHolder(unsigned int);
void registerModel(al::LiveActor*, char const*);
void changeModel(char const*);
al::LiveActor* findModelActor(char const*) const;
al::LiveActor* tryFindModelActor(char const*) const;
bool isCurrentModelLabel(char const*) const;
bool isCurrentModelLabelSubString(char const*) const;
sead::PtrArray<Entry> mBuffer;
Entry* currentModel;
sead::FixedSafeString<0x80> _10;
};