Files
Future/Future.Contract/EnumType/EParameterKind.cs
2025-08-30 17:19:57 +08:00

57 lines
1.8 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Future.Contract
{
/// <summary>
/// 参数的归类
/// </summary>
[Flags]
public enum EParameterKind : int
{
/// <summary>
/// 在筛选时表示匹配所有类型,其它时候表示非平台预定义型
/// </summary>
Unknown = 1,
/// <summary>
/// 普通的基元变量参数,例如:整数,文本,浮点,字节……
/// </summary>
General = 2,
/// <summary>
/// 信道参数这个参数的取值是信道名信道的Name属性值
/// </summary>
Channel = 4,
/// <summary>
/// 目标参数这个参数的取值是目标名目标的Lable属性值
/// </summary>
Target = 8,
/// <summary>
/// 描述参数:例如标题,描述等指令的基本描述信息,可修改
/// </summary>
Infomation = 16,
/// <summary>
/// 控制参数:例如一条指令的标签,这类参数均是引擎定义的
/// </summary>
Control = 32,
/// <summary>
/// 用户自定义参数:用户的自定义对象编辑器管理的参数部分
/// </summary>
Custom = 64,
/// <summary>
/// 运行参数:运行时需要的参数,这类参数会被写入到上下文
/// </summary>
Running = 128,
/// <summary>
/// 运行时参数:运行时引擎需要的参数,需要使用属性来声明
/// </summary>
Runtime = 256,
/// <summary>
/// 判定参数:判定树参数,是一个后根树形结构的判定表达式
/// </summary>
Condition = 512
}
}