Package org.rspeer.game.script.component
Class GameAccount
- java.lang.Object
-
- org.rspeer.game.script.component.ScriptComponent
-
- org.rspeer.game.script.component.GameAccount
-
public class GameAccount extends ScriptComponent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGameAccount.DetailsFor jagex accounts, username is the character id and password is the session id.static classGameAccount.Preferencesstatic classGameAccount.Profile
-
Constructor Summary
Constructors Constructor Description GameAccount(GameAccount.Details details, GameAccount.Preferences preferences)GameAccount(GameAccount.Details details, GameAccount.Preferences preferences, GameAccount.Profile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GameAccount.DetailsgetDetails()GameAccount.PreferencesgetPreferences()GameAccount.ProfilegetProfile()voidinitialize(Script script)booleanisJagexAccount()static GameAccountpredefined()static GameAccountraw(String username, String password)static GameAccountraw(String username, String password, String pin)StringtoString()booleanvalidate()
-
-
-
Constructor Detail
-
GameAccount
public GameAccount(GameAccount.Details details, GameAccount.Preferences preferences, GameAccount.Profile profile)
-
GameAccount
public GameAccount(GameAccount.Details details, GameAccount.Preferences preferences)
-
-
Method Detail
-
predefined
public static GameAccount predefined()
-
raw
public static GameAccount raw(String username, String password)
-
raw
public static GameAccount raw(String username, String password, String pin)
-
validate
public boolean validate()
-
getDetails
public GameAccount.Details getDetails()
-
getPreferences
public GameAccount.Preferences getPreferences()
-
getProfile
public GameAccount.Profile getProfile()
-
initialize
public void initialize(Script script)
- Specified by:
initializein classScriptComponent
-
isJagexAccount
public boolean isJagexAccount()
-
-