Class EventMediator
java.lang.Object
org.rspeer.game.provider.callback.EventMediator
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
notifyAddHitSplat
(RSPathingEntity entity, int type, int damage, int specialType, int specialDamage, int currentCycle, int delay) void
notifyAddHitUpdate
(RSPathingEntity entity, int id, int startCycle, int currentCycle, int duration, int startWidth, int currentWidth) void
notifyAnimation
(Object object, int prev, int curr) int
int
notifyAsyncInputStreamIsAvailable
(int amount) int
notifyAsyncInputStreamRead
(byte[] buffer, int offset, int length) int
void
void
notifyChunkUpdate
(int newChunk, int x, int y, int z) void
notifyDraw
(RSClient ctx, boolean idk) void
notifyDraw
(RSModel model, boolean p1, boolean p2, boolean p3, long uid) void
notifyDrawGame
(RSGraphicsProvider ctx, Graphics graphics, int width, int height) void
notifyDrawTileOverlay
(RSTileModel model, int x, int y) void
notifyDrawTileUnderlay
(int x, int y, int y0, int x0, int y1, int x1, int y2, int x2, int y3, int x3) void
void
void
void
boolean
void
notifyInventoryUpdate
(int key, int index, int id, int stack) void
notifyItemIds
(int index, int[] array) void
notifyMessageReceived
(int type, String source, String contents, String channel) void
notifyModelUpdate
(RSEntity entity, RSModel model) boolean
boolean
boolean
boolean
boolean
boolean
void
notifyMouseRecord
(int x, int y, int xd, int yd, int td) boolean
void
notifyNpcCreated
(RSNpc npc) void
notifyNpcUnloading
(RSNpc npc, int index) void
void
boolean
notifyOpenURL
(String url, boolean smtn1, String smtn2, boolean smtn3) void
notifyOverheadText
(Object object, String prev, String curr) void
notifyPdata
(jag.opcode.RSBuffer ctx, byte[] buffer, int offset, int length) void
notifyPickablesDeque
(int sceneX, int sceneY, RSPickable pickable) void
void
void
boolean
notifyProcessAction
(int sec, int ter, int op, int pri, int quat, int matrixId, String action, String target, int crosshairX, int crosshairY) void
notifyProcessAudioEffect
(int id, int loops, int delay) void
notifyProcessDialogActionPacket
(int uid, int subcomponent) boolean
void
notifyProcessLoginResponse
(int code) void
notifyProcessPlacedAudioEffect
(int absX, int absY, boolean local) void
notifyProjectilesDeque
(RSProjectile projectile) void
void
notifyRawServerRead
(RSAsyncInputStream inputStream, int len, int result) void
int
notifyScriptOpcodeProcessed
(RSScriptEvent context, RSRuneScript script, int opcode, int result, boolean dot) void
void
void
notifySetGameState
(int newState) boolean
notifySetLoginStateRaw
(int newState) void
notifySkillUpdate
(int index, int experience) void
notifySpawnObjectLater
(RSWorldMatrix worldMatrix, int plane, int x, int y, int tag, int id, int transform, int orientation, int hidden, int startCycle, int endCycle) void
notifySpawnPickable
(int floor, int sceneX, int sceneY, int id, int quantity, int opFlag, int ticksUntilReveal, int ticksUntilDespawn, int ownerType, boolean unk) void
notifyStockMarketListing
(RSStockMarketTransaction transaction) void
notifyStockMarketUpdate
(int index, RSStockMarketTransaction transaction) void
void
notifyTableInsertion
(RSNode node) void
notifyTarget
(RSProjectile projectile, int x, int y, int height, int cycle) void
notifyTinyenc
(jag.opcode.RSBuffer ctx, int[] key, int start, int end) void
void
notifyWriteLater
(RSConnectionContext ctx, RSOutgoingPacket packet) void
notifyXteaKeys
(int i, int[] is) void
preNotifyItemIds
(int index, int[] array) void
preNotifyXteaKeys
(int i, int[] is) int
preprocessOpcode
(int opcode, RSRuneScript script, boolean bool)
-
Constructor Details
-
EventMediator
public EventMediator()
-
-
Method Details
-
getenv
-
getFpsManager
-
getEngineTasks
-
notifyWriteLater
-
notifyOpenURL
-
notifyServerRead
-
notifyRawServerRead
-
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
-
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
-
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
-
notifyProcessAudioEffect
public void notifyProcessAudioEffect(int id, int loops, int delay) -
notifyProcessPlacedAudioEffect
public void notifyProcessPlacedAudioEffect(int absX, int absY, boolean local) -
notifyTarget
-
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
-
notifyInventoryUpdate
public void notifyInventoryUpdate(int key, int index, int id, int stack) -
notifyTableInsertion
-
getSocket
-
notifyXteaKeys
public void notifyXteaKeys(int i, int[] is) -
preNotifyXteaKeys
public void preNotifyXteaKeys(int i, int[] is) -
notifyRegionUpdate
public void notifyRegionUpdate() -
notifyDynamicObjectSpawn
-
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
-
notifyProjectilesDeque
-
notifyEffectObjectsDeque
-
notifyProcessDialogActionPacket
public void notifyProcessDialogActionPacket(int uid, int subcomponent) -
preprocessOpcode
-
notifyScriptOpcodeProcessed
public int notifyScriptOpcodeProcessed(RSScriptEvent context, RSRuneScript script, int opcode, int result, boolean dot) -
notifyFireScriptEvent
-
notifyStockMarketListing
-
notifyStockMarketUpdate
-
notifyPleaseWaitUpdated
public void notifyPleaseWaitUpdated() -
notifyOverheadText
-
notifyServerTick
public void notifyServerTick() -
notifyAnimation
-
preNotifyItemIds
public void preNotifyItemIds(int index, int[] array) -
notifyItemIds
public void notifyItemIds(int index, int[] array) -
notifyProcessLoginResponse
public void notifyProcessLoginResponse(int code) -
notifyMessageReceived
-
notifyProcessAction
-
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
-
notifyNpcUnloading
-
notifyNpcUpdateDone
public void notifyNpcUpdateDone() -
notifyModelUpdate
-
notifyDraw
-
notifyPreEntitiesRendered
public void notifyPreEntitiesRendered() -
notifyEntitiesRendered
public void notifyEntitiesRendered() -
notifyDrawGame
-
notifyMouseClicked
-
notifyMousePressed
-
notifyMouseReleased
-
notifyMouseEntered
-
notifyMouseExited
-
notifyMouseDragged
-
notifyMouseMoved
-