12345678910111213141516171819202122 |
- using Blue;
- public class GaiLanInfoActiveEvent : IEvent
- {
- public bool Active;
- }
- public class GaiLanInfoActiveCommand : ICommand
- {
- private bool active;
- public GaiLanInfoActiveCommand(bool active)
- {
- this.active = active;
- }
- public void OnExcute()
- {
- this.SendEvent<GaiLanInfoActiveEvent>(new GaiLanInfoActiveEvent() { Active = active });
- }
- }
|