Move SlayerUnlock to slayer plugin

This commit is contained in:
Adam
2022-04-09 23:43:39 -04:00
parent b24f9c59fc
commit c693a5d4dc
2 changed files with 3 additions and 4 deletions

View File

@@ -70,7 +70,6 @@ import net.runelite.api.events.HitsplatApplied;
import net.runelite.api.events.NpcDespawned; import net.runelite.api.events.NpcDespawned;
import net.runelite.api.events.NpcSpawned; import net.runelite.api.events.NpcSpawned;
import net.runelite.api.events.StatChanged; import net.runelite.api.events.StatChanged;
import net.runelite.api.vars.SlayerUnlock;
import net.runelite.api.widgets.Widget; import net.runelite.api.widgets.Widget;
import net.runelite.api.widgets.WidgetInfo; import net.runelite.api.widgets.WidgetInfo;
import net.runelite.client.Notifier; import net.runelite.client.Notifier;

View File

@@ -22,7 +22,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
package net.runelite.api.vars; package net.runelite.client.plugins.slayer;
import net.runelite.api.Client; import net.runelite.api.Client;
import net.runelite.api.VarPlayer; import net.runelite.api.VarPlayer;
@@ -31,7 +31,7 @@ import net.runelite.api.Varbits;
/** /**
* Unlockables in the slayer interface * Unlockables in the slayer interface
*/ */
public enum SlayerUnlock enum SlayerUnlock
{ {
// Copied from enum 834 in the cache // Copied from enum 834 in the cache
// enum 854 contains if you can disable the unlock // enum 854 contains if you can disable the unlock
@@ -87,7 +87,7 @@ public enum SlayerUnlock
VAMPYRE_EXTEND(49), VAMPYRE_EXTEND(49),
VAMPYRE_UNLOCK(50); VAMPYRE_UNLOCK(50);
private Varbits toggleVarbit; private final Varbits toggleVarbit;
SlayerUnlock(int index) SlayerUnlock(int index)
{ {