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

- 结构上迁移文件,将脚本分成 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,8 @@
namespace SepCore.Definition
{
public enum BulletType : byte
{
None = 0,
BulletHandgun = 1
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 2248c02c2c5529445992a2c2fef799dd
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,47 @@
//------------------------------------------------------------
// Game Framework
// Copyright © 2013-2021 Jiang Yin. All rights reserved.
// Homepage: https://gameframework.cn/
// Feedback: mailto:ellan@gameframework.cn
//------------------------------------------------------------
namespace SepCore.Definition
{
/// <summary>
/// 阵营类型。
/// </summary>
public enum CampType : byte
{
Unknown = 0,
/// <summary>
/// 第一玩家阵营。
/// </summary>
Player,
/// <summary>
/// 第一敌人阵营。
/// </summary>
Enemy,
/// <summary>
/// 第一中立阵营。
/// </summary>
Neutral,
/// <summary>
/// 第二玩家阵营。
/// </summary>
Player2,
/// <summary>
/// 第二敌人阵营。
/// </summary>
Enemy2,
/// <summary>
/// 第二中立阵营
/// </summary>
Neutral2,
}
}
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 61f18b2b0752f32449d9978f481a75fc
timeCreated: 1528026150
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,9 @@
namespace SepCore.Definition
{
public enum EnemyType : byte
{
None = 0,
MeleeEnemy = 1,
RemoteEnemy = 2,
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 2aa817d65bcc425a9e015f3c1de7c9a9
timeCreated: 1770209105
@@ -0,0 +1,9 @@
namespace SepCore.Definition
{
public enum GoodsType
{
None = 0,
Weapon,
Prop
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 4b6d8e25599afc54bb6e29b09e606bbd
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,12 @@
namespace SepCore.Definition
{
public enum ItemRarity
{
None,
White = 1,
Green = 2,
Blue,
Purple,
Red
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: bb7ab0222a370b649956dacb56a122fc
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,35 @@
//------------------------------------------------------------
// Game Framework
// Copyright © 2013-2021 Jiang Yin. All rights reserved.
// Homepage: https://gameframework.cn/
// Feedback: mailto:ellan@gameframework.cn
//------------------------------------------------------------
namespace SepCore.Definition
{
/// <summary>
/// 关系类型。
/// </summary>
public enum RelationType : byte
{
/// <summary>
/// 未知的。
/// </summary>
Unknown,
/// <summary>
/// 友好的。
/// </summary>
Friendly,
/// <summary>
/// 中立的。
/// </summary>
Neutral,
/// <summary>
/// 敌对的。
/// </summary>
Hostile
}
}
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 2c5c37ca396eb9d47a70999b5825152b
timeCreated: 1528026150
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,12 @@
namespace SepCore.Definition
{
public enum SceneId : byte
{
Launch = 0,
Menu = 1,
Main = 2,
StressTest = 3,
Game = 4,
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 20fc28f41ef04f8fa4fbfb9189b58d0d
timeCreated: 1768899171
@@ -0,0 +1,17 @@
namespace SepCore.Definition
{
public enum StatType
{
None = 0,
MaxHealth = 1,
MovementSpeed = 2,
Attack = 3,
Defense = 4,
AttackSpeed = 5,
Critical = 6,
CriticalDamage = 7,
Dodge = 8,
AbsorbRange = 9,
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 657fd4fd021a424397aa17c0359a1da1
timeCreated: 1768966119
@@ -0,0 +1,67 @@
//------------------------------------------------------------
// Game Framework
// Copyright © 2013-2021 Jiang Yin. All rights reserved.
// Homepage: https://gameframework.cn/
// Feedback: mailto:ellan@gameframework.cn
//------------------------------------------------------------
namespace SepCore.Definition
{
/// <summary>
/// 界面编号。
/// </summary>
public enum UIFormType : byte
{
TUIForm = 0,
/// <summary>
/// 弹出框。
/// </summary>
DialogForm = 1,
/// <summary>
/// 主菜单。
/// </summary>
MenuForm = 100,
/// <summary>
/// 设置。
/// </summary>
SettingForm = 101,
/// <summary>
/// 关于。
/// </summary>
AboutForm = 102,
/// <summary>
/// 主菜单。
/// </summary>
StartMenuForm = 200,
/// <summary>
/// 选择角色。
/// </summary>
SelectRoleForm = 201,
/// <summary>
/// 游戏商店。
/// </summary>
ShopForm = 202,
/// <summary>
/// 游戏HUD。
/// </summary>
HudForm = 203,
/// <summary>
/// 升级选择。
/// </summary>
LevelUpForm = 204,
/// <summary>
/// 物品信息展示页
/// </summary>
DisplayItemInfoForm = 205,
}
}
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 75fd10c7585513846ab25372be0590b7
timeCreated: 1528026162
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,12 @@
namespace SepCore.Definition
{
public enum WeaponType : byte
{
None = 0,
WeaponKnife = 1,
WeaponHandgun = 2,
WeaponSlash = 3,
WeaponLightning = 4,
WeaponLance = 5,
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 1e4fe53d087154645ad496d2f178c843
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: