SourceRevision

SourceRevision is the revision-bound source record used by approvals, voice, subtitles and impact analysis.

var revision = new SourceRevision(
    new StableEntryId("quest.accept"),
    "Accept {count} quests",
    "Quartermaster",
    "Quest confirmation button",
    workspace.Normalization);

The constructor stores raw and normalized text, speaker, context, normalization version and UTC ticks. It hashes Version|NormalizedText|Speaker:ContextDescription with SHA-256 and stores the first eight bytes as 16 lowercase hexadecimal characters. ExtractPlaceholders() collects unique brace-delimited tokens.

SceneOrFixture is not set by the constructor. Set it directly or use RevisionTracker.ProcessSourceEntry(..., fixture) when visual impact should follow a fixture.

Hash equality is revision equality; it is not a linguistic judgment. For invalidation behaviour, see Revision Graph.


Copyright © 2026 DecNet Games. All rights reserved. LocalizeShip is a commercial Unity Asset.

This site uses Just the Docs, a documentation theme for Jekyll.