创建开始菜单面板和设置面板

- 添加 MenuForm 与 SettingForm
- 为带左右按钮的水平选择界面添加HorizonSelectGroup预制件。
- 添加游戏核心可配置项
This commit is contained in:
SepComet
2026-02-10 15:10:31 +08:00
parent 7ac832f74b
commit 13583354f9
111 changed files with 11247 additions and 755 deletions
@@ -0,0 +1,25 @@
using GameFramework;
using GameFramework.Event;
namespace Event
{
public class CombineCompletedEventArgs : GameEventArgs
{
public static readonly int EventId = typeof(CombineCompletedEventArgs).GetHashCode();
public override int Id => EventId;
public CombineCompletedEventArgs()
{
}
public static CombineCompletedEventArgs Create()
{
return ReferencePool.Acquire<CombineCompletedEventArgs>();
}
public override void Clear()
{
}
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 8482dddcf83e4cbb90f9be95e807f65a
timeCreated: 1770511198
@@ -0,0 +1,32 @@
using GameFramework;
using GameFramework.Event;
namespace Event
{
public class CombineGuideMessageEventArgs : GameEventArgs
{
public static readonly int EventId = typeof(CombineGuideMessageEventArgs).GetHashCode();
public override int Id => EventId;
public string Message { get; private set; }
public CombineGuideMessageEventArgs()
{
Message = "";
}
public static CombineGuideMessageEventArgs Create(string message)
{
var args = ReferencePool.Acquire<CombineGuideMessageEventArgs>();
args.Message = message;
return args;
}
public override void Clear()
{
Message = "";
}
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 7d6ccdc983514de981ac731659f6fa0e
timeCreated: 1770510601
@@ -0,0 +1,32 @@
using GameFramework;
using GameFramework.Event;
namespace Event
{
public class CombinePartMessageEventArgs : GameEventArgs
{
public static readonly int EventId = typeof(CombinePartMessageEventArgs).GetHashCode();
public override int Id => EventId;
public string Message { get; private set; }
public CombinePartMessageEventArgs()
{
Message = "";
}
public static CombinePartMessageEventArgs Create(string message)
{
var args = ReferencePool.Acquire<CombinePartMessageEventArgs>();
args.Message = message;
return args;
}
public override void Clear()
{
Message = "";
}
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: fd83ff85d4a8443db7a9cba10c02529f
timeCreated: 1770510848
@@ -0,0 +1,37 @@
using GameFramework;
using GameFramework.Event;
namespace Event
{
public class CombineProgressEventArgs : GameEventArgs
{
public static readonly int EventId = typeof(CombineProgressEventArgs).GetHashCode();
public override int Id => EventId;
public int CurrentStep { get; private set; }
public int TotalSteps { get; private set; }
public CombineProgressEventArgs()
{
CurrentStep = 0;
TotalSteps = 0;
}
public static CombineProgressEventArgs Create(int currentStep, int totalSteps)
{
var args = ReferencePool.Acquire<CombineProgressEventArgs>();
args.CurrentStep = currentStep;
args.TotalSteps = totalSteps;
return args;
}
public override void Clear()
{
CurrentStep = 0;
TotalSteps = 0;
}
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: a349f69307a242d99a2e7760beb11cbc
timeCreated: 1770510177