Vixen
02b45cc4
csharp
public readonly record struct ReloadReport

What a reload did, and what it could not do.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Returned rather than logged, because a hot reload is a thing a developer is watching happen and a silent one is indistinguishable from a broken watcher.

Fields and properties (5)

  • public ReloadChannel Channel

    Which channel it was.

  • public int Components

    How many components were rebuilt.

  • public bool FocusRestored

    Whether the focus went back where it was.

  • public ImmutableArray<string> Errors

    What went wrong. A styles reload with errors changed nothing — it put the previous text back.

  • public bool Succeeded

    Whether it worked.

Methods (1)

  • public ReloadReport(ReloadChannel Channel, int Components, bool FocusRestored, ImmutableArray<string> Errors)

    What a reload did, and what it could not do.

Used by (4)

  • HotReloadHostVixen.Ui.HotReload
  • HotReloadTestsVixen.Ui.HotReload.Tests
  • HotReloadWatcherVixen.Ui.HotReload
  • BrushInspectorMarkupTestsVixen.Editor.Terrain.Tests