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 runtime = ClassLoader.getPlatformClassLoader()
val classPath = ClassPath( val classPath = ClassPath(
runtime, runtime,
listOf(), dependencies = listOf(),
listOf(client, loader, signLink, unpack, unpacker) libraries = listOf(client, loader, signLink, unpack, unpacker)
) )
val glClassPath = ClassPath( val glClassPath = ClassPath(
runtime, runtime,
listOf(gl, glDri), dependencies = listOf(gl, glDri),
listOf(glClient, glLoader, glSignLink, glUnpack, glUnpacker) libraries = listOf(glClient, glLoader, glSignLink, glUnpack, glUnpacker)
) )
val unsignedClassPath = ClassPath( val unsignedClassPath = ClassPath(
runtime, runtime,
listOf(), dependencies = listOf(),
listOf(unsignedClient) libraries = listOf(unsignedClient)
) )
// deobfuscate // deobfuscate

Loading…
Cancel
Save