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.
17 lines
415 B
17 lines
415 B
package org.openrs2.deob.ast.gl
|
|
|
|
import java.nio.file.Files
|
|
import java.nio.file.Path
|
|
import javax.inject.Provider
|
|
|
|
public class GlRegistryProvider : Provider<GlRegistry> {
|
|
override fun get(): GlRegistry {
|
|
return Files.newInputStream(PATH).use { input ->
|
|
GlRegistry.parse(input)
|
|
}
|
|
}
|
|
|
|
private companion object {
|
|
private val PATH = Path.of("share/deob/gl.xml")
|
|
}
|
|
}
|
|
|