ACR_ServerCommunicator.ACR_ServerCommunicator.GetPlayerByFirstName C# (CSharp) Method

GetPlayerByFirstName() private method

Get a global player by (ambiguous) first name lookup. Note that only locally resolveable players can be searched with the ambiguous lookup mode.
private GetPlayerByFirstName ( string FirstName ) : ACR_ServerCommunicator.GamePlayer
FirstName string Supplies the first name to search for. ///
return ACR_ServerCommunicator.GamePlayer
        private GamePlayer GetPlayerByFirstName(string FirstName)
        {
            uint LocalPlayerObject = GetLocalPlayerByFirstName(FirstName);

            if (LocalPlayerObject != OBJECT_INVALID)
                return WorldManager.ReferencePlayerById(GetDatabase().ACR_GetPlayerID(LocalPlayerObject), GetDatabase());

            return null;
        }
ACR_ServerCommunicator