KROYSDOCS
HomeWhat's newv0.1.0
PLUGIN SDK / Registration options / AssetLoadResult

AssetLoadResult

Result of an asset type's Load hook.

Kindrecord struct
NamespaceKroys.Plugins
Members3
SourceOptions.cs
DECLARATION

Declaration

Namespace Kroys.Plugins, assembly KroysPlugins.Sdk.dll.

Declaration
public readonly record struct AssetLoadResult(bool Valid, string Summary)
REFERENCE

Members

Constructors
#public AssetLoadResult(bool Valid, string Summary)
Result of an asset type's Load hook.
Valid
False rejects the file (it is not of this type).
Summary
One line shown in the Content Browser (or why the file is invalid).
constructor
Properties
#public bool Valid { get; init; }
False rejects the file (it is not of this type).
property
#public string Summary { get; init; }
One line shown in the Content Browser (or why the file is invalid).
property
Signatures
public AssetLoadResult(bool Valid, string Summary)
public bool Valid { get; init; }
public string Summary { get; init; }

KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.