client: add setters for selected spells and items (#1634)
* client: add setters for selected spells and items (thanks to Skitzo the absolute beast.) * deob: change "changeSpellFlag" method name to "selectSpell" * deob: export "selectSpell" for tests.
This commit is contained in:
@@ -1236,7 +1236,8 @@ public final class Client extends GameShell implements Usernamed {
|
||||
@ObfuscatedGetter(
|
||||
intValue = -465859219
|
||||
)
|
||||
static int field687;
|
||||
@Export("selectedSpellChildIndex")
|
||||
static int selectedSpellChildIndex;
|
||||
@ObfuscatedName("ml")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1436921851
|
||||
@@ -1410,7 +1411,7 @@ public final class Client extends GameShell implements Usernamed {
|
||||
isItemSelected = 0;
|
||||
selectedItemName = null;
|
||||
isSpellSelected = false;
|
||||
field687 = -1;
|
||||
selectedSpellChildIndex = -1;
|
||||
field648 = -1;
|
||||
selectedSpellActionName = null;
|
||||
selectedSpellName = null;
|
||||
|
||||
Reference in New Issue
Block a user