Table of Contents

Enum TradeCloseReason

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Why a trade session ended.

public enum TradeCloseReason : byte

Fields

Cancelled = 1

You cancelled.

CannotAct = 5

One of you can no longer act (dead, stunned, teleporting).

Completed = 0

Both sides accepted and the exchange was applied.

Failed = 7

The server could not validate the exchange at the moment of completion.

NoRoom = 6

One side has no room for what the other offered.

OutOfRange = 3

The two of you moved out of trading range.

PartnerCancelled = 2

The other party cancelled.

PartnerLeft = 4

The other party left the scene or disconnected.

ServerShutdown = 8

The server is shutting the trade system down.

Remarks

Every session ends with exactly one of these, delivered to both parties. The reasons are receiver-shaped: the party that cancelled is told Cancelled and the other party PartnerCancelled, so a client never has to work out which side it was on from a character id.