Files
FlaxEngine/Source/Editor/Content/IFileEntryAction.cs
2024-02-26 19:00:48 +01:00

30 lines
688 B
C#

// Copyright (c) 2012-2024 Wojciech Figat. All rights reserved.
using FlaxEngine;
namespace FlaxEditor.Content
{
/// <summary>
/// File entry action (import or create).
/// </summary>
[HideInEditor]
public interface IFileEntryAction
{
/// <summary>
/// The source file path (may be empty or null).
/// </summary>
string SourceUrl { get; }
/// <summary>
/// The result file path.
/// </summary>
string ResultUrl { get; }
/// <summary>
/// Executes this action.
/// </summary>
/// <returns>True if, failed, otherwise false.</returns>
bool Execute();
}
}