2023-06-29 04:10:08 -04:00
|
|
|
#ifndef MXMEDIAPRESENTER_H
|
|
|
|
#define MXMEDIAPRESENTER_H
|
|
|
|
|
2023-07-02 03:00:28 -04:00
|
|
|
#include "decomp.h"
|
2023-11-12 07:47:01 -05:00
|
|
|
#include "mxdssubscriber.h"
|
2023-10-24 19:38:27 -04:00
|
|
|
#include "mxpresenter.h"
|
2023-11-12 07:47:01 -05:00
|
|
|
#include "mxstreamchunklist.h"
|
2023-07-02 03:00:28 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d4cd8
|
2023-11-12 07:47:01 -05:00
|
|
|
// SIZE 0x50
|
2023-10-24 19:38:27 -04:00
|
|
|
class MxMediaPresenter : public MxPresenter {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
inline MxMediaPresenter() { Init(); }
|
|
|
|
virtual ~MxMediaPresenter() override;
|
|
|
|
|
2023-11-12 07:47:01 -05:00
|
|
|
virtual MxResult Tickle() override; // vtable+0x8
|
2023-10-24 19:38:27 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1000c5c0
|
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 0x100f074c
|
2023-10-24 19:38:27 -04:00
|
|
|
return "MxMediaPresenter";
|
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1000c5d0
|
2023-10-24 19:38:27 -04:00
|
|
|
inline virtual MxBool IsA(const char* name) const override // vtable+0x10
|
|
|
|
{
|
|
|
|
return !strcmp(name, MxMediaPresenter::ClassName()) || MxPresenter::IsA(name);
|
|
|
|
}
|
|
|
|
|
2023-11-13 06:25:27 -05:00
|
|
|
virtual void StreamingTickle() override; // vtable+0x20
|
|
|
|
virtual void RepeatingTickle() override; // vtable+0x24
|
|
|
|
virtual void DoneTickle() override; // vtable+0x2c
|
|
|
|
virtual void Destroy() override; // vtable+0x38
|
|
|
|
virtual MxResult StartAction(MxStreamController*, MxDSAction*) override; // vtable+0x3c
|
|
|
|
virtual void EndAction() override; // vtable+0x40
|
|
|
|
virtual void Enable(MxBool p_enable) override; // vtable+0x54
|
|
|
|
virtual void AppendChunk(MxStreamChunk* p_chunk); // vtable+0x58
|
2023-10-24 19:38:27 -04:00
|
|
|
|
|
|
|
protected:
|
2023-11-12 07:47:01 -05:00
|
|
|
MxDSSubscriber* m_subscriber; // 0x40
|
|
|
|
MxStreamChunkList* m_chunks; // 0x44
|
|
|
|
MxStreamChunkListCursor* m_cursor; // 0x48
|
|
|
|
MxStreamChunk* m_currentChunk; // 0x4c
|
|
|
|
|
2023-10-24 19:38:27 -04:00
|
|
|
void Init();
|
|
|
|
void Destroy(MxBool p_fromDestructor);
|
2023-11-13 06:25:27 -05:00
|
|
|
MxStreamChunk* FUN_100b5650();
|
|
|
|
MxStreamChunk* NextChunk();
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
2023-12-12 14:27:17 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x100b46e0
|
|
|
|
// MxStreamChunkListCursor::`scalar deleting destructor'
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x100b4750
|
|
|
|
// MxListCursor<MxStreamChunk *>::~MxListCursor<MxStreamChunk *>
|
|
|
|
|
|
|
|
// SYNTHETIC: LEGO1 0x100b47a0
|
|
|
|
// MxListCursor<MxStreamChunk *>::`scalar deleting destructor'
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x100b4810
|
|
|
|
// MxStreamChunkListCursor::~MxStreamChunkListCursor
|
|
|
|
|
2023-06-29 04:10:08 -04:00
|
|
|
#endif // MXMEDIAPRESENTER_H
|