api: add changed varp index to VarbitChanged event

This commit is contained in:
Adam
2019-03-01 22:28:56 -05:00
parent 9d71713710
commit b6ab78b501
3 changed files with 10 additions and 2 deletions

View File

@@ -29,9 +29,14 @@ package net.runelite.api.events;
import lombok.Data;
/**
* An event where a varbit has changed.
* An event when a varbit or varplayer has changed.
*/
@Data
public class VarbitChanged
{
/**
* Index in the varp array that was changed.
* For varplayer, this is the varplayer id.
*/
private int index = -1;
}