规范命名空间

具体来说就是 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,18 +1,18 @@
using System;
using System.Collections.Generic;
using SepCore.Definition;
using Entity.EntityData;
using SepCore.Entity;
using UnityGameFramework.Runtime;
using SepCore.DataTable;
using CustomUtility;
using SepCore.CustomUtility;
namespace Entity
namespace SepCore.Entity
{
public static class EntityExtension
{
private static int s_SerialId = -10;
private const string EntityNamespace = "Entity.";
private const string EntityNamespace = "SepCore.Entity.";
private static readonly Dictionary<string, Type> _typeDict;
private static readonly Dictionary<int, string> _assetNameDict;
@@ -180,9 +180,9 @@ namespace Entity
return assetName;
}
public static int GenerateSerialId(this EntityComponent entityComponent)
public static int NextId(this EntityComponent entityComponent)
{
return --s_SerialId;
}
}
}
}