MenuHandler Typedef

Called when a menu action is completed.

typedef MenuHandler = function int(Menu menu, MenuAction action, int param1, int param2)

Tags

menu

The menu being acted upon.

action

The action of the menu.

param1

First action parameter (usually the client).

param2

Second action parameter (usually the item).