Show / Hide Table of Contents

Interface IMoveableWithRestrictions

Interface for WorldObjects that have restrictions on the 'MoveWorldObject' action (e.g.: some WorldObjects should not be moved outside the influence of their settlement, or to another deed).

Namespace: Eco.Gameplay.Placement
Assembly: Eco.Gameplay.dll
Syntax
public interface IMoveableWithRestrictions
Remarks

Implement on WorldObjects directly. Automatically detected and invoked by WorldObjectManager.TryMoveWorldObject.

Methods

CanMove(WorldObject, Vector3)

Determines whether the movement of a WorldObject can be performed or not.

Declaration
Result CanMove(WorldObject worldObject, Vector3 targetPosition)
Parameters
Type Name Description
WorldObject worldObject
System.Numerics.Vector3 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
☀
☾