Show / Hide Table of Contents

Interface IMoveableWithinSettlement

Plug'n'Play movement restriction for WorldObjects that can not be moved outside their settlement with the 'MoveWorldObject' action.

Inherited Members
IMoveableWithRestrictions.CanMove(WorldObject, Vector3i)
Namespace: Eco.Gameplay.Placement
Assembly: Eco.Gameplay.dll
Syntax
public interface IMoveableWithinSettlement : IMoveableWithRestrictions
Remarks

Implement on the affected WorldObject directly. Fail message can be altered per implementing class to better suit its needs.

Properties

MovementFailMessage

Declaration
virtual LocString MovementFailMessage { get; }
Property Value
Type Description
LocString

RestrictedSettlement

Declaration
virtual Settlement RestrictedSettlement { get; }
Property Value
Type Description
Settlement

Explicit Interface Implementations

IMoveableWithRestrictions.CanMove(WorldObject, Vector3i)

Declaration
Result IMoveableWithRestrictions.CanMove(WorldObject worldObject, Vector3i targetPosition)
Parameters
Type Name Description
WorldObject worldObject
Vector3i targetPosition
Returns
Type Description
Result

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾