[This is preliminary documentation and is subject to change.]
Selects the next player to teleport to while patroling.
Includes additional inclusion check (predicate).
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)
Syntax
| C# |
Parameters
- observer
- Player
Player who is patrolling.
- predicate
- Predicate<(Of <(<'Player>)>)>
Additional inclusion check for patrol targets. Applied after the standard checks. Allows filtering out unwanted players.
- setLastPatrolTime
- Boolean
Whether to set target's LastPatrolTime.
Return Value
Player who has been selected to be patrolled.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | observer or predicate is null. |