- 规范 UI 设计成为:

- UIForm 负责展示
    - Controller 负责控制
    - UseCase 负责业务逻辑
    - RawData 负责提供原始数据
    - Context 负责为 UIForm 提供数据
- 添加和补充一系列 UI 功能
This commit is contained in:
SepComet
2026-02-16 19:03:09 +08:00
parent d650dd63e7
commit 85b0205c73
251 changed files with 12705 additions and 5220 deletions
@@ -1,34 +0,0 @@
using GameFramework;
using GameFramework.Event;
namespace CustomEvent
{
public class ShopRefreshEventArgs : GameEventArgs
{
public static readonly int EventId = typeof(ShopRefreshEventArgs).GetHashCode();
public override int Id => EventId;
public int Cost { get; private set; }
public ShopRefreshEventArgs()
{
Cost = 0;
}
public static ShopRefreshEventArgs Create(int cost)
{
var args = ReferencePool.Acquire<ShopRefreshEventArgs>();
args.Cost = cost;
return args;
}
public override void Clear()
{
Cost = 0;
}
}
}
@@ -1,3 +0,0 @@
fileFormatVersion: 2
guid: 7f463ec631b54d9e9feda00be716ae68
timeCreated: 1770985436