isle/LEGO1/omni/include/mxramstreamcontroller.h
Christian Semmler bee101b1f4
Add clang-tidy readability-redundant-inline-specifier (#1060)
* Add clang-tidy readability-redundant-inline-specifier

* fix

* Update CONTRIBUTING.md

* format

* fix
2024-07-05 01:06:32 +02:00

42 lines
1 KiB
C++

#ifndef MXRAMSTREAMCONTROLLER_H
#define MXRAMSTREAMCONTROLLER_H
#include "mxdsbuffer.h"
#include "mxstreamcontroller.h"
class MxDSStreamingAction;
// VTABLE: LEGO1 0x100dc728
// SIZE 0x98
class MxRAMStreamController : public MxStreamController {
public:
MxRAMStreamController() {}
// FUNCTION: LEGO1 0x100b9430
const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x10102118
return "MxRAMStreamController";
}
// FUNCTION: LEGO1 0x100b9440
MxBool IsA(const char* p_name) const override // vtable+0x10
{
return !strcmp(p_name, MxRAMStreamController::ClassName()) ||
!strcmp(p_name, MxStreamController::ClassName()) || MxCore::IsA(p_name);
}
MxResult Open(const char* p_filename) override;
MxResult VTable0x20(MxDSAction* p_action) override;
MxResult VTable0x24(MxDSAction* p_action) override;
private:
MxDSBuffer m_buffer; // 0x64
MxResult DeserializeObject(MxDSStreamingAction& p_action);
};
// SYNTHETIC: LEGO1 0x100b94f0
// MxRAMStreamController::`scalar deleting destructor'
#endif // MXRAMSTREAMCONTROLLER_H