public EventCommandStartCommonEvent(StartCommmonEventCommand refCommand, FrmEvent editor)
 {
     InitializeComponent();
     mMyCommand   = refCommand;
     mEventEditor = editor;
     InitLocalization();
     cmbEvent.Items.Clear();
     cmbEvent.Items.AddRange(EventBase.Names);
     cmbEvent.SelectedIndex = EventBase.ListIndex(refCommand.EventId);
 }
Exemplo n.º 2
0
 private static string GetCommandText(StartCommmonEventCommand command, MapInstance map)
 {
     return(Strings.EventCommandList.commonevent.ToString(EventBase.GetName(command.EventId)));
 }