mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-07-13 22:01:04 -04:00
27 lines
844 B
Java
Executable File
27 lines
844 B
Java
Executable File
package script.terminal;
|
|
|
|
import script.menu_info;
|
|
import script.menu_info_types;
|
|
import script.obj_id;
|
|
import script.string_id;
|
|
|
|
public class mission extends script.terminal.base.base_terminal
|
|
{
|
|
public mission()
|
|
{
|
|
}
|
|
public static final string_id SID_MISSION_OPTIONS = new string_id("terminal_ui", "mission_options");
|
|
public int OnObjectMenuRequest(obj_id self, obj_id player, menu_info mi) throws InterruptedException
|
|
{
|
|
int mnu = mi.addRootMenu(menu_info_types.MISSION_DETAILS, SID_MISSION_OPTIONS);
|
|
return super.OnObjectMenuRequest(self, player, mi);
|
|
}
|
|
public int OnObjectMenuSelect(obj_id self, obj_id player, int item) throws InterruptedException
|
|
{
|
|
if (item == menu_info_types.MISSION_DETAILS)
|
|
{
|
|
}
|
|
return SCRIPT_CONTINUE;
|
|
}
|
|
}
|