mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 18:14:37 +08:00
add metaIDs
This commit is contained in:
parent
acf0e876f3
commit
9beed277b3
@ -8,6 +8,7 @@ namespace DCFApixels.DragonECS
|
||||
[MetaColor(MetaColor.DragonRose)]
|
||||
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.PROCESSES_GROUP)]
|
||||
[MetaDescription(EcsConsts.AUTHOR, "The process to run when EcsPipeline.Init() is called. Before Init")]
|
||||
[MetaID("DE26527C92015AFDD4ECF4D81A4C946B")]
|
||||
public interface IEcsPreInit : IEcsProcess
|
||||
{
|
||||
void PreInit();
|
||||
@ -16,6 +17,7 @@ namespace DCFApixels.DragonECS
|
||||
[MetaColor(MetaColor.DragonRose)]
|
||||
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.PROCESSES_GROUP)]
|
||||
[MetaDescription(EcsConsts.AUTHOR, "The process to run when EcsPipeline.Init() is called. After PreInit")]
|
||||
[MetaID("CC45527C9201DF82DCAAAEF33072F9EF")]
|
||||
public interface IEcsInit : IEcsProcess
|
||||
{
|
||||
void Init();
|
||||
@ -24,6 +26,7 @@ namespace DCFApixels.DragonECS
|
||||
[MetaColor(MetaColor.DragonRose)]
|
||||
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.PROCESSES_GROUP)]
|
||||
[MetaDescription(EcsConsts.AUTHOR, "The process to run when EcsPipeline.Run() is called.")]
|
||||
[MetaID("9654527C9201BE75546322B9BB03C131")]
|
||||
public interface IEcsRun : IEcsProcess
|
||||
{
|
||||
void Run();
|
||||
@ -32,6 +35,7 @@ namespace DCFApixels.DragonECS
|
||||
[MetaColor(MetaColor.DragonRose)]
|
||||
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.PROCESSES_GROUP)]
|
||||
[MetaDescription(EcsConsts.AUTHOR, "The process to run when EcsPipeline.Destroy() is called.")]
|
||||
[MetaID("4661527C9201EE669C6EB61B19899AE5")]
|
||||
public interface IEcsDestroy : IEcsProcess
|
||||
{
|
||||
void Destroy();
|
||||
@ -49,6 +53,7 @@ namespace DCFApixels.DragonECS.Internal
|
||||
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.PROCESSES_GROUP)]
|
||||
[MetaDescription(EcsConsts.AUTHOR, "...")]
|
||||
[MetaTags(MetaTags.HIDDEN)]
|
||||
[MetaID("3273527C9201285BAA0A463F700A50FB")]
|
||||
internal sealed class EcsPreInitRunner : EcsRunner<IEcsPreInit>, IEcsPreInit
|
||||
{
|
||||
#if DEBUG && !DISABLE_DEBUG
|
||||
@ -107,6 +112,7 @@ namespace DCFApixels.DragonECS.Internal
|
||||
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.PROCESSES_GROUP)]
|
||||
[MetaDescription(EcsConsts.AUTHOR, "...")]
|
||||
[MetaTags(MetaTags.HIDDEN)]
|
||||
[MetaID("ED85527C9201A391AB8EC0B734917859")]
|
||||
internal sealed class EcsInitRunner : EcsRunner<IEcsInit>, IEcsInit
|
||||
{
|
||||
#if DEBUG && !DISABLE_DEBUG
|
||||
@ -162,6 +168,7 @@ namespace DCFApixels.DragonECS.Internal
|
||||
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.PROCESSES_GROUP)]
|
||||
[MetaDescription(EcsConsts.AUTHOR, "...")]
|
||||
[MetaTags(MetaTags.HIDDEN)]
|
||||
[MetaID("2098527C9201F260C840BFD50BC7E0BA")]
|
||||
internal sealed class EcsRunRunner : EcsRunner<IEcsRun>, IEcsRun
|
||||
{
|
||||
#if DEBUG && !DISABLE_DEBUG
|
||||
@ -217,6 +224,7 @@ namespace DCFApixels.DragonECS.Internal
|
||||
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.PROCESSES_GROUP)]
|
||||
[MetaDescription(EcsConsts.AUTHOR, "...")]
|
||||
[MetaTags(MetaTags.HIDDEN)]
|
||||
[MetaID("06A6527C92010430ACEB3DA520F272CC")]
|
||||
internal sealed class EcsDestroyRunner : EcsRunner<IEcsDestroy>, IEcsDestroy
|
||||
{
|
||||
#if DEBUG && !DISABLE_DEBUG
|
||||
|
@ -7,6 +7,7 @@ namespace DCFApixels.DragonECS
|
||||
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.WORLDS_GROUP)]
|
||||
[MetaDescription(EcsConsts.AUTHOR, "Inherits EcsWorld without extending its functionality and is used for specific injections. Can be used to store regular game entities, can also be used as a single world in the game for all entities.")]
|
||||
[DebuggerTypeProxy(typeof(DebuggerProxy))]
|
||||
[MetaID("4EE3527C92015BAB0299CB7B4E2663D1")]
|
||||
public sealed class EcsDefaultWorld : EcsWorld, IInjectionUnit
|
||||
{
|
||||
public EcsDefaultWorld(EcsWorldConfig config, short worldID = -1) : base(config, worldID) { }
|
||||
@ -18,6 +19,7 @@ namespace DCFApixels.DragonECS
|
||||
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.WORLDS_GROUP)]
|
||||
[MetaDescription(EcsConsts.AUTHOR, "Inherits EcsWorld without extending its functionality and is used for specific injections. Can be used to store event entities.")]
|
||||
[DebuggerTypeProxy(typeof(DebuggerProxy))]
|
||||
[MetaID("D7CE527C920160BCD765EFA72DBF8B89")]
|
||||
public sealed class EcsEventWorld : EcsWorld, IInjectionUnit
|
||||
{
|
||||
public EcsEventWorld(EcsWorldConfig config, short worldID = -1) : base(config, worldID) { }
|
||||
|
@ -15,6 +15,7 @@ namespace DCFApixels.DragonECS
|
||||
[MetaColor(MetaColor.DragonRose)]
|
||||
[MetaGroup(PACK_GROUP, OTHER_GROUP)]
|
||||
[MetaDescription(AUTHOR, "...")]
|
||||
[MetaID("F064557C92010419AB677453893D00AE")]
|
||||
public interface IEcsPipelineMember : IEcsProcess
|
||||
{
|
||||
EcsPipeline Pipeline { get; set; }
|
||||
@ -23,6 +24,7 @@ namespace DCFApixels.DragonECS
|
||||
[MetaColor(MetaColor.DragonRose)]
|
||||
[MetaGroup(PACK_GROUP, OTHER_GROUP)]
|
||||
[MetaDescription(AUTHOR, "Container and engine for systems. Responsible for configuring the execution order of systems, providing a mechanism for messaging between systems, and a dependency injection mechanism.")]
|
||||
[MetaID("9F5A557C9201C5C3D9BCAC2FF1CC07D4")]
|
||||
public sealed partial class EcsPipeline
|
||||
{
|
||||
private readonly IConfigContainer _configs;
|
||||
|
@ -10,6 +10,7 @@ namespace DCFApixels.DragonECS
|
||||
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.OTHER_GROUP)]
|
||||
[MetaDescription(EcsConsts.AUTHOR, "...")]
|
||||
[MetaTags(MetaTags.HIDDEN)]
|
||||
[MetaID("EF8A557C9201E6F04D4A76DC670BDE19")]
|
||||
public interface IEcsProcess : IEcsMember { }
|
||||
|
||||
namespace RunnersCore
|
||||
@ -61,6 +62,7 @@ namespace DCFApixels.DragonECS
|
||||
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.OTHER_GROUP)]
|
||||
[MetaDescription(EcsConsts.AUTHOR, "...")]
|
||||
[MetaTags(MetaTags.HIDDEN)]
|
||||
[MetaID("E49B557C92010E46DF1602972BC988BC")]
|
||||
public interface IEcsRunner : IEcsProcess
|
||||
{
|
||||
EcsPipeline Pipeline { get; }
|
||||
@ -73,6 +75,7 @@ namespace DCFApixels.DragonECS
|
||||
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.OTHER_GROUP)]
|
||||
[MetaDescription(EcsConsts.AUTHOR, "...")]
|
||||
[MetaTags(MetaTags.HIDDEN)]
|
||||
[MetaID("7DB3557C9201F85E0E1C17D7B19D9CEE")]
|
||||
public abstract class EcsRunner<TProcess> : EcsRunner, IEcsRunner, IEcsProcess
|
||||
where TProcess : IEcsProcess
|
||||
{
|
||||
|
@ -38,6 +38,7 @@ namespace DCFApixels.DragonECS
|
||||
[MetaColor(MetaColor.DragonRose)]
|
||||
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.WORLDS_GROUP)]
|
||||
[MetaDescription(EcsConsts.AUTHOR, "It is a container for entities and components.")]
|
||||
[MetaID("AEF3557C92019C976FC48F90E95A9DA6")]
|
||||
[DebuggerTypeProxy(typeof(DebuggerProxy))]
|
||||
public partial class EcsWorld : IEntityStorage, IEcsMember
|
||||
{
|
||||
|
@ -4,6 +4,7 @@
|
||||
[MetaColor(MetaColor.DragonRose)]
|
||||
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.DI_GROUP)]
|
||||
[MetaDescription(EcsConsts.AUTHOR, "The interface of the dependency injection process.")]
|
||||
[MetaID("4C86537C92019AA24383CBF53CBD456C")]
|
||||
public interface IEcsInject<T> : IEcsProcess
|
||||
{
|
||||
void Inject(T obj);
|
||||
@ -12,6 +13,7 @@
|
||||
[MetaColor(MetaColor.DragonRose)]
|
||||
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.DI_GROUP)]
|
||||
[MetaDescription(EcsConsts.AUTHOR, "The process interface that signals the completion of injection during pipeline initialization via the EcsPipeline.Init() method.")]
|
||||
[MetaID("05C3537C920155AFC044C900E4F17D90")]
|
||||
public interface IOnInitInjectionComplete : IEcsProcess
|
||||
{
|
||||
void OnInitInjectionComplete();
|
||||
|
@ -14,6 +14,7 @@ namespace DCFApixels.DragonECS
|
||||
[MetaColor(MetaColor.DragonRose)]
|
||||
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.POOLS_GROUP)]
|
||||
[MetaDescription(EcsConsts.AUTHOR, "Standard component.")]
|
||||
[MetaID("84D2537C9201D6F6B92FEC1C8883A07A")]
|
||||
public interface IEcsComponent : IEcsMember { }
|
||||
|
||||
/// <summary>Pool for IEcsComponent components</summary>
|
||||
@ -23,6 +24,7 @@ namespace DCFApixels.DragonECS
|
||||
[MetaColor(MetaColor.DragonRose)]
|
||||
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.POOLS_GROUP)]
|
||||
[MetaDescription(EcsConsts.AUTHOR, "Pool for IEcsComponent components.")]
|
||||
[MetaID("C501547C9201A4B03FC25632E4FAAFD7")]
|
||||
public sealed class EcsPool<T> : IEcsPoolImplementation<T>, IEcsStructPool<T>, IEnumerable<T> //IEnumerable<T> - IntelliSense hack
|
||||
where T : struct, IEcsComponent
|
||||
{
|
||||
|
@ -52,6 +52,7 @@ namespace DCFApixels.DragonECS.Internal
|
||||
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.POOLS_GROUP)]
|
||||
[MetaDescription(EcsConsts.AUTHOR, "A placeholder type, an instance of this type replaces the null ref.")]
|
||||
[MetaTags(MetaTags.HIDDEN)]
|
||||
[MetaID("460E547C9201227A4956AC297F67B484")]
|
||||
public sealed class EcsNullPool : IEcsPoolImplementation<NullComponent>
|
||||
{
|
||||
public static readonly EcsNullPool instance = new EcsNullPool();
|
||||
|
@ -16,6 +16,7 @@ namespace DCFApixels.DragonECS
|
||||
[MetaColor(MetaColor.DragonRose)]
|
||||
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.POOLS_GROUP)]
|
||||
[MetaDescription(EcsConsts.AUTHOR, "Tag component or component without data.")]
|
||||
[MetaID("8D3E547C92013C6A2C2DFC8D2F1FA297")]
|
||||
public interface IEcsTagComponent : IEcsMember { }
|
||||
|
||||
/// <summary> Pool for IEcsTagComponent components. </summary>
|
||||
@ -25,6 +26,7 @@ namespace DCFApixels.DragonECS
|
||||
[MetaColor(MetaColor.DragonRose)]
|
||||
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.POOLS_GROUP)]
|
||||
[MetaDescription(EcsConsts.AUTHOR, "Pool for IEcsTagComponent components. EcsTagPool is optimized for storing tag components or components without data.")]
|
||||
[MetaID("9D80547C9201E852E4F17324EAC1E15A")]
|
||||
public sealed class EcsTagPool<T> : IEcsPoolImplementation<T>, IEcsStructPool<T>, IEnumerable<T> //IEnumerable<T> - IntelliSense hack
|
||||
where T : struct, IEcsTagComponent
|
||||
{
|
||||
|
@ -6,6 +6,7 @@ namespace DCFApixels.DragonECS
|
||||
[Serializable]
|
||||
[DataContract]
|
||||
[MetaTags(MetaTags.HIDDEN)]
|
||||
[MetaID("128D547C9201EEAC49B05F89E4A253DF")]
|
||||
public class EcsPipelineTemplate : IEcsModule
|
||||
{
|
||||
[DataMember] public string[] layers;
|
||||
|
Loading…
Reference in New Issue
Block a user