rename namespace to Core.Internal

This commit is contained in:
DCFApixels 2025-05-18 10:52:24 +08:00
parent 2051acf3de
commit b9329d7384
42 changed files with 47 additions and 56 deletions

View File

@ -51,7 +51,7 @@ namespace DCFApixels.DragonECS
}
}
namespace DCFApixels.DragonECS.Internal
namespace DCFApixels.DragonECS.Core.Internal
{
#if ENABLE_IL2CPP
using Unity.IL2CPP.CompilerServices;

View File

@ -3,7 +3,6 @@
#endif
using DCFApixels.DragonECS.Core.Internal;
using DCFApixels.DragonECS.Core.Unchecked;
using DCFApixels.DragonECS.Internal;
using System;
using System.Collections;
using System.Collections.Generic;

View File

@ -1,8 +1,8 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.Core.Internal;
using DCFApixels.DragonECS.Core.Unchecked;
using DCFApixels.DragonECS.Internal;
using System;
using System.Collections.Generic;
using System.ComponentModel;

View File

@ -2,7 +2,7 @@
#undef DEBUG
#endif
using DCFApixels.DragonECS.Core;
using DCFApixels.DragonECS.Internal;
using DCFApixels.DragonECS.Core.Internal;
using System;
using System.Collections;
using System.Collections.Generic;

View File

@ -1,7 +1,7 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.Internal;
using DCFApixels.DragonECS.Core.Internal;
using System;
using System.Collections.Generic;
#if DEBUG || !REFLECTION_DISABLED

View File

@ -2,7 +2,7 @@
#undef DEBUG
#endif
using DCFApixels.DragonECS.Core;
using DCFApixels.DragonECS.Internal;
using DCFApixels.DragonECS.Core.Internal;
using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;

View File

@ -3,7 +3,6 @@
#endif
using DCFApixels.DragonECS.Core;
using DCFApixels.DragonECS.Core.Internal;
using DCFApixels.DragonECS.Internal;
using System;
using System.Collections;
using System.Collections.Generic;

View File

@ -2,7 +2,7 @@
#undef DEBUG
#endif
using DCFApixels.DragonECS.Core;
using DCFApixels.DragonECS.Internal;
using DCFApixels.DragonECS.Core.Internal;
using DCFApixels.DragonECS.PoolsCore;
using System;
using System.Collections.Generic;

View File

@ -2,7 +2,7 @@
#undef DEBUG
#endif
using DCFApixels.DragonECS.Core;
using DCFApixels.DragonECS.Internal;
using DCFApixels.DragonECS.Core.Internal;
using DCFApixels.DragonECS.PoolsCore;
using System;
using System.Collections.Generic;

View File

@ -3,7 +3,6 @@
#endif
using DCFApixels.DragonECS.Core;
using DCFApixels.DragonECS.Core.Internal;
using DCFApixels.DragonECS.Internal;
using System;
using System.Collections.Generic;
using System.ComponentModel;
@ -961,7 +960,7 @@ namespace DCFApixels.DragonECS
#endregion
}
namespace DCFApixels.DragonECS.Internal
namespace DCFApixels.DragonECS.Core.Internal
{
#region EcsMaskIteratorUtility
#if ENABLE_IL2CPP

View File

@ -2,7 +2,7 @@
#undef DEBUG
#endif
using DCFApixels.DragonECS.Core;
using DCFApixels.DragonECS.Internal;
using DCFApixels.DragonECS.Core.Internal;
using DCFApixels.DragonECS.RunnersCore;
using System;
using System.Collections.Generic;

View File

@ -1,7 +1,7 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.Internal;
using DCFApixels.DragonECS.Core.Internal;
using DCFApixels.DragonECS.RunnersCore;
using System;
using System.Collections;

View File

@ -1,7 +1,7 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.Internal;
using DCFApixels.DragonECS.Core.Internal;
using DCFApixels.DragonECS.RunnersCore;
using System;
using System.Linq;

View File

@ -2,7 +2,7 @@
#undef DEBUG
#endif
using DCFApixels.DragonECS.Core;
using DCFApixels.DragonECS.Internal;
using DCFApixels.DragonECS.Core.Internal;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;

View File

@ -2,8 +2,8 @@
#undef DEBUG
#endif
using DCFApixels.DragonECS.Core;
using DCFApixels.DragonECS.Core.Internal;
using DCFApixels.DragonECS.Core.Unchecked;
using DCFApixels.DragonECS.Internal;
using DCFApixels.DragonECS.PoolsCore;
using System;
using System.Collections.Generic;

View File

@ -1,7 +1,7 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.Internal;
using DCFApixels.DragonECS.Core.Internal;
using DCFApixels.DragonECS.PoolsCore;
using System;
using System.Linq;

View File

@ -2,7 +2,7 @@
#undef DEBUG
#endif
using DCFApixels.DragonECS.Core;
using DCFApixels.DragonECS.Internal;
using DCFApixels.DragonECS.Core.Internal;
using System;
using System.Collections.Generic;
using System.ComponentModel;

View File

@ -1,14 +1,13 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.Core;
using System;
using System.Runtime.CompilerServices;
#if ENABLE_IL2CPP
using Unity.IL2CPP.CompilerServices;
#endif
namespace DCFApixels.DragonECS.Internal
namespace DCFApixels.DragonECS.Core.Internal
{
#if ENABLE_IL2CPP
[Il2CppSetOption(Option.NullChecks, false)]

View File

@ -1,13 +1,12 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.Core;
using System.Runtime.CompilerServices;
#if ENABLE_IL2CPP
using Unity.IL2CPP.CompilerServices;
#endif
namespace DCFApixels.DragonECS.Internal
namespace DCFApixels.DragonECS.Core.Internal
{
#if ENABLE_IL2CPP
[Il2CppSetOption(Option.NullChecks, false)]

View File

@ -2,7 +2,7 @@
#undef DEBUG
#endif
using DCFApixels.DragonECS.Core;
using DCFApixels.DragonECS.Internal;
using DCFApixels.DragonECS.Core.Internal;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;

View File

@ -2,7 +2,7 @@
#undef DEBUG
#endif
using DCFApixels.DragonECS.Core;
using DCFApixels.DragonECS.Internal;
using DCFApixels.DragonECS.Core.Internal;
using System;
namespace DCFApixels.DragonECS

View File

@ -1,7 +1,7 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.Internal;
using DCFApixels.DragonECS.Core.Internal;
namespace DCFApixels.DragonECS
{

View File

@ -4,7 +4,7 @@
using System;
using System.Runtime.CompilerServices;
namespace DCFApixels.DragonECS.Internal
namespace DCFApixels.DragonECS.Core.Internal
{
internal class InjectionBranch
{

View File

@ -17,7 +17,7 @@ namespace DCFApixels.DragonECS
public abstract void Init(EcsPipeline pipeline);
}
}
namespace DCFApixels.DragonECS.Internal
namespace DCFApixels.DragonECS.Core.Internal
{
internal sealed class InjectionNode<T> : InjectionNodeBase
{

View File

@ -1,7 +1,7 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.Internal;
using DCFApixels.DragonECS.Core.Internal;
using System;
using System.Collections.Generic;
using System.Linq;

View File

@ -1,7 +1,6 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.Internal;
using System;
using System.Runtime.InteropServices;

View File

@ -8,7 +8,7 @@ using System.Runtime.CompilerServices;
using Unity.IL2CPP.CompilerServices;
#endif
namespace DCFApixels.DragonECS.Internal
namespace DCFApixels.DragonECS.Core.Internal
{
internal interface IStructComparer<T> : IComparer<T>
{

View File

@ -1,7 +1,6 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.Core.Internal;
using System;
using System.Collections;
using System.Collections.Generic;
@ -9,7 +8,7 @@ using System.Linq;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace DCFApixels.DragonECS.Internal
namespace DCFApixels.DragonECS.Core.Internal
{
internal interface ILinkedNext
{

View File

@ -6,10 +6,10 @@ using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text.RegularExpressions;
using static DCFApixels.DragonECS.Internal.BitsUtility;
namespace DCFApixels.DragonECS.Internal
namespace DCFApixels.DragonECS.Core.Internal
{
using static BitsUtility;
internal unsafe static class BitsUtility
{
private const char DEFAULT_SEPARATOR = '_';

View File

@ -10,7 +10,7 @@ using System.Runtime.CompilerServices;
using Unity.IL2CPP.CompilerServices;
#endif
namespace DCFApixels.DragonECS.Internal
namespace DCFApixels.DragonECS.Core.Internal
{
//TODO разработать возможность ручного устанавливания ID типам.
//это может быть полезно как детерминированность для сети

View File

@ -7,7 +7,7 @@ using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace DCFApixels.DragonECS.Internal
namespace DCFApixels.DragonECS.Core.Internal
{
#if ENABLE_IL2CPP
using Unity.IL2CPP.CompilerServices;

View File

@ -5,7 +5,7 @@ using System;
using System.Reflection;
using System.Runtime.CompilerServices;
namespace DCFApixels.DragonECS.Internal
namespace DCFApixels.DragonECS.Core.Internal
{
internal static class ReflectionUtility
{

View File

@ -9,7 +9,7 @@ using System.Diagnostics.Contracts;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace DCFApixels.DragonECS.Internal
namespace DCFApixels.DragonECS.Core.Internal
{
#if ENABLE_IL2CPP
using Unity.IL2CPP.CompilerServices;

View File

@ -7,7 +7,7 @@ using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
namespace DCFApixels.DragonECS.Internal
namespace DCFApixels.DragonECS.Core.Internal
{
[DebuggerDisplay("Count: {Count}")]
internal struct StructList<T>

View File

@ -10,7 +10,7 @@ using System.Runtime.CompilerServices;
using Unity.IL2CPP.CompilerServices;
#endif
namespace DCFApixels.DragonECS.Internal
namespace DCFApixels.DragonECS.Core.Internal
{
#if ENABLE_IL2CPP
[Il2CppSetOption(Option.NullChecks, false)]

View File

@ -2,7 +2,7 @@
#undef DEBUG
#endif
using DCFApixels.DragonECS.Core;
using DCFApixels.DragonECS.Internal;
using DCFApixels.DragonECS.Core.Internal;
using DCFApixels.DragonECS.PoolsCore;
using System;
using System.Collections;

View File

@ -1,7 +1,7 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.Internal;
using DCFApixels.DragonECS.Core.Internal;
using DCFApixels.DragonECS.PoolsCore;
using System;
using System.Collections.Generic;
@ -75,7 +75,7 @@ namespace DCFApixels.DragonECS.PoolsCore
#endregion
}
namespace DCFApixels.DragonECS.Internal
namespace DCFApixels.DragonECS.Core.Internal
{
[MetaColor(MetaColor.DragonRose)]
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.POOLS_GROUP)]

View File

@ -2,7 +2,7 @@
#undef DEBUG
#endif
using DCFApixels.DragonECS.Core;
using DCFApixels.DragonECS.Internal;
using DCFApixels.DragonECS.Core.Internal;
using DCFApixels.DragonECS.PoolsCore;
using System;
using System.Collections;

View File

@ -1,7 +1,7 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.Internal;
using DCFApixels.DragonECS.Core.Internal;
using System;
namespace DCFApixels.DragonECS

View File

@ -1,11 +1,9 @@
using DCFApixels.DragonECS.Core.Internal;
using DCFApixels.DragonECS.Internal;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
namespace DCFApixels.DragonECS.Core
{

View File

@ -36,7 +36,7 @@ namespace DCFApixels.DragonECS
}
}
namespace DCFApixels.DragonECS.Internal
namespace DCFApixels.DragonECS.Core.Internal
{
internal static class Throw
{

View File

@ -3,8 +3,8 @@
#endif
#pragma warning disable IDE1006
#pragma warning disable CS8981
using DCFApixels.DragonECS.Core.Internal;
using DCFApixels.DragonECS.Core.Unchecked;
using DCFApixels.DragonECS.Internal;
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;