This commit is contained in:
therealunull
2020-12-14 15:49:52 -05:00
parent c2f3a662f2
commit 04041491fc
15 changed files with 1829 additions and 40 deletions

View File

@@ -739,15 +739,6 @@ public interface Client extends GameShell
*/
String getVar(VarClientStr varClientStr);
/**
* Gets the value of a given VarPlayer.
*
* @param varpId the VarPlayer id
* @return the value
*/
@VisibleForExternalPlugins
int getVarpValue(int varpId);
/**
* Gets the value of a given Varbit.
*
@@ -813,16 +804,6 @@ public interface Client extends GameShell
*/
int getVarpValue(int[] varps, int varpId);
/**
* Sets the value of a given VarPlayer.
*
* @param varps passed varps
* @param varpId the VarpPlayer id
* @param value the value
* @see VarPlayer#id
*/
void setVarpValue(int[] varps, int varpId, int value);
/**
* Sets the value of a given variable.
*
@@ -2087,7 +2068,6 @@ public interface Client extends GameShell
//TODO: Implement
VarbitComposition getVarbit(Integer id);
//TODO: Implement
Widget getWidget(int param1);
//TODO: Implement

View File

@@ -19,7 +19,7 @@ import net.runelite.api.Actor;
* @see net.runelite.api.GraphicID
*/
@Data
public class SpotAnimationChanged implements Event
public class GraphicChanged implements Event
{
/**
* The actor that has had their graphic changed.

View File

@@ -26,6 +26,7 @@ package net.runelite.api.events;
import lombok.Value;
import net.runelite.api.NPC;
import net.runelite.api.NPCComposition;
/**
* Fires after the composition of an {@link NPC} changes.
@@ -37,4 +38,10 @@ public class NpcChanged implements Event
* The NPC of which the composition changed.
*/
NPC npc;
/**
* The old composition of the NPC
*/
NPCComposition old;
}