isle-portable/LEGO1/scorestate.h
Ramen2X adbe73d664
implement/match ScoreState vtable (#220)
* implement/match ScoreState vtable

* add size assert for ScoreState
2023-10-19 03:26:32 -04:00

31 lines
662 B
C++

#ifndef SCORESTATE_H
#define SCORESTATE_H
#include "legostate.h"
// VTABLE 0x100d53f8
// SIZE 0xc
class ScoreState : public LegoState
{
public:
// OFFSET: LEGO1 0x1000de40
inline virtual const char *ClassName() const override // vtable+0x0c
{
// 0x100f0084
return "ScoreState";
};
// OFFSET: LEGO1 0x1000de50
inline virtual MxBool IsA(const char *name) const override // vtable+0x10
{
return !strcmp(name, ScoreState::ClassName()) || LegoState::IsA(name);
};
virtual MxBool VTable0x14() override; // vtable+0x14
virtual MxBool VTable0x18() override; // vtable+0x18
private:
MxBool m_unk0x08;
};
#endif // SCORESTATE_H