[This is preliminary documentation and is subject to change.]
Searches for player names starting with namePart.
If exactly one player matched, returns the corresponding PlayerInfo object.
If name format is incorrect, or if no matches were found, an appropriate message is printed to the player.
If multiple players were found matching the partialName, first 25 matches are printed.
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.1 (0.6.3.1)
Syntax
| C# |
[CanBeNullAttribute] public static PlayerInfo FindPlayerInfoOrPrintMatches( Player player, string partialName )