Class EventMediator


  • public class EventMediator
    extends Object
    • Method Detail

      • isInterfaceEnabled

        public boolean isInterfaceEnabled​(int group)
      • getFpsManager

        public FpsManager getFpsManager()
      • notifyOpenURL

        public boolean notifyOpenURL​(String url,
                                     boolean smtn1,
                                     String smtn2,
                                     boolean smtn3)
      • 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)
      • notifySkillUpdate

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

        public void notifyRandomInitialization()
      • notifyTinyenc

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

        public void notifyPdata​(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)
      • notifyPathingEntityMoved

        public void notifyPathingEntityMoved​(RSPathingEntity entity,
                                             int newX,
                                             int newY,
                                             boolean tileMovement)
      • 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)
      • 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 floor,
                                         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)
      • visitScriptInstruction

        public void visitScriptInstruction​(RSScriptEvent context,
                                           RSRuneScript script,
                                           int opcode,
                                           int pcIndex)
      • 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)
      • notifyPleaseWaitUpdated

        public void notifyPleaseWaitUpdated()
      • notifyStance

        public void notifyStance​(Object object,
                                 int prev,
                                 int curr)
      • notifyTargetIndex

        public void notifyTargetIndex​(Object object,
                                      int prev,
                                      int curr)
      • notifyPathingEntityEffect

        public void notifyPathingEntityEffect​(RSPathingEntity entity,
                                              int effectId)
      • notifyVarcInt

        public void notifyVarcInt​(int index,
                                  int newValue)
      • notifyVarcString

        public void notifyVarcString​(int index,
                                     String newValue)
      • 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()