Table of Contents

Class HousingOwnershipModeExtensions

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Convenience tests over HousingOwnershipMode.

public static class HousingOwnershipModeExtensions
Inheritance
HousingOwnershipModeExtensions
Inherited Members

Remarks

Extension methods rather than properties on a system, so the questions can be asked from shared code and from tests without a server instance to hand.

Methods

AllowsGuildOwnership(HousingOwnershipMode)

True when a guild may own land.

public static bool AllowsGuildOwnership(this HousingOwnershipMode mode)

Parameters

mode HousingOwnershipMode

Returns

bool

AllowsPlayerOwnership(HousingOwnershipMode)

True when an individual character may own land.

public static bool AllowsPlayerOwnership(this HousingOwnershipMode mode)

Parameters

mode HousingOwnershipMode

Returns

bool

IsHousingEnabled(HousingOwnershipMode)

True when housing is enabled in any form.

public static bool IsHousingEnabled(this HousingOwnershipMode mode)

Parameters

mode HousingOwnershipMode

Returns

bool