拆分程序集,统一修改 Core 区域类的命名空间,暂不修复编译问题

This commit is contained in:
SepComet 2026-05-13 16:48:09 +08:00
parent 3d785d5139
commit 9fc0ef2216
218 changed files with 472 additions and 274 deletions

View File

@ -0,0 +1,23 @@
{
"name": "GeometryTD.Runtime",
"rootNamespace": "GeometryTD.Runtime",
"references": [
"GUID:363c5eb08ff8e6a439b85e37b8c20d96",
"GUID:75469ad4d38634e559750d17036d5f7c",
"GUID:6055be8ebefd69e48b49212b09b47b2f",
"GUID:771b79705393da244ae720aa28ae8a69",
"GUID:c53de6f5028489b4689382a86bfbd807",
"GUID:0f19320f1ba33834b896afc5a5aaae67"
],
"includePlatforms": [
"Android"
],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}

View File

@ -0,0 +1,18 @@
{
"name": "GeometryTD.Gameplay",
"rootNamespace": "GeometryTD.Gameplay",
"references": [
"GUID:771b79705393da244ae720aa28ae8a69"
],
"includePlatforms": [
"Android"
],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: c53de6f5028489b4689382a86bfbd807
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
{
"reference": "GUID:c53de6f5028489b4689382a86bfbd807"
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 5304296ea426f4d4b8067b7b64a3ad48
AssemblyDefinitionReferenceImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
{
"reference": "GUID:e67bd2d1b65d48ce8120141996e55b2b"
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: bd7362132664f0c499e39663c24ade2d
AssemblyDefinitionReferenceImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
{
"reference": "GUID:0f19320f1ba33834b896afc5a5aaae67"
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 4c1cfd0d064e8b3418adeca47c20ae1d
AssemblyDefinitionReferenceImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
{
"reference": "GUID:c53de6f5028489b4689382a86bfbd807"
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 6bc6ae941e9ae4c43a4f75e3405d0eaf
AssemblyDefinitionReferenceImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
{
"reference": "GUID:c53de6f5028489b4689382a86bfbd807"
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 93d673219f2a1a94599e67456ea33f7f
AssemblyDefinitionReferenceImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
{
"reference": "GUID:c53de6f5028489b4689382a86bfbd807"
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: e09026219ecab5e44ab54879792e2b26
AssemblyDefinitionReferenceImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,15 +1,8 @@
//------------------------------------------------------------
// Game Framework
// Copyright © 2013-2021 Jiang Yin. All rights reserved.
// Homepage: https://gameframework.cn/
// Feedback: mailto:ellan@gameframework.cn
//------------------------------------------------------------
using System;
using System;
using System.IO;
using UnityEngine;
namespace GeometryTD.DataTable
namespace GeometryTD.Core
{
public static class BinaryReaderExtension
{

View File

@ -1,9 +1,8 @@
using System;
using GeometryTD.Definition;
using GeometryTD.CustomUtility;
using GeometryTD.Core;
using UnityGameFramework.Runtime;
namespace GeometryTD.DataTable
namespace GeometryTD.Core
{
/// <summary>
/// 底座组件表

View File

@ -1,9 +1,8 @@
using System;
using GeometryTD.Definition;
using GeometryTD.CustomUtility;
using GeometryTD.Core;
using UnityGameFramework.Runtime;
namespace GeometryTD.DataTable
namespace GeometryTD.Core
{
/// <summary>
/// 轴承组件表

View File

@ -1,6 +1,6 @@
using UnityGameFramework.Runtime;
namespace GeometryTD.DataTable
namespace GeometryTD.Core
{
/// <summary>
/// 敌人配置表

View File

@ -16,7 +16,7 @@ using System.Text;
using UnityEngine;
using UnityGameFramework.Runtime;
namespace GeometryTD.DataTable
namespace GeometryTD.Core
{
/// <summary>
/// 实体表。

View File

@ -1,7 +1,7 @@
using UnityGameFramework.Runtime;
using Newtonsoft.Json.Linq;
namespace GeometryTD.DataTable
namespace GeometryTD.Core
{
/// <summary>
/// 事件配置表

View File

@ -1,9 +1,8 @@
using System;
using GeometryTD.Definition;
using GeometryTD.CustomUtility;
using GeometryTD.Core;
using UnityGameFramework.Runtime;
namespace GeometryTD.DataTable
namespace GeometryTD.Core
{
/// <summary>
/// 关卡表

View File

@ -1,9 +1,8 @@
using System;
using GeometryTD.CustomUtility;
using GeometryTD.Definition;
using GeometryTD.Core;
using UnityGameFramework.Runtime;
namespace GeometryTD.DataTable
namespace GeometryTD.Core
{
/// <summary>
/// 关卡阶段表

View File

@ -1,9 +1,8 @@
using System;
using GeometryTD.CustomUtility;
using GeometryTD.Definition;
using GeometryTD.Core;
using UnityGameFramework.Runtime;
namespace GeometryTD.DataTable
namespace GeometryTD.Core
{
/// <summary>
/// 关卡阶段出怪条目表

View File

@ -16,7 +16,7 @@ using System.Text;
using UnityEngine;
using UnityGameFramework.Runtime;
namespace GeometryTD.DataTable
namespace GeometryTD.Core
{
/// <summary>
/// 音乐配置表。

View File

@ -1,9 +1,8 @@
using System;
using GeometryTD.Definition;
using GeometryTD.CustomUtility;
using GeometryTD.Core;
using UnityGameFramework.Runtime;
namespace GeometryTD.DataTable
namespace GeometryTD.Core
{
/// <summary>
/// 枪口组件表

View File

@ -1,10 +1,9 @@
using System;
using GeometryTD.CustomUtility;
using GeometryTD.Definition;
using GeometryTD.Core;
using UnityEngine;
using UnityGameFramework.Runtime;
namespace GeometryTD.DataTable
namespace GeometryTD.Core
{
/// <summary>
/// 局外道具掉落池配置表。

View File

@ -1,8 +1,7 @@
using GeometryTD.CustomUtility;
using GeometryTD.Definition;
using GeometryTD.Core;
using UnityGameFramework.Runtime;
namespace GeometryTD.DataTable
namespace GeometryTD.Core
{
public sealed class DRRarityTagBudget : DataRowBase
{

View File

@ -6,7 +6,7 @@ using System.Text;
using UnityEngine;
using UnityGameFramework.Runtime;
namespace GeometryTD.DataTable
namespace GeometryTD.Core
{
/// <summary>
/// 场景配置表。

View File

@ -1,8 +1,7 @@
using GeometryTD.CustomUtility;
using GeometryTD.Definition;
using GeometryTD.Core;
using UnityGameFramework.Runtime;
namespace GeometryTD.DataTable
namespace GeometryTD.Core
{
public class DRShopPrice : DataRowBase
{

View File

@ -2,7 +2,7 @@
using System.Text;
using UnityGameFramework.Runtime;
namespace GeometryTD.DataTable
namespace GeometryTD.Core
{
/// <summary>
/// 声音配置表。

View File

@ -1,9 +1,8 @@
using System;
using GeometryTD.Definition;
using GeometryTD.CustomUtility;
using GeometryTD.Core;
using UnityGameFramework.Runtime;
namespace GeometryTD.DataTable
namespace GeometryTD.Core
{
/// <summary>
/// Tag 表

View File

@ -1,8 +1,7 @@
using GeometryTD.CustomUtility;
using GeometryTD.Definition;
using GeometryTD.Core;
using UnityGameFramework.Runtime;
namespace GeometryTD.DataTable
namespace GeometryTD.Core
{
public sealed class DRTagConfig : DataRowBase
{

View File

@ -2,7 +2,7 @@
using System.Text;
using UnityGameFramework.Runtime;
namespace GeometryTD.DataTable
namespace GeometryTD.Core
{
/// <summary>
/// 界面配置表。

View File

@ -16,7 +16,7 @@ using System.Text;
using UnityEngine;
using UnityGameFramework.Runtime;
namespace GeometryTD.DataTable
namespace GeometryTD.Core
{
/// <summary>
/// 声音配置表。

View File

@ -10,7 +10,7 @@ using System;
using UnityEngine;
using UnityGameFramework.Runtime;
namespace GeometryTD.DataTable
namespace GeometryTD.Core
{
public static class DataTableExtension
{

View File

@ -1,11 +1,10 @@
{
"name": "GeometryTD.Runtime",
"rootNamespace": "GeometryTD",
"name": "GeometryTD.Core",
"rootNamespace": "GeometryTD.Core",
"references": [
"UnityGameFramework.Editor",
"UnityGameFramework.Runtime",
"Unity.InputSystem",
"Unity.TextMeshPro"
"GUID:363c5eb08ff8e6a439b85e37b8c20d96",
"GUID:75469ad4d38634e559750d17036d5f7c",
"GUID:6055be8ebefd69e48b49212b09b47b2f"
],
"includePlatforms": [],
"excludePlatforms": [],

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 771b79705393da244ae720aa28ae8a69
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,6 +1,6 @@
using System.Collections.Generic;
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public enum CombatParticipantTowerValidationFailureReason
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public static class CombatParticipantTowerValidationText
{

View File

@ -1,8 +1,8 @@
using System;
using GeometryTD.CustomUtility;
using GeometryTD.Core;
using UnityEngine;
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
[Serializable]
public sealed class AttackPayload

View File

@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
/// <summary>
/// 玩家背包聚合数据。

View File

@ -5,7 +5,7 @@
// Feedback: mailto:ellan@gameframework.cn
//------------------------------------------------------------
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public class BuildInfo
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public class EventItem
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public class EventOption
{

View File

@ -1,8 +1,7 @@
using System;
using GeometryTD.Entity;
using UnityEngine;
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
[Serializable]
public sealed class HitStatusModifierContext

View File

@ -1,6 +1,6 @@
using System.Runtime.InteropServices;
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
[StructLayout(LayoutKind.Auto)]
public struct ImpactData

View File

@ -1,6 +1,6 @@
using System;
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
/// <summary>
/// 背包内组件实例基类(非 DataTable表示玩家持有物

View File

@ -2,7 +2,7 @@ using System;
using Newtonsoft.Json;
using UnityEngine;
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
/// <summary>
/// 背包内防御塔实例数据。

View File

@ -1,6 +1,6 @@
using System;
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
/// <summary>
/// 防御塔独立属性快照。

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public class VersionInfo
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public enum AttackMethodType : byte
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public enum AttackPropertyType : byte
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
/// <summary>
/// 阵营类型。

View File

@ -1,4 +1,4 @@
namespace GeometryTD.UI
namespace GeometryTD.Core
{
public enum CombatSelectActionType : byte
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
/// <summary>
/// 出怪条目类型

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public enum EventEffectType
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public enum EventRequirementType
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public enum InventoryTagSourceType : byte
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public enum LevelThemeType
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public enum LevelVictoryType
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
/// <summary>
/// 关卡阶段结束类型

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public enum ProcedureMainCombatEntryBlockReason
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public enum ProcedureMainFlowPhase
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public enum ProcedureMainRunAdvanceResult
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public enum ProcedureMainRunCompletionResult
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public enum RarityType
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
/// <summary>
/// 关系类型。

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public enum RepoItemClickActionType
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public enum SceneType : byte
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public enum TagCategory : byte
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public enum TagTriggerPhase : byte
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public enum TagType : byte
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public enum TowerCompSlotType : byte
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
/// <summary>
/// 界面编号。

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public class AddGoldEffect : EventEffectBase
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public class AddRandomCompsEffect : EventEffectBase
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public class DamageRandomTowerEnduranceEffect : EventEffectBase
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public abstract class EventEffectBase
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public class RemoveRandomCompsEffect : EventEffectBase
{

View File

@ -1,11 +1,11 @@
using System;
using System.Collections.Generic;
using GeometryTD.CustomComponent;
using GeometryTD.CustomUtility;
using GeometryTD.Core;
using GeometryTD.Procedure;
using UnityEngine;
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public sealed class EventOptionExecutor
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public class CompCountAtLeastRequirement : EventRequirementBase
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public abstract class EventRequirementBase
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public class GoldAtLeastRequirement : EventRequirementBase
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public class HasRelicRequirement : EventRequirementBase
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public class TowerCountAtLeastRequirement : EventRequirementBase
{

View File

@ -0,0 +1,3 @@
{
"reference": "GUID:771b79705393da244ae720aa28ae8a69"
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: f6496f38c28361745bf703b0dc338bc3
AssemblyDefinitionReferenceImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,6 +1,6 @@
using UnityEngine;
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public static class InventoryRarityRuleService
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public enum ParticipantTowerAssignFailureReason
{

View File

@ -1,6 +1,6 @@
using System;
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
[Serializable]
public sealed class TagRuntimeData

View File

@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public static class TowerTagAggregationService
{

View File

@ -1,9 +1,6 @@
using System;
using System.Collections.Generic;
using GeometryTD.Entity;
using UnityEngine;
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public static class EnemyStatusTagRegistry
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public static class AttackShapeTagEffectHandler
{

View File

@ -1,6 +1,6 @@
using UnityEngine;
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public static class NumericTagEffectHandler
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public abstract class EnemyStatusTagStateBase
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public sealed class FireTagState : EnemyStatusTagStateBase
{

View File

@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public sealed class IceTagState : EnemyStatusTagStateBase
{

Some files were not shown because too many files have changed in this diff Show More