java.lang.Object
net.botwithus.rs3.game.Client
Client represents the jag::Client in the RuneScape 3 source.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
static @Nullable Client.GameState
Gets the game's current state.static @Nullable LocalPlayer
Retrieves the local player in the scene.static boolean
isMember()
static Vector2f
project
(ScenePosition pos) static void
setAntiAFK
(boolean enabled) static String
uuid()
static Coordinate
worldToScreen
(ScenePosition scene)
-
Constructor Details
-
Client
public Client()
-
-
Method Details
-
getClientCycle
public static int getClientCycle() -
getGameState
Gets the game's current state.- Returns:
- An entry from GameState, otherwise null.
-
getLocalPlayer
Retrieves the local player in the scene. If it cannot be found or is not a valid entity, returns null.- Returns:
- a Player object representing the local player. Returns null if no local player is found.
-
worldToScreen
-
project
-
uuid
-
isMember
public static boolean isMember()- Returns:
- if the logged in is a member
-
setAntiAFK
public static void setAntiAFK(boolean enabled)
-