/// <summary> /// Processes the queried character's ship. /// </summary> /// <param name="result"></param> private void OnCharacterShipUpdated(EsiAPIShip 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 ship. /// </summary> /// <param name="result"></param> private void OnCharacterShipUpdated(EsiAPIShip result) { var target = m_ccpCharacter; // Character may have been deleted since we queried if (target != null) { target.Import(result); QueryCharacterData <EsiAPISkills>(ESIAPICharacterMethods.Skills, EveMonClient.Notifications.NotifyCharacterSkillsError, OnCharacterSkillsUpdated); } }
/// <summary> /// Imports data from the given character ship information. /// </summary> /// <param name="ship">The serialized character ship information</param> internal void Import(EsiAPIShip ship) { ShipName = ship.ShipName; ShipTypeName = StaticItems.GetItemName(ship.ShipTypeID); EveMonClient.OnCharacterInfoUpdated(this); }
/// <summary> /// Imports data from the given character ship information. /// </summary> /// <param name="ship">The serialized character ship information</param> internal void Import(EsiAPIShip ship) { ShipName = ship.ShipName; ShipTypeName = StaticItems.GetItemName(ship.ShipTypeID); }