Table of Contents

Struct RealmStateCounts

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

Registered realms per run state this tick (Counts).

public readonly struct RealmStateCounts : IEquatable<RealmStateCounts>
Implements
Inherited Members

Constructors

RealmStateCounts(int, int, int, int, int, int)

Registered realms per run state this tick (Counts).

public RealmStateCounts(int Active, int Simulated, int Dormant, int Closing, int Divided, int PolicyEpoch)

Parameters

Active int

Observed or pinned: full rate.

Simulated int

Unobserved, simulated (at the realm's divisor).

Dormant int

Asleep: no system, no elective maintenance.

Closing int

Unregistered, waiting to be empty.

Divided int

Runnable realms simulated at a divisor above 1.

PolicyEpoch int

Moves whenever any realm's state or divisor changes — a policy flip counter.

Properties

Active

Observed or pinned: full rate.

public int Active { get; init; }

Property Value

int

Closing

Unregistered, waiting to be empty.

public int Closing { get; init; }

Property Value

int

Divided

Runnable realms simulated at a divisor above 1.

public int Divided { get; init; }

Property Value

int

Dormant

Asleep: no system, no elective maintenance.

public int Dormant { get; init; }

Property Value

int

PolicyEpoch

Moves whenever any realm's state or divisor changes — a policy flip counter.

public int PolicyEpoch { get; init; }

Property Value

int

Simulated

Unobserved, simulated (at the realm's divisor).

public int Simulated { get; init; }

Property Value

int

Methods

Deconstruct(out int, out int, out int, out int, out int, out int)

public void Deconstruct(out int Active, out int Simulated, out int Dormant, out int Closing, out int Divided, out int PolicyEpoch)

Parameters

Active int
Simulated int
Dormant int
Closing int
Divided int
PolicyEpoch int

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

Equals(RealmStateCounts)

public bool Equals(RealmStateCounts other)

Parameters

other RealmStateCounts

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(RealmStateCounts, RealmStateCounts)

public static bool operator ==(RealmStateCounts left, RealmStateCounts right)

Parameters

left RealmStateCounts
right RealmStateCounts

Returns

bool

operator !=(RealmStateCounts, RealmStateCounts)

public static bool operator !=(RealmStateCounts left, RealmStateCounts right)

Parameters

left RealmStateCounts
right RealmStateCounts

Returns

bool