A stable modding interface between Techblox and mods https://mod.exmods.org/
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

23 linhas
501B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using Svelto.Tasks;
  7. namespace GamecraftModdingAPI.Tasks
  8. {
  9. /// <summary>
  10. /// Interface for asynchronous tasks
  11. /// </summary>
  12. public interface ISchedulable
  13. {
  14. /// <summary>
  15. /// Asynchronous task runner
  16. /// </summary>
  17. /// <returns>A yield-ed Svelto.Tasks-compatible object</returns>
  18. IEnumerator<TaskContract> Run();
  19. }
  20. }