继续调整,创建 Procedure 与 Presentation 程序集

- 创建 Procedure 与 Presentation 两个程序集
- 初步解决这两个程序集与原程序集的引用关系
This commit is contained in:
SepComet
2026-06-02 23:26:08 +08:00
parent affa44e4d0
commit 6b8a6a8789
50 changed files with 907 additions and 688 deletions
@@ -2,19 +2,18 @@ using SepCore.Definition;
using Entity;
using CustomUtility;
using Entity.Weapon;
using Procedure;
namespace UI
{
public class DisplayItemInfoFormUseCase : IUIUseCase
{
private readonly ProcedureGame _procedureGame;
private readonly Player _player;
private Player Player => _procedureGame != null ? _procedureGame.Player : null;
private Player Player => _player;
public DisplayItemInfoFormUseCase(ProcedureGame procedureGame)
public DisplayItemInfoFormUseCase(Player player)
{
_procedureGame = procedureGame;
_player = player;
}
public DisplayItemInfoFormRawData CreateModel(int index, bool isWeapon)
@@ -72,4 +71,4 @@ namespace UI
};
}
}
}
}