Represents a seller of goods (items) or services (crafting & enchanting).
Namespace: Esper.Inventool.Merchants Access: public Type: class Inherits: ScriptableObject
Esper.Inventool.Merchants
public
class
ScriptableObject
public static
onActionFailed
UnityEvent<MerchantError, string>
A callback for when an action performed on any merchant fails. Accepts two arguments: the error type (MerchantError) and the error message (string).
MerchantError
string
public enum MerchantError
Types of reasons why a merchant action has failed.
Unknown
An unknown error.
InsufficientResources
Lacking currency or resources for the item or service.
NoSpace
No space in the inventory for the item.
ServiceOrGoodsNotProvided
The merchant doesnโt sell the specific good or service.