Use named parameters for clarity in Deobfuscator

bzip2
Graham 5 years ago
parent 15e9636b79
commit 5c367073c0
  1. 12
      deob/src/main/java/dev/openrs2/deob/Deobfuscator.kt

@ -67,18 +67,18 @@ class Deobfuscator(private val input: Path, private val output: Path) {
val runtime = ClassLoader.getPlatformClassLoader()
val classPath = ClassPath(
runtime,
listOf(),
listOf(client, loader, signLink, unpack, unpacker)
dependencies = listOf(),
libraries = listOf(client, loader, signLink, unpack, unpacker)
)
val glClassPath = ClassPath(
runtime,
listOf(gl, glDri),
listOf(glClient, glLoader, glSignLink, glUnpack, glUnpacker)
dependencies = listOf(gl, glDri),
libraries = listOf(glClient, glLoader, glSignLink, glUnpack, glUnpacker)
)
val unsignedClassPath = ClassPath(
runtime,
listOf(),
listOf(unsignedClient)
dependencies = listOf(),
libraries = listOf(unsignedClient)
)
// deobfuscate

Loading…
Cancel
Save