2023-07-16 02:43:08 -04:00
|
|
|
#ifndef MXPARAM_H
|
|
|
|
#define MXPARAM_H
|
|
|
|
|
2023-09-25 22:30:56 -04:00
|
|
|
#include "compat.h"
|
2023-07-16 02:43:08 -04:00
|
|
|
#include "mxomnicreateparambase.h"
|
|
|
|
#include "mxtypes.h"
|
|
|
|
|
|
|
|
class MxCore;
|
|
|
|
|
2023-10-07 14:05:45 -04:00
|
|
|
enum MxParamType
|
|
|
|
{
|
|
|
|
MXSTREAMER_UNKNOWN = 2,
|
|
|
|
MXPRESENTER_NOTIFICATION = 5,
|
|
|
|
MXSTREAMER_DELETE_NOTIFY = 6,
|
|
|
|
MXTRANSITIONMANAGER_TRANSITIONENDED = 24
|
|
|
|
};
|
|
|
|
|
2023-07-16 02:43:08 -04:00
|
|
|
// VTABLE 0x100d56e0
|
|
|
|
class MxParam : public MxOmniCreateParamBase
|
|
|
|
{
|
|
|
|
public:
|
2023-10-07 14:05:45 -04:00
|
|
|
inline MxParam(MxParamType p_type, MxCore *p_sender) : MxOmniCreateParamBase(), m_type(p_type), m_sender(p_sender){}
|
2023-07-16 02:43:08 -04:00
|
|
|
|
2023-09-25 22:30:56 -04:00
|
|
|
virtual ~MxParam() override {} // vtable+0x0 (scalar deleting destructor)
|
2023-07-16 02:43:08 -04:00
|
|
|
virtual MxParam *Clone(); // vtable+0x4
|
|
|
|
|
2023-10-07 14:05:45 -04:00
|
|
|
inline MxParamType GetType() const
|
2023-07-16 02:43:08 -04:00
|
|
|
{
|
|
|
|
return m_type;
|
|
|
|
}
|
|
|
|
|
|
|
|
inline MxCore *GetSender() const
|
|
|
|
{
|
|
|
|
return m_sender;
|
|
|
|
}
|
|
|
|
|
2023-09-25 22:30:56 -04:00
|
|
|
protected:
|
2023-10-07 14:05:45 -04:00
|
|
|
MxParamType m_type; // 0x4
|
2023-07-16 02:43:08 -04:00
|
|
|
MxCore *m_sender; // 0x8
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXPARAM_H
|