runelite-api: Add missing documentation

This commit is contained in:
Matthew Steglinski
2018-05-25 13:16:12 -04:00
committed by Adam
parent d2871d925c
commit 243d7ddbfa
155 changed files with 4190 additions and 322 deletions

View File

@@ -26,14 +26,38 @@ package net.runelite.api;
import lombok.Data;
/**
* A menu entry in a right-click menu.
*/
@Data
public class MenuEntry
{
/**
* The option text added to the menu (ie. "Walk here", "Use").
*/
private String option;
/**
* The target of the action (ie. Item or Actor name).
* <p>
* If the option does not apply to any target, this field
* will be set to empty string.
*/
private String target;
/**
* An identifier value for the target of the action.
*/
private int identifier;
/**
* The action the entry will trigger.
*/
private int type;
/**
* An additional parameter for the action.
*/
private int param0;
/**
* A second additional parameter for the action.
*/
private int param1;
@Override