scriptvmmixin: change event firing order

This commit is contained in:
ThatGamerBlue
2020-06-18 13:36:44 +01:00
committed by Lucwousin
parent 9b06cbb192
commit c314b42744
2 changed files with 67 additions and 48 deletions

View File

@@ -24,22 +24,22 @@
*/
package net.runelite.api.events;
import lombok.Data;
import lombok.Value;
import net.runelite.api.ScriptEvent;
/**
* An event that is fired before the designated script is ran
*/
@Data
@Value
public class ScriptPreFired implements Event
{
/**
* The script id of the invoked script
*/
private final int scriptId;
int scriptId;
/**
* The input of the script invoke, this will be null unless it is the root script
*/
private ScriptEvent scriptEvent;
ScriptEvent scriptEvent;
}