Метод | Описание | |
---|---|---|
__construct ( $request ) | Init database, sanitize parameters, and check if worker is valid |
Метод | Описание | |
---|---|---|
botFile ( ) | Allow workers to download and post bot files | |
botHash ( ) | Allow workers to get the hash of a bot file so that they know that they downloaded the file correctly | |
compile ( ) | Allow worker to post the result of their compilation | |
game ( ) | Allow workers to post the result of their game | |
task ( ) | Delegate a task to a workers |
Метод | Описание | |
---|---|---|
getAPIKey ( ) | ||
getTrueskillMatchQuality ( $rankingValues ) | ||
isValidWorker ( ) | Checks HTTP parameters and request IP to make sure that the client provided a valid API key |
public __construct ( $request ) |
protected botHash ( ) |
protected compile ( ) |