[This is preliminary documentation and is subject to change.]
Filters a collection of players, leaving only those who have the given permission.
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.0 (0.6.3.0)
Syntax
| C# |
public static IEnumerable<Player> Can( this IEnumerable<Player> source, Permission permission )
Parameters
- source
- IEnumerable<(Of <(<'Player>)>)>
Original collection of players. Will not get modified.
- permission
- Permission
Permission that players are required to have.