コード例 #1
0
ファイル: Examples.cs プロジェクト: Lugghawk/libeveapi
        public static void CharFacWarStatsExample()
        {
            FacWarStats stats = new FacWarStats();

            stats.CharacterFactionWarStats = EveApi.GetCharacterFactionWarStats(123, 456, "apikey");

            Console.WriteLine("**** Character Stats ****");
            Console.WriteLine("Faciton ID: {0}", stats.CharacterFactionWarStats.FactionID);
            Console.WriteLine("Faciton Name: {0}", stats.CharacterFactionWarStats.FactionName);
            Console.WriteLine("Enlisted: {0}", stats.CharacterFactionWarStats.Enlisted);
            Console.WriteLine("Current Rank: {0}", stats.CharacterFactionWarStats.CurrentRank);
            Console.WriteLine("Highest Rank: {0}", stats.CharacterFactionWarStats.HighestRank);
            Console.WriteLine("Kills Yesterday: {0}", stats.CharacterFactionWarStats.KillsYesterday);
            Console.WriteLine("Kills Last Week: {0}", stats.CharacterFactionWarStats.KillsLastWeek);
            Console.WriteLine("Kills Total: {0}", stats.CharacterFactionWarStats.KillsTotal);
            Console.WriteLine("Victory Points Yesterday: {0}", stats.CharacterFactionWarStats.VictoryPointsYesterday);
            Console.WriteLine("Victory Points Last Week: {0}", stats.CharacterFactionWarStats.VictoryPointsLastWeek);
            Console.WriteLine("Victory Points Total: {0}", stats.CharacterFactionWarStats.VictoryPointsTotal);
        }