Fix up client. (#815)

* Aoe Warnings Fix-Up

* Freeze Timers NPE Fix

* Slayer Chat Lookup NPE && Fixing up Access levels.

* Raids Thieving NPE Fix && Fixing up Access levels.

* Revert "Fix copy paste error"

This reverts commit 26c88101b682eb76b98a8a0d88fc8a47c9f104d3.

* Revert "Fix checkstyle"

This reverts commit abf7fec004148897585bc0389bb5e0420e3d03cb.

* Revert "Convert game thread events to singletons"

This reverts commit b33048d7ee0481b17c5849d2d862e75c91e5a36c.

* Various Fixes
This commit is contained in:
Ganom
2019-06-29 12:31:23 -04:00
committed by Kyleeld
parent d0591362d7
commit 701d809f78
120 changed files with 383 additions and 920 deletions

View File

@@ -51,9 +51,10 @@ public class GraphicID
public static final int IMBUED_HEART = 1316;
public static final int FLYING_FISH = 1387;
public static final int OLM_BURN = 1351;
public static final int OLM_LIGHTNING = 1356;
public static final int OLM_TELEPORT = 1359;
public static final int OLM_HEAL = 1363;
public static final int OLM_CRYSTAL = 1447;
public static final int XERIC_TELEPORT = 1612;
public static final int HYDRA_LIGHTNING = 1666;
}
}

View File

@@ -20,13 +20,6 @@ import net.runelite.api.Actor;
@Data
public class AnimationChanged
{
public static final AnimationChanged INSTANCE = new AnimationChanged();
private AnimationChanged()
{
// noop
}
/**
* The actor that has entered a new animation.
*/

View File

@@ -29,13 +29,6 @@ import lombok.Data;
@Data
public class AreaSoundEffectPlayed
{
public static final AreaSoundEffectPlayed INSTANCE = new AreaSoundEffectPlayed();
private AreaSoundEffectPlayed()
{
// noop
}
private int soundId;
private int sceneX;
private int sceneY;

View File

@@ -29,13 +29,6 @@ import lombok.Data;
@Data
public class BeforeMenuRender
{
public static final BeforeMenuRender INSTANCE = new BeforeMenuRender();
private BeforeMenuRender()
{
// noop
}
private boolean consumed;
public void consume()

View File

@@ -29,10 +29,4 @@ package net.runelite.api.events;
*/
public class BeforeRender
{
public static final BeforeRender INSTANCE = new BeforeRender();
private BeforeRender()
{
// noop
}
}

View File

@@ -44,13 +44,6 @@ import lombok.Data;
@Data
public class BoostedLevelChanged
{
public static final BoostedLevelChanged INSTANCE = new BoostedLevelChanged();
private BoostedLevelChanged()
{
// noop
}
/**
* The skill that has had its level modified.
*/

View File

@@ -29,10 +29,4 @@ package net.runelite.api.events;
*/
public class CannonballFired
{
public static final CannonballFired INSTANCE = new CannonballFired();
private CannonballFired()
{
// noop
}
}

View File

@@ -28,6 +28,7 @@ import net.runelite.api.ChatMessageType;
import net.runelite.api.MessageNode;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* An event where a new chat message is received.
@@ -39,15 +40,9 @@ import lombok.Data;
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ChatMessage
{
public static final ChatMessage INSTANCE = new ChatMessage();
private ChatMessage()
{
// noop
}
/**
* The underlying MessageNode for the message.
*/

View File

@@ -24,21 +24,14 @@
*/
package net.runelite.api.events;
import lombok.Data;
import lombok.Value;
/**
* An event where the client has joined or left a clan chat.
*/
@Data
@Value
public class ClanChanged
{
public static final ClanChanged INSTANCE = new ClanChanged();
private ClanChanged()
{
// noop
}
/**
* Whether or not the client is now in a clan chat.
*/

View File

@@ -25,18 +25,11 @@
package net.runelite.api.events;
import net.runelite.api.ClanMember;
import lombok.Data;
import lombok.Value;
@Data
@Value
public class ClanMemberJoined
{
public static final ClanMemberJoined INSTANCE = new ClanMemberJoined();
private ClanMemberJoined()
{
// noop
}
/**
* The ClanMember that joined
*/

View File

@@ -25,18 +25,11 @@
package net.runelite.api.events;
import net.runelite.api.ClanMember;
import lombok.Data;
import lombok.Value;
@Data
@Value
public class ClanMemberLeft
{
public static final ClanMemberLeft INSTANCE = new ClanMemberLeft();
private ClanMemberLeft()
{
// noop
}
/**
* The ClanMember that left
*/

View File

@@ -29,10 +29,4 @@ package net.runelite.api.events;
*/
public class ClientTick
{
public static final ClientTick INSTANCE = new ClientTick();
private ClientTick()
{
// noop
}
}

View File

@@ -24,7 +24,7 @@
*/
package net.runelite.api.events;
import lombok.Data;
import lombok.Value;
/**
* An event where a command has been used in the chat.
@@ -41,16 +41,9 @@ import lombok.Data;
* set the command field to an empty string. For example, the message ":: hello world!"
* will set command to "" and arguments to ["hello", "world!"].
*/
@Data
@Value
public class CommandExecuted
{
public static final CommandExecuted INSTANCE = new CommandExecuted();
private CommandExecuted()
{
// noop
}
/**
* The name of the command entered.
*/

View File

@@ -35,13 +35,6 @@ import lombok.Data;
@Data
public class DecorativeObjectChanged
{
public static final DecorativeObjectChanged INSTANCE = new DecorativeObjectChanged();
private DecorativeObjectChanged()
{
// noop
}
/**
* The affected tile.
*/

View File

@@ -35,13 +35,6 @@ import lombok.Data;
@Data
public class DecorativeObjectDespawned
{
public static final DecorativeObjectDespawned INSTANCE = new DecorativeObjectDespawned();
private DecorativeObjectDespawned()
{
// noop
}
/**
* The affected tile.
*/

View File

@@ -34,13 +34,6 @@ import lombok.Data;
@Data
public class DecorativeObjectSpawned
{
public static final DecorativeObjectSpawned INSTANCE = new DecorativeObjectSpawned();
private DecorativeObjectSpawned()
{
// noop
}
/**
* The affected tile.
*/

View File

@@ -33,13 +33,6 @@ import lombok.Data;
@Data
public class DraggingWidgetChanged
{
public static final DraggingWidgetChanged INSTANCE = new DraggingWidgetChanged();
private DraggingWidgetChanged()
{
// noop
}
/**
* Whether a widget is currently being dragged.
*/

View File

@@ -34,13 +34,6 @@ import lombok.Data;
@Data
public class ExperienceChanged
{
public static final ExperienceChanged INSTANCE = new ExperienceChanged();
private ExperienceChanged()
{
// noop
}
/**
* The modified skill.
*/

View File

@@ -34,13 +34,6 @@ import net.runelite.api.Tile;
@Data
public class GameObjectChanged
{
public static final GameObjectChanged INSTANCE = new GameObjectChanged();
private GameObjectChanged()
{
// noop
}
/**
* The affected tile.
*/

View File

@@ -34,13 +34,6 @@ import lombok.Data;
@Data
public class GameObjectDespawned
{
public static final GameObjectDespawned INSTANCE = new GameObjectDespawned();
private GameObjectDespawned()
{
// noop
}
/**
* The affected tile.
*/

View File

@@ -34,13 +34,6 @@ import lombok.Data;
@Data
public class GameObjectSpawned
{
public static final GameObjectSpawned INSTANCE = new GameObjectSpawned();
private GameObjectSpawned()
{
// noop
}
/**
* The affected tile.
*/

View File

@@ -33,13 +33,6 @@ import lombok.Data;
@Data
public class GameStateChanged
{
public static final GameStateChanged INSTANCE = new GameStateChanged();
private GameStateChanged()
{
// noop
}
/**
* The new game state.
*/

View File

@@ -24,6 +24,8 @@
*/
package net.runelite.api.events;
import lombok.Data;
// The NPC update event seem to run every server tick,
// but having the game tick event after all packets
// have been processed is typically more useful.
@@ -41,12 +43,7 @@ package net.runelite.api.events;
* Note that occurrences that take place purely on the client, such as right
* click menus, are independent of the game tick.
*/
@Data
public class GameTick
{
public static final GameTick INSTANCE = new GameTick();
private GameTick()
{
// noop
}
}

View File

@@ -44,13 +44,6 @@ import lombok.Data;
@Data
public class GrandExchangeOfferChanged
{
public static final GrandExchangeOfferChanged INSTANCE = new GrandExchangeOfferChanged();
private GrandExchangeOfferChanged()
{
// noop
}
/**
* The offer that has been modified.
*/

View File

@@ -25,24 +25,16 @@
package net.runelite.api.events;
import net.runelite.api.GraphicsObject;
import lombok.Data;
import lombok.Value;
/**
* An event where a new {@link GraphicsObject} has been created.
*/
@Data
@Value
public class GraphicsObjectCreated
{
public static final GraphicsObjectCreated INSTANCE = new GraphicsObjectCreated();
private GraphicsObjectCreated()
{
// noop
}
/**
* The newly created graphics object.
*/
private GraphicsObject graphicsObject;
private final GraphicsObject graphicsObject;
}

View File

@@ -34,13 +34,6 @@ import lombok.Data;
@Data
public class GroundObjectChanged
{
public static final GroundObjectChanged INSTANCE = new GroundObjectChanged();
private GroundObjectChanged()
{
// noop
}
/**
* The affected tile.
*/

View File

@@ -34,13 +34,6 @@ import lombok.Data;
@Data
public class GroundObjectDespawned
{
public static final GroundObjectDespawned INSTANCE = new GroundObjectDespawned();
private GroundObjectDespawned()
{
// noop
}
/**
* The affected tile.
*/

View File

@@ -34,13 +34,6 @@ import lombok.Data;
@Data
public class GroundObjectSpawned
{
public static final GroundObjectSpawned INSTANCE = new GroundObjectSpawned();
private GroundObjectSpawned()
{
// noop
}
/**
* The affected tile.
*/

View File

@@ -38,13 +38,6 @@ import lombok.Data;
@Data
public class HitsplatApplied
{
public static final HitsplatApplied INSTANCE = new HitsplatApplied();
private HitsplatApplied()
{
// noop
}
/**
* The actor the hitsplat was applied to.
*/

View File

@@ -30,12 +30,5 @@ import lombok.Data;
@Data
public class InteractChanged
{
public static final InteractChanged INSTANCE = new InteractChanged();
private InteractChanged()
{
// noop
}
private Actor actor;
}

View File

@@ -1,26 +1,18 @@
package net.runelite.api.events;
import net.runelite.api.Actor;
import lombok.Data;
import lombok.Value;
/**
* An event called when the actor an actor is interacting with changes
*/
@Data
@Value
public class InteractingChanged
{
public static final InteractingChanged INSTANCE = new InteractingChanged();
private InteractingChanged()
{
// noop
}
private Actor source;
private final Actor source;
/**
* Target actor, may be null
*/
private Actor target;
private final Actor target;
}

View File

@@ -25,8 +25,7 @@
package net.runelite.api.events;
import net.runelite.api.ItemContainer;
import lombok.Data;
import lombok.Value;
/**
* An event called whenever the stack size of an {@link api.Item}
@@ -39,18 +38,11 @@ import lombok.Data;
* <li>Dropping an item</li>
* </ul>
*/
@Data
@Value
public class ItemContainerChanged
{
public static final ItemContainerChanged INSTANCE = new ItemContainerChanged();
private ItemContainerChanged()
{
// noop
}
/**
* The modified item container.
*/
private ItemContainer itemContainer;
private final ItemContainer itemContainer;
}

View File

@@ -26,23 +26,15 @@ package net.runelite.api.events;
import net.runelite.api.Item;
import net.runelite.api.Tile;
import lombok.Data;
import lombok.Value;
/**
* Called when an item pile despawns from the ground. When the client loads a new scene,
* all item piles are implicitly despawned, and despawn events will not be sent.
*/
@Data
@Value
public class ItemDespawned
{
public static final ItemDespawned INSTANCE = new ItemDespawned();
private ItemDespawned()
{
// noop
}
private Tile tile;
private Item item;
private final Tile tile;
private final Item item;
}

View File

@@ -26,23 +26,16 @@ package net.runelite.api.events;
import net.runelite.api.Item;
import net.runelite.api.Tile;
import lombok.Data;
import lombok.Value;
/**
* Called when the quantity of an item pile changes.
*/
@Data
@Value
public class ItemQuantityChanged
{
public static final ItemQuantityChanged INSTANCE = new ItemQuantityChanged();
private ItemQuantityChanged()
{
// noop
}
private Item item;
private Tile tile;
private int oldQuantity;
private int newQuantity;
private final Item item;
private final Tile tile;
private final int oldQuantity;
private final int newQuantity;
}

View File

@@ -26,22 +26,15 @@ package net.runelite.api.events;
import net.runelite.api.Item;
import net.runelite.api.Tile;
import lombok.Data;
import lombok.Value;
/**
* Called when an item pile spawns on the ground. When the client loads a new scene,
* all item piles are implicitly reset and a new spawn event will be sent.
*/
@Data
@Value
public class ItemSpawned
{
public static final ItemSpawned INSTANCE = new ItemSpawned();
private ItemSpawned()
{
// noop
}
private Tile tile;
private Item item;
private final Tile tile;
private final Item item;
}

View File

@@ -29,10 +29,4 @@ package net.runelite.api.events;
*/
public class LocalPlayerDeath
{
public static final LocalPlayerDeath INSTANCE = new LocalPlayerDeath();
private LocalPlayerDeath()
{
// noop
}
}

View File

@@ -35,17 +35,10 @@ import net.runelite.api.MenuEntry;
@AllArgsConstructor
public class MenuEntryAdded
{
public static final MenuEntryAdded INSTANCE = new MenuEntryAdded();
private MenuEntryAdded()
{
// noop
}
/**
* The MenuEntry object that was actually added
*/
private MenuEntry menuEntry;
private final MenuEntry menuEntry;
public String getOption()
{

View File

@@ -33,13 +33,6 @@ import lombok.Data;
@Data
public class MenuOpened
{
public static final MenuOpened INSTANCE = new MenuOpened();
private MenuOpened()
{
// noop
}
/**
* The menu entries in the newly opened menu.
* <p>

View File

@@ -42,13 +42,6 @@ import net.runelite.api.MenuEntry;
@Data
public class MenuOptionClicked
{
public static final MenuOptionClicked INSTANCE = new MenuOptionClicked();
private MenuOptionClicked()
{
// noop
}
public MenuOptionClicked(MenuEntry entry)
{
menuEntry = entry;

View File

@@ -33,13 +33,6 @@ import lombok.Data;
@Data
public class MenuShouldLeftClick
{
public static final MenuShouldLeftClick INSTANCE = new MenuShouldLeftClick();
private MenuShouldLeftClick()
{
// noop
}
/**
* If set to true, the menu will open on left click.
*/

View File

@@ -25,23 +25,16 @@
package net.runelite.api.events;
import net.runelite.api.Nameable;
import lombok.Data;
import lombok.Value;
/**
* An event where a {@link Nameable} has had their name changed.
*/
@Data
@Value
public class NameableNameChanged
{
public static final NameableNameChanged INSTANCE = new NameableNameChanged();
private NameableNameChanged()
{
// noop
}
/**
* The nameable that changed names.
*/
private Nameable nameable;
private final Nameable nameable;
}

View File

@@ -33,13 +33,6 @@ import net.runelite.api.NPCDefinition;
@Data
public class NpcActionChanged
{
public static final NpcActionChanged INSTANCE = new NpcActionChanged();
private NpcActionChanged()
{
// noop
}
/**
* The NPC composition that has been changed.
*/

View File

@@ -26,25 +26,18 @@ package net.runelite.api.events;
import net.runelite.api.Actor;
import net.runelite.api.NPC;
import lombok.Data;
import lombok.Value;
/**
* An event where an {@link NPC} has despawned.
*/
@Data
@Value
public class NpcDespawned
{
public static final NpcDespawned INSTANCE = new NpcDespawned();
private NpcDespawned()
{
// noop
}
/**
* The despawned NPC.
*/
private NPC npc;
private final NPC npc;
public Actor getActor()
{

View File

@@ -26,25 +26,18 @@ package net.runelite.api.events;
import net.runelite.api.Actor;
import net.runelite.api.NPC;
import lombok.Data;
import lombok.Value;
/**
* An event where an {@link NPC} has spawned.
*/
@Data
@Value
public class NpcSpawned
{
public static final NpcSpawned INSTANCE = new NpcSpawned();
private NpcSpawned()
{
// noop
}
/**
* The spawned NPC.
*/
private NPC npc;
private final NPC npc;
public Actor getActor()
{

View File

@@ -1,19 +1,12 @@
package net.runelite.api.events;
import net.runelite.api.Actor;
import lombok.Data;
import lombok.Value;
@Data
@Value
public class OverheadTextChanged
{
public static final OverheadTextChanged INSTANCE = new OverheadTextChanged();
private final Actor actor;
private OverheadTextChanged()
{
// noop
}
private Actor actor;
private String overheadText;
private final String overheadText;
}

View File

@@ -26,27 +26,20 @@ package net.runelite.api.events;
import net.runelite.api.Actor;
import net.runelite.api.Player;
import lombok.Data;
import lombok.Value;
/**
* An event where a {@link Player} has despawned.
* <p>
* Note: This event does not get called for the local player.
*/
@Data
@Value
public class PlayerDespawned
{
public static final PlayerDespawned INSTANCE = new PlayerDespawned();
private PlayerDespawned()
{
// noop
}
/**
* The despawned player.
*/
private Player player;
private final Player player;
public Actor getActor()
{

View File

@@ -33,13 +33,6 @@ import lombok.Data;
@Data
public class PlayerMenuOptionClicked
{
public static final PlayerMenuOptionClicked INSTANCE = new PlayerMenuOptionClicked();
private PlayerMenuOptionClicked()
{
// noop
}
/**
* The menu option clicked.
*/

View File

@@ -29,13 +29,6 @@ import lombok.Data;
@Data
public class PlayerMenuOptionsChanged
{
public static final PlayerMenuOptionsChanged INSTANCE = new PlayerMenuOptionsChanged();
private PlayerMenuOptionsChanged()
{
// noop
}
/**
* Index in playerOptions which changed.
*/

View File

@@ -26,25 +26,18 @@ package net.runelite.api.events;
import net.runelite.api.Actor;
import net.runelite.api.Player;
import lombok.Data;
import lombok.Value;
/**
* An event where a {@link Player} has spawned.
*/
@Data
@Value
public class PlayerSpawned
{
public static final PlayerSpawned INSTANCE = new PlayerSpawned();
private PlayerSpawned()
{
// noop
}
/**
* The spawned player.
*/
private Player player;
private final Player player;
public Actor getActor()
{

View File

@@ -30,12 +30,5 @@ import lombok.Data;
@Data
public class PostHealthBar
{
public static final PostHealthBar INSTANCE = new PostHealthBar();
private PostHealthBar()
{
// noop
}
private HealthBar healthBar;
}

View File

@@ -34,13 +34,6 @@ import net.runelite.api.ItemDefinition;
@Data
public class PostItemDefinition
{
public static final PostItemDefinition INSTANCE = new PostItemDefinition();
private PostItemDefinition()
{
// noop
}
/**
* The newly created item.
*/

View File

@@ -37,13 +37,6 @@ import lombok.Data;
@Data
public class ProjectileMoved
{
public static final ProjectileMoved INSTANCE = new ProjectileMoved();
private ProjectileMoved()
{
// noop
}
/**
* The projectile being moved.
*/

View File

@@ -34,13 +34,6 @@ import lombok.Data;
@Data
public class ProjectileSpawned
{
public static final ProjectileSpawned INSTANCE = new ProjectileSpawned();
private ProjectileSpawned()
{
// noop
}
/**
* The spawned projectile.
*/

View File

@@ -24,23 +24,16 @@
*/
package net.runelite.api.events;
import lombok.Data;
import lombok.Value;
/**
* An event where a request to remove a friend is sent to the server.
*/
@Data
@Value
public class RemovedFriend
{
public static final RemovedFriend INSTANCE = new RemovedFriend();
private RemovedFriend()
{
// noop
}
/**
* The name of the removed friend.
*/
private String name;
private final String name;
}

View File

@@ -34,13 +34,6 @@ import lombok.Data;
@Data
public class ResizeableChanged
{
public static final ResizeableChanged INSTANCE = new ResizeableChanged();
private ResizeableChanged()
{
// noop
}
/**
* Whether the game is in resizable mode.
*/

View File

@@ -33,13 +33,6 @@ import lombok.Data;
@Data
public class ScriptCallbackEvent
{
public static final ScriptCallbackEvent INSTANCE = new ScriptCallbackEvent();
private ScriptCallbackEvent()
{
// noop
}
/**
* The script being called.
*/

View File

@@ -29,13 +29,6 @@ import lombok.Data;
@Data
public class SoundEffectPlayed
{
public static final SoundEffectPlayed INSTANCE = new SoundEffectPlayed();
private SoundEffectPlayed()
{
// noop
}
private int soundId;
private int delay;
}

View File

@@ -21,13 +21,6 @@ import net.runelite.api.Actor;
@Data
public class SpotAnimationChanged
{
public static final SpotAnimationChanged INSTANCE = new SpotAnimationChanged();
private SpotAnimationChanged()
{
// noop
}
/**
* The actor that has had their graphic changed.
*/

View File

@@ -32,10 +32,4 @@ package net.runelite.api.events;
*/
public class UsernameChanged
{
public static final UsernameChanged INSTANCE = new UsernameChanged();
private UsernameChanged()
{
// noop
}
}

View File

@@ -25,20 +25,13 @@
*/
package net.runelite.api.events;
import lombok.Data;
import lombok.Value;
/**
* An event where a varbit integer has changed.
*/
@Data
@Value
public class VarClientIntChanged
{
public static final VarClientIntChanged INSTANCE = new VarClientIntChanged();
private VarClientIntChanged()
{
// noop
}
private int index;
}

View File

@@ -25,20 +25,13 @@
*/
package net.runelite.api.events;
import lombok.Data;
import lombok.Value;
/**
* An event where a varbit string has changed.
*/
@Data
@Value
public class VarClientStrChanged
{
public static final VarClientStrChanged INSTANCE = new VarClientStrChanged();
private VarClientStrChanged()
{
// noop
}
private int index;
}

View File

@@ -34,13 +34,6 @@ import lombok.Data;
@Data
public class VarbitChanged
{
public static final VarbitChanged INSTANCE = new VarbitChanged();
private VarbitChanged()
{
// noop
}
/**
* Index in the varp array that was changed.
* For varplayer, this is the varplayer id.

View File

@@ -34,13 +34,6 @@ import lombok.Data;
@Data
public class WallObjectChanged
{
public static final WallObjectChanged INSTANCE = new WallObjectChanged();
private WallObjectChanged()
{
// noop
}
/**
* The affected tile.
*/

View File

@@ -34,13 +34,6 @@ import lombok.Data;
@Data
public class WallObjectDespawned
{
public static final WallObjectDespawned INSTANCE = new WallObjectDespawned();
private WallObjectDespawned()
{
// noop
}
/**
* The affected tile.
*/

View File

@@ -34,13 +34,6 @@ import lombok.Data;
@Data
public class WallObjectSpawned
{
public static final WallObjectSpawned INSTANCE = new WallObjectSpawned();
private WallObjectSpawned()
{
// noop
}
/**
* The affected tile.
*/

View File

@@ -33,13 +33,6 @@ import lombok.Data;
@Data
public class WidgetHiddenChanged
{
public static final WidgetHiddenChanged INSTANCE = new WidgetHiddenChanged();
private WidgetHiddenChanged()
{
// noop
}
/**
* The affected widget.
*/

View File

@@ -32,13 +32,6 @@ import lombok.Data;
@Data
public class WidgetLoaded
{
public static final WidgetLoaded INSTANCE = new WidgetLoaded();
private WidgetLoaded()
{
// noop
}
/**
* The group ID of the loaded widget.
*/

View File

@@ -33,13 +33,6 @@ import lombok.Data;
@Data
public class WidgetMenuOptionClicked
{
public static final WidgetMenuOptionClicked INSTANCE = new WidgetMenuOptionClicked();
private WidgetMenuOptionClicked()
{
// noop
}
/**
* The clicked menu option.
*/

View File

@@ -24,16 +24,13 @@
*/
package net.runelite.api.events;
import lombok.Value;
/**
* An event where the position of a {@link net.runelite.api.widgets.Widget}
* relative to its parent has changed.
*/
@Value
public class WidgetPositioned
{
public static final WidgetPositioned INSTANCE = new WidgetPositioned();
private WidgetPositioned()
{
// noop
}
}

View File

@@ -25,20 +25,13 @@
package net.runelite.api.events;
import net.runelite.api.World;
import lombok.Data;
import lombok.Value;
/**
* Event when the world list is loaded for the world switcher
*/
@Data
@Value
public class WorldListLoad
{
public static final WorldListLoad INSTANCE = new WorldListLoad();
private WorldListLoad()
{
// noop
}
private World[] worlds;
private final World[] worlds;
}