mirror of
https://github.com/0x7c13/Pal3.Unity.git
synced 2026-11-27 18:08:09 +08:00
25 lines
983 B
C#
25 lines
983 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,变量名")]
|
|
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; }
|
|
}
|
|
} |