/// <summary> /// Called when the character list updated. /// </summary> /// <param name="esiKey">The ESI key.</param> internal static void OnCharacterListUpdated(ESIKey esiKey) { if (Closed) { return; } Trace(esiKey.ToString()); Settings.Save(); CharacterListUpdated?.ThreadSafeInvoke(null, new ESIKeyInfoChangedEventArgs(esiKey)); }
/// <summary> /// Called when the ESI key info is updated. /// </summary> /// <param name="esiKey">The ESI key.</param> internal static void OnESIKeyInfoUpdated(ESIKey esiKey) { if (Closed) { return; } Trace(esiKey.ToString()); Settings.Save(); ESIKeyInfoUpdated?.ThreadSafeInvoke(null, EventArgs.Empty); }
/// <summary> /// Called when an account status has been updated. /// </summary> /// <param name="esiKey">The ESI key.</param> internal static void OnAccountStatusUpdated(ESIKey esiKey) { if (Closed) { return; } Trace(esiKey.ToString()); Characters.UpdateAccountStatuses(); Settings.Save(); AccountStatusUpdated?.ThreadSafeInvoke(null, EventArgs.Empty); }