/// <summary> /// Processes the queried character's EVE notifications. /// </summary> /// <param name="result">The result.</param> private void OnCharacterEVENotificationsUpdated(APIResult <SerializableAPINotifications> result) { // Notify an error occured if (ShouldNotifyError(result, APIMethods.Notifications)) { EveClient.Notifications.NotifyEVENotificationsError(this, result); } // Quits if there is an error if (result.HasError) { return; } // Import the data m_eveNotifications.Import(result.Result.Notifications); // Notify on new messages if (m_eveNotifications.NewNotifications != 0) { EveClient.Notifications.NotifyNewEVENotifications(this, m_eveNotifications.NewNotifications); } // Fires the event regarding EVE mail messages update EveClient.OnCharacterEVENotificationsUpdated(this); }