mirror of
https://github.com/0x7c13/Pal3.Unity.git
synced 2026-11-26 17:38:10 +08:00
20 lines
789 B
C#
20 lines
789 B
C#
// ---------------------------------------------------------------------------------------------
|
||
// Copyright (c) 2021-2023, Jiaqi Liu. All rights reserved.
|
||
// See LICENSE file in the project root for license information.
|
||
// ---------------------------------------------------------------------------------------------
|
||
|
||
namespace Pal3.Command.SceCommands
|
||
{
|
||
[AvailableInConsole]
|
||
[SceCommand(78, "检查玩家是否拥有某个物品," +
|
||
"参数:该物品的数据库ID,此命令结果影响标志变量(类似VarEqualTo)")]
|
||
public class ScriptCheckIfPlayerHaveItemCommand : ICommand
|
||
{
|
||
public ScriptCheckIfPlayerHaveItemCommand(int itemId)
|
||
{
|
||
ItemId = itemId;
|
||
}
|
||
|
||
public int ItemId { get; }
|
||
}
|
||
} |