fCraft.PlayerDB.FindOneByPartialName C# (CSharp) Method

FindOneByPartialName() static private method

Searches for player names starting with namePart, returning just one or none of the matches.
static private FindOneByPartialName ( [ partialName, [ result ) : bool
partialName [ Partial or full player name.
result [ PlayerInfo to output (will be set to null if no single match was found).
return bool
        internal static bool FindOneByPartialName( [NotNull] string partialName, [CanBeNull] out PlayerInfo result ) {
            if( partialName == null ) throw new ArgumentNullException( "partialName" );
            CheckIfLoaded();
            return provider.FindOneByPartialName( partialName, out result );
        }