Show / Hide Table of Contents

Class SingleBlock

Makes tool affect only one block, effectively disabling AOE.

Inheritance
System.Object
AreaOfEffectMode
SingleBlock
Inherited Members
AreaOfEffectMode.requireCentralBlock
Namespace: Eco.Gameplay.Items
Assembly: Eco.Gameplay.dll
Syntax
public class SingleBlock : AreaOfEffectMode

Constructors

SingleBlock()

Declaration
public SingleBlock()

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
AreaOfEffectMode.GetAffectedBlocks(Player, Vector3i, IEnumerable<Tag>, IEnumerable<Tag>, IEnumerable<Tag>)

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