EasyEcs
API reference

ColumnInfo

A column of a table (TableInfo). The ColumnInfo struct of EasyEcs, the C# ECS: its members, parameters and complexity.

public readonly struct ColumnInfo : IEquatable<ColumnInfo>

A column of a table (TableInfo).

Parameters

  • Type: The component type.
  • Without: Living rows of the table without the component (removed or disabled: no row moved).
  • Group: The group every row of the table is in, for an IGroup component; else 0.

Constructors

ColumnInfo

public ColumnInfo(Type Type, int Without, int Group);

A column of a table (TableInfo).

Parameters

  • Type: The component type.
  • Without: Living rows of the table without the component (removed or disabled: no row moved).
  • Group: The group every row of the table is in, for an IGroup component; else 0.

Properties

Group

public int Group { get; init; }

The group every row of the table is in, for an IGroup component; else 0.

Type

public Type Type { get; init; }

The component type.

Without

public int Without { get; init; }

Living rows of the table without the component (removed or disabled: no row moved).

Methods

Deconstruct

public void Deconstruct(out Type Type, out int Without, out int Group);

Equals

public bool Equals(ColumnInfo other);
public override bool Equals(object obj);

GetHashCode

public override int GetHashCode();

ToString

public override string ToString();

Operators

operator !=

public static bool operator !=(ColumnInfo left, ColumnInfo right);

operator ==

public static bool operator ==(ColumnInfo left, ColumnInfo right);
Edit on GitHub

Last updated on

How is this guide?

On this page