project: Add back MenuEntryAdded setters
This commit is contained in:
@@ -25,6 +25,7 @@
|
|||||||
package net.runelite.api.events;
|
package net.runelite.api.events;
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An event when a new entry is added to a right-click menu.
|
* An event when a new entry is added to a right-click menu.
|
||||||
@@ -49,25 +50,32 @@ public class MenuEntryAdded
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
private final String option;
|
@Setter
|
||||||
|
private String option;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
private final String target;
|
@Setter
|
||||||
|
private String target;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
private final int type;
|
@Setter
|
||||||
|
private int type;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
private final int identifier;
|
@Setter
|
||||||
|
private int identifier;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
private final int actionParam0;
|
@Setter
|
||||||
|
private int actionParam0;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
private final int actionParam1;
|
@Setter
|
||||||
|
private int actionParam1;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
private final boolean forceLeftClick;
|
@Setter
|
||||||
|
private boolean forceLeftClick;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If this is set to true client mixin will update
|
* If this is set to true client mixin will update
|
||||||
@@ -77,6 +85,7 @@ public class MenuEntryAdded
|
|||||||
* been multiple changes
|
* been multiple changes
|
||||||
*/
|
*/
|
||||||
@Getter
|
@Getter
|
||||||
|
@Setter
|
||||||
private boolean modified;
|
private boolean modified;
|
||||||
|
|
||||||
public void setModified()
|
public void setModified()
|
||||||
|
|||||||
Reference in New Issue
Block a user