Add missing ClassName's and IsA's (#262)

* Add missing ClassName's and IsA's

Exceptions: LegoAnimActor as it does something weird with a call to another private/inlined function(?) and RaceStandsEntity which seems to have two vtables

* clang-format

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
Joshua Peisach
2023-11-04 09:47:35 -04:00
committed by GitHub
parent 24e889ee3d
commit 22ac0b9296
9 changed files with 119 additions and 2 deletions

View File

@@ -8,6 +8,19 @@
// SIZE 0x6c
class MxStillPresenter : public MxVideoPresenter {
public:
// OFFSET: LEGO1 0x100435c0
inline virtual const char* ClassName() const override // vtable+0xc
{
// 0x100f0184
return "MxStillPresenter";
}
// OFFSET: LEGO1 0x100435d0
inline virtual MxBool IsA(const char* name) const override // vtable+0x10
{
return !strcmp(name, MxStillPresenter::ClassName()) || MxVideoPresenter::IsA(name);
}
virtual void ParseExtra() override; // vtable+0x30
MxStillPresenter() { m_unk68 = 0; }