2023-06-29 04:10:08 -04:00
|
|
|
#ifndef MXRAMSTREAMCONTROLLER_H
|
|
|
|
#define MXRAMSTREAMCONTROLLER_H
|
|
|
|
|
2023-09-25 22:30:56 -04:00
|
|
|
#include "mxdsbuffer.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "mxstreamcontroller.h"
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100dc728
|
2023-09-25 22:30:56 -04:00
|
|
|
// SIZE 0x98
|
2023-10-24 19:38:27 -04:00
|
|
|
class MxRAMStreamController : public MxStreamController {
|
2023-09-25 22:30:56 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
inline MxRAMStreamController() {}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x100b9430
|
2023-10-24 19:38:27 -04:00
|
|
|
inline virtual const char* ClassName() const override // vtable+0xc
|
|
|
|
{
|
2023-12-06 07:10:45 -05:00
|
|
|
// GLOBAL: LEGO1 0x10102130
|
2023-10-24 19:38:27 -04:00
|
|
|
return "MxRAMStreamController";
|
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x100b9440
|
2023-12-13 05:48:14 -05:00
|
|
|
inline virtual MxBool IsA(const char* p_name) const override // vtable+0x10
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-13 05:48:14 -05:00
|
|
|
return !strcmp(p_name, MxRAMStreamController::ClassName()) ||
|
|
|
|
!strcmp(p_name, MxStreamController::ClassName()) || MxCore::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
virtual MxResult Open(const char* p_filename) override;
|
2023-12-13 05:48:14 -05:00
|
|
|
virtual MxResult VTable0x20(MxDSAction* p_action) override;
|
|
|
|
virtual MxResult VTable0x24(MxDSAction* p_action) override;
|
2023-10-08 16:41:34 -04:00
|
|
|
|
2023-09-25 22:30:56 -04:00
|
|
|
private:
|
2023-10-24 19:38:27 -04:00
|
|
|
MxDSBuffer m_buffer;
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXRAMSTREAMCONTROLLER_H
|