MxMIDIPresenter: ClassName, IsA (#146)

This commit is contained in:
Joshua Peisach 2023-09-29 13:18:22 -04:00 committed by GitHub
parent 5b7954a97b
commit f7743c51fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,20 @@ class MxMIDIPresenter : public MxMusicPresenter
{ {
public: public:
MxMIDIPresenter(); MxMIDIPresenter();
// OFFSET: LEGO1 0x100c2650
inline virtual const char *ClassName() const override // vtable+0xc
{
// 0x10101df8
return "MxMIDIPresenter";
}
// OFFSET: LEGO1 0x100c2660
inline virtual MxBool IsA(const char *name) const override // vtable+0x10
{
return !strcmp(name, MxMIDIPresenter::ClassName()) || MxMusicPresenter::IsA(name);
}
private: private:
void Init(); void Init();
undefined4 m_unk54; undefined4 m_unk54;