Store last gameObject as static variable in tile mixin and in case new
event is exactly same as last one in game object spawned, do not
proceed.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
- Change sendGameMessage call to addGameMessage to allow sending messages with all supported fields
- Update chat message manager to support sending messages with all supported fields
The client appears to read "widgetSettings" though, but this breaks the attack indicator plugin
This fixes a regression introduced in f8c7a8b1c0f19b1344937504b972c71fd052a2f4
getClickbox returns an AWT Area object which corresponds to theclickable area of a GameObject, GroundObject, DecorativeObject or WallObject.
getClickbox for ItemLayers isn't implemented, since I haven't looked into how clickabilty works for items on the ground in the client.
There's no playSoundEffect-equivalent method in the actual client code.
Instead, the client just adds some values to the 4 sfx arrays, removes
any old queued sound effects, and then bumps the counter, which is what
I've done as well.
- Call the real method from isFriended
- Call the real method from isIgnored
- Add null check for getClanMembers
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Add tile indicators plugin, that will currently highlight the tile
player is walking to. It is disabled by default, and have configurable
highlighting color.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
- Update api of SendMessage to also include message type
- Create API for updating chat message based on saved colors for normal
and highlighted message and for adding game messages that can be
recolored too
- Update chat commands plugin to use the new API
- Add option to globally disable recoloring to RuneliteConfig
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
- Extend API to include support for getting clan members and
informations about them
- Add API for manipulation with modIcons
- Display clan ranks in clan chat (add to ClanChat plugin)
- Add new hook for clan members changed
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>