Class ReloadReport¶
Namespace: Apogee.Scripting
Assembly: Apogee.Scripting.dll
What one
public sealed record ReloadReport : IEquatable<ReloadReport>
Inheritance¶
Implements¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors¶
ReloadReport(IReadOnlyList<string>, bool, IReadOnlyList<string>, IReadOnlyList<string>, IReadOnlyList<string>, IReadOnlyList<(string Path, string Message)>)¶
What one
public ReloadReport(IReadOnlyList<string> Modules, bool DefsReloaded, IReadOnlyList<string> Assets, IReadOnlyList<string> Shaders, IReadOnlyList<string> NeedsRestart, IReadOnlyList<(string Path, string Message)> Failures)
Parameters¶
Modules IReadOnlyList<string>
Modules that were reloaded.
DefsReloaded bool
The definitions were read again.
Assets IReadOnlyList<string>
Assets (sources) that changed and were imported again when the project is imported.
Shaders IReadOnlyList<string>
Shader sources that changed.
NeedsRestart IReadOnlyList<string>
Changes that only take effect when the game starts again: a package's manifest, a script that runs once.
Failures IReadOnlyList<(string Path, string Message)>
What could not be reloaded and why; the old version stays.
Properties¶
Any¶
public bool Any { get; }
Property Value¶
Assets¶
Assets (sources) that changed and were imported again when the project is imported.
public IReadOnlyList<string> Assets { get; init; }
Property Value¶
DefsReloaded¶
The definitions were read again.
public bool DefsReloaded { get; init; }
Property Value¶
Failures¶
What could not be reloaded and why; the old version stays.
public IReadOnlyList<(string Path, string Message)> Failures { get; init; }
Property Value¶
IReadOnlyList<(string Path, string Message)>
Modules¶
Modules that were reloaded.
public IReadOnlyList<string> Modules { get; init; }
Property Value¶
NeedsRestart¶
Changes that only take effect when the game starts again: a package's manifest, a script that runs once.
public IReadOnlyList<string> NeedsRestart { get; init; }
Property Value¶
Shaders¶
Shader sources that changed.
public IReadOnlyList<string> Shaders { get; init; }