Table of Contents

Class AssetFileChangedEvent

Namespace
Stride.Core.Assets.Analysis
Assembly
Stride.Core.Assets.dll

An event that notifies the type of disk change for an asset.

public class AssetFileChangedEvent : EventArgs
Inheritance
AssetFileChangedEvent
Inherited Members

Constructors

AssetFileChangedEvent(Package, AssetFileChangedType, UFile)

Initializes a new instance of the AssetFileChangedEvent class.

public AssetFileChangedEvent(Package package, AssetFileChangedType changeType, UFile assetLocation)

Parameters

package Package

The package.

changeType AssetFileChangedType

Type of the change.

assetLocation UFile

The asset URL.

Properties

AssetId

Gets or sets the asset identifier.

public Guid AssetId { get; set; }

Property Value

Guid

The asset identifier.

AssetLocation

Gets the asset location relative to the package.

public UFile AssetLocation { get; set; }

Property Value

UFile

The asset location.

ChangeType

Gets the type of the change.

public AssetFileChangedType ChangeType { get; set; }

Property Value

AssetFileChangedType

The type of the change.

Hash

Gets or sets the hash of the asset source (optional).

public ObjectId? Hash { get; set; }

Property Value

ObjectId?

The hash of the asset source.

Package

Gets the package the event is related to.

public Package Package { get; set; }

Property Value

Package

The package.