Class BlockForm
Inheritance
System.Object
BlockForm
Assembly: Eco.Gameplay.dll
public class BlockForm : IconItem, IHasIcon, IController, IViewController, IHasUniversalID
Constructors
Declaration
Properties
Declaration
public IEnumerable<ushort> BlockTypeIDs { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.UInt16> |
|
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[] |
|
Declaration
public override LocString DisplayDescription { get; }
Property Value
Overrides
Declaration
public override LocString DisplayName { get; }
Property Value
Overrides
Declaration
public FormType FormType { get; set; }
Property Value
Declaration
public override string IconName { get; set; }
Property Value
Type |
Description |
System.String |
|
Overrides
Material ID of material that form is made from.
Declaration
public int MaterialId { get; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public virtual Type MaterialType { get; }
Property Value
Type |
Description |
System.Type |
|
Declaration
public override string Name { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
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
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public int NextYOffset { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public int Previous { get; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public int PreviousYOffset { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Implements
Extension Methods