/// <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); } }
/// <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); } }
/// <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); }
/// <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()); }