Exemplo n.º 1
0
        /// <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);
            }
        }
Exemplo n.º 2
0
        /// <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);
            }
        }
Exemplo n.º 3
0
 /// <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);
 }
Exemplo n.º 4
0
 /// <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);
 }