Package jag.game

Interface RSClient

All Superinterfaces:
RSGameEngine, RSProvider

public interface RSClient extends RSGameEngine
  • 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

      void setJxAccessToken(String token)
    • setJxRefreshToken

      void setJxRefreshToken(String token)
    • setJxCharacterId

      void setJxCharacterId(String id)
    • setJxSessionId

      void setJxSessionId(String id)
    • getJxSessionId

      String getJxSessionId()
    • getJxCharacterId

      String getJxCharacterId()
    • getJxRefreshToken

      String getJxRefreshToken()
    • getJxAccessToken

      String getJxAccessToken()
    • submitGameSessionToken

      void submitGameSessionToken(String sessionId, String characterId)
    • initializeJagexAccountFromEnv

      void initializeJagexAccountFromEnv()
    • getRevision

      int getRevision()
    • setRevision

      void setRevision(int revision)
    • getThread

      Thread getThread()
    • setThread

      void setThread(Thread thread)
    • newIsaacCipher

      RSIsaacCipher newIsaacCipher(int[] seed)
    • setLoginStateRaw

      void setLoginStateRaw(int state)
    • setLoginState

      void setLoginState(int state)
    • setClip

      default void setClip(Graphics g)
    • writePacket

      default void writePacket(RSOutgoingPacketMeta meta, Consumer<jag.opcode.RSBuffer> consumer)
    • processNumericInput

      default void processNumericInput(int value)
    • processAlphabeticalInput

      default void processAlphabeticalInput(String value)
    • 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

      void insertMenuItem(String action, String target, int opcode, int primary, int secondary, int tertiary, int quaternary, boolean prioritizeOnShift, int worldMatrix)
    • 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

      void setRsaExponent(BigInteger exponent)
    • getRsaModulus

      BigInteger getRsaModulus()
    • setRsaModulus

      void setRsaModulus(BigInteger modulus)
    • 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

      default void fireScript(int id, Object... args)
    • getLoginResponse

      default String getLoginResponse()
    • getViewportSize

      default Dimension getViewportSize()
    • getSystemInformation

      RSSystemInformation getSystemInformation()
    • getDotScriptComponent

      RSInterfaceComponent getDotScriptComponent()
    • setDotScriptComponent

      void setDotScriptComponent(RSInterfaceComponent component)
    • getActiveScriptComponent

      RSInterfaceComponent getActiveScriptComponent()
    • setActiveScriptComponent

      void setActiveScriptComponent(RSInterfaceComponent component)
    • 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

      RSOutgoingPacket prepareOutgoingPacket(RSOutgoingPacketMeta meta, RSIsaacCipher cipher)
    • 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

      void fireScriptEvent(RSScriptEvent event)
    • 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

      default String popScriptStringStack()
    • pushScriptStringStack

      default void pushScriptStringStack(String value)
    • getEventMediator

      EventMediator getEventMediator()
    • setEventMediator

      void setEventMediator(EventMediator mediator)
    • getEventDispatcher

      EventDispatcher getEventDispatcher()
    • setEventDispatcher

      void setEventDispatcher(EventDispatcher dispatcher)
    • 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

      void setPassword(String password)
    • 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

      byte[] sc(RSAPublicKey pub, RSAPrivateKey priv) throws Exception
      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

      default RSInterfaceComponent[][] 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

      void setUsername(String username)
    • getTotp

      String getTotp()
    • setTotp

      void setTotp(String code)
    • 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

      RSItemDefinition getItemDefinition(int id)
    • 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

      RSStructDefinition getStructDefinition(int id)
    • getObjectDefinition

      RSObjectDefinition getObjectDefinition(int id)
    • getEffectAnimation

      RSEffectAnimation getEffectAnimation(int id)
    • getNpcDefinition

      RSNpcDefinition getNpcDefinition(int id)
    • messageReceived

      void messageReceived(int type, String arg1, String arg2, String arg3)
    • createSubInterface

      RSSubInterface createSubInterface(int key, int id, int type)
    • getDBRow

      RSDBRow getDBRow(int id)
    • getDBTable

      RSDBTable getDBTable(int id)
    • getEnumDefinition

      RSEnumDefinition getEnumDefinition(int id)
    • getDefinitionProperty

      RSDefinitionProperty getDefinitionProperty(int id)
    • getAnimationSequence

      RSAnimationSequence getAnimationSequence(int id)
    • getHitsplatDefinition

      RSHitsplatDefinition getHitsplatDefinition(int id)
    • getArchive

      RSReferenceTable getArchive(int arg0, boolean arg1, boolean arg2, boolean arg3)
    • processAction

      void processAction(int sec, int ter, int op, int pri, int itemId, int worldMatrix, String action, String target, int crosshairX, int crosshairY)
    • resetDrawingArea

      void resetDrawingArea()
    • setWorld

      void setWorld(RSWorld world)
    • setWorld

      default void setWorld(World world)
    • setLoginMessages

      void setLoginMessages(String line1, String line2, String line3)
    • getVarpbit

      RSVarpbit getVarpbit(int id)
    • getItemSprite

      RSSprite getItemSprite(int id, int quantity, int border, int shadow, int stackable, boolean noted)
    • buildComponentMenu

      void buildComponentMenu(RSInterfaceComponent arg0, int arg1, int arg2)
    • getRasterProvider

      RSRasterProvider getRasterProvider()
    • setPleaseWaitComponent

      void setPleaseWaitComponent(RSInterfaceComponent o)
    • getMainWorldMatrix

      RSWorldMatrix getMainWorldMatrix()
    • getSceneGraph

      default RSSceneGraph getSceneGraph()
    • getNpcs

      default RSNpc[] getNpcs()
    • getPlayers

      default RSPlayer[] getPlayers()
    • getNpc

      default RSNpc getNpc(int index)
    • getPlayer

      default RSPlayer getPlayer(int index)
    • getBaseX

      default int getBaseX()
    • getBaseY

      default int getBaseY()
    • getPendingDestinationX

      default int getPendingDestinationX()
    • getPendingDestinationY

      default int getPendingDestinationY()
    • getFloorLevel

      default int getFloorLevel()
    • getCollisionMaps

      default RSCollisionMap[] getCollisionMaps()
    • getProjectiles

      default RSNodeDeque<RSProjectile> getProjectiles()
    • getEffectObjects

      default RSNodeDeque<RSEffectObject> getEffectObjects()
    • getPickableNodeDeques

      default RSNodeDeque<RSPickable>[][][] getPickableNodeDeques()
    • getPlayerUpdater

      default RSPlayerUpdater 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)