mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 09:54:35 +08:00
18 lines
422 B
C#
18 lines
422 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace DCFApixels.DragonECS
|
|
{
|
|
public interface IEcsTableMember
|
|
{
|
|
public int PoolID { get; }
|
|
}
|
|
public interface IEcsMemberCachePool<TSelf, T> : IEcsTableMember
|
|
where TSelf: struct, IEcsTableMember
|
|
where T :struct
|
|
{
|
|
public EcsPool<T> Pool { get; }
|
|
public void Inject(out TSelf self, EcsPool<T> pool);
|
|
}
|
|
}
|