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

#include <ChibiYoshiEatData.h>

Inherited by EnemyChibiYoshiEatData.

Public Types

enum  EatType { cEatType_None = 0 , cEatType_Drink }
enum  ScoreType { cScoreType_Point_200 = 0 , cScoreType_Point_1000 , cScoreType_None }

Public Member Functions

 ChibiYoshiEatData (ActorUniqueID owner_id)
virtual u32 vf0C ()
virtual void * vf14 (void *)
virtual void * vf1C (void *)
virtual void vf24 ()
virtual void setEatSpitOut (Actor *chibi_yoshi)
virtual bool handleEaten (Actor *chibi_yoshi)
virtual void vf3C ()
u32 getState () const
void setState (u32 state)
EatType getEatType () const
void setEatType (EatType eat_type)
sead::Vector3fgetScale ()
const sead::Vector3fgetScale () const
ScoreType getScoreType () const
void setScoreType (ScoreType score_type)

Protected Attributes

ActorUniqueID mOwnerID
u32 mYoshiChibiID
sead::Vector3f mScale
u32 mState
EatType mEatType
ScoreType mScoreType

Member Enumeration Documentation

◆ EatType

Enumerator
cEatType_None 

Damages the player when trying to eat.

cEatType_Drink 

Swallow the food.

◆ ScoreType

Enumerator
cScoreType_Point_200 
cScoreType_Point_1000 
cScoreType_None 

Constructor & Destructor Documentation

◆ ChibiYoshiEatData()

ChibiYoshiEatData::ChibiYoshiEatData ( ActorUniqueID owner_id)

Member Function Documentation

◆ vf0C()

virtual u32 ChibiYoshiEatData::vf0C ( )
virtual

Reimplemented in EnemyChibiYoshiEatData.

◆ vf14()

virtual void * ChibiYoshiEatData::vf14 ( void * )
virtual

Reimplemented in EnemyChibiYoshiEatData.

◆ vf1C()

virtual void * ChibiYoshiEatData::vf1C ( void * )
virtual

◆ vf24()

virtual void ChibiYoshiEatData::vf24 ( )
virtual

◆ setEatSpitOut()

virtual void ChibiYoshiEatData::setEatSpitOut ( Actor * chibi_yoshi)
virtual

Reimplemented in EnemyChibiYoshiEatData.

◆ handleEaten()

virtual bool ChibiYoshiEatData::handleEaten ( Actor * chibi_yoshi)
virtual

◆ vf3C()

virtual void ChibiYoshiEatData::vf3C ( )
virtual

◆ getState()

u32 ChibiYoshiEatData::getState ( ) const
inline

◆ setState()

void ChibiYoshiEatData::setState ( u32 state)
inline

◆ getEatType()

EatType ChibiYoshiEatData::getEatType ( ) const
inline

◆ setEatType()

void ChibiYoshiEatData::setEatType ( EatType eat_type)
inline

◆ getScale() [1/2]

sead::Vector3f & ChibiYoshiEatData::getScale ( )
inline

◆ getScale() [2/2]

const sead::Vector3f & ChibiYoshiEatData::getScale ( ) const
inline

◆ getScoreType()

ScoreType ChibiYoshiEatData::getScoreType ( ) const
inline

◆ setScoreType()

void ChibiYoshiEatData::setScoreType ( ScoreType score_type)
inline

Member Data Documentation

◆ mOwnerID

ActorUniqueID ChibiYoshiEatData::mOwnerID
protected

◆ mYoshiChibiID

u32 ChibiYoshiEatData::mYoshiChibiID
protected

◆ mScale

sead::Vector3f ChibiYoshiEatData::mScale
protected

◆ mState

u32 ChibiYoshiEatData::mState
protected

◆ mEatType

EatType ChibiYoshiEatData::mEatType
protected

◆ mScoreType

ScoreType ChibiYoshiEatData::mScoreType
protected