New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
CourseTask Class Reference

#include <CourseTask.h>

Inherits sead::CalculateTask.

Public Member Functions

 CourseTask (const sead::TaskConstructArg &arg)
virtual ~CourseTask ()
void setSubjectClear ()
void setSubjectFail ()
void doBonusTime (s8 player_id)
 Activates the bonus time animation and adds the amount to the clock when it's done.
GamesceneBasegetGamescene ()
bool getGamesceneUnkBool () const
FieldGameDatagetGameData ()
const FieldGameDatagetGameData () const
FieldPlayerDatagetPlayerData (s32 index)
const FieldPlayerDatagetPlayerData (s32 index) const
FieldGameMode::Mode getGameMode () const
bool isMiniGame () const
Public Member Functions inherited from sead::CalculateTask
 CalculateTask (const TaskConstructArg &arg)
 CalculateTask (const TaskConstructArg &arg, const char *name)
void pauseCalc (bool b) override
void pauseDraw (bool b) override
void pauseCalcRec (bool b) override
void pauseDrawRec (bool b) override
void pauseCalcChild (bool b) override
void pauseDrawChild (bool b) override
virtual ~CalculateTask ()
void attachCalcImpl () override
void attachDrawImpl () override
void detachCalcImpl () override
void detachDrawImpl () override
const RuntimeTypeInfo::InterfacegetCorrespondingMethodTreeMgrTypeInfo () const override
MethodTreeNodegetMethodTreeNode (s32 method_type) override
virtual void calc ()
Public Member Functions inherited from sead::TaskBase
 TaskBase (const TaskConstructArg &arg)
 TaskBase (const TaskConstructArg &arg, const char *name)
virtual ~TaskBase ()
virtual void prepare ()
virtual void enterCommon ()
virtual void enter ()
virtual void exit ()
virtual void onEvent (const TaskEvent &)
virtual void onDestroy ()
void doneDestroy ()
void detachCalc ()
void detachDraw ()
void detachCalcDraw ()
FrameworkgetFramework () const
MethodTreeMgrgetMethodTreeMgr () const
T * getParameter () const
void adjustHeapAll ()
TaskBasegetParentTask () const
HeapgetHeap ()
TaskMgrgetTaskMgr () const
Tag getTag () const
Public Member Functions inherited from sead::TTreeNode< TaskBase * >
 TTreeNode ()
TTreeNode< T > * parent () const
TTreeNode< T > * child () const
TTreeNode< T > * next () const
TTreeNode< T > * prev () const
TTreeNode< T > * findRoot ()
void pushBackSibling (TTreeNode< T > *o)
void pushBackChild (TTreeNode< T > *o)
void pushFrontChild (TTreeNode< T > *o)
void insertBeforeSelf (TTreeNode< T > *o)
void insertAfterSelf (TTreeNode< T > *o)
T & val ()
nextIterator nextBegin () const
nextConstIterator nextConstBegin () const
nextIterator nextEnd () const
nextConstIterator nextConstEnd () const
nextIterator childBegin () const
nextConstIterator childConstBegin () const
nextIterator childEnd () const
nextConstIterator childConstEnd () const
depthFirstIterator depthFirstBegin () const
depthFirstConstIterator depthFirstConstBegin () const
depthFirstIterator depthFirstWithoutRootBegin () const
depthFirstConstIterator depthFirstWithoutRootConstBegin () const
depthFirstIterator depthFirstEnd () const
depthFirstConstIterator depthFirstConstEnd () const
Public Member Functions inherited from sead::TreeNode
 TreeNode ()
void clearLinks ()
void detachAll ()
void detachSubTree ()
void pushBackSibling (TreeNode *n)
void pushBackChild (TreeNode *n)
void pushFrontChild (TreeNode *n)
void insertBeforeSelf (TreeNode *n)
void insertAfterSelf (TreeNode *n)
bool isRoot () const
bool isLeaf () const
const TreeNodefindRoot () const
TreeNodefindRoot ()
s32 countChildren () const
Public Member Functions inherited from sead::IDisposer
 IDisposer ()
virtual ~IDisposer ()
Public Member Functions inherited from sead::INamable
 INamable ()
 INamable (const SafeString &name)
void setName (const SafeString &name)
const SafeStringgetName () const

Private Attributes

bool mCourseRestart
GamesceneBasemGamescene
u32 _d0 [(0x124 - 0xD0)/sizeof(u32)]
FieldGameData mGameData
u32 _308 [(0x5A4 - 0x308)/sizeof(u32)]

Additional Inherited Members

Public Types inherited from sead::TaskBase
enum  State
enum  Tag
typedef TListNode< TaskBase * > ListNode
typedef TList< TaskBase * > List
Public Attributes inherited from sead::CalculateTask
MethodTreeNode mCalcNode
Public Attributes inherited from sead::TaskBase
 cCreated
 cPrepare
 cPrepareDone
 cSleep
 cRunning
 cDying
 cDestroyable
 cDead
 cSystem
 cApp
Protected Member Functions inherited from sead::TreeNode
void clearChildLinksRecursively_ ()
Protected Attributes inherited from sead::TaskBase
TaskParametermParameter
BitFlag32 mInternalFlag
ListNode mTaskListNode
HeapArray mHeapArray
TaskMgrmTaskMgr
State mState
Tag mTag
TaskClassID mClassID
Protected Attributes inherited from sead::TTreeNode< TaskBase * >
mData
Protected Attributes inherited from sead::TreeNode
TreeNodemParent
TreeNodemChild
TreeNodemNext
TreeNodemPrev

Constructor & Destructor Documentation

◆ CourseTask()

CourseTask::CourseTask ( const sead::TaskConstructArg & arg)

◆ ~CourseTask()

virtual CourseTask::~CourseTask ( )
virtual

Member Function Documentation

◆ setSubjectClear()

void CourseTask::setSubjectClear ( )

◆ setSubjectFail()

void CourseTask::setSubjectFail ( )

◆ doBonusTime()

void CourseTask::doBonusTime ( s8 player_id)

Activates the bonus time animation and adds the amount to the clock when it's done.

Parameters
player_idWhich player's location to display the animation from.
Address: 0x024C0D20

◆ getGamescene()

GamesceneBase * CourseTask::getGamescene ( )
inline

◆ getGamesceneUnkBool()

bool CourseTask::getGamesceneUnkBool ( ) const

◆ getGameData() [1/2]

FieldGameData * CourseTask::getGameData ( )
inline

◆ getGameData() [2/2]

const FieldGameData * CourseTask::getGameData ( ) const
inline

◆ getPlayerData() [1/2]

FieldPlayerData * CourseTask::getPlayerData ( s32 index)
inline

◆ getPlayerData() [2/2]

const FieldPlayerData * CourseTask::getPlayerData ( s32 index) const
inline

◆ getGameMode()

FieldGameMode::Mode CourseTask::getGameMode ( ) const
inline

◆ isMiniGame()

bool CourseTask::isMiniGame ( ) const
inline

Member Data Documentation

◆ mCourseRestart

bool CourseTask::mCourseRestart
private

◆ mGamescene

GamesceneBase* CourseTask::mGamescene
private

◆ _d0

u32 CourseTask::_d0[(0x124 - 0xD0)/sizeof(u32)]
private

◆ mGameData

FieldGameData CourseTask::mGameData
private

◆ _308

u32 CourseTask::_308[(0x5A4 - 0x308)/sizeof(u32)]
private