public void Select() { SelectCountryEvent eventInstance = new SelectCountryEvent { CountryCode = this.data.Key, CountryName = this.data.Value }; EngineService.Engine.ScheduleEvent(eventInstance, EngineService.EntityStub); }
public void ChangeCountry(DialogConfirmEvent e, SingleNode <SelectCountryDialogComponent> dialog) { if (!string.IsNullOrEmpty(dialog.component.country.Value)) { SelectCountryEvent eventInstance = new SelectCountryEvent { CountryCode = dialog.component.country.Key, CountryName = dialog.component.country.Value }; base.ScheduleEvent(eventInstance, dialog.Entity); dialog.component.Hide(); } }
public void Continue(SelectCountryEvent e, Node stub, [JoinAll] SingleNode <SelfUserComponent> selfUser, [JoinAll] SingleNode <ClientSessionComponent> session) { ConfirmUserCountryEvent eventInstance = new ConfirmUserCountryEvent { CountryCode = e.CountryCode }; base.ScheduleEvent(eventInstance, selfUser); PaymentStatisticsEvent event3 = new PaymentStatisticsEvent { Action = PaymentStatisticsAction.COUNTRY_SELECT, Screen = "SelectCountryScreen" }; base.ScheduleEvent(event3, session); }