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