Open-source multiplayer game server compatible with the RuneScape client
https://www.openrs2.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
538 B
19 lines
538 B
package org.openrs2.archive.key
|
|
|
|
import java.net.http.HttpClient
|
|
import javax.inject.Inject
|
|
import javax.inject.Singleton
|
|
|
|
@Singleton
|
|
public class OpenOsrsKeyDownloader @Inject constructor(
|
|
client: HttpClient,
|
|
jsonKeyReader: JsonKeyReader
|
|
) : JsonKeyDownloader(KeySource.OPENOSRS, client, jsonKeyReader) {
|
|
override suspend fun getMissingUrls(seenUrls: Set<String>): Set<String> {
|
|
return setOf(ENDPOINT)
|
|
}
|
|
|
|
private companion object {
|
|
private const val ENDPOINT = "https://xtea.openosrs.dev/get"
|
|
}
|
|
}
|
|
|