This commit is contained in:
Mikhail 2024-11-05 16:08:51 +08:00
parent f2df21bcdc
commit f813257f28
2 changed files with 14 additions and 4 deletions

View File

@ -1,9 +1,10 @@
using System; using DCFApixels.DragonECS.Core;
using System;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
namespace DCFApixels.DragonECS namespace DCFApixels.DragonECS
{ {
public class EcsJoinExecutor : EcsQueryExecutor, IEcsWorldEventListener public class EcsJoinExecutor : MaskQueryExecutor, IEcsWorldEventListener
{ {
private long _lastWorldVersion; private long _lastWorldVersion;
@ -13,6 +14,10 @@ namespace DCFApixels.DragonECS
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
get => _lastWorldVersion; get => _lastWorldVersion;
} }
public override bool IsCached
{
get { throw new NotImplementedException(); }
}
#endregion #endregion
#region Callbacks #region Callbacks

View File

@ -1,4 +1,5 @@
using DCFApixels.DragonECS.Graphs.Internal; using DCFApixels.DragonECS.Core;
using DCFApixels.DragonECS.Graphs.Internal;
using DCFApixels.DragonECS.UncheckedCore; using DCFApixels.DragonECS.UncheckedCore;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
@ -6,7 +7,7 @@ using System.Runtime.CompilerServices;
namespace DCFApixels.DragonECS namespace DCFApixels.DragonECS
{ {
public sealed class EcsJoinToSubGraphExecutor : EcsQueryExecutor, IEcsWorldEventListener public sealed class EcsJoinToSubGraphExecutor : MaskQueryExecutor, IEcsWorldEventListener
{ {
private EntityLinkedList _linkedList; private EntityLinkedList _linkedList;
private Basket[] _baskets; private Basket[] _baskets;
@ -33,6 +34,10 @@ namespace DCFApixels.DragonECS
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
get { return _graph; } get { return _graph; }
} }
public override bool IsCached
{
get { throw new NotImplementedException(); }
}
#endregion #endregion
#region OnInitialize/OnDestroy #region OnInitialize/OnDestroy