Table of Contents

Enum MerchantPurchaseFailure

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Why a merchant purchase was refused.

public enum MerchantPurchaseFailure : byte

Fields

AbilityLimit = 7

The character holds as many usable abilities as the server allows. Its own reason rather than NoRoom, because the remedy is different: nothing in the bags needs clearing, and the merchant panel says so.

AlreadyKnown = 6

The character already knows the ability or ability event on offer.

InsufficientFunds = 4

The character cannot afford the requested quantity.

InvalidEntry = 2

The entry index or tab did not resolve to something purchasable.

NoRoom = 5

There is no room to receive the goods.

None = 0

No failure; the purchase succeeded.

NotForSale = 3

The entry is priced below zero, which is not a price. A price of ZERO is free and is sold normally — it used to land here, and since Price is an int defaulting to 0 that made every unedited template unsellable.

Unavailable = 1

The merchant, character or session no longer validates.