Package jag.game
Interface RSClient
- All Superinterfaces:
RSGameEngine
,RSProvider
-
Method Summary
Modifier and TypeMethodDescriptionvoid
absoluteToViewport
(int arg0, int arg1, int arg2) void
buildComponentMenu
(RSInterfaceComponent arg0, int arg1, int arg2) createSubInterface
(int key, int id, int type) default void
fireScript
(int id, Object... args) void
fireScriptEvent
(RSScriptEvent event) getAnimationSequence
(int id) getArchive
(int arg0, boolean arg1, boolean arg2, boolean arg3) int
int[]
int[]
int
default int
getBaseX()
default int
getBaseY()
int
int
getBuild()
int
int
int
int
int
int
int
int
int
int
int
default RSCollisionMap[]
int[]
int[]
int
int
int
getDBRow
(int id) getDBTable
(int id) getDefinitionProperty
(int id) int
int
int[][][]
getEffectAnimation
(int id) default RSNodeDeque<RSEffectObject>
int
int
getEnumDefinition
(int id) int[]
default int[][][]
default int
int
int
int
int
int
int
int
getHitsplatDefinition
(int id) int
int[]
int[]
int[]
default RSInterfaceComponent[][]
int[]
getItemDefinition
(int id) int
getItemSprite
(int id, int quantity, int border, int shadow, int stackable, boolean noted) long
int
int
default int
int[]
default String
int
int
int
int
int[]
int
int
String[]
int
int[]
int[]
int[]
int
int[]
boolean[]
String[]
int[]
int[]
int[]
int[]
int[]
int
long
int
int
int[]
default RSNpc
getNpc
(int index) default int
getNpcDefinition
(int id) default int[]
default RSNpc[]
getNpcs()
getObjectDefinition
(int id) int
int
int
int
long[]
int
int
int
default int
default int
long
int
int
long
default RSNodeDeque<RSPickable>[][][]
int
default RSPlayer
getPlayer
(int index) boolean[]
String[]
default int
int
default int[]
default RSPlayer[]
default RSPlayerUpdater
long
default RSNodeDeque<RSProjectile>
int
byte[]
int
int
int
int
int
int
int
int
int
int
default RSSceneGraph
default byte[][][]
int[]
int
String[]
int
default int
int
int
int
default int
int
int
short[]
getStructDefinition
(int id) int[]
int[]
int[]
long
getTotp()
int
int[]
int
boolean[]
getVarcs()
getVarpbit
(int id) int[]
getVarps()
int
int
default Dimension
int
int
RSWorld[]
int
int[][]
void
void
insertMenuItem
(String action, String target, int opcode, int primary, int secondary, int tertiary, int quaternary, boolean prioritizeOnShift, int worldMatrix) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isMobile()
default boolean
boolean
boolean
boolean
boolean
boolean
void
messageReceived
(int type, String arg1, String arg2, String arg3) newIsaacCipher
(int[] seed) default int
default String
prepareOutgoingPacket
(RSOutgoingPacketMeta meta, RSIsaacCipher cipher) void
processAction
(int sec, int ter, int op, int pri, int itemId, int worldMatrix, String action, String target, int crosshairX, int crosshairY) default void
processAlphabeticalInput
(String value) void
processComponentRendering
(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6) void
processDialogActionPacket
(int componentUid, int subComponentIndex) default void
processMouseClick
(int x, int y, int button) default void
default void
processNativeMouseClick
(int x, int y, int button) default void
processNumericInput
(int value) default void
pushScriptIntStack
(int value) default void
pushScriptStringStack
(String value) void
byte[]
sc
(RSAPublicKey pub, RSAPrivateKey priv) void
setActiveScriptComponent
(RSInterfaceComponent component) void
setAudioTwoChannels
(boolean twoChannels) void
setClientType
(int type) default void
void
setDotScriptComponent
(RSInterfaceComponent component) void
setEngineCycle
(int cycle) void
setEventDispatcher
(EventDispatcher dispatcher) void
setEventMediator
(EventMediator mediator) void
setGameState
(int state) void
setJxAccessToken
(String token) void
void
setJxRefreshToken
(String token) void
setJxSessionId
(String id) void
setLastMouseRecordTime
(long val) void
setLastMouseRecordX
(int val) void
setLastMouseRecordY
(int val) void
setLoadMembersItemDefinitions
(boolean loadMembersItemDefinitions) void
setLoginMessages
(String line1, String line2, String line3) void
setLoginState
(int state) void
setLoginStateRaw
(int state) void
setLoginStep
(int step) void
setLoginWorldSelectorOpen
(boolean open) void
setLogoutTimer
(int value) void
setLowMemory
(boolean lowMemory) void
setMenuRowCount
(int count) void
setMobile
(boolean mobile) void
setMouseIdleTime
(int idle) void
setMouseMoveTime
(long mouseMoveTime) void
setMouseX
(int mouseX) void
setMouseY
(int mouseY) void
setOculusOrbAbsoluteX
(int x) void
setOculusOrbAbsoluteY
(int y) void
setOculusOrbMode
(int mode) void
setParsedTotp
(int code) void
setPassword
(String password) void
setPendingClickMeta
(int meta) void
setPendingClickX
(int clickX) void
setPendingClickY
(int clickY) default void
setPendingDestinationX
(int x) default void
setPendingDestinationY
(int y) void
setPendingMouseMoveTime
(long time) void
setPendingMouseX
(int x) void
setPendingMouseY
(int y) void
setPendingTimeOfClick
(long timeOfClick) void
setPlatformType
(int type) void
void
setPreviousTimeOfClick
(long previousTimeOfClick) void
setRedrawMode
(int redrawMode) void
setRevision
(int revision) void
setRsaExponent
(BigInteger exponent) void
setRsaModulus
(BigInteger modulus) void
setSceneLowMemory
(boolean sceneLowMemory) void
setSceneRenderingDisabled
(boolean enabled) void
setScriptIntStackIndex
(int index) void
setScriptStringStackIndex
(int index) void
void
void
setUsername
(String username) default void
setViewportWalking
(boolean b) void
default void
void
spawnObjectLater
(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8) void
spawnPickable
(int floor, int sceneX, int sceneY, int id, int quantity, int opFlag, int ticksUntilReveal, int ticksUntilDespawn, int ownerType, boolean unk) void
submitGameSessionToken
(String sessionId, String characterId) void
updateLoginStep
(boolean authenticator) default void
writePacket
(RSOutgoingPacketMeta meta, Consumer<jag.opcode.RSBuffer> consumer) Methods inherited from interface jag.game.RSGameEngine
asApplet, getCanvas, mousePressed, mouseReleased
-
Method Details
-
getServerTick
int getServerTick() -
spawnPickable
void spawnPickable(int floor, int sceneX, int sceneY, int id, int quantity, int opFlag, int ticksUntilReveal, int ticksUntilDespawn, int ownerType, boolean unk) -
setLoginWorldSelectorOpen
void setLoginWorldSelectorOpen(boolean open) -
setJxAccessToken
-
setJxRefreshToken
-
setJxCharacterId
-
setJxSessionId
-
getJxSessionId
String getJxSessionId() -
getJxCharacterId
String getJxCharacterId() -
getJxRefreshToken
String getJxRefreshToken() -
getJxAccessToken
String getJxAccessToken() -
submitGameSessionToken
-
initializeJagexAccountFromEnv
void initializeJagexAccountFromEnv() -
getRevision
int getRevision() -
setRevision
void setRevision(int revision) -
getThread
Thread getThread() -
setThread
-
newIsaacCipher
-
setLoginStateRaw
void setLoginStateRaw(int state) -
setLoginState
void setLoginState(int state) -
setClip
-
writePacket
-
processNumericInput
default void processNumericInput(int value) -
processAlphabeticalInput
-
processMouseMotion
default void processMouseMotion() -
processNativeMouseClick
default void processNativeMouseClick(int x, int y, int button) -
processMouseClick
default void processMouseClick(int x, int y, int button) -
insertMenuItem
-
isMobile
boolean isMobile() -
setMobile
void setMobile(boolean mobile) -
getUpdatedNpcs
int[] getUpdatedNpcs() -
getUpdatedNpcsLength
int getUpdatedNpcsLength() -
getClientType
int getClientType() -
setClientType
void setClientType(int type) -
getPlatformType
int getPlatformType() -
setPlatformType
void setPlatformType(int type) -
getRsaExponent
BigInteger getRsaExponent() -
setRsaExponent
-
getRsaModulus
BigInteger getRsaModulus() -
setRsaModulus
-
getMousePacket
RSOutgoingPacketMeta getMousePacket() -
getMouseMotionPacket
RSOutgoingPacketMeta getMouseMotionPacket() -
getNativeMouseClickPacket
RSOutgoingPacketMeta getNativeMouseClickPacket() -
getKeyManager
RSKeyManager getKeyManager() -
getTileOverlayViewportX
int[] getTileOverlayViewportX() -
getTileOverlayViewportY
int[] getTileOverlayViewportY() -
getModelViewportX
int[] getModelViewportX() -
getModelViewportY
int[] getModelViewportY() -
getPreviousTimeOfClick
long getPreviousTimeOfClick() -
setPreviousTimeOfClick
void setPreviousTimeOfClick(long previousTimeOfClick) -
fireScript
-
getLoginResponse
-
getViewportSize
-
getSystemInformation
RSSystemInformation getSystemInformation() -
getDotScriptComponent
RSInterfaceComponent getDotScriptComponent() -
setDotScriptComponent
-
getActiveScriptComponent
RSInterfaceComponent getActiveScriptComponent() -
setActiveScriptComponent
-
getWorldSelectorPage
int getWorldSelectorPage() -
getHoveredWorldIndex
int getHoveredWorldIndex() -
getAudioTrackGroupIndex
int getAudioTrackGroupIndex() -
getLoginXPadding
int getLoginXPadding() -
getVarcs
RSVarcs getVarcs() -
isTargetUnsignedShort
boolean isTargetUnsignedShort() -
getOculusOrbMode
int getOculusOrbMode() -
setOculusOrbMode
void setOculusOrbMode(int mode) -
getOculusOrbAbsoluteX
int getOculusOrbAbsoluteX() -
setOculusOrbAbsoluteX
void setOculusOrbAbsoluteX(int x) -
getOculusOrbAbsoluteY
int getOculusOrbAbsoluteY() -
setOculusOrbAbsoluteY
void setOculusOrbAbsoluteY(int y) -
getColorPalette
int[] getColorPalette() -
getModelColorPalette
int[] getModelColorPalette() -
getLastMouseRecordX
int getLastMouseRecordX() -
setLastMouseRecordX
void setLastMouseRecordX(int val) -
getLastMouseRecordY
int getLastMouseRecordY() -
setLastMouseRecordY
void setLastMouseRecordY(int val) -
getLastMouseRecordTime
long getLastMouseRecordTime() -
setLastMouseRecordTime
void setLastMouseRecordTime(long val) -
isResizableMode
default boolean isResizableMode() -
prepareOutgoingPacket
-
getProcessNumericInput
RSOutgoingPacketMeta getProcessNumericInput() -
getProcessAlphabeticalInput
RSOutgoingPacketMeta getProcessAlphabeticalInput() -
processDialogActionPacket
void processDialogActionPacket(int componentUid, int subComponentIndex) -
isSceneRenderingDisabled
boolean isSceneRenderingDisabled() -
setSceneRenderingDisabled
void setSceneRenderingDisabled(boolean enabled) -
newScriptEvent
RSScriptEvent newScriptEvent() -
fireScriptEvent
-
getScriptIntStack
int[] getScriptIntStack() -
getScriptIntStackIndex
int getScriptIntStackIndex() -
setScriptIntStackIndex
void setScriptIntStackIndex(int index) -
popScriptIntStack
default int popScriptIntStack() -
pushScriptIntStack
default void pushScriptIntStack(int value) -
getScriptStringStack
String[] getScriptStringStack() -
getScriptStringStackIndex
int getScriptStringStackIndex() -
setScriptStringStackIndex
void setScriptStringStackIndex(int index) -
popScriptStringStack
-
pushScriptStringStack
-
getEventMediator
EventMediator getEventMediator() -
setEventMediator
-
getEventDispatcher
EventDispatcher getEventDispatcher() -
setEventDispatcher
-
getMouseIdleTime
int getMouseIdleTime() -
setMouseIdleTime
void setMouseIdleTime(int idle) -
getMouseX
int getMouseX() -
setMouseX
void setMouseX(int mouseX) -
getPendingClickY
int getPendingClickY() -
setPendingClickY
void setPendingClickY(int clickY) -
getMouseY
int getMouseY() -
setMouseY
void setMouseY(int mouseY) -
getInterfaceHeights
int[] getInterfaceHeights() -
getDestinationX
int getDestinationX() -
getLogoutTimer
int getLogoutTimer() -
setLogoutTimer
void setLogoutTimer(int value) -
getMouseRecorder
RSMouseRecorder getMouseRecorder() -
getDestinationY
int getDestinationY() -
getViewportHeight
int getViewportHeight() -
getPendingClickX
int getPendingClickX() -
setPendingClickX
void setPendingClickX(int clickX) -
getRasterizerClipX1
int getRasterizerClipX1() -
getRasterizerClipX2
int getRasterizerClipX2() -
getRasterizerClipY1
int getRasterizerClipY1() -
getRasterizerClipY2
int getRasterizerClipY2() -
getPassword
String getPassword() -
setPassword
-
isMembersWorld
boolean isMembersWorld() -
getEngineCycle
int getEngineCycle() -
setEngineCycle
void setEngineCycle(int cycle) -
getInterfaceWidths
int[] getInterfaceWidths() -
getConnection
RSConnection getConnection() -
getMenuSecondaryArgs
int[] getMenuSecondaryArgs() -
getMenuWorldMatrices
int[] getMenuWorldMatrices() -
getCursorState
int getCursorState() -
getTempVarps
int[] getTempVarps() -
getXteaKeys
int[][] getXteaKeys() -
getEnergy
int getEnergy() -
getDynamicSceneData
int[][][] getDynamicSceneData() -
getFriendsChatSystem
RSFriendsChatSystem getFriendsChatSystem() -
getPacketBuffer
RSPacketBuffer getPacketBuffer() -
getPublicChatMode
int getPublicChatMode() -
getSelectedComponentTargetFlags
int getSelectedComponentTargetFlags() -
getSelectedComponentTarget
int getSelectedComponentTarget() -
getSelectedComponentUid
int getSelectedComponentUid() -
getSelectedSubcomponentIndex
int getSelectedSubcomponentIndex() -
getSelectedInterfaceIndex
default int getSelectedInterfaceIndex() -
getSelectedComponentIndex
default int getSelectedComponentIndex() -
getViewportScale
int getViewportScale() -
getMenuPrimaryArgs
int[] getMenuPrimaryArgs() -
getPlayerActions
String[] getPlayerActions() -
getMenuActions
String[] getMenuActions() -
getPendingMouseY
int getPendingMouseY() -
setPendingMouseY
void setPendingMouseY(int y) -
getPendingMouseX
int getPendingMouseX() -
setPendingMouseX
void setPendingMouseX(int x) -
getWorlds
RSWorld[] getWorlds() -
getMenuRowCount
int getMenuRowCount() -
setMenuRowCount
void setMenuRowCount(int count) -
getCurrentDomain
String getCurrentDomain() -
isMenuOpen
boolean isMenuOpen() -
getCanvasHeight
int getCanvasHeight() -
getPendingMouseMoveTime
long getPendingMouseMoveTime() -
setPendingMouseMoveTime
void setPendingMouseMoveTime(long time) -
getPendingTimeOfClick
long getPendingTimeOfClick() -
setPendingTimeOfClick
void setPendingTimeOfClick(long timeOfClick) -
getRegionChunkX
int getRegionChunkX() -
getPlayerActionPriority
RSActionPrioritySetting getPlayerActionPriority() -
getRights
int getRights() -
sc
- Throws:
Exception
-
getValidInterfaces
boolean[] getValidInterfaces() -
getRedrawMode
int getRedrawMode() -
setRedrawMode
void setRedrawMode(int redrawMode) -
getPreferences
RSClientPreferences getPreferences() -
getWorldMap
RSWorldMap getWorldMap() -
getPleaseWaitComponent
RSInterfaceComponent getPleaseWaitComponent() -
getViewportWidth
int getViewportWidth() -
getRegionChunkY
int getRegionChunkY() -
getCameraY
int getCameraY() -
getInterfaceConfigs
RSNodeTable<RSIntegerNode> getInterfaceConfigs() -
isComponentSelected
boolean isComponentSelected() -
getCameraZ
int getCameraZ() -
getCameraX
int getCameraX() -
getMapRotation
int getMapRotation() -
getAudioEffects
RSAudioEffect[] getAudioEffects() -
getAudioEffectIds
int[] getAudioEffectIds() -
getAudioEffectPositions
int[] getAudioEffectPositions() -
getLoginResponse1
String getLoginResponse1() -
getLoginResponse3
String getLoginResponse3() -
getLoginResponse2
String getLoginResponse2() -
isSceneDynamic
boolean isSceneDynamic() -
getNewSkills
int[] getNewSkills() -
getLevels
int[] getLevels() -
getInventories
RSNodeTable<RSInventory> getInventories() -
getCurrentWorld
int getCurrentWorld() -
getInstance
RSClient getInstance() -
getLoginStep
int getLoginStep() -
getLoginState
int getLoginState() -
setLoginStep
void setLoginStep(int step) -
getChatHistory
Map<Integer,RSChatHistory> getChatHistory() -
getOnCursorCount
int getOnCursorCount() -
getClassStructures
RSLinkedList<RSClassStructure> getClassStructures() -
getPlayerIndex
int getPlayerIndex() -
getOnCursorUids
long[] getOnCursorUids() -
getMenuTargets
String[] getMenuTargets() -
isCameraLocked
boolean isCameraLocked() -
getMapState
int getMapState() -
getInterfacePositionsY
int[] getInterfacePositionsY() -
getCameraYaw
int getCameraYaw() -
getInterfacePositionsX
int[] getInterfacePositionsX() -
getLatestSelectedItemIndex
default int getLatestSelectedItemIndex() -
getAudioEffectCount
int getAudioEffectCount() -
getStockMarketTransactions
RSStockMarketTransaction[] getStockMarketTransactions() -
getRelationshipSystem
RSRelationshipSystem getRelationshipSystem() -
getCanvasWidth
int getCanvasWidth() -
getNpcActionPriority
RSActionPrioritySetting getNpcActionPriority() -
getHintArrowNpcIndex
int getHintArrowNpcIndex() -
getWeight
int getWeight() -
getExperiences
int[] getExperiences() -
getMapRegions
int[] getMapRegions() -
getMenuTertiaryArgs
int[] getMenuTertiaryArgs() -
getMenuQuaternaryArgs
int[] getMenuQuaternaryArgs() -
getHintArrowX
int getHintArrowX() -
getHintArrowY
int getHintArrowY() -
getStockMarketSearchResults
short[] getStockMarketSearchResults() -
getHintArrowZ
int getHintArrowZ() -
getMenuHeight
int getMenuHeight() -
getCurrentLevels
int[] getCurrentLevels() -
getGameState
int getGameState() -
setGameState
void setGameState(int state) -
getPlayerActionPriorities
boolean[] getPlayerActionPriorities() -
getClickMeta
int getClickMeta() -
setPendingClickMeta
void setPendingClickMeta(int meta) -
getClickX
int getClickX() -
getClickY
int getClickY() -
getVarps
int[] getVarps() -
getTradeChatMode
int getTradeChatMode() -
getMenuShiftClickActions
boolean[] getMenuShiftClickActions() -
getRandom
byte[] getRandom() -
getSubInterfaces
RSNodeTable<RSSubInterface> getSubInterfaces() -
getTimeOfClick
long getTimeOfClick() -
getHintArrowPlayerIndex
int getHintArrowPlayerIndex() -
isLowMemory
boolean isLowMemory() -
setLowMemory
void setLowMemory(boolean lowMemory) -
isSceneLowMemory
boolean isSceneLowMemory() -
setSceneLowMemory
void setSceneLowMemory(boolean sceneLowMemory) -
isAudioTwoChannels
boolean isAudioTwoChannels() -
setAudioTwoChannels
void setAudioTwoChannels(boolean twoChannels) -
getBootState
int getBootState() -
getPlayer
RSPlayer getPlayer() -
getInterfaceManager
RSInterfaceManager getInterfaceManager() -
getInterfaces
-
getFont_p12full
RSFont getFont_p12full() -
isLoadMembersItemDefinitions
boolean isLoadMembersItemDefinitions() -
setLoadMembersItemDefinitions
void setLoadMembersItemDefinitions(boolean loadMembersItemDefinitions) -
getCurrentWorldMask
int getCurrentWorldMask() -
getHintArrowType
int getHintArrowType() -
getRootInterfaceIndex
int getRootInterfaceIndex() -
isLoginWorldSelectorOpen
boolean isLoginWorldSelectorOpen() -
getBuild
int getBuild() -
getConnectionContext
RSConnectionContext getConnectionContext() -
getMouseMoveTime
long getMouseMoveTime() -
setMouseMoveTime
void setMouseMoveTime(long mouseMoveTime) -
getItemSelectionState
int getItemSelectionState() -
getMenuOpcodes
int[] getMenuOpcodes() -
getCameraCaptures
RSCameraCapture[] getCameraCaptures() -
getUsername
String getUsername() -
setUsername
-
getTotp
String getTotp() -
setTotp
-
getParsedTotp
int getParsedTotp() -
setParsedTotp
void setParsedTotp(int code) -
updateLoginStep
void updateLoginStep(boolean authenticator) -
getCameraPitch
int getCameraPitch() -
getPartyDeltas
RSPartyDelta[] getPartyDeltas() -
getGuestClanChannelDelta
RSPartyDelta getGuestClanChannelDelta() -
getAffinedPartyDelta
RSPartyDelta getAffinedPartyDelta() -
getPartySettingsDeltas
RSPartySettingsDelta[] getPartySettingsDeltas() -
getGuestClanChannelSettingsDelta
RSPartySettingsDelta getGuestClanChannelSettingsDelta() -
getAffinedPartySettingsDelta
RSPartySettingsDelta getAffinedPartySettingsDelta() -
getItemDefinition
-
absoluteToViewport
void absoluteToViewport(int arg0, int arg1, int arg2) -
spawnObjectLater
void spawnObjectLater(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8) -
loadWorlds
boolean loadWorlds() -
processComponentRendering
void processComponentRendering(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6) -
getStructDefinition
-
getObjectDefinition
-
getEffectAnimation
-
getNpcDefinition
-
messageReceived
-
createSubInterface
-
getDBRow
-
getDBTable
-
getEnumDefinition
-
getDefinitionProperty
-
getAnimationSequence
-
getHitsplatDefinition
-
getArchive
-
processAction
-
resetDrawingArea
void resetDrawingArea() -
setWorld
-
setWorld
-
setLoginMessages
-
getVarpbit
-
getItemSprite
-
buildComponentMenu
-
getRasterProvider
RSRasterProvider getRasterProvider() -
setPleaseWaitComponent
-
getMainWorldMatrix
RSWorldMatrix getMainWorldMatrix() -
getSceneGraph
-
getNpcs
-
getPlayers
-
getNpc
-
getPlayer
-
getBaseX
default int getBaseX() -
getBaseY
default int getBaseY() -
getPendingDestinationX
default int getPendingDestinationX() -
getPendingDestinationY
default int getPendingDestinationY() -
getFloorLevel
default int getFloorLevel() -
getCollisionMaps
-
getProjectiles
-
getEffectObjects
-
getPickableNodeDeques
-
getPlayerUpdater
-
getPlayerIndices
default int[] getPlayerIndices() -
getPlayerCount
default int getPlayerCount() -
getNpcIndices
default int[] getNpcIndices() -
getNpcCount
default int getNpcCount() -
getSceneRenderRules
default byte[][][] getSceneRenderRules() -
getFloorHeights
default int[][][] getFloorHeights() -
setViewportWalking
default void setViewportWalking(boolean b) -
setPendingDestinationX
default void setPendingDestinationX(int x) -
setPendingDestinationY
default void setPendingDestinationY(int y)
-