Files
Pal3.Unity/Assets/Scripts/Pal3.Core/Command/SceCommands/ScriptEvaluateVarIsInRangeCommand.cs
T
2024-01-07 02:37:35 -08:00

24 lines
888 B
C#

// ---------------------------------------------------------------------------------------------
// Copyright (c) 2021-2024, Jiaqi (0x7c13) Liu. All rights reserved.
// See LICENSE file in the project root for license information.
// ---------------------------------------------------------------------------------------------
namespace Pal3.Core.Command.SceCommands
{
[SceCommand(19, "判断变量值是否在给定区间范围内并与临时变量计算结果")]
public sealed class ScriptEvaluateVarIsInRangeCommand : ICommand
{
public ScriptEvaluateVarIsInRangeCommand(ushort variable,
int min,
int max)
{
Variable = variable;
Min = min;
Max = max;
}
[SceUserVariable] public ushort Variable { get; }
public int Min { get; }
public int Max { get; }
}
}