mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 08:41:16 +00:00
24 lines
428 B
C++
24 lines
428 B
C++
#include "mxdssource.h"
|
|
|
|
#include "mxdsbuffer.h"
|
|
|
|
DECOMP_SIZE_ASSERT(MxDSSource, 0x14)
|
|
|
|
// FUNCTION: LEGO1 0x100bffd0
|
|
MxResult MxDSSource::ReadToBuffer(MxDSBuffer* p_buffer)
|
|
{
|
|
return Read(p_buffer->GetBuffer(), p_buffer->GetWriteOffset());
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x100bfff0
|
|
MxLong MxDSSource::GetLengthInDWords()
|
|
{
|
|
return m_lengthInDWords;
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x100c0000
|
|
MxU32* MxDSSource::GetBuffer()
|
|
{
|
|
return m_pBuffer;
|
|
}
|