mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 16:15:43 +00:00
26 lines
771 B
C++
26 lines
771 B
C++
#pragma once
|
|
|
|
namespace menu
|
|
{
|
|
enum class CommonEventHandlerElementType
|
|
{
|
|
SCRIPT,
|
|
CONDITION,
|
|
SET_LOCAL_VAR
|
|
};
|
|
|
|
class ICommonEventHandlerElement
|
|
{
|
|
protected:
|
|
ICommonEventHandlerElement() = default;
|
|
|
|
public:
|
|
virtual ~ICommonEventHandlerElement() = default;
|
|
ICommonEventHandlerElement(const ICommonEventHandlerElement& other) = default;
|
|
ICommonEventHandlerElement(ICommonEventHandlerElement&& other) noexcept = default;
|
|
ICommonEventHandlerElement& operator=(const ICommonEventHandlerElement& other) = default;
|
|
ICommonEventHandlerElement& operator=(ICommonEventHandlerElement&& other) noexcept = default;
|
|
|
|
virtual CommonEventHandlerElementType GetType() = 0;
|
|
};
|
|
} |