forked from openrs2/openrs2
parent
3c9edb0291
commit
6d6287c917
@ -0,0 +1,15 @@ |
||||
package dev.openrs2.deob.ast.gl |
||||
|
||||
import javax.inject.Provider |
||||
|
||||
class GlRegistryProvider : Provider<GlRegistry> { |
||||
override fun get(): GlRegistry { |
||||
GlRegistryProvider::class.java.getResourceAsStream(PATH).use { input -> |
||||
return GlRegistry.parse(input) |
||||
} |
||||
} |
||||
|
||||
companion object { |
||||
private const val PATH = "/dev/openrs2/deob/ast/gl.xml" |
||||
} |
||||
} |
Loading…
Reference in new issue