#include <Profile.h>
Public Types | |
| enum | Flag { cFlag_DrawCullCheck = 1 << 1 , cFlag_Unk3 = 1 << 3 , cFlag_Unk4 = 1 << 4 , cFlag_Unk7 = 1 << 7 , cFlag_Unk8 = 1 << 8 , cFlag_NoLoopPosX = 1 << 10 , cFlag_Unk12 = 1 << 12 , cFlag_None = 0 } |
Public Member Functions | |
| Profile (ActorFactory factory, s32 id, const sead::SafeString &name, const ActorCreateInfo *create_info=nullptr, Flag flag=cFlag_None) | |
| ActorFactory | getActorFactory () const |
| s32 | getID () const |
| const ActorCreateInfo & | getActorCreateInfo () const |
| bool | isResLoaded () const |
| Flag | getFlag () const |
| void | loadResource (sead::Heap *heap) |
| void | unloadResource (sead::Heap *heap) |
| ModelResource * | getResource (u32 index) const |
Static Public Member Functions | |
| static Profile * | get (s32 id) |
Protected Attributes | |
| ActorFactory | mFactory |
| s32 | mID |
| const ActorCreateInfo * | mActorCreateInfo |
| bool | mIsResLoaded |
| Flag | mFlag |
Static Protected Attributes | |
| static sead::SafeArray< Profile *, ProfileInfo::cProfileID_Max > | sProfileList |
Friends | |
| Flag | operator| (const Flag &lhs, const Flag &rhs) |
| Flag & | operator|= (Flag &lhs, const Flag &rhs) |
| Flag | operator& (const Flag &lhs, const Flag &rhs) |
| Flag & | operator&= (Flag &lhs, const Flag &rhs) |
| Flag | operator~ (const Flag &val) |
| enum Profile::Flag |
| Profile::Profile | ( | ActorFactory | factory, |
| s32 | id, | ||
| const sead::SafeString & | name, | ||
| const ActorCreateInfo * | create_info = nullptr, | ||
| Flag | flag = cFlag_None ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void Profile::loadResource | ( | sead::Heap * | heap | ) |
| void Profile::unloadResource | ( | sead::Heap * | heap | ) |
| ModelResource * Profile::getResource | ( | u32 | index | ) | const |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |