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

25 lines
992 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(126, "脚本检查迷宫开关状态并赋值给变量," +
"参数:场景名,场景开关ID,变量名")]
public sealed class ScriptVarSetMazeSwitchStatusCommand : ICommand
{
public ScriptVarSetMazeSwitchStatusCommand(string sceneName,
int objectId,
ushort variable)
{
SceneName = sceneName;
ObjectId = objectId;
Variable = variable;
}
public string SceneName { get; }
public int ObjectId { get; }
[SceUserVariable] public ushort Variable { get; }
}
}