isle/LEGO1/legocontrolmanager.h
Nathan M Gilbert 4cc6b9b8ec
Implement Score (#230)
* Implement Score

* Update mxomni.cpp

Fix case of OFFSET comment.

* Fix DeleteObjects

* Apply changes (see comment)

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2023-10-23 13:16:21 +02:00

32 lines
753 B
C++

#ifndef LEGOCONTROLMANAGER_H
#define LEGOCONTROLMANAGER_H
#include "mxcore.h"
// VTABLE 0x100d6a80
class LegoControlManager : public MxCore
{
public:
LegoControlManager();
virtual ~LegoControlManager() override; // vtable+0x0
virtual MxResult Tickle() override; // vtable+0x8
// OFFSET: LEGO1 0x10028cb0
inline virtual const char *ClassName() const override // vtable+0x0c
{
// 0x100f31b8
return "LegoControlManager";
}
// OFFSET: LEGO1 0x10028cc0
inline virtual MxBool IsA(const char *name) const override // vtable+0x10
{
return !strcmp(name, LegoControlManager::ClassName()) || MxCore::IsA(name);
}
void Register(MxCore *p_listener);
void Unregister(MxCore *p_listener);
};
#endif // LEGOCONTROLMANAGER_H