Interface IStateHashContributor

Namespace
TDMaker.Core
Assembly
TDMaker.Core.dll

Optional deterministic state hashing for custom components, commands, systems, and other extension state.

public interface IStateHashContributor

Examples

public void AppendStateHash(ref StateHasher hash) { hash.Add(shieldPoints); }

Methods

AppendStateHash(ref StateHasher)

Adds all mutable state using a stable field order.

void AppendStateHash(ref StateHasher hash)

Parameters

hash StateHasher