Skip to content

ShowItemList

A static method in MainManager. This method aims to display an ItemList or refresh an existing one.

Signature

public static void ShowItemList(int type, Vector2 position, bool showdescription, bool sell)

Parameters

type

The type of ItemList to display. For more details, see listtype.

position

The position to render the ItemList relative to GUICamera.

showdescription

Whether to show the listdescbox of the selected option.

sell

Whether to define the ItemList as an item sell list. This influences the ability to multi select and the description rendering which will have a line detailing the selling price of the item hovered on when showdescription is true.

Remarks

This can also be called via the Pickitem SetText command.

For more information about how ItemLists work, check these documents: