Show / Hide Table of Contents

Class Cone

Affects all blocks inside a cone that meet a specified condition.

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

Constructors

Cone(Single, Single, Single, Boolean)

Declaration
public Cone(float initialRadius, float finalRadius, float length, bool requireCentralBlock)
Parameters
Type Name Description
System.Single initialRadius
System.Single finalRadius
System.Single length
System.Boolean requireCentralBlock

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