Struct ArchetypeStat
One archetype's live entity count.
public readonly struct ArchetypeStat : IEquatable<ArchetypeStat>
- Implements
- Inherited Members
Constructors
ArchetypeStat(string, long)
One archetype's live entity count.
public ArchetypeStat(string Name, long Entities)
Parameters
Properties
Entities
Live entities at the moment of the read.
public long Entities { get; init; }
Property Value
Name
The archetype's name.
public string Name { get; init; }
Property Value
Methods
Deconstruct(out string, out long)
public void Deconstruct(out string Name, out long Entities)
Parameters
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
Equals(ArchetypeStat)
public bool Equals(ArchetypeStat other)
Parameters
otherArchetypeStat
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ArchetypeStat, ArchetypeStat)
public static bool operator ==(ArchetypeStat left, ArchetypeStat right)
Parameters
leftArchetypeStatrightArchetypeStat
Returns
operator !=(ArchetypeStat, ArchetypeStat)
public static bool operator !=(ArchetypeStat left, ArchetypeStat right)
Parameters
leftArchetypeStatrightArchetypeStat