ICoreGUIShopService

Core GUI Service

Interface

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. This state can be linked to