Files
dl_old/backup/script/dl_script_segment.h
T
2024-05-30 19:03:03 +08:00

33 lines
380 B
C++

/**
* @file dl_script_segment.h
* @brief dl脚本代码段
*
*
* @version 1.0
* @author lveyou
* @date 24-01-08
*
* @note 执行一小段操作
*/
#pragma once
#include <vector>
#include "io/dl_log.h"
namespace dl::Script
{
struct Segment
{
enum class Type
{
SET_VARIABLE,
CALL_FUNCTION,
};
Type _type;
std::string _varName;
std::vector<Variable> _vecParam;
};
}