Class GameEngine

java.lang.Object
com.valhalla.sdk.api.GameEngine

public final class GameEngine extends Object
Compile-time API surface. Implementations are supplied by the Android payload.
  • Method Details

    • getLocalPlayer

      public static LocalPlayer getLocalPlayer()
    • getCapabilities

      public static Set<String> getCapabilities()
    • getPlayers

      public static List<Player> getPlayers()
    • getNpcs

      public static List<Npc> getNpcs()
    • getGameObjects

      public static List<SceneObject> getGameObjects()
    • getGroundItems

      public static List<GroundItem> getGroundItems()
    • getInventoryItems

      public static List<Item> getInventoryItems()
    • getWidgets

      public static List<Widget> getWidgets()
    • getCollisionMap

      public static Optional<CollisionMap> getCollisionMap()
    • getBankSnapshot

      public static BankSnapshot getBankSnapshot()
    • bankAction

      public static boolean bankAction(String operation, int id, int amount, int slot, String text)
    • getSceneBase

      public static Tile getSceneBase()
    • isLoggedIn

      public static boolean isLoggedIn()
    • isActionReady

      public static boolean isActionReady()
    • isTileLoaded

      public static boolean isTileLoaded(Tile tile)
    • interactObject

      public static boolean interactObject(int id, Tile tile, int action)
    • interactGroundItem

      public static boolean interactGroundItem(int id, Tile tile, int action)
    • walk

      public static boolean walk(Tile tile)
    • hopWorld

      public static boolean hopWorld(int world)