Add property to load when outdated to both account and config plugins to
make them visible even when native client is loaded.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Remove unnecessary null checks for game client from plugins, as now
client is always not null in all of them, since in the case of it being
null the plugins are not even started.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
- Move setting of UI-related variables to ClientUI class (create new
"create" static method to set them before creating the UI window)
- Clean up ClientUI class
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
- Remove runelite variable
- Use setters for options and injector (to use them outside of tests)
- Remove getter for gui and make it package-private
- Use package-private gui field when providing ClientUI from
RuneliteModule
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Instead of using setters and getters to move around reference to Client
and creating the client in the client panel, move creation of the Client
to RuneLite and add new field to PluginDescriptor if the plugin should
be loaded when client is outdated.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
- Extract runelite session related logic from RuneLite to SessionManager
class and expose this as Guice service
- Move WSClient to account package
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
- Add same padding to each panel
- Wrap each panel in JScrollPane
- Clean up plugin panel API and set normalized width, height and layout
to each panel instead of having to manually specify it for each panel
- Make PluginPanel class abstract
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Simplify code of the navigation button to also handle images and to
extend the swing JButton instead of wrapping it in getButton method.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Change xp tracker button to use actual image instead of text because
text was not showing on both Windows and Linux.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>