Esempio n. 1
0
 private void MapNotesController_RemovedMapNote(Object sender, MapNotesController.MapNoteEventArgs e)
 {
     if (e.MapID != LegacyLogic.Instance.MapLoader.GridFileName)
     {
         return;
     }
     RemoveMapNoteView(e.MapNote);
 }
 private void MapNotesController_RemovedMapNote(Object sender, MapNotesController.MapNoteEventArgs e)
 {
     if (e.MapID != "theworld.xml")
     {
         return;
     }
     RemoveMapNoteView(e.MapNote);
 }
Esempio n. 3
0
 private void MapNotesController_UpdatedMapNoteText(Object sender, MapNotesController.MapNoteEventArgs e)
 {
     if (e.MapID != LegacyLogic.Instance.MapLoader.GridFileName)
     {
         return;
     }
     if (!m_ActiveNotes.ContainsKey(e.MapNote.Position))
     {
         CreateMapNoteView(e.MapNote);
     }
 }
Esempio n. 4
0
 private void MapNotesController_AddedMapNote(Object sender, MapNotesController.MapNoteEventArgs e)
 {
     if (e.MapID != LegacyLogic.Instance.MapLoader.GridFileName)
     {
         return;
     }
     if (!m_ActiveNotes.ContainsKey(e.MapNote.Position) && !String.IsNullOrEmpty(e.MapNote.Note))
     {
         CreateMapNoteView(e.MapNote);
     }
 }
 private void MapNotesController_AddedMapNote(Object sender, MapNotesController.MapNoteEventArgs e)
 {
     if (e.MapID != "theworld.xml")
     {
         return;
     }
     if (!m_ActiveNotes.ContainsKey(e.MapNote.Position) && !String.IsNullOrEmpty(e.MapNote.Note))
     {
         CreateMapNoteView(e.MapNote);
     }
 }
 private void MapNotesController_UpdatedMapNoteText(Object sender, MapNotesController.MapNoteEventArgs e)
 {
     if (e.MapID != "theworld.xml")
     {
         return;
     }
     if (!m_ActiveNotes.ContainsKey(e.MapNote.Position))
     {
         CreateMapNoteView(e.MapNote);
     }
 }