MurderTransformComponentsLookup
Namespace: Bang
Assembly: Murder.dll
public class MurderTransformComponentsLookup : MurderComponentsLookup
Additional lookup class on top of the Bang generated one. Needed for adding IMurderTransformComponent to the relative component lookup table with the correct id.
Implements: MurderComponentsLookup
⭐ Constructors
public MurderTransformComponentsLookup()
⭐ 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>
MurderTransformNextLookupId
public readonly static int MurderTransformNextLookupId;
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
⚡