Files
Pal3.Unity/Assets/Scripts/Pal3.Core/Command/SceCommands/ScriptVarSetMazeSwitchStatusCommand.cs
T
2023-10-21 18:08:23 -07:00

25 lines
991 B
C#

// ---------------------------------------------------------------------------------------------
// Copyright (c) 2021-2023, Jiaqi Liu. All rights reserved.
// See LICENSE file in the project root for license information.
// ---------------------------------------------------------------------------------------------
namespace Pal3.Core.Command.SceCommands
{
[SceCommand(126, "脚本检查迷宫开关状态并赋值给变量," +
"参数:场景名,场景开关ID,变量名", 0b0100)]
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; }
}
}