public static void Update_All() { if (!Ultima.IsUORunning()) { foreach (var updateobj in Instance.UpdatesCollection) { if (!updateobj.IsActive) { Update(updateobj); } } } }
public static void Update_Selected() { if (!Ultima.IsUORunning()) { foreach ( var updateobj in Instance.UpdatesCollection.Where(updateobj => updateobj.SelectedForUpdate)) { if (!updateobj.IsActive) { Update(updateobj); } } } }