第一批重构,主要是物理迁移脚本和部分命名空间的调整
- 结构上迁移文件,将脚本分成 Base/Runtime/Presentation/Procedure/Editor 五大文件夹 - 调整 DataTable 和 Definition 下脚本的命名空间 - 依据 UI-5层架构设计规范 拆分原先的 UI 到 Runtime 和 Presentation 下
This commit is contained in:
parent
56f74eee9a
commit
34c0784190
|
|
@ -3,7 +3,7 @@
|
|||
<ResourceBuilder>
|
||||
<Settings>
|
||||
<InternalResourceVersion>1</InternalResourceVersion>
|
||||
<Platforms>1</Platforms>
|
||||
<Platforms>33</Platforms>
|
||||
<AssetBundleCompression>1</AssetBundleCompression>
|
||||
<CompressionHelperTypeName>UnityGameFramework.Runtime.DefaultCompressionHelper</CompressionHelperTypeName>
|
||||
<AdditionalCompressionSelected>False</AdditionalCompressionSelected>
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: edd16bf2e418bec43bc774c7fc6c60d6
|
||||
guid: 5ed0f22b675178e488a2cc585b6f78cb
|
||||
folderAsset: yes
|
||||
timeCreated: 1528026145
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
|
|||
|
|
@ -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 DataTable
|
||||
namespace SepCore.DataTable
|
||||
{
|
||||
public static class BinaryReaderExtension
|
||||
{
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
using UnityGameFramework.Runtime;
|
||||
|
||||
namespace DataTable
|
||||
namespace SepCore.DataTable
|
||||
{
|
||||
/// <summary>
|
||||
/// Bullet config table.
|
||||
|
|
@ -2,7 +2,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using UnityGameFramework.Runtime;
|
||||
|
||||
namespace DataTable
|
||||
namespace SepCore.DataTable
|
||||
{
|
||||
public class DREnemy : DataRowBase
|
||||
{
|
||||
|
|
@ -1,18 +1,8 @@
|
|||
//------------------------------------------------------------
|
||||
// Game Framework
|
||||
// Copyright © 2013-2021 Jiang Yin. All rights reserved.
|
||||
// Homepage: https://gameframework.cn/
|
||||
// Feedback: mailto:ellan@gameframework.cn
|
||||
//------------------------------------------------------------
|
||||
// 此文件由工具自动生成,请勿直接修改。
|
||||
// 生成时间:2021-06-16 21:54:35.576
|
||||
//------------------------------------------------------------
|
||||
|
||||
using System.IO;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using UnityGameFramework.Runtime;
|
||||
|
||||
namespace DataTable
|
||||
namespace SepCore.DataTable
|
||||
{
|
||||
/// <summary>
|
||||
/// 实体表。
|
||||
|
|
@ -71,4 +61,4 @@ namespace DataTable
|
|||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
using Definition.Enum;
|
||||
using SepCore.Definition;
|
||||
using CustomUtility;
|
||||
using UnityGameFramework.Runtime;
|
||||
|
||||
namespace DataTable
|
||||
namespace SepCore.DataTable
|
||||
{
|
||||
public class DRGoods : DataRowBase
|
||||
{
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
using System;
|
||||
using CustomUtility;
|
||||
using Definition.Enum;
|
||||
using SepCore.Definition;
|
||||
using UnityGameFramework.Runtime;
|
||||
|
||||
namespace DataTable
|
||||
namespace SepCore.DataTable
|
||||
{
|
||||
public class DRLevel : DataRowBase
|
||||
{
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
using UnityGameFramework.Runtime;
|
||||
|
||||
namespace DataTable
|
||||
namespace SepCore.DataTable
|
||||
{
|
||||
public class DRLevelRarity : DataRowBase
|
||||
{
|
||||
|
|
@ -1,10 +1,9 @@
|
|||
using Definition.DataStruct;
|
||||
using Definition.Enum;
|
||||
using SepCore.Definition;
|
||||
using Newtonsoft.Json;
|
||||
using CustomUtility;
|
||||
using UnityGameFramework.Runtime;
|
||||
|
||||
namespace DataTable
|
||||
namespace SepCore.DataTable
|
||||
{
|
||||
public class DRLevelUpReward : DataRowBase
|
||||
{
|
||||
|
|
@ -1,22 +1,8 @@
|
|||
//------------------------------------------------------------
|
||||
// Game Framework
|
||||
// Copyright © 2013-2021 Jiang Yin. All rights reserved.
|
||||
// Homepage: https://gameframework.cn/
|
||||
// Feedback: mailto:ellan@gameframework.cn
|
||||
//------------------------------------------------------------
|
||||
// 此文件由工具自动生成,请勿直接修改。
|
||||
// 生成时间:2021-06-16 21:54:35.591
|
||||
//------------------------------------------------------------
|
||||
|
||||
using GameFramework;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using UnityGameFramework.Runtime;
|
||||
|
||||
namespace DataTable
|
||||
namespace SepCore.DataTable
|
||||
{
|
||||
/// <summary>
|
||||
/// 音乐配置表。
|
||||
|
|
@ -75,4 +61,4 @@ namespace DataTable
|
|||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,10 +1,9 @@
|
|||
using Definition.DataStruct;
|
||||
using SepCore.Definition;
|
||||
using Newtonsoft.Json;
|
||||
using CustomUtility;
|
||||
using UnityGameFramework.Runtime;
|
||||
using Definition.Enum;
|
||||
|
||||
namespace DataTable
|
||||
namespace SepCore.DataTable
|
||||
{
|
||||
public class DRProp : DataRowBase
|
||||
{
|
||||
|
|
@ -2,13 +2,12 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using Definition.DataStruct;
|
||||
using Definition.Enum;
|
||||
using SepCore.Definition;
|
||||
using GameFramework;
|
||||
using StarForce;
|
||||
using UnityGameFramework.Runtime;
|
||||
|
||||
namespace DataTable
|
||||
namespace SepCore.DataTable
|
||||
{
|
||||
public class DRRole : DataRowBase
|
||||
{
|
||||
|
|
@ -1,18 +1,8 @@
|
|||
//------------------------------------------------------------
|
||||
// Game Framework
|
||||
// Copyright © 2013-2021 Jiang Yin. All rights reserved.
|
||||
// Homepage: https://gameframework.cn/
|
||||
// Feedback: mailto:ellan@gameframework.cn
|
||||
//------------------------------------------------------------
|
||||
// 此文件由工具自动生成,请勿直接修改。
|
||||
// 生成时间:2021-06-16 21:54:35.610
|
||||
//------------------------------------------------------------
|
||||
|
||||
using System.IO;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using UnityGameFramework.Runtime;
|
||||
|
||||
namespace DataTable
|
||||
namespace SepCore.DataTable
|
||||
{
|
||||
/// <summary>
|
||||
/// 场景配置表。
|
||||
|
|
@ -78,4 +68,4 @@ namespace DataTable
|
|||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,22 +1,8 @@
|
|||
//------------------------------------------------------------
|
||||
// Game Framework
|
||||
// Copyright © 2013-2021 Jiang Yin. All rights reserved.
|
||||
// Homepage: https://gameframework.cn/
|
||||
// Feedback: mailto:ellan@gameframework.cn
|
||||
//------------------------------------------------------------
|
||||
// 此文件由工具自动生成,请勿直接修改。
|
||||
// 生成时间:2021-06-16 21:54:35.625
|
||||
//------------------------------------------------------------
|
||||
|
||||
using GameFramework;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using UnityGameFramework.Runtime;
|
||||
|
||||
namespace DataTable
|
||||
namespace SepCore.DataTable
|
||||
{
|
||||
/// <summary>
|
||||
/// 声音配置表。
|
||||
|
|
@ -110,4 +96,4 @@ namespace DataTable
|
|||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,22 +1,8 @@
|
|||
//------------------------------------------------------------
|
||||
// Game Framework
|
||||
// Copyright © 2013-2021 Jiang Yin. All rights reserved.
|
||||
// Homepage: https://gameframework.cn/
|
||||
// Feedback: mailto:ellan@gameframework.cn
|
||||
//------------------------------------------------------------
|
||||
// 此文件由工具自动生成,请勿直接修改。
|
||||
// 生成时间:2021-06-16 21:54:35.652
|
||||
//------------------------------------------------------------
|
||||
|
||||
using GameFramework;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using UnityGameFramework.Runtime;
|
||||
|
||||
namespace DataTable
|
||||
namespace SepCore.DataTable
|
||||
{
|
||||
/// <summary>
|
||||
/// 界面配置表。
|
||||
|
|
@ -96,4 +82,4 @@ namespace DataTable
|
|||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,22 +1,8 @@
|
|||
//------------------------------------------------------------
|
||||
// Game Framework
|
||||
// Copyright © 2013-2021 Jiang Yin. All rights reserved.
|
||||
// Homepage: https://gameframework.cn/
|
||||
// Feedback: mailto:ellan@gameframework.cn
|
||||
//------------------------------------------------------------
|
||||
// 此文件由工具自动生成,请勿直接修改。
|
||||
// 生成时间:2021-06-16 21:54:35.666
|
||||
//------------------------------------------------------------
|
||||
|
||||
using GameFramework;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using UnityGameFramework.Runtime;
|
||||
|
||||
namespace DataTable
|
||||
namespace SepCore.DataTable
|
||||
{
|
||||
/// <summary>
|
||||
/// 声音配置表。
|
||||
|
|
@ -89,4 +75,4 @@ namespace DataTable
|
|||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,14 +1,12 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Definition.DataStruct;
|
||||
using Definition.Enum;
|
||||
using SepCore.Definition;
|
||||
using GameFramework;
|
||||
using CustomUtility;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using UnityEngine;
|
||||
using UnityGameFramework.Runtime;
|
||||
|
||||
namespace DataTable
|
||||
namespace SepCore.DataTable
|
||||
{
|
||||
/// <summary>
|
||||
/// 武器表。
|
||||
|
|
@ -1,21 +1,14 @@
|
|||
//------------------------------------------------------------
|
||||
// Game Framework
|
||||
// Copyright © 2013-2021 Jiang Yin. All rights reserved.
|
||||
// Homepage: https://gameframework.cn/
|
||||
// Feedback: mailto:ellan@gameframework.cn
|
||||
//------------------------------------------------------------
|
||||
|
||||
using GameFramework.DataTable;
|
||||
using GameFramework.DataTable;
|
||||
using System;
|
||||
using Definition;
|
||||
using SepCore.Definition;
|
||||
using UnityEngine;
|
||||
using UnityGameFramework.Runtime;
|
||||
|
||||
namespace DataTable
|
||||
namespace SepCore.DataTable
|
||||
{
|
||||
public static class DataTableExtension
|
||||
{
|
||||
private const string DataRowClassPrefixName = "DataTable.DR";
|
||||
private const string DataRowClassPrefixName = "SepCore.DataTable.DR";
|
||||
internal static readonly char[] DataSplitSeparators = new char[] { '\t' };
|
||||
internal static readonly char[] DataTrimSeparators = new char[] { '\"' };
|
||||
|
||||
|
|
@ -101,4 +94,4 @@ namespace DataTable
|
|||
return dataTableComponent.GetDataTable<T>().GetDataRow(id);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
// Feedback: mailto:ellan@gameframework.cn
|
||||
//------------------------------------------------------------
|
||||
|
||||
namespace Definition
|
||||
namespace SepCore.Definition
|
||||
{
|
||||
public static partial class Constant
|
||||
{
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
using UnityEngine;
|
||||
|
||||
namespace Definition
|
||||
namespace SepCore.Definition
|
||||
{
|
||||
public static partial class Constant
|
||||
{
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
// Feedback: mailto:ellan@gameframework.cn
|
||||
//------------------------------------------------------------
|
||||
|
||||
namespace Definition
|
||||
namespace SepCore.Definition
|
||||
{
|
||||
public static partial class Constant
|
||||
{
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
// Feedback: mailto:ellan@gameframework.cn
|
||||
//------------------------------------------------------------
|
||||
|
||||
namespace Definition.DataStruct
|
||||
namespace SepCore.Definition
|
||||
{
|
||||
public class BuildInfo
|
||||
{
|
||||
|
|
@ -6,9 +6,9 @@
|
|||
//------------------------------------------------------------
|
||||
|
||||
using System.Runtime.InteropServices;
|
||||
using Definition.Enum;
|
||||
using SepCore.Definition;
|
||||
|
||||
namespace Definition.DataStruct
|
||||
namespace SepCore.Definition
|
||||
{
|
||||
[StructLayout(LayoutKind.Auto)]
|
||||
public struct ImpactData
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
using Components;
|
||||
using DataTable;
|
||||
using Definition.Enum;
|
||||
using SepCore.DataTable;
|
||||
using SepCore.Definition;
|
||||
|
||||
namespace Definition.DataStruct
|
||||
namespace SepCore.Definition
|
||||
{
|
||||
public class PropItem
|
||||
{
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
using System;
|
||||
using Definition.Enum;
|
||||
using SepCore.Definition;
|
||||
using CustomUtility;
|
||||
using UnityGameFramework.Runtime;
|
||||
|
||||
namespace Definition.DataStruct
|
||||
namespace SepCore.Definition
|
||||
{
|
||||
public class StatModifier
|
||||
{
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
namespace Definition.DataStruct
|
||||
namespace SepCore.Definition
|
||||
{
|
||||
public class StatProperty
|
||||
{
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
// Feedback: mailto:ellan@gameframework.cn
|
||||
//------------------------------------------------------------
|
||||
|
||||
namespace Definition.DataStruct
|
||||
namespace SepCore.Definition
|
||||
{
|
||||
public class VersionInfo
|
||||
{
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
namespace Definition.Enum
|
||||
namespace SepCore.Definition
|
||||
{
|
||||
public enum BulletType : byte
|
||||
{
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
// Feedback: mailto:ellan@gameframework.cn
|
||||
//------------------------------------------------------------
|
||||
|
||||
namespace Definition.Enum
|
||||
namespace SepCore.Definition
|
||||
{
|
||||
/// <summary>
|
||||
/// 阵营类型。
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
namespace Definition.Enum
|
||||
namespace SepCore.Definition
|
||||
{
|
||||
public enum EnemyType : byte
|
||||
{
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
namespace Definition.Enum
|
||||
namespace SepCore.Definition
|
||||
{
|
||||
public enum GoodsType
|
||||
{
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
namespace Definition.Enum
|
||||
namespace SepCore.Definition
|
||||
{
|
||||
public enum ItemRarity
|
||||
{
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
// Feedback: mailto:ellan@gameframework.cn
|
||||
//------------------------------------------------------------
|
||||
|
||||
namespace Definition.Enum
|
||||
namespace SepCore.Definition
|
||||
{
|
||||
/// <summary>
|
||||
/// 关系类型。
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
namespace Scene
|
||||
namespace SepCore.Definition
|
||||
{
|
||||
public enum SceneId : byte
|
||||
{
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
namespace Definition.Enum
|
||||
namespace SepCore.Definition
|
||||
{
|
||||
public enum StatType
|
||||
{
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
// Feedback: mailto:ellan@gameframework.cn
|
||||
//------------------------------------------------------------
|
||||
|
||||
namespace Definition.Enum
|
||||
namespace SepCore.Definition
|
||||
{
|
||||
/// <summary>
|
||||
/// 界面编号。
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
namespace Definition.Enum
|
||||
namespace SepCore.Definition
|
||||
{
|
||||
public enum WeaponType : byte
|
||||
{
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
//------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using Definition.Enum;
|
||||
using SepCore.Definition;
|
||||
using StarForce;
|
||||
using UnityEngine;
|
||||
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using DataTable;
|
||||
using Definition.Enum;
|
||||
using SepCore.DataTable;
|
||||
using SepCore.Definition;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Entity.EntityData
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
using System;
|
||||
using Definition.Enum;
|
||||
using SepCore.Definition;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Entity.EntityData
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
using System;
|
||||
using DataTable;
|
||||
using Definition.Enum;
|
||||
using SepCore.DataTable;
|
||||
using SepCore.Definition;
|
||||
|
||||
namespace Entity.EntityData
|
||||
{
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
//------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using Definition.Enum;
|
||||
using SepCore.Definition;
|
||||
using StarForce;
|
||||
using UnityEngine;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue