Show / Hide Table of Contents

Class BlockForm

Inheritance
System.Object
IconItem
BlockForm
Implements
IHasIcon
IController
IViewController
IHasUniversalID
Inherited Members
IconItem.ControllerID
IconItem.IconComment
IconItem.SortOrder
IconItem.SkillReq
Namespace: Eco.Gameplay.Blocks
Assembly: Eco.Gameplay.dll
Syntax
public class BlockForm : IconItem, IHasIcon, IController, IViewController, IHasUniversalID

Constructors

BlockForm()

Declaration
public BlockForm()

Properties

BlockTypeIDs

Declaration
public IEnumerable<ushort> BlockTypeIDs { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.UInt16>

BlockTypes

Rotational variants, first being default. They are suppose to go in order: 0 - not rotated, 1 - rotation for 90° and so on.

Declaration
public Type[] BlockTypes { get; }
Property Value
Type Description
System.Type[]

DisplayDescription

Declaration
public override LocString DisplayDescription { get; }
Property Value
Type Description
LocString
Overrides
IconItem.DisplayDescription

DisplayName

Declaration
public override LocString DisplayName { get; }
Property Value
Type Description
LocString
Overrides
IconItem.DisplayName

FormType

Declaration
public FormType FormType { get; set; }
Property Value
Type Description
FormType

IconName

Declaration
public override string IconName { get; set; }
Property Value
Type Description
System.String
Overrides
IconItem.IconName

MaterialId

Material ID of material that form is made from.

Declaration
public int MaterialId { get; }
Property Value
Type Description
System.Int32

MaterialType

Declaration
public virtual Type MaterialType { get; }
Property Value
Type Description
System.Type

Name

Declaration
public override string Name { get; }
Property Value
Type Description
System.String
Overrides
IconItem.Name

Next

Used in case of consecutive blocks, like ramps. TODO: change to ushort? after adding support of nullables to view system. Now -1 represents null

Declaration
public int Next { get; }
Property Value
Type Description
System.Int32

NextYOffset

Declaration
public int NextYOffset { get; set; }
Property Value
Type Description
System.Int32

Previous

Declaration
public int Previous { get; }
Property Value
Type Description
System.Int32

PreviousYOffset

Declaration
public int PreviousYOffset { get; set; }
Property Value
Type Description
System.Int32

Implements

IHasIcon
IController
IViewController
IHasUniversalID

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
BlocksTooltipLibrary.TooltipTitle(BlockForm)
BlocksTooltipLibrary.DescriptionTooltip(BlockForm, User)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾