コード例 #1
0
ファイル: EveMonClient.Events.cs プロジェクト: th-eve/evemon
        /// <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));
        }
コード例 #2
0
ファイル: EveMonClient.Events.cs プロジェクト: th-eve/evemon
        /// <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);
        }
コード例 #3
0
ファイル: EveMonClient.Events.cs プロジェクト: th-eve/evemon
        /// <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);
        }