Revert "Fixed some (many) "{ get; set; }""

This reverts commit 8393349316.
This commit is contained in:
Fabian
2017-11-05 22:26:25 +01:00
parent 8ed446ae7a
commit facab2dce6
77 changed files with 3697 additions and 3704 deletions
@@ -40,9 +40,9 @@ namespace Game.Network.Packets
_worldPacket.FlushBits();
}
public int[] FactionStandings { get; set; } = new int[FactionCount];
public bool[] FactionHasBonus { get; set; } = new bool[FactionCount]; ///< @todo: implement faction bonus
public FactionFlags[] FactionFlags { get; set; } = new FactionFlags[FactionCount];
public int[] FactionStandings = new int[FactionCount];
public bool[] FactionHasBonus = new bool[FactionCount]; ///< @todo: implement faction bonus
public FactionFlags[] FactionFlags = new FactionFlags[FactionCount];
}
class RequestForcedReactions : ClientPacket
@@ -65,7 +65,7 @@ namespace Game.Network.Packets
_worldPacket.FlushBits();
}
public List<ForcedReaction> Reactions { get; set; } = new List<ForcedReaction>();
public List<ForcedReaction> Reactions = new List<ForcedReaction>();
}
class SetFactionStanding : ServerPacket
@@ -85,10 +85,10 @@ namespace Game.Network.Packets
_worldPacket.FlushBits();
}
public float ReferAFriendBonus { get; set; }
public float BonusFromAchievementSystem { get; set; }
public List<FactionStandingData> Faction { get; set; } = new List<FactionStandingData>();
public bool ShowVisual { get; set; }
public float ReferAFriendBonus;
public float BonusFromAchievementSystem;
public List<FactionStandingData> Faction = new List<FactionStandingData>();
public bool ShowVisual;
}
struct ForcedReaction
@@ -99,8 +99,8 @@ namespace Game.Network.Packets
data.WriteInt32(Reaction);
}
public int Faction { get; set; }
public int Reaction { get; set; }
public int Faction;
public int Reaction;
}
struct FactionStandingData