TopMenu objects are used for constructing multi-layer menus. Currently, they support at most two levels. The first level of items are called "categories".
Adds a category to a TopMenu.
Adds an item to a TopMenu category.
Displays a TopMenu to a client.
Displays a TopMenu category to a client.
Finds a category's topobj ID in a TopMenu.
Returns a TopMenu handle from a generic handle. If the given handle is a TopMenu, the handle is simply casted back. Otherwise, an error is raised.
Retrieves the info string of a top menu item.
Retrieves the name string of a top menu item.
Re-sorts the items in a TopMenu via a configuration file.
Removes an topobj from a TopMenu.
Creates a new TopMenu.
Set the menu title caching behavior of the TopMenu. By default titles are cached to reduce overhead. If you need dynamic menu titles which change each time the menu is displayed to a user, set this to false.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.