Show / Hide Table of Contents

Interface IMoveableWithinDeedAndInfluence

Plug'n'Play movement restriction for WorldObjects that can not be moved outside their deed with the 'MoveWorldObject' action, or outside the influence of the associated settlement.

Inherited Members
IMoveableWithRestrictions.CanMove(WorldObject, Vector3i)
Namespace: Eco.Gameplay.Placement
Assembly: Eco.Gameplay.dll
Syntax
public interface IMoveableWithinDeedAndInfluence : 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

OriginalDeed

Declaration
virtual Deed OriginalDeed { get; }
Property Value
Type Description
Deed

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
☀
☾