using Svelto.DataStructures; namespace Svelto.ECS { public interface IEngineNodeDB { FasterReadOnlyList QueryNodes(); FasterReadOnlyList QueryMetaNodes(); FasterReadOnlyList QueryGroupedNodes(int group); T[] QueryNodesAsArray(out int count) where T:struct; ReadOnlyDictionary QueryIndexableNodes() where T:NodeWithID; bool TryQueryNode(int ID, out T node) where T:NodeWithID; T QueryNode(int ID) where T:NodeWithID; bool TryQueryMetaNode(int metaEntityID, out T node) where T:NodeWithID; T QueryMetaNode(int metaEntityID) where T:NodeWithID; } }