isle-portable/LEGO1/radio.h
Joshua Peisach 22ac0b9296
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>
2023-11-04 14:47:35 +01:00

25 lines
479 B
C++

#ifndef RADIO_H
#define RADIO_H
#include "mxcore.h"
// VTABLE 0x100d6d10
class Radio : public MxCore {
public:
virtual ~Radio() override;
// OFFSET: LEGO1 0x1002c8e0
inline virtual const char* ClassName() const override // vtable+0x0c
{
// 0x100f328c
return "Radio";
}
// OFFSET: LEGO1 0x1002c8f0
inline virtual MxBool IsA(const char* name) const override // vtable+0x10
{
return !strcmp(name, Radio::ClassName()) || MxCore::IsA(name);
}
};
#endif // RADIO_H