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

This commit is contained in:
2026-05-13 16:48:09 +08:00
parent 3d785d5139
commit 9fc0ef2216
218 changed files with 472 additions and 274 deletions
@@ -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
@@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
/// <summary>
/// 玩家背包聚合数据。
@@ -5,7 +5,7 @@
// Feedback: mailto:ellan@gameframework.cn
//------------------------------------------------------------
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public class BuildInfo
{
@@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public class EventItem
{
@@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public class EventOption
{
@@ -1,8 +1,7 @@
using System;
using GeometryTD.Entity;
using UnityEngine;
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
[Serializable]
public sealed class HitStatusModifierContext
@@ -1,6 +1,6 @@
using System.Runtime.InteropServices;
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
[StructLayout(LayoutKind.Auto)]
public struct ImpactData
@@ -1,6 +1,6 @@
using System;
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
/// <summary>
/// 背包内组件实例基类(非 DataTable,表示玩家持有物)。
@@ -2,7 +2,7 @@ using System;
using Newtonsoft.Json;
using UnityEngine;
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
/// <summary>
/// 背包内防御塔实例数据。
@@ -1,6 +1,6 @@
using System;
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
/// <summary>
/// 防御塔独立属性快照。
@@ -1,4 +1,4 @@
namespace GeometryTD.Definition
namespace GeometryTD.Core
{
public class VersionInfo
{