Commit Graph
162 Commits
Author SHA1 Message Date
Morgan Lewis 12104758cc Add world map api and mixin 2018-05-03 19:37:30 -06:00
Adam 4a8eef023d Merge remote-tracking branch 'joshua/feat/accounttype' into next 2018-05-01 21:24:58 -04:00
Adam 24865f050f Merge remote-tracking branch 'kamiel/overhead-api-additions' into next 2018-05-01 21:24:44 -04:00
Joshua Filby b594c83ab6 feat: add a way to get AccountType
This adds a way to get the logged in players account type.
2018-05-01 21:00:54 -04:00
Kamiel 62deed7730 Add missing overhead icons to API 2018-05-01 19:32:57 -04:00
Max Weber 7f190f2534 Merge Varcs into Client::getVar 2018-04-30 16:17:04 -06:00
Max Weber 33d6b9bdb7 Rename Setting to VarPlayer 2018-04-30 16:03:49 -06:00
Adam 18dc60db60 runelite-api: add headicon enum 2018-04-29 19:42:21 -04:00
WooxSolo ea5c1f3032 runelite-api: add WorldArea 2018-04-28 11:36:53 -04:00
WooxSolo ed658df469 runelite-api: add line of sight algorithm 2018-04-28 11:36:43 -04:00
Max Weber f0b1f0e8b0 Add UsernameChanged event 2018-04-26 19:46:25 -04:00
Max Weber b3fa9a5e49 Allow ItemManager to be ran off the client thread
This allows the ItemManager to return a blank BufferedImage if it's not called on the client thread. This also makes it not render the image until the cache has been downloaded
2018-04-26 14:53:00 -06:00
Kamiel 63872835fa Fix issue where hiding local player would not hide you when in clan 2018-04-26 00:18:11 +02:00
Kamiel d8ba53eecc Change ground marker plugin to use selected region tile coords instead of basing them off of mouse location 2018-04-24 21:38:25 -04:00
Lotto 6c21b2e21b Add entity hider plugin 2018-04-24 18:24:56 -04:00
Adam 3caf182b0b npc mixin: transform npc in getName/getCombatLevel/getId 2018-04-23 19:38:09 -04:00
Adam fad8472c50 devtools plugin: add commands to get and set varbits 2018-04-23 10:09:21 -04:00
Kamiel 1fd9b3abcc Add VarClientStr to api and rename VarClient to VarClientInt 2018-04-23 10:09:16 -04:00
Adam 6c6fb3b87e tile mixin: don't fire itemlayer change events when loading regions 2018-04-22 21:00:06 -04:00
Adam b8eac1296c Add Angle and Direction
Extend GameObject.getOrientation() to account for object flags, and
return an Angle
2018-04-18 22:57:59 -04:00
Kamiel b72c3b234c Change menuOpened from FieldHook to Hook
This fixes an issue which occurs when the MenuEntries array is modified after the client has calculated the menu's bounds and position. Hooking to `openMenu`  will allow us to modify the MenuEntries array before the menu's bounds and its position is calculated.
2018-04-17 04:30:01 +02:00
Adam c95f788c26 Merge pull request #1549 from Kamielvf/ge-sell-buy-cancelled
Show grand exchange offer type on cancelled state
2018-04-16 22:17:57 -04:00
Adam 317409a392 runelite-api: add events for actor spawning and despawning 2018-04-16 22:06:02 -04:00
Adam c95163dd9a Add item container changed event 2018-04-16 22:06:02 -04:00
Adam b571da79e3 Add deferred eventbus for posting events on the next tick 2018-04-16 22:06:02 -04:00
Kamiel 8d1945e9a0 Show grand exchange offer type on cancelled state 2018-04-15 19:37:46 +02:00
Adam 8932ef4f74 Use built in player index field 2018-04-15 11:40:36 -04:00
Tomas Slusny 5aba4ea448 Set default offset to center of tile for arrows
Set default offset of the hint arrow to center of tile like type 2 of
the hint arrow does by default in runescape-client.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-13 09:53:20 -04:00
Max Weber 39a78166dc Allow MenuOptionClicked events to be consumed 2018-04-12 05:55:57 -06:00
Adam c66cb42a52 Add animation smoothing plugin 2018-04-08 19:30:09 -04:00
Septron fa7b50161c Add hint arrows to api 2018-04-08 17:59:06 -04:00
Septron 92f4ec1c54 Add player index to api 2018-04-08 17:59:00 -04:00
WooxSolo 92c8e9e9e6 Fix Actor.getWorldLocation to use pathX/pathY instead of getX/getY 2018-04-08 16:03:01 -04:00
Kamiel 0b9ab225fe Change shift-click customization behaviour 2018-04-02 20:07:42 -04:00
Kamiel 915255b457 Add MenuOpened event 2018-04-02 18:52:08 -04:00
Adam 46d66d7823 Change MenuEntry type to int
We don't have all of the types in MenuAction and it causes them to get mapped to UNKNOWN when translated back and forth with the API
2018-04-02 08:24:16 -04:00
Max Weber aa02da45c0 Allow assembly and loading of new scripts 2018-04-01 16:16:27 -04:00
Max Weber 38f59146d5 Mixins: Give scripts a log.debug callback 2018-04-01 16:16:26 -04:00
Max Weber 6e80cff926 Expose methods to execute scripts 2018-04-01 16:16:25 -04:00
Max Weber 0c04804d1a ScriptEvent > ScriptCallbackEvent 2018-04-01 16:16:25 -04:00
Tomas Slusny 185aa3f45b Add clan changed hook
Add hook that will fire when user changed his clan.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 14:27:19 -04:00
Adam 34f18f5656 Revert "Merge pull request #1154 from deathbeam/team-member-names"
This reverts commit f0293087ce0a2e2dc515cfb57ef926c185d25cb5, reversing
changes made to 309c1fde25d32086cfd242f988c8f45df903d66c.
2018-04-01 14:20:27 -04:00
Tomas Slusny d268f9a75c Add clan changed hook
Add hook that will fire when user changed his clan.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:13:54 -04:00
Tomas Slusny 52129598e5 Always remove tags from player.getName()
- Move removal of tags to RSPlayerMixin
- Remove tags from players names where needed

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:13:53 -04:00
Tomas Slusny 7c233a096c Add mappings and api for DMM player names
- Add mappings for DMM player names and methods using them
- Create class with DMM player name rendering masks
- Create mapping for cleanName from player
- Create mapping for setting name to player

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:11:12 -04:00
Adam 4878cf14a2 Merge pull request #1125 from Kamielvf/shift-click-customization
Shift click customization
2018-03-30 22:36:41 -04:00
Kamiel f9c0a12a1a Add shift click customization to menu swapper plugin 2018-03-30 22:25:07 -04:00
Adam 819c7c6ec7 Add item layer changed event 2018-03-30 18:40:14 -04:00
Dennis 165c5088b7 fix widget loaded event 2018-03-29 19:05:11 -04:00
Adam d72ac5b1b1 mixins: remove unused imports 2018-03-29 08:27:42 -04:00