KernelAPI reference
Struct SectionHash
Namespace: MicroEngine.Kernel
Assembly: MicroEngine.Kernel.dll
Guide: Modules and the frame schedule
The hash of one named part of the state of a step (Sections).
public readonly struct SectionHash : IEquatable<SectionHash>Implements
Constructors
SectionHash(string, ulong)
The hash of one named part of the state of a step (Sections).
public SectionHash(string Name, ulong Hash)Parameters
Name string
The section’s name (engine.time, scene[0]:PlayScene, game…).
Hash ulong
The 64-bit hash of the values added to it.
Properties
Hash
The 64-bit hash of the values added to it.
public ulong Hash { get; init; }Property Value
Name
The section’s name (engine.time, scene[0]:PlayScene, game…).
public string Name { get; init; }Property Value
Methods
Deconstruct(out string, out ulong)
public void Deconstruct(out string Name, out ulong Hash)Parameters
Name string
Hash ulong
Equals(object)
public override bool Equals(object obj)Parameters
obj object
Returns
Equals(SectionHash)
public bool Equals(SectionHash other)Parameters
other SectionHash
Returns
GetHashCode()
public override int GetHashCode()Returns
ToString()
public override string ToString()Returns
Operators
operator ==(SectionHash, SectionHash)
public static bool operator ==(SectionHash left, SectionHash right)Parameters
left SectionHash
right SectionHash
Returns
operator !=(SectionHash, SectionHash)
public static bool operator !=(SectionHash left, SectionHash right)Parameters
left SectionHash
right SectionHash