Table of Contents

Enum HousingResult

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Why a housing request was refused.

public enum HousingResult : byte

Fields

AlreadyClaimed = 7

Somebody else got there first.

AlreadyOwnsLand = 8

The requester already owns land, and may only own one plot.

CannotAfford = 6

The requester cannot pay.

Disabled = 1

Housing is switched off on this server.

DoesNotFit = 9

The placement would not fit.

Failed = 11

Something failed on the server. Nothing was changed.

NotPermitted = 4

The requester lacks the permission the request needs.

NotTheOwner = 3

The requester does not own the plot.

NothingStored = 10

The vault entry named is not there.

Success = 0

The request was accepted.

UnknownPlot = 2

The plot named does not exist, or has not been resolved yet.

WrongState = 5

The plot is not in a state where this makes sense.

Remarks

Sent back rather than letting a refusal be silence. Housing refuses things for reasons the player cannot see — somebody claimed the plot on another channel a second ago, the owner revoked a key, the land is mid-reclamation — and a request that produces no answer at all is indistinguishable from one that was dropped. The client would have nothing to show and nothing to retry against.

Values are explicit because they cross the wire; renumbering would change what an already-built client displays.