mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-11 08:18:49 -07:00
fix indent
This commit is contained in:
parent
06daf21d8c
commit
2aac24c37e
@ -5,7 +5,7 @@ namespace sodoff.Schema;
|
||||
[XmlRoot(ElementName = "AR", Namespace = "")]
|
||||
[Serializable]
|
||||
public class AchievementReward {
|
||||
public AchievementReward() {}
|
||||
public AchievementReward() { }
|
||||
|
||||
public AchievementReward(AchievementReward other) {
|
||||
if (other.UserItem != null)
|
||||
@ -65,6 +65,6 @@ public class AchievementReward {
|
||||
public int CommonInventoryID;
|
||||
|
||||
public AchievementReward Clone() {
|
||||
return (AchievementReward) this.MemberwiseClone();
|
||||
return (AchievementReward)this.MemberwiseClone();
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ namespace sodoff.Schema;
|
||||
[XmlRoot(ElementName = "BP", Namespace = "", IsNullable = true)]
|
||||
[Serializable]
|
||||
public class BluePrint {
|
||||
public BluePrint() {}
|
||||
public BluePrint() { }
|
||||
|
||||
public BluePrint(BluePrint other) {
|
||||
Deductibles = other.Deductibles.Select(d => new BluePrintDeductibleConfig(d)).ToList();
|
||||
|
@ -3,7 +3,7 @@ using System.Xml.Serialization;
|
||||
namespace sodoff.Schema;
|
||||
|
||||
public class BluePrintSpecification {
|
||||
public BluePrintSpecification() {}
|
||||
public BluePrintSpecification() { }
|
||||
|
||||
public BluePrintSpecification(BluePrintSpecification other) {
|
||||
BluePrintSpecID = other.BluePrintSpecID;
|
||||
|
@ -4,7 +4,7 @@ namespace sodoff.Schema;
|
||||
|
||||
[Serializable]
|
||||
public class CompletionAction {
|
||||
public CompletionAction() {}
|
||||
public CompletionAction() { }
|
||||
|
||||
public CompletionAction(CompletionAction other) {
|
||||
Transition = other.Transition;
|
||||
|
@ -5,7 +5,7 @@ namespace sodoff.Schema;
|
||||
[XmlRoot(ElementName = "AT", Namespace = "")]
|
||||
[Serializable]
|
||||
public class ItemAttribute {
|
||||
public ItemAttribute() {}
|
||||
public ItemAttribute() { }
|
||||
|
||||
public ItemAttribute(ItemAttribute other) {
|
||||
Key = other.Key;
|
||||
|
@ -5,7 +5,7 @@ namespace sodoff.Schema;
|
||||
[XmlRoot(ElementName = "Availability", Namespace = "")]
|
||||
[Serializable]
|
||||
public class ItemAvailability {
|
||||
public ItemAvailability() {}
|
||||
public ItemAvailability() { }
|
||||
|
||||
public ItemAvailability(ItemAvailability other) {
|
||||
StartDate = other.StartDate;
|
||||
|
@ -4,7 +4,7 @@ namespace sodoff.Schema;
|
||||
|
||||
[XmlRoot(ElementName = "I", Namespace = "", IsNullable = true)]
|
||||
public class ItemData {
|
||||
public ItemData() {}
|
||||
public ItemData() { }
|
||||
|
||||
public ItemData(ItemData other) {
|
||||
ItemStates = other.ItemStates.Select(s => new ItemState(s)).ToList();
|
||||
|
@ -5,7 +5,7 @@ namespace sodoff.Schema;
|
||||
[XmlRoot(ElementName = "IC", Namespace = "")]
|
||||
[Serializable]
|
||||
public class ItemDataCategory {
|
||||
public ItemDataCategory() {}
|
||||
public ItemDataCategory() { }
|
||||
|
||||
public ItemDataCategory(ItemDataCategory other) {
|
||||
CategoryId = other.CategoryId;
|
||||
|
@ -5,7 +5,7 @@ namespace sodoff.Schema;
|
||||
[XmlRoot(ElementName = "IRE", Namespace = "")]
|
||||
[Serializable]
|
||||
public class ItemDataRelationship {
|
||||
public ItemDataRelationship() {}
|
||||
public ItemDataRelationship() { }
|
||||
|
||||
public ItemDataRelationship(ItemDataRelationship other) {
|
||||
Type = other.Type;
|
||||
|
@ -5,7 +5,7 @@ namespace sodoff.Schema;
|
||||
[XmlRoot(ElementName = "IRO", Namespace = "")]
|
||||
[Serializable]
|
||||
public class ItemDataRollover {
|
||||
public ItemDataRollover() {}
|
||||
public ItemDataRollover() { }
|
||||
|
||||
public ItemDataRollover(ItemDataRollover other) {
|
||||
DialogName = other.DialogName;
|
||||
|
@ -5,7 +5,7 @@ namespace sodoff.Schema;
|
||||
[XmlRoot(ElementName = "IT", Namespace = "")]
|
||||
[Serializable]
|
||||
public class ItemDataTexture {
|
||||
public ItemDataTexture() {}
|
||||
public ItemDataTexture() { }
|
||||
|
||||
public ItemDataTexture(ItemDataTexture other) {
|
||||
TextureName = other.TextureName;
|
||||
|
@ -5,7 +5,7 @@ namespace sodoff.Schema;
|
||||
[XmlRoot(ElementName = "IPSM", Namespace = "", IsNullable = false)]
|
||||
[Serializable]
|
||||
public class ItemPossibleStatsMap {
|
||||
public ItemPossibleStatsMap() {}
|
||||
public ItemPossibleStatsMap() { }
|
||||
|
||||
public ItemPossibleStatsMap(ItemPossibleStatsMap other) {
|
||||
ItemID = other.ItemID;
|
||||
|
@ -5,7 +5,7 @@ namespace sodoff.Schema;
|
||||
[XmlRoot(ElementName = "ISC", Namespace = "", IsNullable = true)]
|
||||
[Serializable]
|
||||
public class ItemSaleConfig {
|
||||
public ItemSaleConfig() {}
|
||||
public ItemSaleConfig() { }
|
||||
|
||||
public ItemSaleConfig(ItemSaleConfig other) {
|
||||
ItemID = other.ItemID;
|
||||
|
@ -5,7 +5,7 @@ namespace sodoff.Schema;
|
||||
[XmlRoot(ElementName = "IS", Namespace = "")]
|
||||
[Serializable]
|
||||
public class ItemStat {
|
||||
public ItemStat() {}
|
||||
public ItemStat() { }
|
||||
|
||||
public ItemStat(ItemStat other) {
|
||||
ItemStatID = other.ItemStatID;
|
||||
|
@ -11,7 +11,7 @@ namespace sodoff.Schema;
|
||||
[XmlInclude(typeof(ItemStateCriteriaExpiry))]
|
||||
[Serializable]
|
||||
public class ItemStateCriteria {
|
||||
public ItemStateCriteria() {}
|
||||
public ItemStateCriteria() { }
|
||||
|
||||
public ItemStateCriteria(ItemStateCriteria other) {
|
||||
Type = other.Type;
|
||||
|
@ -5,7 +5,7 @@ namespace sodoff.Schema;
|
||||
[XmlRoot(ElementName = "ItemStateRule", Namespace = "")]
|
||||
[Serializable]
|
||||
public class ItemStateRule {
|
||||
public ItemStateRule() {}
|
||||
public ItemStateRule() { }
|
||||
|
||||
public ItemStateRule(ItemStateRule other) {
|
||||
Criterias = other.Criterias.Select(c => new ItemStateCriteria(c)).ToList();
|
||||
|
@ -5,7 +5,7 @@ namespace sodoff.Schema;
|
||||
[XmlRoot(ElementName = "ISM", Namespace = "", IsNullable = false)]
|
||||
[Serializable]
|
||||
public class ItemStatsMap {
|
||||
public ItemStatsMap() {}
|
||||
public ItemStatsMap() { }
|
||||
|
||||
public ItemStatsMap(ItemStatsMap other) {
|
||||
ItemID = other.ItemID;
|
||||
|
@ -3,9 +3,9 @@
|
||||
namespace sodoff.Schema;
|
||||
|
||||
[XmlRoot(ElementName = "Mission", Namespace = "")]
|
||||
[Serializable] // FIXME: Remove serializable once we have a different way of deep copying than BinaryFormatter
|
||||
[Serializable]
|
||||
public class Mission {
|
||||
public Mission() {}
|
||||
public Mission() { }
|
||||
|
||||
public Mission(Mission other) {
|
||||
if (other == null) throw new ArgumentNullException(nameof(other));
|
||||
|
@ -5,7 +5,7 @@ namespace sodoff.Schema;
|
||||
[XmlRoot(ElementName = "MissionCriteria", Namespace = "")]
|
||||
[Serializable]
|
||||
public class MissionCriteria {
|
||||
public MissionCriteria() {}
|
||||
public MissionCriteria() { }
|
||||
|
||||
public MissionCriteria(MissionCriteria other) {
|
||||
Type = other.Type;
|
||||
|
@ -5,7 +5,7 @@ namespace sodoff.Schema;
|
||||
[XmlRoot(ElementName = "MissionRule", Namespace = "")]
|
||||
[Serializable]
|
||||
public class MissionRule {
|
||||
public MissionRule() {}
|
||||
public MissionRule() { }
|
||||
|
||||
public MissionRule(MissionRule other) {
|
||||
Prerequisites = other.Prerequisites.Select(p => new PrerequisiteItem(p)).ToList();
|
||||
|
@ -5,7 +5,7 @@ namespace sodoff.Schema;
|
||||
[XmlRoot(ElementName = "Pair", Namespace = "")]
|
||||
[Serializable]
|
||||
public class Pair {
|
||||
public Pair() {}
|
||||
public Pair() { }
|
||||
|
||||
public Pair(Pair other) {
|
||||
PairKey = other.PairKey;
|
||||
|
@ -5,7 +5,7 @@ namespace sodoff.Schema;
|
||||
[XmlRoot(ElementName = "Pairs", Namespace = "", IsNullable = true)]
|
||||
[Serializable]
|
||||
public class PairData {
|
||||
public PairData() {}
|
||||
public PairData() { }
|
||||
|
||||
public PairData(PairData other) {
|
||||
Pairs = other.Pairs.Select(p => new Pair(p)).ToArray();
|
||||
|
@ -5,7 +5,7 @@ namespace sodoff.Schema;
|
||||
[XmlRoot(ElementName = "PrerequisiteItem", Namespace = "")]
|
||||
[Serializable]
|
||||
public class PrerequisiteItem {
|
||||
public PrerequisiteItem() {}
|
||||
public PrerequisiteItem() { }
|
||||
|
||||
public PrerequisiteItem(PrerequisiteItem other) {
|
||||
Type = other.Type;
|
||||
|
@ -5,7 +5,7 @@ namespace sodoff.Schema;
|
||||
[XmlRoot(ElementName = "RuleItem", Namespace = "")]
|
||||
[Serializable]
|
||||
public class RuleItem {
|
||||
public RuleItem() {}
|
||||
public RuleItem() { }
|
||||
|
||||
public RuleItem(RuleItem other) {
|
||||
Type = other.Type;
|
||||
|
@ -5,7 +5,7 @@ namespace sodoff.Schema;
|
||||
[XmlRoot(ElementName = "STAT", Namespace = "", IsNullable = false)]
|
||||
[Serializable]
|
||||
public class Stat {
|
||||
public Stat() {}
|
||||
public Stat() { }
|
||||
|
||||
public Stat(Stat other) {
|
||||
ItemID = other.ItemID;
|
||||
|
@ -5,7 +5,7 @@ namespace sodoff.Schema;
|
||||
[XmlRoot(ElementName = "SRM", Namespace = "", IsNullable = false)]
|
||||
[Serializable]
|
||||
public class StatRangeMap {
|
||||
public StatRangeMap() {}
|
||||
public StatRangeMap() { }
|
||||
|
||||
public StatRangeMap(StatRangeMap other) {
|
||||
ItemStatsID = other.ItemStatsID;
|
||||
|
@ -8,7 +8,7 @@ namespace sodoff.Schema;
|
||||
[XmlRoot(ElementName = "Task", Namespace = "")]
|
||||
[Serializable]
|
||||
public class Task {
|
||||
public Task() {}
|
||||
public Task() { }
|
||||
|
||||
public Task(Task other) {
|
||||
TaskID = other.TaskID;
|
||||
|
@ -5,7 +5,7 @@ namespace sodoff.Schema;
|
||||
[XmlRoot(ElementName = "UserItem", Namespace = "")]
|
||||
[Serializable]
|
||||
public class UserItemData {
|
||||
public UserItemData() {}
|
||||
public UserItemData() { }
|
||||
|
||||
public UserItemData(UserItemData other) {
|
||||
ItemID = other.ItemID;
|
||||
|
Loading…
x
Reference in New Issue
Block a user