WatcherComponent.cs 680 B

12345678910111213141516171819202122232425
  1. using System.Collections.Generic;
  2. using System.Diagnostics;
  3. namespace ET
  4. {
  5. public class WatcherComponent : Entity, IAwake, IDestroy, IAppClose
  6. {
  7. public static WatcherComponent Instance { get; set; }
  8. public readonly Dictionary<int, Process> Processes = new Dictionary<int, Process>();
  9. public readonly Dictionary<int, int> ProcessId2ProcessConfig = new Dictionary<int, int>();
  10. //configIdQueue
  11. public readonly Stack<int> ConfigIdQueue = new Stack<int>();
  12. public int CreateSceneId;
  13. //watch是否关闭
  14. public bool IsStop = false;
  15. //是否全部关闭
  16. public bool IsAllStop = false;
  17. }
  18. }