Пример #1
0
        /// <summary>
        /// Processes the queried character's employment history.
        /// </summary>
        /// <param name="result"></param>
        private void OnCharacterEmploymentUpdated(EsiAPIEmploymentHistory result)
        {
            var target = m_ccpCharacter;

            // Character may have been deleted since we queried
            if (target != null)
            {
                target.Import(result);
            }
        }
Пример #2
0
        /// <summary>
        /// Processes the queried character's employment history.
        /// </summary>
        /// <param name="result"></param>
        private void OnCharacterEmploymentUpdated(EsiAPIEmploymentHistory result)
        {
            var target = m_ccpCharacter;

            // Character may have been deleted since we queried
            if (target != null)
            {
                target.Import(result);
                QueryCharacterData <string>(ESIAPICharacterMethods.AccountBalance,
                                            EveMonClient.Notifications.NotifyCharacterBalanceError,
                                            OnWalletBalanceUpdated);
            }
        }
Пример #3
0
        /// <summary>
        /// Imports data from the given employment history information.
        /// </summary>
        /// <param name="history">The serialized employment history information</param>
        internal void Import(EsiAPIEmploymentHistory history)
        {
            EmploymentHistory.Import(history.ToXMLItem());

            EveMonClient.OnCharacterInfoUpdated(this);
        }
Пример #4
0
 /// <summary>
 /// Imports data from the given employment history information.
 /// </summary>
 /// <param name="history">The serialized employment history information</param>
 internal void Import(EsiAPIEmploymentHistory history)
 {
     EmploymentHistory.Import(history.ToXMLItem());
 }