Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Systems
- {
- public enum govType
- {
- Anarchy = 16,
- //Colony,
- Communism = 32,
- Confederacy = 48,
- Cooperative = 80,
- Corporate = 64,
- Democracy = 96,
- Dictatorship = 112,
- Feudal = 128,
- //Imperial,
- None = 176,
- Patronage = 144,
- PrisonColony = 150,
- Theocracy = 160,
- //Engineer
- }
- public enum allegianceType
- {
- Alliance = 1,
- Empire = 2,
- Federation = 3,
- Independent = 4,
- None = 5
- }
- public enum securityType
- {
- Anarchy = 64,
- Low = 16,
- Medium = 32,
- High = 48
- }
- public enum econmyType
- {
- Agriculture = 1,
- Extraction = 2,
- HighTech = 3,
- Industrial = 4,
- Military = 5,
- Refinery = 6,
- Service = 7,
- Terraforming = 8,
- Tourism = 9,
- None = 10,
- Colony = 11
- }
- public enum powerType
- {
- Contested = 48,
- Control = 16,
- Exploited = 32
- }
- [XmlAttribute]
- public uint id { get; set; }
- [XmlElement(IsNullable = true)]
- public uint? edsm_id { get; set; }
- [XmlAttribute]
- public string name { get; set; }
- [XmlAttribute]
- public float x { get; set; }
- [XmlAttribute]
- public float y { get; set; }
- [XmlAttribute]
- public float z { get; set; }
- [XmlAttribute]
- public ulong population { get; set; }
- [XmlAttribute]
- public bool is_populated { get; set; }
- [XmlElement(IsNullable = true)]
- public uint? government_id { get; set; }
- [XmlAttribute]
- public string government { get; set; }
- [XmlElement(IsNullable = true)]
- public uint? allegiance_id { get; set; }
- [XmlAttribute]
- public string allegiance { get; set; }
- public State[] states { get; set; }
- [XmlElement(IsNullable = true)]
- public uint? security_id { get; set; }
- [XmlAttribute]
- public string security { get; set; }
- [XmlElement(IsNullable = true)]
- public uint? primary_economy_id { get; set; }
- [XmlAttribute]
- public string primary_economy { get; set; }
- [XmlAttribute]
- public string power { get; set; }
- [XmlAttribute]
- public string power_state { get; set; }
- [XmlElement(IsNullable = true)]
- public uint? power_state_id { get; set; }
- [XmlAttribute]
- public bool needs_permit { get; set; }
- [XmlAttribute]
- public uint updated_at { get; set; }
- [XmlAttribute]
- public string simbad_ref { get; set; }
- [XmlElement(IsNullable = true)]
- public uint? controlling_minor_faction_id { get; set; }
- [XmlAttribute]
- public string controlling_minor_faction { get; set; }
- [XmlElement(IsNullable = true)]
- public ulong? reserve_type_id { get; set; }
- [XmlAttribute]
- public string reserve_type { get; set; }
- public Minor_Faction_Presences[] minor_faction_presences { get; set; }
- [XmlElement(IsNullable = true)]
- public ulong? ed_system_address { get; set; }
- }
- public class State
- {
- [XmlAttribute]
- public int id { get; set; }
- [XmlAttribute]
- public string name { get; set; }
- }
- public class Minor_Faction_Presences
- {
- [XmlElement(IsNullable = true)]
- public int? happiness_id { get; set; }
- [XmlAttribute]
- public int minor_faction_id { get; set; }
- [XmlElement(IsNullable = true)]
- public float? influence { get; set; }
- public Active_States[] active_states { get; set; }
- public object[] pending_states { get; set; }
- public object[] recovering_states { get; set; }
- }
- public class Active_States
- {
- [XmlAttribute]
- public int id { get; set; }
- [XmlAttribute]
- public string name { get; set; }
- }
- public class Station
- {
- public override string ToString()
- {
- return $"{name} ({system_id})";
- }
- [XmlAttribute]
- public int id { get; set; }
- [XmlAttribute]
- public string name { get; set; }
- [XmlAttribute]
- public int system_id { get; set; }
- [XmlElement(IsNullable = true)]
- public int? updated_at { get; set; }
- [XmlAttribute]
- public string max_landing_pad_size { get; set; }
- [XmlElement(IsNullable = true)]
- public int? distance_to_star { get; set; }
- [XmlElement(IsNullable = true)]
- public int? government_id { get; set; }
- public string government { get; set; }
- [XmlElement(IsNullable = true)]
- public int? allegiance_id { get; set; }
- public string allegiance { get; set; }
- public State[] states { get; set; }
- [XmlElement(IsNullable = true)]
- public int? type_id { get; set; }
- public string type { get; set; }
- [XmlAttribute]
- public bool has_blackmarket { get; set; }
- [XmlAttribute]
- public bool has_market { get; set; }
- [XmlAttribute]
- public bool has_refuel { get; set; }
- [XmlAttribute]
- public bool has_repair { get; set; }
- [XmlAttribute]
- public bool has_rearm { get; set; }
- [XmlAttribute]
- public bool has_outfitting { get; set; }
- [XmlAttribute]
- public bool has_shipyard { get; set; }
- [XmlAttribute]
- public bool has_docking { get; set; }
- [XmlAttribute]
- public bool has_commodities { get; set; }
- public string[] import_commodities { get; set; }
- public string[] export_commodities { get; set; }
- public string[] prohibited_commodities { get; set; }
- public string[] economies { get; set; }
- [XmlElement(IsNullable = true)]
- public ulong? shipyard_updated_at { get; set; } = 0;
- [XmlElement(IsNullable = true)]
- public ulong? outfitting_updated_at { get; set; } = 0;
- [XmlElement(IsNullable = true)]
- public ulong? market_updated_at { get; set; } = 0;
- [XmlAttribute]
- public bool is_planetary { get; set; }
- public string[] selling_ships { get; set; }
- public int[] selling_modules { get; set; }
- [XmlElement(IsNullable = true)]
- public uint? settlement_size_id { get; set; }
- public string settlement_size { get; set; }
- [XmlElement(IsNullable = true)]
- public uint? settlement_security_id { get; set; }
- public string settlement_security { get; set; }
- [XmlElement(IsNullable = true)]
- public int? body_id { get; set; }
- [XmlElement(IsNullable = true)]
- public int? controlling_minor_faction_id { get; set; }
- [XmlElement(IsNullable = true)]
- public long? ed_market_id { get; set; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement