namespace XGame.Editor.Build
{
interface IBuildCommand
{
//void Start();
//void Completed(BuildErrorCode code);
}
///
/// Cmd同步执行接口
///
interface ICommandExecuter
{
///
/// 执行成功返回BuildErrorCode.CmdCompleted
/// 失败则自行新增BuildErrorCode
///
///
BuildErrorCode Execute();
}
///
/// Cmd异步执行接口
///
interface ICommandExecuterAsync
{
///
/// 结束需要主动调用Completed
///
void Execute();
}
}