mirror of
https://github.com/0x7c13/Pal3.Unity.git
synced 2026-11-26 17:38:10 +08:00
21 lines
805 B
C#
21 lines
805 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(13, "给变量赋值,Var <== Value," +
|
||
"参数:变量名(ID),值", 0b0001)]
|
||
public sealed class ScriptVarSetValueCommand : ICommand
|
||
{
|
||
public ScriptVarSetValueCommand(ushort variable, int value)
|
||
{
|
||
Variable = variable;
|
||
Value = value;
|
||
}
|
||
|
||
[SceUserVariable] public ushort Variable { get; }
|
||
public int Value { get; }
|
||
}
|
||
} |