Graham
ce5b76ef0f
Rename dev.openrs2 package to org.openrs2
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
232ba32bbd
Enable explicit API mode
...
This already caught some cases of public members that should have been
private and one case where the inferred type was too specific.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
ccf7056a93
Use private companion objects where possible
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
7e422447ef
Convert hasCode() to a property
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
cf3474c016
Convert createIntConstant to an extension method on Int
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
05a03d5bdc
Inject transformers in the bundler and deobfuscator
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
626cbacc06
Remove colons from debug log messages for consistency
4 years ago
Graham
64abe46971
Replace forEach calls with for loops
...
These are artifacts of the Java port.
4 years ago
Graham
5038d1d671
Replace ByteStreams with Kotlin extension method
4 years ago
Graham
250062a72f
Set buffer size to 65,536 bytes
...
Although this is one byte larger than it needs to be to hold the largest
possible packet, I think using a power of two is nicer.
4 years ago
Graham
6e9a7f36ef
Convert RightClickTransformer to Kotlin
4 years ago