Struct SourceFileChangedData
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
SourceFileChangeTypeThe type of change that occurred.
assetId
AssetIdThe id of the asset affected by this change.
files
IReadOnlyList<UFile>The list of files that changed.
needUpdate
boolIndicate 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
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
Type
Gets the type of change that occurred.
public readonly SourceFileChangeType Type { get; }