private sendScore ( int tempScore, |
||
tempScore | int | |
tempSong | ||
tempUser | ||
tempGenre | int | |
Результат | void |
private void sendScore(int tempScore, SongParameters tempSong, UserToken tempUser, int tempGenre)
{
if (server.Test())
{
if (tempScore > 0) server.SendRequest(new BBRequest(tempSong, true, tempUser));
else if (tempScore < 0) server.SendRequest(new BBRequest(tempSong, false, tempUser));
createRedditThreads();
if (!this.IsDisposed) this.Invoke((MethodInvoker)delegate { this.Invalidate(); });
}
}