Class SingleBlock
Makes tool affect only one block, effectively disabling AOE.
Inheritance
System.Object
SingleBlock
Assembly: Eco.Gameplay.dll
Syntax
public class SingleBlock : AreaOfEffectMode
Constructors
SingleBlock()
Declaration
Methods
GetAffectedBlocks(Player, Vector3i, IEnumerable<Tag>, IEnumerable<Tag>, IEnumerable<Tag>)
Declaration
public override IEnumerable<Vector3i> GetAffectedBlocks(Player player, Vector3i centerPos, IEnumerable<Tag> tagsTargetable, IEnumerable<Tag> mustHaveTags = null, IEnumerable<Tag> mustNotHaveTags = null)
Parameters
| Type |
Name |
Description |
| Player |
player |
|
| Vector3i |
centerPos |
|
| System.Collections.Generic.IEnumerable<Tag> |
tagsTargetable |
|
| System.Collections.Generic.IEnumerable<Tag> |
mustHaveTags |
|
| System.Collections.Generic.IEnumerable<Tag> |
mustNotHaveTags |
|
Returns
| Type |
Description |
| System.Collections.Generic.IEnumerable<Vector3i> |
|
Overrides
Extension Methods