New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
ChangePlayerNum.h
Go to the documentation of this file.
1#pragma once
2
3#include <layout_sys/AnimLayout.h>
4#include <state/FStateMgr.h>
5
6#include <layer/aglRenderInfo.h>
7
8class ChangePlayerNum // vtbl Address: 0x100C8CE0
9{
10public:
11 // Address: 0x02553AB8
13 // Address: 0x02553D24
14 virtual ~ChangePlayerNum();
15
16 // Address: 0x02553E28
17 void create();
18
19 // Address: 0x025546B8
20 void execute();
21
22 // Address: 0x025548D0
23 void draw(const agl::lyr::RenderInfo& render_info) const;
24 // Address: 0x0255491C
25 void drawBtn(const agl::lyr::RenderInfo& render_info) const;
26
27 // Address: 0x025549A8
28 void gather();
29
30 // Address: 0x02554A24
31 void setPlayerCharacter(s32 character, s32 player_no);
32 // Address: 0x02554A70
33 void resetPlayerCharacter(s32 character, s32 player_no);
34
35 void open()
36 {
37 mIsOpen = true;
38 }
39
40 bool isVisible() const
41 {
42 return mIsVisible;
43 }
44
45 // StateID_CloseRequest Address: 0x1020D434
46 // initializeState_CloseRequest Address: 0x02555998
47 // executeState_CloseRequest Address: 0x02555A28
48 // finalizeState_CloseRequest Address: 0x02556C04
49 DECLARE_STATE_ID(ChangePlayerNum, CloseRequest)
50
51 bool isCloseRequest() const
52 {
54 }
55
56protected:
59 u32 _ec4[(0xB798 - 0xEC4) / sizeof(u32)];
60 bool mIsOpen;
63 u32 _b79c[(0xB7A0 - 0xB79C) / sizeof(u32)];
64};
65static_assert(sizeof(ChangePlayerNum) == 0xB7A4);
Definition ChangePlayerNum.h:9
void drawBtn(const agl::lyr::RenderInfo &render_info) const
bool mIsVisible
Definition ChangePlayerNum.h:62
void open()
Definition ChangePlayerNum.h:35
void resetPlayerCharacter(s32 character, s32 player_no)
u32 _b79c[(0xB7A0 - 0xB79C)/sizeof(u32)]
Definition ChangePlayerNum.h:63
bool mIsOpen
Definition ChangePlayerNum.h:60
bool isVisible() const
Definition ChangePlayerNum.h:40
void setPlayerCharacter(s32 character, s32 player_no)
u8 _b799
Definition ChangePlayerNum.h:61
AnimLayout< 1 > mLayout
Definition ChangePlayerNum.h:58
u32 _ec4[(0xB798 - 0xEC4)/sizeof(u32)]
Definition ChangePlayerNum.h:59
virtual ~ChangePlayerNum()
void draw(const agl::lyr::RenderInfo &render_info) const