对 DisplayItemInfoForm 按 5 层 UI 规范做结构整理

- 删除无用的 DisplayItemInfoUseCase,转为轻量 UI(Controller + Context + View)
- RawData 类型安全:object Data 拆分为 WeaponData + PropItem
- View 事件规范:回收按钮改用 UI 专用事件,由 Controller 通过回调转发
- 简化 _locked 状态管理,统一在 CloseUIAsync 中清理
This commit is contained in:
SepComet
2026-06-15 11:03:31 +08:00
parent 9dd4f57e6a
commit bba17bbac2
11 changed files with 107 additions and 173 deletions
@@ -103,15 +103,11 @@ MonoBehaviour:
m_Interactable: 1
m_TargetGraphic: {fileID: 0}
m_OnClick:
m_PersistentCalls:
m_Calls: []
_background: {fileID: 2138039234147195629}
_onPointerEnterAction:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 8108003253794388876}
m_TargetAssemblyTypeName: UI.DisplayItem, Assembly-CSharp
m_MethodName: OnItemInfoShow
m_TargetAssemblyTypeName: SepCore.UI.DisplayItem, SepCore.Presentation
m_MethodName: OnItemInfoLock
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
@@ -121,12 +117,13 @@ MonoBehaviour:
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
_onClickAction:
_background: {fileID: 2138039234147195629}
_onPointerEnterAction:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 8108003253794388876}
m_TargetAssemblyTypeName: UI.DisplayItem, Assembly-CSharp
m_MethodName: OnItemInfoLock
m_MethodName: OnItemInfoShow
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}