Class EventMediator

java.lang.Object
org.rspeer.game.provider.callback.EventMediator

public class EventMediator extends Object
  • Constructor Details

    • EventMediator

      public EventMediator()
  • Method Details

    • getenv

      public String getenv(String key)
    • getFpsManager

      public FpsManager getFpsManager()
    • getEngineTasks

      public EngineTasks getEngineTasks()
    • notifyWriteLater

      public void notifyWriteLater(RSConnectionContext ctx, RSOutgoingPacket packet)
    • notifyOpenURL

      public boolean notifyOpenURL(String url, boolean smtn1, String smtn2, boolean smtn3)
    • notifyServerRead

      public void notifyServerRead(RSConnectionContext ctx, RSPacketBuffer buf)
    • notifyRawServerRead

      public void notifyRawServerRead(RSAsyncInputStream inputStream, int len, int result)
    • notifyAsyncInputStreamAvailable

      public int notifyAsyncInputStreamAvailable()
    • notifyAsyncInputStreamIsAvailable

      public int notifyAsyncInputStreamIsAvailable(int amount)
    • notifyAsyncInputStreamRead

      public int notifyAsyncInputStreamRead(byte[] buffer, int offset, int length)
    • notifyAsyncInputStreamReadUnsignedByte

      public int notifyAsyncInputStreamReadUnsignedByte()
    • notifyProcessDisconnect

      public boolean notifyProcessDisconnect()
    • notifySetLoginStateRaw

      public boolean notifySetLoginStateRaw(int newState)
    • notifyFlush

      public boolean notifyFlush(RSConnectionContext ctx)
    • notifySkillUpdate

      public void notifySkillUpdate(int index, int experience)
    • notifyRandomInitialization

      public void notifyRandomInitialization()
    • notifyTinyenc

      public void notifyTinyenc(jag.opcode.RSBuffer ctx, int[] key, int start, int end)
    • notifyPdata

      public void notifyPdata(jag.opcode.RSBuffer ctx, byte[] buffer, int offset, int length)
    • notifyDrawTileOverlay

      public void notifyDrawTileOverlay(RSTileModel model, int x, int y)
    • notifyPostDrawTileOverlay

      public void notifyPostDrawTileOverlay()
    • notifyDrawTileUnderlay

      public void notifyDrawTileUnderlay(int x, int y, int y0, int x0, int y1, int x1, int y2, int x2, int y3, int x3)
    • notifyDraw

      public void notifyDraw(RSModel model, boolean p1, boolean p2, boolean p3, long uid)
    • notifyProcessAudioEffect

      public void notifyProcessAudioEffect(int id, int loops, int delay)
    • notifyProcessPlacedAudioEffect

      public void notifyProcessPlacedAudioEffect(int absX, int absY, boolean local)
    • notifyTarget

      public void notifyTarget(RSProjectile projectile, int x, int y, int height, int cycle)
    • notifyAddHitSplat

      public void notifyAddHitSplat(RSPathingEntity entity, int type, int damage, int specialType, int specialDamage, int currentCycle, int delay)
    • notifyAddHitUpdate

      public void notifyAddHitUpdate(RSPathingEntity entity, int id, int startCycle, int currentCycle, int duration, int startWidth, int currentWidth)
    • notifySystemInformationInitialization

      public void notifySystemInformationInitialization()
    • spoofDeviceId

      public String spoofDeviceId()
    • notifyInventoryUpdate

      public void notifyInventoryUpdate(int key, int index, int id, int stack)
    • notifyTableInsertion

      public void notifyTableInsertion(RSNode node)
    • getSocket

      public Socket getSocket(Socket base)
    • notifyXteaKeys

      public void notifyXteaKeys(int i, int[] is)
    • preNotifyXteaKeys

      public void preNotifyXteaKeys(int i, int[] is)
    • notifyRegionUpdate

      public void notifyRegionUpdate()
    • notifyDynamicObjectSpawn

      public void notifyDynamicObjectSpawn(RSDynamicObject object)
    • notifySpawnPickable

      public void notifySpawnPickable(int floor, int sceneX, int sceneY, int id, int quantity, int opFlag, int ticksUntilReveal, int ticksUntilDespawn, int ownerType, boolean unk)
    • notifySpawnObjectLater

      public void notifySpawnObjectLater(RSWorldMatrix worldMatrix, int plane, int x, int y, int tag, int id, int transform, int orientation, int hidden, int startCycle, int endCycle)
    • notifyMouseRecord

      public void notifyMouseRecord(int x, int y, int xd, int yd, int td)
    • notifyPickablesDeque

      public void notifyPickablesDeque(int sceneX, int sceneY, RSPickable pickable)
    • notifyProjectilesDeque

      public void notifyProjectilesDeque(RSProjectile projectile)
    • notifyEffectObjectsDeque

      public void notifyEffectObjectsDeque(RSEffectObject effect)
    • notifyProcessDialogActionPacket

      public void notifyProcessDialogActionPacket(int uid, int subcomponent)
    • preprocessOpcode

      public int preprocessOpcode(int opcode, RSRuneScript script, boolean bool)
    • notifyScriptOpcodeProcessed

      public int notifyScriptOpcodeProcessed(RSScriptEvent context, RSRuneScript script, int opcode, int result, boolean dot)
    • notifyFireScriptEvent

      public void notifyFireScriptEvent(RSScriptEvent event)
    • notifyStockMarketListing

      public void notifyStockMarketListing(RSStockMarketTransaction transaction)
    • notifyStockMarketUpdate

      public void notifyStockMarketUpdate(int index, RSStockMarketTransaction transaction)
    • notifyPleaseWaitUpdated

      public void notifyPleaseWaitUpdated()
    • notifyOverheadText

      public void notifyOverheadText(Object object, String prev, String curr)
    • notifyServerTick

      public void notifyServerTick()
    • notifyAnimation

      public void notifyAnimation(Object object, int prev, int curr)
    • preNotifyItemIds

      public void preNotifyItemIds(int index, int[] array)
    • notifyItemIds

      public void notifyItemIds(int index, int[] array)
    • notifyProcessLoginResponse

      public void notifyProcessLoginResponse(int code)
    • notifyMessageReceived

      public void notifyMessageReceived(int type, String source, String contents, String channel)
    • notifyProcessAction

      public boolean notifyProcessAction(int sec, int ter, int op, int pri, int quat, int matrixId, String action, String target, int crosshairX, int crosshairY)
    • notifyBuildMenu

      public void notifyBuildMenu()
    • notifyWorldMapTick

      public void notifyWorldMapTick()
    • notifyChunkUpdate

      public void notifyChunkUpdate(int newChunk, int x, int y, int z)
    • notifySetGameState

      public void notifySetGameState(int newState)
    • notifyNpcUpdate

      public void notifyNpcUpdate()
    • notifyNpcCreated

      public void notifyNpcCreated(RSNpc npc)
    • notifyNpcUnloading

      public void notifyNpcUnloading(RSNpc npc, int index)
    • notifyNpcUpdateDone

      public void notifyNpcUpdateDone()
    • notifyModelUpdate

      public void notifyModelUpdate(RSEntity entity, RSModel model)
    • notifyDraw

      public void notifyDraw(RSClient ctx, boolean idk)
    • notifyPreEntitiesRendered

      public void notifyPreEntitiesRendered()
    • notifyEntitiesRendered

      public void notifyEntitiesRendered()
    • notifyDrawGame

      public void notifyDrawGame(RSGraphicsProvider ctx, Graphics graphics, int width, int height)
    • notifyMouseClicked

      public boolean notifyMouseClicked(RSCanvasMouseListener l, MouseEvent e)
    • notifyMousePressed

      public boolean notifyMousePressed(RSCanvasMouseListener l, MouseEvent e)
    • notifyMouseReleased

      public boolean notifyMouseReleased(RSCanvasMouseListener l, MouseEvent e)
    • notifyMouseEntered

      public boolean notifyMouseEntered(RSCanvasMouseListener l, MouseEvent e)
    • notifyMouseExited

      public boolean notifyMouseExited(RSCanvasMouseListener l, MouseEvent e)
    • notifyMouseDragged

      public boolean notifyMouseDragged(RSCanvasMouseListener l, MouseEvent e)
    • notifyMouseMoved

      public boolean notifyMouseMoved(RSCanvasMouseListener l, MouseEvent e)