Class ProjectWiringResult
Outcome of Serenity.CreateGame.Infrastructure.Editor.Wiring.ProjectWiringRunner.Run(Serenity.CreateGame.Infrastructure.Editor.Wiring.ProjectWiringPlan,Serenity.ProjectRecipe.Infrastructure.Editor.SetupAssistant.MinimalLoopOptions,Serenity.CreateGame.Infrastructure.Editor.CreateGameScenesOptions,System.Collections.Generic.IReadOnlyList{Serenity.CreateGame.Infrastructure.Editor.Systems.SerenityInstallableSystem},Serenity.Global.Infrastructure.Editor.SerenityWizardActivityLog) — what the Done step renders. Mutable, filled in as the
runner executes each part of the plan, mirroring SerenityCreationResult's own shape without
deriving from it (a wiring run is not a single-asset creation: it can partially succeed, e.g. wire every
boot task but skip scene generation on a resolvable warning).
Inherited Members
Namespace: Serenity.CreateGame.Infrastructure.Editor.Wiring
Assembly: Serenity.UnityCreateGame.Infrastructure.Editor.dll
Syntax
public sealed class ProjectWiringResult
Constructors
ProjectWiringResult()
Declaration
public ProjectWiringResult()
Fields
CreatedAssetPaths
Declaration
public List<string> CreatedAssetPaths
Field Value
| Type | Description |
|---|---|
| List<string> | Every asset path this run created as a brand-new asset, beyond ProfileAssetPath
itself when ProfileWasCreated is true: every boot task and package-content asset a
freshly-adopted profile's own adoption cloned ( |
Error
Declaration
public string Error
Field Value
| Type | Description |
|---|---|
| string | The blocking reason when Success is false. |
HealthCheckErrorCount
Declaration
public int HealthCheckErrorCount
Field Value
| Type | Description |
|---|---|
| int | How many error-severity issues Health Check found — 0 when HealthCheckRan is false. |
HealthCheckRan
Declaration
public bool HealthCheckRan
Field Value
| Type | Description |
|---|---|
| bool | Whether the Health Check validator ran. |
HealthCheckWarningCount
Declaration
public int HealthCheckWarningCount
Field Value
| Type | Description |
|---|---|
| int | How many warning-severity issues Health Check found — 0 when HealthCheckRan is false. |
ProfileAssetPath
Declaration
public string ProfileAssetPath
Field Value
| Type | Description |
|---|---|
| string | The initialization pipeline profile this run wired into. |
ProfileWasCreated
Declaration
public bool ProfileWasCreated
Field Value
| Type | Description |
|---|---|
| bool | Whether ProfileAssetPath was created by this run, as opposed to an already-existing profile that was reused. |
SceneGenerationResult
Declaration
public SerenityCreateGameSceneGenerator.Result SceneGenerationResult
Field Value
| Type | Description |
|---|---|
| SerenityCreateGameSceneGenerator.Result | The scene-generation outcome, or null when scene generation was turned off. |
Success
Declaration
public bool Success
Field Value
| Type | Description |
|---|---|
| bool | False when the run could not even start (an ambiguous profile) or the profile step failed. |
TasksAlreadyWiredCount
Declaration
public int TasksAlreadyWiredCount
Field Value
| Type | Description |
|---|---|
| int | How many selected systems' boot tasks were already wired into the target profile. |
TasksCreatedCount
Declaration
public int TasksCreatedCount
Field Value
| Type | Description |
|---|---|
| int | How many selected systems had no task asset yet — created, then inserted. |
TasksInsertedCount
Declaration
public int TasksInsertedCount
Field Value
| Type | Description |
|---|---|
| int | How many selected systems' boot tasks referenced an already-existing task asset and were inserted into the target profile. |
UpdatedAssetPaths
Declaration
public List<string> UpdatedAssetPaths
Field Value
| Type | Description |
|---|---|
| List<string> | Every pre-existing asset this run edited in place rather than created: a reference an earlier adoption run left pointing at package content, repaired by this run's own back-fill pass once a freshly-adopted profile gave it a new adopted counterpart to resolve against. |
Warnings
Declaration
public List<string> Warnings
Field Value
| Type | Description |
|---|---|
| List<string> | Every warning collected along the way — logged, but never blocking. |