Table of Contents

Struct SourceFileChangedData

Namespace
Stride.Core.Assets.Tracking
Assembly
Stride.Core.Assets.dll

Data structure for the SourceFileChanged block.

public struct SourceFileChangedData
Inherited Members

Constructors

SourceFileChangedData(SourceFileChangeType, AssetId, IReadOnlyList<UFile>, bool)

Initializes a new instance of the SourceFileChangedData structure.

public SourceFileChangedData(SourceFileChangeType type, AssetId assetId, IReadOnlyList<UFile> files, bool needUpdate)

Parameters

type SourceFileChangeType

The type of change that occurred.

assetId AssetId

The id of the asset affected by this change.

files IReadOnlyList<UFile>

The list of files that changed.

needUpdate bool

Indicate whether the asset needs to be updated from its sources due to this change.

Properties

AssetId

Gets the id of the asset affected by this change.

public readonly AssetId AssetId { get; }

Property Value

AssetId

Files

Gets the list of files that changed

public readonly IReadOnlyList<UFile> Files { get; }

Property Value

IReadOnlyList<UFile>

NeedUpdate

Gets whether the asset needs to be updated from its sources due to this change.

public readonly bool NeedUpdate { get; }

Property Value

bool

Type

Gets the type of change that occurred.

public readonly SourceFileChangeType Type { get; }

Property Value

SourceFileChangeType