api: combine projectileid and graphicid

This commit is contained in:
Adam
2022-01-14 19:40:03 -05:00
parent 0d76c441d3
commit dbf1b3b011
6 changed files with 12 additions and 47 deletions

View File

@@ -107,7 +107,6 @@
<exclude>net/runelite/api/ObjectID.class</exclude>
<exclude>net/runelite/api/Opcodes.class</exclude>
<exclude>net/runelite/api/ParamID.class</exclude>
<exclude>net/runelite/api/ProjectileID.class</exclude>
<exclude>net/runelite/api/ScriptID.class</exclude>
<exclude>net/runelite/api/SettingID.class</exclude>
<exclude>net/runelite/api/SoundEffectID.class</exclude>

View File

@@ -27,9 +27,11 @@ package net.runelite.api;
public final class GraphicID
{
public static final int WINE_MAKE = 47;
public static final int CANNONBALL = 53;
public static final int SPLASH = 85;
public static final int TELEPORT = 111;
public static final int GREY_BUBBLE_TELEPORT = 86;
public static final int TELEPORT = 111;
public static final int TELEKINETIC_SPELL = 143;
public static final int ENTANGLE = 179;
public static final int SNARE = 180;
public static final int BIND = 181;
@@ -39,14 +41,16 @@ public final class GraphicID
public static final int ICE_BARRAGE = 369;
public static final int VENGEANCE_OTHER = 725;
public static final int VENGEANCE = 726;
public static final int NPC_CONTACT = 728;
public static final int POT_SHARE = 733;
public static final int BAKE_PIE = 746;
public static final int BOOK_HOME_TELEPORT_1 = 800;
public static final int BOOK_HOME_TELEPORT_2 = 802;
public static final int BOOK_HOME_TELEPORT_3 = 803;
public static final int BOOK_HOME_TELEPORT_4 = 804;
public static final int STAFF_OF_THE_DEAD = 1228;
public static final int FLYING_FISH = 1387;
public static final int NPC_CONTACT = 728;
public static final int POT_SHARE = 733;
public static final int BAKE_PIE = 746;
public static final int GRANITE_CANNONBALL = 1443;
public static final int GRAPHICS_OBJECT_ROCKFALL = 1727;
public static final int ZALCANO_PROJECTILE_FIREBALL = 1728;
}

View File

@@ -33,7 +33,7 @@ public interface Projectile extends Renderable
* Gets the ID of the projectile.
*
* @return the projectile ID
* @see ProjectileID
* @see GraphicID
*/
int getId();

View File

@@ -1,38 +0,0 @@
/*
* Copyright (c) 2017, Adam <Adam@sigterm.info>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package net.runelite.api;
/**
* Utility class used for mapping projectile IDs.
* <p>
* Note: This class is not complete and may be missing mapped IDs.
*/
public final class ProjectileID
{
public static final int CANNONBALL = 53;
public static final int GRANITE_CANNONBALL = 1443;
public static final int TELEKINETIC_SPELL = 143;
public static final int ZALCANO_PROJECTILE_FIREBALL = 1728;
}