mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 23:08:05 -05:00
18 lines
473 B
C++
18 lines
473 B
C++
#include "CommonEventHandlerSetLocalVar.h"
|
|
|
|
using namespace menu;
|
|
|
|
CommonEventHandlerSetLocalVar::CommonEventHandlerSetLocalVar()
|
|
= default;
|
|
|
|
CommonEventHandlerSetLocalVar::CommonEventHandlerSetLocalVar(std::string varName, std::unique_ptr<ICommonExpression> value)
|
|
: m_var_name(std::move(varName)),
|
|
m_value(std::move(value))
|
|
{
|
|
}
|
|
|
|
CommonEventHandlerElementType CommonEventHandlerSetLocalVar::GetType()
|
|
{
|
|
return CommonEventHandlerElementType::SET_LOCAL_VAR;
|
|
}
|