Add static HandlerClassName function (#973)

* Add static HandlerClassName function

* Use method in PresenterNameDispatch
This commit is contained in:
MS
2024-05-30 13:10:41 -04:00
committed by GitHub
parent ab4ba9fc4f
commit ac41854149
39 changed files with 362 additions and 83 deletions

View File

@@ -10,13 +10,20 @@ class MxAudioPresenter : public MxMediaPresenter {
public:
MxAudioPresenter() { m_volume = 100; }
// FUNCTION: LEGO1 0x1000d280
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x1008cba0
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f078c
return "MxAudioPresenter";
}
// FUNCTION: LEGO1 0x1000d280
// FUNCTION: BETA10 0x1008cb70
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x1000d290
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{