mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
implement EndAction (#196)
* implement EndAction implement EndAction +offsets commenets * Refactor MxParam/MxNotificationParam * Add correct address for destructor * Make MxNoticiationParam more concise --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
16
LEGO1/mxactionnotificationparam.cpp
Normal file
16
LEGO1/mxactionnotificationparam.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include "mxactionnotificationparam.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(MxActionNotificationParam, 0x14)
|
||||
DECOMP_SIZE_ASSERT(MxEndActionNotificationParam, 0x14)
|
||||
|
||||
// OFFSET: LEGO1 0x100510c0
|
||||
MxNotificationParam *MxActionNotificationParam::Clone()
|
||||
{
|
||||
return new MxActionNotificationParam(this->m_type, this->m_sender, this->m_action, this->m_realloc);
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x10051270
|
||||
MxNotificationParam *MxEndActionNotificationParam::Clone()
|
||||
{
|
||||
return new MxEndActionNotificationParam(MXSTREAMER_UNKNOWN, this->m_sender, this->m_action, this->m_realloc);
|
||||
}
|
Reference in New Issue
Block a user