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"
|
|
|
|
|
2024-05-03 12:19:12 -04:00
|
|
|
class MxDSStreamingAction;
|
|
|
|
|
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:
|
2024-07-04 19:06:32 -04:00
|
|
|
MxRAMStreamController() {}
|
2023-10-24 19:38:27 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x100b9430
|
2024-07-04 19:06:32 -04:00
|
|
|
const char* ClassName() const override // vtable+0x0c
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-27 15:59:42 -05:00
|
|
|
// STRING: LEGO1 0x10102118
|
2023-10-24 19:38:27 -04:00
|
|
|
return "MxRAMStreamController";
|
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x100b9440
|
2024-07-04 19:06:32 -04:00
|
|
|
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
|
|
|
}
|
|
|
|
|
2024-02-01 15:42:10 -05:00
|
|
|
MxResult Open(const char* p_filename) override;
|
|
|
|
MxResult VTable0x20(MxDSAction* p_action) override;
|
|
|
|
MxResult VTable0x24(MxDSAction* p_action) override;
|
2023-10-08 16:41:34 -04:00
|
|
|
|
2023-09-25 22:30:56 -04:00
|
|
|
private:
|
2023-12-28 11:56:54 -05:00
|
|
|
MxDSBuffer m_buffer; // 0x64
|
2023-12-13 18:11:07 -05:00
|
|
|
|
|
|
|
MxResult DeserializeObject(MxDSStreamingAction& p_action);
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
2023-12-28 11:56:54 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x100b94f0
|
|
|
|
// MxRAMStreamController::`scalar deleting destructor'
|
|
|
|
|
2023-06-29 04:10:08 -04:00
|
|
|
#endif // MXRAMSTREAMCONTROLLER_H
|