Table of Contents

Enum PlotPlacementResult

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Why a structure could not be placed on a plot.

public enum PlotPlacementResult

Fields

Allowed = 0

The structure may be placed.

NotBuilding = 4

The plot is not in building mode.

NotTheOwner = 3

The character does not own the plot.

Occupied = 6

The structure would intersect something already built here.

OutOfBounds = 5

Some part of the structure would fall outside the plot.

UnknownPlot = 1

The plot could not be identified, or has no database row yet.

UnknownStructure = 2

The structure template could not be identified.

Remarks

Distinct reasons rather than a bool, because the server refuses placements the client already thought were fine — clock skew, a plot sold out from under someone, a template that was removed — and "no" with nothing after it is indistinguishable from the request having been dropped.