mirror of
https://github.com/0x7c13/Pal3.Unity.git
synced 2026-11-26 17:38:10 +08:00
32 lines
1.0 KiB
C#
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("交易功能暂未开启"));
|
|
}
|
|
}
|
|
} |