Files
Pal3.Unity/Assets/Scripts/Pal3.Game/GameSystems/Trading/TradingManager.cs
2024-01-07 02:37:35 -08:00

32 lines
1.0 KiB
C#

// ---------------------------------------------------------------------------------------------
// Copyright (c) 2021-2024, Jiaqi (0x7c13) Liu. All rights reserved.
// See LICENSE file in the project root for license information.
// ---------------------------------------------------------------------------------------------
namespace Pal3.Game.GameSystems.Trading
{
using System;
using Command;
using Core.Command;
using Core.Command.SceCommands;
public sealed class TradingManager : IDisposable,
ICommandExecutor<UIShowDealerMenuCommand>
{
public TradingManager()
{
CommandExecutorRegistry<ICommand>.Instance.Register(this);
}
public void Dispose()
{
CommandExecutorRegistry<ICommand>.Instance.UnRegister(this);
}
// TODO: Remove this
public void Execute(UIShowDealerMenuCommand command)
{
Pal3.Instance.Execute(new UIDisplayNoteCommand("交易功能暂未开启"));
}
}
}