New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
ChibiYoshiEatData.h
Go to the documentation of this file.
1#pragma once
2
3#include <actor/ActorUniqueID.h>
4
5#include <math/seadVector.h>
6
7class Actor;
8
9class ChibiYoshiEatData // vtbl Address: 0x1000145C
10{
11public:
19 static_assert(sizeof(State) == 4);
20
22 {
23 cEatType_None = 0, ///< Damages the player when trying to eat
24 cEatType_Drink, ///< Swallow the food
25 };
26 static_assert(sizeof(EatType) == 4);
27
34 static_assert(sizeof(ScoreType) == 4);
35
36 // Address: 0x0200CF1C
37 ChibiYoshiEatData(ActorUniqueID owner_id);
38
39 // Address: 0x0200D308
40 virtual u32 vf0C();
41 // Address: 0x0200D034
42 virtual void* vf14(void*);
43 // Address: 0x0200D094
44 virtual void* vf1C(void*);
45 // Address: 0x0200D310
46 virtual void vf24();
47 // Address: 0x0200D314
48 virtual void setEatSpitOut(Actor* chibi_yoshi);
49 // Address: 0x0200D1B4
50 virtual bool handleEaten(Actor* chibi_yoshi);
51 // Address: 0x0200D318
52 virtual void vf3C();
53
55 {
56 return mState;
57 }
58
59 void setState(State state)
60 {
61 mState = state;
62 }
63
65 {
66 return mEatType;
67 }
68
69 void setEatType(EatType eat_type)
70 {
71 mEatType = eat_type;
72 }
73
75 {
76 return mScale;
77 }
78
79 const sead::Vector3f& getScale() const
80 {
81 return mScale;
82 }
83
85 {
86 return mScoreType;
87 }
88
89 void setScoreType(ScoreType score_type)
90 {
91 mScoreType = score_type;
92 }
93
94protected:
101};
102static_assert(sizeof(ChibiYoshiEatData) == 0x24);
Definition Actor.h:22
Definition ChibiYoshiEatData.h:10
EatType
Definition ChibiYoshiEatData.h:22
@ cEatType_Drink
Swallow the food.
Definition ChibiYoshiEatData.h:24
@ cEatType_None
Damages the player when trying to eat.
Definition ChibiYoshiEatData.h:23
u32 mYoshiChibiID
Definition ChibiYoshiEatData.h:96
ScoreType getScoreType() const
Definition ChibiYoshiEatData.h:84
virtual void * vf1C(void *)
const sead::Vector3f & getScale() const
Definition ChibiYoshiEatData.h:79
sead::Vector3f & getScale()
Definition ChibiYoshiEatData.h:74
ActorUniqueID mOwnerID
Definition ChibiYoshiEatData.h:95
State mState
Definition ChibiYoshiEatData.h:98
void setState(State state)
Definition ChibiYoshiEatData.h:59
ChibiYoshiEatData(ActorUniqueID owner_id)
void setScoreType(ScoreType score_type)
Definition ChibiYoshiEatData.h:89
sead::Vector3f mScale
Definition ChibiYoshiEatData.h:97
void setEatType(EatType eat_type)
Definition ChibiYoshiEatData.h:69
virtual bool handleEaten(Actor *chibi_yoshi)
virtual void vf3C()
EatType getEatType() const
Definition ChibiYoshiEatData.h:64
virtual void * vf14(void *)
virtual u32 vf0C()
State getState() const
Definition ChibiYoshiEatData.h:54
virtual void vf24()
State
Definition ChibiYoshiEatData.h:13
@ cState_None
Definition ChibiYoshiEatData.h:14
@ cState_EatMouth
Definition ChibiYoshiEatData.h:16
@ cState_EatTongue
Definition ChibiYoshiEatData.h:15
ScoreType
Definition ChibiYoshiEatData.h:29
@ cScoreType_Point_1000
Definition ChibiYoshiEatData.h:31
@ cScoreType_None
Definition ChibiYoshiEatData.h:32
@ cScoreType_Point_200
Definition ChibiYoshiEatData.h:30
virtual void setEatSpitOut(Actor *chibi_yoshi)
ScoreType mScoreType
Definition ChibiYoshiEatData.h:100
EatType mEatType
Definition ChibiYoshiEatData.h:99