ICoreGUIShopService

Core GUI Service

Interface

Interface for world-shop specific functionality. This only controls the world shop GUI, not the universal shop GUI.

Properties

isGUIEnabled

Can the user currently open the shop GUI?

isGUIOpen

Is the shop GUI currently open?

Methods

SelectItem(string)

Select an item in the Shop GUI. This only works if the shop GUI is open.

SetItemEnabled(string, bool, string)

Set the enabled state for an item in the shop GUI. This can be useful to prevent users from purchasing items until they have attained a certain XP or Level. All items in the shop are enabled by default.

SetItemVisibility(string, bool)

Set the visibility state of an item in the shop GUI. This can be useful to only show items in the shop GUI that the user can currently purchase.