Files
PrinceOfGlory/Packages/MCPForUnity/Editor/Services/IPackageDeploymentService.cs
2026-03-02 17:56:21 +08:00

30 lines
767 B
C#

using System;
namespace MCPForUnity.Editor.Services
{
public interface IPackageDeploymentService
{
string GetStoredSourcePath();
void SetStoredSourcePath(string path);
void ClearStoredSourcePath();
string GetTargetPath();
string GetTargetDisplayPath();
string GetLastBackupPath();
bool HasBackup();
PackageDeploymentResult DeployFromStoredSource();
PackageDeploymentResult RestoreLastBackup();
}
public class PackageDeploymentResult
{
public bool Success { get; set; }
public string Message { get; set; }
public string SourcePath { get; set; }
public string TargetPath { get; set; }
public string BackupPath { get; set; }
}
}