MenuAction Enumeration

Different actions for the menu "pump" callback

Values 10

Name Description
MenuAction_Start

A menu has been started (nothing passed)

MenuAction_Display

A menu is about to be displayed (param1=client, param2=MenuPanel Handle)

MenuAction_Select

An item was selected (param1=client, param2=item)

MenuAction_Cancel

The menu was cancelled (param1=client, param2=reason)

MenuAction_End

MenuAction_VoteEnd

A 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_VoteStart

(VOTE ONLY): A vote sequence has succeeded (param1=chosen item) This is not called if SetVoteResultCallback has been used on the menu.

MenuAction_VoteCancel

(VOTE ONLY): A vote sequence has been cancelled (param1=reason)

MenuAction_DrawItem

An item is being drawn; return the new style (param1=client, param2=item)

MenuAction_DisplayItem