runelite-client: add world hopper plugin

Co-authored-by: Adam <Adam@anope.org>
Co-authored-by: psikoi <ruben.amendoeira@gmail.com>
Co-authored-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
Lotto
2018-08-07 19:53:29 +01:00
committed by Adam
parent 40ff55558f
commit 12da232985
17 changed files with 1309 additions and 20 deletions

View File

@@ -1434,7 +1434,14 @@ public interface Client extends GameEngine
*/
void setOculusOrbNormalSpeed(int speed);
/**
* Opens in-game world hopper interface
*/
void openWorldHopper();
void hopToWorld(int world);
/**
* Hops using in-game world hopper widget to another world
* @param world target world to hop to
*/
void hopToWorld(World world);
}

View File

@@ -382,7 +382,10 @@ public enum Varbits
/**
* Corp beast damage
*/
CORP_DAMAGE(999);
CORP_DAMAGE(999),
WORLDHOPPER_FAVROITE_1(4597),
WORLDHOPPER_FAVROITE_2(4598);
/**
* The raw varbit ID.