Class ArchetypeSetMigrationReport
One archetype whose component set the last open migrated (#1394): its existing entities re-placed into the new cluster geometry, every surviving component carried across by name, every added one absent. Read through LastOpenArchetypeSetMigrations.
public sealed record ArchetypeSetMigrationReport : IEquatable<ArchetypeSetMigrationReport>
- Inheritance
-
ArchetypeSetMigrationReport
- Implements
- Inherited Members
Constructors
ArchetypeSetMigrationReport(string, int, int, string, int, double)
One archetype whose component set the last open migrated (#1394): its existing entities re-placed into the new cluster geometry, every surviving component carried across by name, every added one absent. Read through LastOpenArchetypeSetMigrations.
public ArchetypeSetMigrationReport(string ArchetypeName, int FromRevision, int ToRevision, string Changes, int EntitiesMigrated, double ElapsedMilliseconds)
Parameters
ArchetypeNamestringThe archetype's durable name.
FromRevisionintThe revision the archetype was stored at.
ToRevisionintThe revision this build declares.
ChangesstringWhat changed, one line:
+Gear at slot 2; Vitals 2->3.EntitiesMigratedintThe entities re-placed.
ElapsedMillisecondsdoubleWall-clock time of the re-placement and of the rebuilds over it (HEADs, indexes, spatial layer).
Properties
ArchetypeName
The archetype's durable name.
public string ArchetypeName { get; init; }
Property Value
Changes
What changed, one line: +Gear at slot 2; Vitals 2->3.
public string Changes { get; init; }
Property Value
ElapsedMilliseconds
Wall-clock time of the re-placement and of the rebuilds over it (HEADs, indexes, spatial layer).
public double ElapsedMilliseconds { get; init; }
Property Value
EntitiesMigrated
The entities re-placed.
public int EntitiesMigrated { get; init; }
Property Value
FromRevision
The revision the archetype was stored at.
public int FromRevision { get; init; }
Property Value
ToRevision
The revision this build declares.
public int ToRevision { get; init; }
Property Value
Methods
Deconstruct(out string, out int, out int, out string, out int, out double)
public void Deconstruct(out string ArchetypeName, out int FromRevision, out int ToRevision, out string Changes, out int EntitiesMigrated, out double ElapsedMilliseconds)
Parameters
ArchetypeNamestringFromRevisionintToRevisionintChangesstringEntitiesMigratedintElapsedMillisecondsdouble
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(ArchetypeSetMigrationReport?)
public bool Equals(ArchetypeSetMigrationReport? other)
Parameters
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ArchetypeSetMigrationReport?, ArchetypeSetMigrationReport?)
public static bool operator ==(ArchetypeSetMigrationReport? left, ArchetypeSetMigrationReport? right)
Parameters
Returns
operator !=(ArchetypeSetMigrationReport?, ArchetypeSetMigrationReport?)
public static bool operator !=(ArchetypeSetMigrationReport? left, ArchetypeSetMigrationReport? right)