规范命名空间

具体来说就是 SepCore 开头,然后接所属的模块名,比如 SepCore.Entity,SepCore.Simulation,SepCore.Procedure
This commit is contained in:
SepComet
2026-06-03 16:57:40 +08:00
parent 5de3fdc795
commit edd7088804
210 changed files with 461 additions and 547 deletions
@@ -1,7 +1,7 @@
using Unity.Mathematics;
using UnityEngine;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -1,6 +1,6 @@
using Unity.Mathematics;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -1,7 +1,7 @@
using System.Collections.Generic;
using Unity.Collections;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -1,7 +1,7 @@
using Unity.Mathematics;
using UnityEngine;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -2,7 +2,7 @@ using System;
using Unity.Collections;
using Unity.Mathematics;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -1,6 +1,6 @@
using UnityEngine;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -1,6 +1,6 @@
using System.Collections.Generic;
namespace Simulation
namespace SepCore.Simulation
{
public sealed class EntityBinding
{
@@ -1,4 +1,4 @@
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -1,6 +1,6 @@
using UnityEngine;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -3,7 +3,7 @@ using Unity.Collections;
using Unity.Jobs;
using Unity.Mathematics;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -1,4 +1,4 @@
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -1,6 +1,6 @@
using Unity.Mathematics;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -1,6 +1,6 @@
using Unity.Mathematics;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -1,6 +1,6 @@
using Unity.Mathematics;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -3,7 +3,7 @@ using Unity.Collections;
using Unity.Jobs;
using Unity.Mathematics;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -3,7 +3,7 @@ using Unity.Collections;
using Unity.Jobs;
using Unity.Mathematics;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -1,6 +1,6 @@
using Unity.Mathematics;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -1,6 +1,6 @@
using Unity.Mathematics;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -3,7 +3,7 @@ using Unity.Collections;
using Unity.Jobs;
using Unity.Mathematics;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -3,7 +3,7 @@ using Unity.Collections;
using Unity.Jobs;
using Unity.Mathematics;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -1,12 +1,12 @@
using CustomDebugger;
using Entity;
using SepCore.Debugger;
using SepCore.Entity;
using Unity.Burst;
using Unity.Collections;
using Unity.Jobs;
using Unity.Mathematics;
using UnityEngine;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -1,4 +1,4 @@
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -1,10 +1,10 @@
using SepCore.Event;
using SepCore.Definition;
using Entity;
using Entity.Weapon;
using SepCore.Entity;
using SepCore.Entity.Weapon;
using UnityEngine;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -1,8 +1,8 @@
using Entity;
using Entity.Weapon;
using SepCore.Entity;
using SepCore.Entity.Weapon;
using UnityEngine;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -1,11 +1,11 @@
using Components;
using CustomDebugger;
using CustomUtility;
using SepCore.Components;
using SepCore.Debugger;
using SepCore.CustomUtility;
using SepCore.Definition;
using Entity;
using SepCore.Entity;
using UnityEngine;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -1,10 +1,10 @@
using CustomDebugger;
using SepCore.Debugger;
using Unity.Collections;
using Unity.Jobs;
using Unity.Mathematics;
using UnityEngine;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -3,7 +3,7 @@ using Unity.Jobs;
using Unity.Mathematics;
using UnityEngine;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -1,11 +1,10 @@
using SepCore.Event;
using Entity;
using Entity.EntityData;
using Entity.Weapon;
using SepCore.Entity;
using SepCore.Entity.Weapon;
using GameFramework.Event;
using UnityEngine;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -124,7 +123,7 @@ namespace Simulation
return;
}
EffectData effectData = new EffectData(entityComponent.GenerateSerialId(), effectTypeId)
EffectData effectData = new EffectData(entityComponent.NextId(), effectTypeId)
{
Position = args.HitPosition
};
@@ -1,6 +1,6 @@
using UnityEngine;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -1,7 +1,7 @@
using Entity;
using SepCore.Entity;
using UnityEngine;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -1,6 +1,6 @@
using UnityEngine;
namespace Simulation
namespace SepCore.Simulation
{
public struct EnemySimData
{
@@ -1,6 +1,6 @@
using UnityEngine;
namespace Simulation
namespace SepCore.Simulation
{
public struct PickupSimData
{
@@ -1,6 +1,6 @@
using UnityEngine;
namespace Simulation
namespace SepCore.Simulation
{
public struct ProjectileSimData
{
@@ -1,6 +1,6 @@
using UnityEngine;
namespace Simulation
namespace SepCore.Simulation
{
public readonly struct SimulationTickContext
{
@@ -1,8 +1,8 @@
using Entity;
using SepCore.Entity;
using GameFramework.Event;
using UnityGameFramework.Runtime;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -1,9 +1,8 @@
using Components;
using Entity;
using Entity.EntityData;
using SepCore.Components;
using SepCore.Entity;
using UnityEngine;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -1,6 +1,6 @@
using UnityEngine;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -5,7 +5,7 @@ using Unity.Jobs;
using Unity.Mathematics;
using UnityEngine;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -1,7 +1,6 @@
using Entity;
using Entity.EntityData;
using SepCore.Entity;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -1,8 +1,8 @@
using CustomDebugger;
using SepCore.Debugger;
using Unity.Collections;
using UnityEngine;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld
{
@@ -1,9 +1,9 @@
using System.Collections.Generic;
using CustomDebugger;
using SepCore.Debugger;
using UnityEngine;
using UnityGameFramework.Runtime;
namespace Simulation
namespace SepCore.Simulation
{
public sealed partial class SimulationWorld : GameFrameworkComponent
{