-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add Filter extension methods to entity host & query
- Loading branch information
Showing
3 changed files
with
983 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace Sia; | ||
|
||
public delegate bool ComponentFilter<C1>(ref C1 c1); | ||
public delegate bool ComponentFilter<C1, C2>(ref C1 c1, ref C2 c2); | ||
public delegate bool ComponentFilter<C1, C2, C3>(ref C1 c1, ref C2 c2, ref C3 c3); | ||
public delegate bool ComponentFilter<C1, C2, C3, C4>(ref C1 c1, ref C2 c2, ref C3 c3, ref C4 c4); | ||
public delegate bool ComponentFilter<C1, C2, C3, C4, C5>(ref C1 c1, ref C2 c2, ref C3 c3, ref C4 c4, ref C5 c5); | ||
public delegate bool ComponentFilter<C1, C2, C3, C4, C5, C6>(ref C1 c1, ref C2 c2, ref C3 c3, ref C4 c4, ref C5 c5, ref C6 c6); | ||
|
||
public delegate bool DataComponentFilter<TData, C1>(in TData data, ref C1 c1); | ||
public delegate bool DataComponentFilter<TData, C1, C2>(in TData data, ref C1 c1, ref C2 c2); | ||
public delegate bool DataComponentFilter<TData, C1, C2, C3>(in TData data, ref C1 c1, ref C2 c2, ref C3 c3); | ||
public delegate bool DataComponentFilter<TData, C1, C2, C3, C4>(in TData data, ref C1 c1, ref C2 c2, ref C3 c3, ref C4 c4); | ||
public delegate bool DataComponentFilter<TData, C1, C2, C3, C4, C5>(in TData data, ref C1 c1, ref C2 c2, ref C3 c3, ref C4 c4, ref C5 c5); | ||
public delegate bool DataComponentFilter<TData, C1, C2, C3, C4, C5, C6>(in TData data, ref C1 c1, ref C2 c2, ref C3 c3, ref C4 c4, ref C5 c5, ref C6 c6); |
Oops, something went wrong.