mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-21 07:11:16 +00:00
Use inline assignment operators
This commit is contained in:
parent
81f5fe9d47
commit
2567c25984
@ -7,7 +7,7 @@ MxDSStreamingAction::MxDSStreamingAction(MxDSAction &p_dsAction, MxU32 p_offset)
|
||||
{
|
||||
Init();
|
||||
|
||||
MxDSAction::operator=(p_dsAction);
|
||||
*this = p_dsAction;
|
||||
this->m_unk94 = p_offset;
|
||||
this->m_bufferOffset = p_offset;
|
||||
}
|
||||
@ -34,7 +34,7 @@ MxDSStreamingAction::~MxDSStreamingAction()
|
||||
// OFFSET: LEGO1 0x100cd220
|
||||
MxDSStreamingAction *MxDSStreamingAction::CopyFrom(MxDSStreamingAction &p_dsStreamingAction)
|
||||
{
|
||||
MxDSAction::operator=(p_dsStreamingAction);
|
||||
*this = p_dsStreamingAction;
|
||||
this->m_unk94 = p_dsStreamingAction.m_unk94;
|
||||
this->m_bufferOffset = p_dsStreamingAction.m_bufferOffset;
|
||||
this->m_unk9c = p_dsStreamingAction.m_unk9c;
|
||||
|
||||
@ -15,6 +15,14 @@ class MxDSStreamingAction : public MxDSAction
|
||||
virtual ~MxDSStreamingAction();
|
||||
|
||||
MxDSStreamingAction *CopyFrom(MxDSStreamingAction &p_dsStreamingAction);
|
||||
MxDSStreamingAction &operator=(MxDSAction &p_dsAction) {
|
||||
MxDSAction::operator=(p_dsAction);
|
||||
return *this;
|
||||
}
|
||||
MxDSStreamingAction &operator=(MxDSStreamingAction &p_dsStreamingAction) {
|
||||
MxDSAction::operator=(p_dsStreamingAction);
|
||||
return *this;
|
||||
}
|
||||
|
||||
virtual MxBool HasId(MxU32 p_objectId); // vtable+34;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user