Sha256: 1d65967da81cc3b41cc3882c2427f8ebd49efb5e112cefff869d34a70795cff4
Contents?: true
Size: 1.38 KB
Versions: 1
Compression:
Stored size: 1.38 KB
Contents
require_relative "../base_item" module Greeve module Map # Returns a list of contestable solar systems and the NPC faction currently # occupying them. It should be noted that this only returns a non-zero ID if # the occupying faction is not the sovereign faction. # # @see https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/map/map_facwarsystems.html class FacWarSystems < Greeve::BaseItem endpoint "map/FacWarSystems" rowset :solar_systems, xpath: "eveapi/result/rowset[@name='solarSystems']" do attribute :solar_system_id, xpath: "@solarSystemID", type: :integer attribute :solar_system_name, xpath: "@solarSystemName", type: :string attribute :occupying_faction_id, xpath: "@occupyingFactionID", type: :integer attribute :occupying_faction_name, xpath: "@occupyingFactionName", type: :string attribute :owning_faction_id, xpath: "@owningFactionID", type: :integer attribute :owning_faction_name, xpath: "@owningFactionName", type: :string attribute :contested, xpath: "@contested", type: :boolean attribute :victory_points, xpath: "@victoryPoints", type: :integer attribute :victory_point_threshold, xpath: "@victoryPointThreshold", type: :integer end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
greeve-1.0.0 | lib/greeve/map/fac_war_systems.rb |