private bool OnRequestScore(RequestScore signal) { signal.requester.SetScore(_currentScore); return(true); }
/// <summary> /// Sends a request for the score of a single song. /// /// The response will contain a single SongParameters item with the song and it's score /// </summary> /// <param name="song">Song to check the score of</param> /// <param name="userInfo">The user authentication token</param> public BBRequest(SongParameters song, UserToken userInfo) { requestType = new RequestScore(song, userInfo); }