Package net.eternalclient.api.accessors
Class LocalPlayer
- java.lang.Object
-
- net.eternalclient.api.accessors.LocalPlayer
-
public class LocalPlayer extends java.lang.Object
A class representing the local player in the game, providing various methods to access player information and actions.
-
-
Constructor Summary
Constructors Constructor Description LocalPlayer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Player
get()
Returns the local player.static RSPlayer
getRSPlayer()
Returns the RSPlayer object.
-
-
-
Method Detail
-
get
public static Player get()
Returns the local player. If the local player does not exist or is different from the current player, a new player is created.- Returns:
- the local player
-
getRSPlayer
public static RSPlayer getRSPlayer()
Returns the RSPlayer object.- Returns:
- The RSPlayer object.
-
-