project: Support for creating a bare MenuEntry

This commit is contained in:
Owain van Brakel
2021-12-17 11:44:13 +01:00
parent 939a3bac5e
commit 99802813b3
4 changed files with 69 additions and 0 deletions

View File

@@ -643,6 +643,12 @@ public interface Client extends GameEngine
*/
MenuEntry createMenuEntry(int idx);
/**
* Create a new menu entry
* @return the newly created menu entry
*/
MenuEntry createMenuEntry(String option, String target, int identifier, int opcode, int param1, int param2);
/**
* Gets an array of currently open right-click menu entries that can be
* clicked and activated.