Mirror of Svelto.ECS because we're a fan of it
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
465B

  1. using Svelto.DataStructures;
  2. namespace Svelto.ECS
  3. {
  4. public interface IEngineNodeDB
  5. {
  6. ReadOnlyDictionary<int, T> QueryIndexableNodes<T>();
  7. bool TryQueryNode<T>(int ID, out T node);
  8. T QueryNode<T>(int ID);
  9. FasterReadOnlyList<T> QueryNodes<T>();
  10. bool TryQueryMetaNode<T>(int metaEntityID, out T node);
  11. T QueryMetaNode<T>(int metaEntityID);
  12. FasterReadOnlyList<T> QueryMetaNodes<T>();
  13. }
  14. }