mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-29 10:55:42 -05:00
e16249b672
* define MxLong/MxULong The "long" type has different sizes on different platforms, and this may cause issues. * use DWORD to match RegQueryValueExA arg
37 lines
737 B
C++
37 lines
737 B
C++
#ifndef LEGOENTITY_H
|
|
#define LEGOENTITY_H
|
|
|
|
#include "mxentity.h"
|
|
|
|
// VTABLE 0x100d4858
|
|
class LegoEntity : public MxEntity
|
|
{
|
|
public:
|
|
// Inlined at 0x100853f7
|
|
inline LegoEntity()
|
|
{
|
|
// TODO
|
|
}
|
|
|
|
__declspec(dllexport) virtual ~LegoEntity() override; // vtable+0x0
|
|
|
|
virtual MxLong Notify(MxParam &p) override; // vtable+0x4
|
|
|
|
// OFFSET: LEGO1 0x1000c2f0
|
|
inline const char *ClassName() const override // vtable+0xc
|
|
{
|
|
// 0x100f0064
|
|
return "LegoEntity";
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x1000c300
|
|
inline MxBool IsA(const char *name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(name, LegoEntity::ClassName()) || MxEntity::IsA(name);
|
|
}
|
|
|
|
virtual void Destroy() override; // vtable+0x1c
|
|
|
|
};
|
|
|
|
#endif // LEGOENTITY_H
|