Interface IMoveableWithinSettlement
Plug'n'Play movement restriction for WorldObjects that can not be moved outside their settlement with the 'MoveWorldObject' action.
Assembly: Eco.Gameplay.dll
Syntax
public interface IMoveableWithinSettlement : IMoveableWithRestrictions
Properties
MovementFailMessage
Declaration
virtual LocString MovementFailMessage { get; }
Property Value
RestrictedSettlement
Declaration
virtual Settlement RestrictedSettlement { get; }
Property Value
Explicit Interface Implementations
IMoveableWithRestrictions.CanMove(WorldObject, Vector3)
Declaration
Result IMoveableWithRestrictions.CanMove(WorldObject worldObject, Vector3 targetPosition)
Parameters
| Type |
Name |
Description |
| WorldObject |
worldObject |
|
| System.Numerics.Vector3 |
targetPosition |
|
Returns
Extension Methods