mirror of
https://github.com/0x7c13/Pal3.Unity.git
synced 2026-11-26 17:38:10 +08:00
- Fixed a bug caused by inconsistent state check between managed and native object. - Bump Unity version. - Update copyright text
28 lines
1.0 KiB
C#
28 lines
1.0 KiB
C#
// ---------------------------------------------------------------------------------------------
|
|
// Copyright (c) 2021-2025, Jiaqi (0x7c13) Liu. All rights reserved.
|
|
// See LICENSE file in the project root for license information.
|
|
// ---------------------------------------------------------------------------------------------
|
|
|
|
namespace Pal3.Core.Command.SceCommands
|
|
{
|
|
#if PAL3A
|
|
[SceCommand(163, "检测场景中物品(宝箱)是否被完全使用过并赋值给变量," +
|
|
"参数:场景名,物件ID,变量名")]
|
|
public sealed class ScriptVarSetObjectUsageStatusCommand : ICommand
|
|
{
|
|
public ScriptVarSetObjectUsageStatusCommand(
|
|
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; }
|
|
}
|
|
#endif
|
|
} |