RoleQueriesApi
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class RoleQueries
Members list
Value members
Abstract methods
Query the role playing graph for all player instances that do conform to the given matcher.
Query the role playing graph for all player instances that do conform to the given matcher.
Type parameters
- T
-
the type of the player instance to query for
Value parameters
- matcher
-
the matcher that should match the queried player instance in the role playing graph
Attributes
- Returns
-
all player instances as Seq, that do conform to the given matcher
Query the role playing graph for all player instances that do conform to the given function.
Query the role playing graph for all player instances that do conform to the given function.
Type parameters
- T
-
the type of the player instance to query for
Value parameters
- matcher
-
the matching function that should match the queried player instance in the role playing graph
Attributes
- Returns
-
all player instances as Seq, that do conform to the given matcher
Query the role playing graph for all player instances that do conform to the given matcher and return the first found.
Query the role playing graph for all player instances that do conform to the given matcher and return the first found.
Type parameters
- T
-
the type of the player instance to query for
Value parameters
- matcher
-
the matcher that should match the queried player instance in the role playing graph
Attributes
- Returns
-
the first player instance, that does conform to the given matcher or an appropriate error
Query the role playing graph for all player instances that do conform to the given function and return the first found.
Query the role playing graph for all player instances that do conform to the given function and return the first found.
Type parameters
- T
-
the type of the player instance to query for
Value parameters
- matcher
-
the matching function that should match the queried player instance in the role playing graph
Attributes
- Returns
-
the first player instances, that do conform to the given matcher or an appropriate error