Editor/Embedded/ValveResourceFormat/ScalarExpressionType.cs

Enum type that defines scalar expression kinds for particle systems in the ValveResourceFormat code embedded in the editor. It lists arithmetic and comparison expression types and an uninitialized sentinel.

#nullable enable
using System;
using System.Collections.Generic;
using System.Linq;
using HumanoidRetargeter.EditorTools.Embedded.ValveResourceFormat.Utils;
namespace HumanoidRetargeter.EditorTools.Embedded.ValveResourceFormat;

    /// <summary>
    /// Scalar expression types used for particles.
    /// </summary>
    public enum ScalarExpressionType
    {
#pragma warning disable CS1591
        SCALAR_EXPRESSION_UNINITIALIZED = -1,
        SCALAR_EXPRESSION_ADD = 0,
        SCALAR_EXPRESSION_SUBTRACT = 1,
        SCALAR_EXPRESSION_MUL = 2,
        SCALAR_EXPRESSION_DIVIDE = 3,
        SCALAR_EXPRESSION_INPUT_1 = 4,
        SCALAR_EXPRESSION_MIN = 5,
        SCALAR_EXPRESSION_MAX = 6,
        SCALAR_EXPRESSION_MOD = 7,
        SCALAR_EXPRESSION_EQUAL = 8,
        SCALAR_EXPRESSION_GT = 9,
        SCALAR_EXPRESSION_LT = 10,
#pragma warning restore CS1591
    }