MxMusicPresenter: ClassName, IsA, ctor, Init ()

This commit is contained in:
Joshua Peisach 2023-09-29 12:51:05 -04:00 committed by GitHub
parent dc869c441c
commit 5b7954a97b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 2 deletions

View file

@ -1,7 +1,12 @@
#include "mxmusicpresenter.h" #include "mxmusicpresenter.h"
// OFFSET: LEGO1 0x100c22c0 STUB // OFFSET: LEGO1 0x100c22c0
MxMusicPresenter::MxMusicPresenter() MxMusicPresenter::MxMusicPresenter()
{ {
// TODO Init();
}
// OFFSET: LEGO1 0x100c2540
void MxMusicPresenter::Init()
{
} }

View file

@ -7,7 +7,23 @@
class MxMusicPresenter : public MxAudioPresenter class MxMusicPresenter : public MxAudioPresenter
{ {
public: public:
// OFFSET: LEGO1 0x100c23a0
inline virtual const char *ClassName() const override // vtable+0xc
{
// 0x10101e48
return "MxMusicPresenter";
}
// OFFSET: LEGO1 0x100c23b0
inline virtual MxBool IsA(const char *name) const override // vtable+0x10
{
return !strcmp(name, MxMusicPresenter::ClassName()) || MxAudioPresenter::IsA(name);
}
MxMusicPresenter(); MxMusicPresenter();
private:
void Init();
}; };
#endif // MXMUSICPRESENTER_H #endif // MXMUSICPRESENTER_H