第一批重构,主要是物理迁移脚本和部分命名空间的调整

- 结构上迁移文件,将脚本分成 Base/Runtime/Presentation/Procedure/Editor 五大文件夹
- 调整 DataTable 和 Definition 下脚本的命名空间
- 依据 UI-5层架构设计规范 拆分原先的 UI 到 Runtime 和 Presentation 下
This commit is contained in:
SepComet
2026-06-02 19:12:34 +08:00
parent 56f74eee9a
commit 34c0784190
655 changed files with 1272 additions and 516 deletions
@@ -0,0 +1,21 @@
using GameFramework;
using GameFramework.Event;
namespace CustomEvent
{
public class MenuAboutButtonClickEventArgs : GameEventArgs
{
public static readonly int EventId = typeof(MenuAboutButtonClickEventArgs).GetHashCode();
public override int Id => EventId;
public static MenuAboutButtonClickEventArgs Create()
{
return ReferencePool.Acquire<MenuAboutButtonClickEventArgs>();
}
public override void Clear()
{
}
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: f58e49962f2db9140aaf209ca65dd2f9
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,21 @@
using GameFramework;
using GameFramework.Event;
namespace CustomEvent
{
public class MenuFileButtonClickEventArgs : GameEventArgs
{
public static readonly int EventId = typeof(MenuFileButtonClickEventArgs).GetHashCode();
public override int Id => EventId;
public static MenuFileButtonClickEventArgs Create()
{
return ReferencePool.Acquire<MenuFileButtonClickEventArgs>();
}
public override void Clear()
{
}
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: e093cff04ac83fc47ae21bd659b338ad
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,21 @@
using GameFramework;
using GameFramework.Event;
namespace CustomEvent
{
public class MenuGuideButtonClickEventArgs : GameEventArgs
{
public static readonly int EventId = typeof(MenuGuideButtonClickEventArgs).GetHashCode();
public override int Id => EventId;
public static MenuGuideButtonClickEventArgs Create()
{
return ReferencePool.Acquire<MenuGuideButtonClickEventArgs>();
}
public override void Clear()
{
}
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: b39712010e7085f428e9ef9727bda043
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,21 @@
using GameFramework;
using GameFramework.Event;
namespace CustomEvent
{
public class MenuQuitButtonClickEventArgs : GameEventArgs
{
public static readonly int EventId = typeof(MenuQuitButtonClickEventArgs).GetHashCode();
public override int Id => EventId;
public static MenuQuitButtonClickEventArgs Create()
{
return ReferencePool.Acquire<MenuQuitButtonClickEventArgs>();
}
public override void Clear()
{
}
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: c008a5618fa012842992de55bef3791c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,21 @@
using GameFramework;
using GameFramework.Event;
namespace CustomEvent
{
public class MenuSelectRoleConfirmEventArgs : GameEventArgs
{
public static readonly int EventId = typeof(MenuSelectRoleConfirmEventArgs).GetHashCode();
public override int Id => EventId;
public static MenuSelectRoleConfirmEventArgs Create()
{
return ReferencePool.Acquire<MenuSelectRoleConfirmEventArgs>();
}
public override void Clear()
{
}
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: c360f9423f498704dbb32820841451c0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,21 @@
using GameFramework;
using GameFramework.Event;
namespace CustomEvent
{
public class MenuSelectRoleReturnEventArgs : GameEventArgs
{
public static readonly int EventId = typeof(MenuSelectRoleReturnEventArgs).GetHashCode();
public override int Id => EventId;
public static MenuSelectRoleReturnEventArgs Create()
{
return ReferencePool.Acquire<MenuSelectRoleReturnEventArgs>();
}
public override void Clear()
{
}
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 25cf88630e365d2428872f6bae81001e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,26 @@
using GameFramework;
using GameFramework.Event;
namespace CustomEvent
{
public class MenuSelectRoleSelectedEventArgs : GameEventArgs
{
public static readonly int EventId = typeof(MenuSelectRoleSelectedEventArgs).GetHashCode();
public override int Id => EventId;
public int RoleId { get; private set; } = -1;
public static MenuSelectRoleSelectedEventArgs Create(int roleId)
{
var args = ReferencePool.Acquire<MenuSelectRoleSelectedEventArgs>();
args.RoleId = roleId;
return args;
}
public override void Clear()
{
RoleId = -1;
}
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: c99f1c134cc628142a36d21c209ed507
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,21 @@
using GameFramework;
using GameFramework.Event;
namespace CustomEvent
{
public class MenuSettingButtonClickEventArgs : GameEventArgs
{
public static readonly int EventId = typeof(MenuSettingButtonClickEventArgs).GetHashCode();
public override int Id => EventId;
public static MenuSettingButtonClickEventArgs Create()
{
return ReferencePool.Acquire<MenuSettingButtonClickEventArgs>();
}
public override void Clear()
{
}
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: d5de2367f2bc83642bbbdc02081ae804
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,21 @@
using GameFramework;
using GameFramework.Event;
namespace CustomEvent
{
public class MenuStartGameEventArgs : GameEventArgs
{
public static readonly int EventId = typeof(MenuStartGameEventArgs).GetHashCode();
public override int Id => EventId;
public static MenuStartGameEventArgs Create()
{
return ReferencePool.Acquire<MenuStartGameEventArgs>();
}
public override void Clear()
{
}
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 217b0022ddd4a4545a8d8e3d8158a967
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: