コード例 #1
0
 public EconDesignXmlOutput(
     [JsonProperty(PropertyName = "material", DefaultValueHandling = DefaultValueHandling.Ignore)]
     EconDesignXmlMaterial material,
     [JsonProperty(PropertyName = "trait", DefaultValueHandling = DefaultValueHandling.Ignore)]
     EconDesignXmlTrait trait,
     [JsonProperty(PropertyName = "consumable", DefaultValueHandling = DefaultValueHandling.Ignore)]
     EconDesignXmlConsumable consumable,
     [JsonProperty(PropertyName = "advisor", DefaultValueHandling = DefaultValueHandling.Ignore)]
     EconDesignXmlAdvisor advisor,
     [JsonProperty(PropertyName = "blueprint", DefaultValueHandling = DefaultValueHandling.Ignore)]
     EconDesignXmlBlueprint blueprint)
 {
     Trait      = trait;
     Consumable = consumable;
     Material   = material;
     Advisor    = advisor;
     Blueprint  = blueprint;
 }
コード例 #2
0
 public EconDesignXmlOutput(EconDesignXmlMaterial material)
 {
     Material = material;
 }