MenuAction

Last Updated2007-11-25
Created At2007-05-14

Different actions for the menu "pump" callback

EntryDescription
MenuAction_StartA menu has been started (nothing passed)
MenuAction_End
MenuAction_CancelThe menu was cancelled (param1=client, param2=reason)
MenuAction_SelectAn item was selected (param1=client, param2=item)
MenuAction_VoteCancel(VOTE ONLY): A vote sequence has been cancelled (param1=reason)
MenuAction_DisplayA menu is about to be displayed (param1=client, param2=MenuPanel Handle)
MenuAction_VoteStart(VOTE ONLY): A vote sequence has succeeded (param1=chosen item) This is not called if SetVoteResultCallback has been used on the menu.
MenuAction_DrawItemAn item is being drawn; return the new style (param1=client, param2=item)
MenuAction_VoteEndA menu display has fully ended. param1 is the MenuEnd reason, and if it's MenuEnd_Cancelled, then param2 is the MenuCancel reason from MenuAction_Cancel.
MenuAction_DisplayItem