Ejemplo n.º 1
0
        /// <summary>
        /// Processes the queried character's research points.
        /// </summary>
        /// <param name="result"></param>
        private void OnCharacterResearchPointsUpdated(APIResult <SerializableAPIResearch> result)
        {
            // Notify an error occured
            if (ShouldNotifyError(result, APIMethods.ResearchPoints))
            {
                EveClient.Notifications.NotifyResearchPointsError(this, result);
            }

            // Quits if there is an error
            if (result.HasError)
            {
                return;
            }

            // Import the data
            m_researchPoints.Import(result.Result.ResearchPoints);

            // Fires the event regarding research points update
            EveClient.OnCharacterResearchPointsChanged(this);
        }