isle/LEGO1/mxdsevent.h
MS bcb7bec68b
Improve handling of variables for decomp parser (#376)
* Parser refactor:
- Handling LIRBARY and STRING markers
- Extracting global variable name for future comparison
- Marking function static variables
- More fluent error messages

* String constants annotated with STRING

* fix variable name

* Should compare LIBRARY markers
2023-12-27 15:59:42 -05:00

30 lines
689 B
C++

#ifndef MXDSEVENT_H
#define MXDSEVENT_H
#include "mxdsmediaaction.h"
class MxDSEvent : public MxDSMediaAction {
public:
MxDSEvent();
virtual ~MxDSEvent() override;
void CopyFrom(MxDSEvent& p_dsEvent);
MxDSEvent& operator=(MxDSEvent& p_dsEvent);
// FUNCTION: LEGO1 0x100c9660
inline virtual const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x101025f0
return "MxDSEvent";
}
// FUNCTION: LEGO1 0x100c9670
inline virtual MxBool IsA(const char* p_name) const override // vtable+0x10
{
return !strcmp(p_name, MxDSEvent::ClassName()) || MxDSMediaAction::IsA(p_name);
}
virtual MxDSAction* Clone() override; // vtable+2c;
};
#endif // MXDSEVENT_H