Package com.valhalla.sdk.api
Class GameEngine
java.lang.Object
com.valhalla.sdk.api.GameEngine
Compile-time API surface. Implementations are supplied by the Android payload.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanbankAction(String operation, int id, int amount, int slot, String text) static BankSnapshotstatic Optional<CollisionMap> static List<SceneObject> static List<GroundItem> static LocalPlayergetNpcs()static Tilestatic booleanhopWorld(int world) static booleaninteractGroundItem(int id, Tile tile, int action) static booleaninteractObject(int id, Tile tile, int action) static booleanstatic booleanstatic booleanisTileLoaded(Tile tile) static boolean
-
Method Details
-
getLocalPlayer
-
getCapabilities
-
getPlayers
-
getNpcs
-
getGameObjects
-
getGroundItems
-
getInventoryItems
-
getWidgets
-
getCollisionMap
-
getBankSnapshot
-
bankAction
-
getSceneBase
-
isLoggedIn
public static boolean isLoggedIn() -
isActionReady
public static boolean isActionReady() -
isTileLoaded
-
interactObject
-
interactGroundItem
-
walk
-
hopWorld
public static boolean hopWorld(int world)
-