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

This commit is contained in:
Fabian
2017-10-26 19:36:15 +02:00
parent 5d1f0a8dc8
commit 8393349316
77 changed files with 3704 additions and 3697 deletions
+11 -11
View File
@@ -30,8 +30,8 @@ namespace Game.Network.Packets
TotemGUID = _worldPacket.ReadPackedGuid();
}
public ObjectGuid TotemGUID;
public byte Slot;
public ObjectGuid TotemGUID { get; set; }
public byte Slot { get; set; }
}
class TotemCreated : ServerPacket
@@ -49,12 +49,12 @@ namespace Game.Network.Packets
_worldPacket.FlushBits();
}
public ObjectGuid Totem;
public uint SpellID;
public uint Duration;
public byte Slot;
public float TimeMod = 1.0f;
public bool CannotDismiss;
public ObjectGuid Totem { get; set; }
public uint SpellID { get; set; }
public uint Duration { get; set; }
public byte Slot { get; set; }
public float TimeMod { get; set; } = 1.0f;
public bool CannotDismiss { get; set; }
}
class TotemMoved : ServerPacket
@@ -68,8 +68,8 @@ namespace Game.Network.Packets
_worldPacket.WritePackedGuid(Totem);
}
public ObjectGuid Totem;
public byte Slot;
public byte NewSlot;
public ObjectGuid Totem { get; set; }
public byte Slot { get; set; }
public byte NewSlot { get; set; }
}
}