Merge branch 'master' into maven
This commit is contained in:
@@ -197,6 +197,7 @@ public final class AnimationID
|
||||
public static final int FARMING_PLANT_SEED = 2291;
|
||||
public static final int FARMING_HARVEST_FLOWER = 2292;
|
||||
public static final int FARMING_MIX_ULTRACOMPOST = 7699;
|
||||
public static final int FARMING_HARVEST_ALLOTMENT = 830;
|
||||
|
||||
// Lunar spellbook
|
||||
public static final int ENERGY_TRANSFER_VENGEANCE_OTHER = 4411;
|
||||
@@ -315,7 +316,7 @@ public final class AnimationID
|
||||
public static final int DAG_SUPREME = 2855;
|
||||
|
||||
// Lizardman shaman
|
||||
public static final int LIZARDMAN_SHAMAN_SPAWN = 2855;
|
||||
public static final int LIZARDMAN_SHAMAN_SPAWN = 7157;
|
||||
|
||||
// Combat counter
|
||||
public static final int BARRAGE_ANIMATION = 1979;
|
||||
|
||||
@@ -1353,6 +1353,20 @@ public interface Client extends GameShell
|
||||
*/
|
||||
void setInterpolateObjectAnimations(boolean interpolate);
|
||||
|
||||
/**
|
||||
* Checks whether animation smoothing is enabled for widgets.
|
||||
*
|
||||
* @return true if widget animation smoothing is enabled, false otherwise
|
||||
*/
|
||||
boolean isInterpolateWidgetAnimations();
|
||||
|
||||
/**
|
||||
* Sets the animation smoothing state for widgets.
|
||||
*
|
||||
* @param interpolate the new smoothing state
|
||||
*/
|
||||
void setInterpolateWidgetAnimations(boolean interpolate);
|
||||
|
||||
/**
|
||||
* Checks whether the logged in player is in an instanced region.
|
||||
*
|
||||
|
||||
@@ -82,4 +82,16 @@ public enum InventoryID
|
||||
{
|
||||
return id;
|
||||
}
|
||||
|
||||
public static InventoryID getValue(int value)
|
||||
{
|
||||
for (InventoryID e: InventoryID.values())
|
||||
{
|
||||
if (e.id == value)
|
||||
{
|
||||
return e;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -28,7 +28,7 @@ import net.runelite.api.ItemContainer;
|
||||
import lombok.Value;
|
||||
|
||||
/**
|
||||
* An event called whenever the stack size of an {@link api.Item}
|
||||
* An event called whenever the stack size of an {@link net.runelite.api.Item}
|
||||
* in an {@link ItemContainer} is modified.
|
||||
* <p>
|
||||
* Examples of when this event may trigger include:
|
||||
@@ -41,6 +41,11 @@ import lombok.Value;
|
||||
@Value
|
||||
public class ItemContainerChanged
|
||||
{
|
||||
/**
|
||||
* The modified container's ID.
|
||||
*/
|
||||
private final int containerId;
|
||||
|
||||
/**
|
||||
* The modified item container.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user