rl-api: expose ObjectComposition::varbitId/varPlayerId
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
*/
|
||||
package net.runelite.api;
|
||||
|
||||
import net.runelite.api.annotations.Varbit;
|
||||
|
||||
/**
|
||||
* Information about a specific {@link ObjectID}
|
||||
*/
|
||||
@@ -73,4 +75,21 @@ public interface ObjectComposition extends ParamHolder
|
||||
* @throws NullPointerException if {@link #getImpostorIds()} is null
|
||||
*/
|
||||
ObjectComposition getImpostor();
|
||||
|
||||
/**
|
||||
* Gets the {@link Varbits} used to switch this multiloc, or {@code -1} if this is not switched by a Varbit
|
||||
*
|
||||
* @see #getImpostor()
|
||||
* @see #getImpostorIds()
|
||||
*/
|
||||
@Varbit
|
||||
int getVarbitId();
|
||||
|
||||
/**
|
||||
* Gets the {@link VarPlayer} used to switch this multiloc, or {@code -1} if this is not switched by a VarPlayer
|
||||
*
|
||||
* @see #getImpostor()
|
||||
* @see #getImpostorIds()
|
||||
*/
|
||||
int getVarPlayerId();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user