MurderComponentsLookup

Namespace: Bang
Assembly: Murder.dll

public class MurderComponentsLookup : ComponentsLookup

Auto-generated implementation of ComponentsLookup for this project.

Implements: ComponentsLookup

⭐ Constructors

public MurderComponentsLookup()

Default constructor. This is only relevant for the internals of Bang, so you can ignore it.

⭐ Properties

ComponentsIndex

protected ImmutableDictionary<TKey, TValue> ComponentsIndex { get; protected set; }

Returns
ImmutableDictionary<TKey, TValue>

MessagesIndex

protected ImmutableDictionary<TKey, TValue> MessagesIndex { get; protected set; }

Returns
ImmutableDictionary<TKey, TValue>

MurderNextLookupId

public static int MurderNextLookupId { get; }

First lookup id a ComponentsLookup implementation that inherits from this class must use.

Returns
int

RelativeComponents

public ImmutableHashSet<T> RelativeComponents { get; protected set; }

Returns
ImmutableHashSet<T>

⭐ Methods

IsRelative(int)

public bool IsRelative(int id)

Parameters
id int

Returns
bool

Id(Type)

public int Id(Type t)

Parameters
t Type

Returns
int