New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
ActorBlockSwitch.h
Go to the documentation of this file.
1#pragma once
2
3#include <actor/Profile.h>
4#include <map_obj/ActorBlockBase.h>
5
6// vtbl Address: 0x100EF330
8{
9 // getRuntimeTypeInfoStatic()::typeInfo initialization guard variable Address: 0x101EB050
10 // getRuntimeTypeInfoStatic()::typeInfo Address: 0x101EB054
12
13public:
19
20public:
21 // Address: 0x026BA304
22 ActorBlockSwitch(const ActorCreateParameter& param);
23 // Address: 0x026BAF80
24 virtual ~ActorBlockSwitch() { }
25
26protected:
27 // Address: 0x026BA370
28 Result create() override;
29
30 // Address: 0x026BA8D4
32 // Address: 0x026BA8DC
34
35 // Address: 0x026BA828
36 void spawnItem(bool down);
37 // Address: 0x026BA4FC
38 void spawnSwitch(bool down);
39
40public:
42 {
43 return mSwitchType;
44 }
45
47 {
48 mSwitchType = type;
49 }
50
51public:
52 // Address: 0x100EF29C
53 static const ActorData cCreateInfo;
54
55protected:
58};
59static_assert(sizeof(ActorBlockSwitch) == 0x1CD8, "ActorBlockSwitch size mismatch");
Definition ActorBlockSwitch.h:8
void spawnSwitch(bool down)
static const ActorData cCreateInfo
Definition ActorBlockSwitch.h:53
Result create() override
Main initialization/setup callback for the actor.
ActorBlockSwitch(const ActorCreateParameter &param)
void setSwitchType(SwitchType type)
Definition ActorBlockSwitch.h:46
void spawnItem(bool down)
SwitchType mSwitchType
Definition ActorBlockSwitch.h:56
SEAD_RTTI_OVERRIDE(ActorBlockSwitch, ActorBlockBase)
u8 _1cc4
Definition ActorBlockSwitch.h:57
virtual ~ActorBlockSwitch()
Definition ActorBlockSwitch.h:24
void spawnItemUp() override
void spawnItemDown() override
SwitchType
Definition ActorBlockSwitch.h:15
@ cSwitchType_Hatena
Definition ActorBlockSwitch.h:16
@ cSwitchType_SwitchP
Definition ActorBlockSwitch.h:17
SwitchType getSwitchType() const
Definition ActorBlockSwitch.h:41