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
9// vtbl Address: 0x1000145C
11{
12public:
20 static_assert(sizeof(State) == 4);
21
23 {
24 cEatType_None = 0, ///< Damages the player when trying to eat
25 cEatType_Drink, ///< Swallow the food
26 };
27 static_assert(sizeof(EatType) == 4);
28
35 static_assert(sizeof(ScoreType) == 4);
36
37 // Address: 0x0200CF1C
38 ChibiYoshiEatData(ActorUniqueID owner_id);
39
40 // Address: 0x0200D308
41 virtual u32 vf0C();
42 // Address: 0x0200D034
43 virtual void* vf14(void*);
44 // Address: 0x0200D094
45 virtual void* vf1C(void*);
46 // Address: 0x0200D310
47 virtual void vf24();
48 // Address: 0x0200D314
49 virtual void setEatSpitOut(Actor* chibi_yoshi);
50 // Address: 0x0200D1B4
51 virtual bool handleEaten(Actor* chibi_yoshi);
52 // Address: 0x0200D318
53 virtual void vf3C();
54
56 {
57 return mState;
58 }
59
60 void setState(State state)
61 {
62 mState = state;
63 }
64
66 {
67 return mEatType;
68 }
69
70 void setEatType(EatType eat_type)
71 {
72 mEatType = eat_type;
73 }
74
76 {
77 return mScale;
78 }
79
80 const sead::Vector3f& getScale() const
81 {
82 return mScale;
83 }
84
86 {
87 return mScoreType;
88 }
89
90 void setScoreType(ScoreType score_type)
91 {
92 mScoreType = score_type;
93 }
94
95protected:
102};
103static_assert(sizeof(ChibiYoshiEatData) == 0x24);
Definition Actor.h:22
Definition ChibiYoshiEatData.h:11
EatType
Definition ChibiYoshiEatData.h:23
@ cEatType_Drink
Swallow the food.
Definition ChibiYoshiEatData.h:25
@ cEatType_None
Damages the player when trying to eat.
Definition ChibiYoshiEatData.h:24
u32 mYoshiChibiID
Definition ChibiYoshiEatData.h:97
ScoreType getScoreType() const
Definition ChibiYoshiEatData.h:85
virtual void * vf1C(void *)
const sead::Vector3f & getScale() const
Definition ChibiYoshiEatData.h:80
sead::Vector3f & getScale()
Definition ChibiYoshiEatData.h:75
ActorUniqueID mOwnerID
Definition ChibiYoshiEatData.h:96
State mState
Definition ChibiYoshiEatData.h:99
void setState(State state)
Definition ChibiYoshiEatData.h:60
ChibiYoshiEatData(ActorUniqueID owner_id)
void setScoreType(ScoreType score_type)
Definition ChibiYoshiEatData.h:90
sead::Vector3f mScale
Definition ChibiYoshiEatData.h:98
void setEatType(EatType eat_type)
Definition ChibiYoshiEatData.h:70
virtual bool handleEaten(Actor *chibi_yoshi)
virtual void vf3C()
EatType getEatType() const
Definition ChibiYoshiEatData.h:65
virtual void * vf14(void *)
virtual u32 vf0C()
State getState() const
Definition ChibiYoshiEatData.h:55
virtual void vf24()
State
Definition ChibiYoshiEatData.h:14
@ cState_None
Definition ChibiYoshiEatData.h:15
@ cState_EatMouth
Definition ChibiYoshiEatData.h:17
@ cState_EatTongue
Definition ChibiYoshiEatData.h:16
ScoreType
Definition ChibiYoshiEatData.h:30
@ cScoreType_Point_1000
Definition ChibiYoshiEatData.h:32
@ cScoreType_None
Definition ChibiYoshiEatData.h:33
@ cScoreType_Point_200
Definition ChibiYoshiEatData.h:31
virtual void setEatSpitOut(Actor *chibi_yoshi)
ScoreType mScoreType
Definition ChibiYoshiEatData.h:101
EatType mEatType
Definition ChibiYoshiEatData.h:100