GaiLanInfoActiveEvent.cs 452 B

12345678910111213141516171819202122
  1. using Blue;
  2. /// <summary>
  3. /// 概览信息面板打开事件
  4. /// </summary>
  5. public class GaiLanInfoActiveEvent : IEvent
  6. {
  7. public bool Active;
  8. }
  9. public class GaiLanInfoActiveCommand : ICommand
  10. {
  11. private bool active;
  12. public GaiLanInfoActiveCommand(bool active)
  13. {
  14. this.active = active;
  15. }
  16. public void OnExcute()
  17. {
  18. this.SendEvent<GaiLanInfoActiveEvent>(new GaiLanInfoActiveEvent() { Active = active });
  19. }
  20. }