mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-27 06:32:06 -04:00
Implement/match LegoEventNotifcationParam::Clone (#497)
This commit is contained in:
parent
d4cb8677b8
commit
f1fc5e1d0d
@ -10,7 +10,14 @@
|
|||||||
// SIZE 0x20
|
// SIZE 0x20
|
||||||
class LegoEventNotificationParam : public MxNotificationParam {
|
class LegoEventNotificationParam : public MxNotificationParam {
|
||||||
public:
|
public:
|
||||||
virtual MxNotificationParam* Clone() override; // vtable+0x4
|
// FUNCTION: LEGO1 0x10028690
|
||||||
|
virtual MxNotificationParam* Clone() override
|
||||||
|
{
|
||||||
|
LegoEventNotificationParam* clone =
|
||||||
|
new LegoEventNotificationParam(m_type, m_sender, m_modifier, m_x, m_y, m_key);
|
||||||
|
clone->m_unk0x1c = m_unk0x1c;
|
||||||
|
return clone;
|
||||||
|
}; // vtable+0x4
|
||||||
|
|
||||||
inline LegoEventNotificationParam() : MxNotificationParam(c_notificationType0, NULL) {}
|
inline LegoEventNotificationParam() : MxNotificationParam(c_notificationType0, NULL) {}
|
||||||
inline LegoEventNotificationParam(
|
inline LegoEventNotificationParam(
|
||||||
@ -25,6 +32,7 @@ public:
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inline MxU8 GetModifier() { return m_modifier; }
|
||||||
inline MxU8 GetKey() const { return m_key; }
|
inline MxU8 GetKey() const { return m_key; }
|
||||||
inline MxS32 GetX() const { return m_x; }
|
inline MxS32 GetX() const { return m_x; }
|
||||||
inline MxS32 GetY() const { return m_y; }
|
inline MxS32 GetY() const { return m_y; }
|
||||||
|
@ -3,10 +3,3 @@
|
|||||||
#include "decomp.h"
|
#include "decomp.h"
|
||||||
|
|
||||||
DECOMP_SIZE_ASSERT(LegoEventNotificationParam, 0x20);
|
DECOMP_SIZE_ASSERT(LegoEventNotificationParam, 0x20);
|
||||||
|
|
||||||
// STUB: LEGO1 0x10028690
|
|
||||||
MxNotificationParam* LegoEventNotificationParam::Clone()
|
|
||||||
{
|
|
||||||
// TODO
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user