I need to use new-style declarations in my callback function here, but I can't for the life of me figure out what's wrong with it. Any help would be appreciated.
PHP Code:
HTTPRequestHandle hPost = Steam_CreateHTTPRequest(HTTPMethod_POST, "http://192.168.1.12:3000/api/matchover");
Steam_SetHTTPRequestGetOrPostParameter( hPost, "matchid", "5" );
Steam_SetHTTPRequestGetOrPostParameter( hPost, "winningteam", "testing" );
Steam_SendHTTPRequest( hPost, HTTPRequestComplete );
public HTTPRequestComplete(HTTPRequestHandle HTTPRequest, bool requestSuccessful, HTTPStatusCode statusCode) {
ServerCommand("endmatch");
return;
}