Core: SOme code cleanup, more to follow.

This commit is contained in:
hondacrx
2021-03-20 22:48:48 -04:00
parent 62f554f2e0
commit 62ec699ec6
318 changed files with 5080 additions and 5125 deletions
+6 -6
View File
@@ -133,9 +133,9 @@ namespace Game.Networking.Packets
public uint[] ActionButtons = new uint[10];
public List<uint> Actions = new List<uint>();
public List<PetSpellCooldown> Cooldowns = new List<PetSpellCooldown>();
public List<PetSpellHistory> SpellHistory = new List<PetSpellHistory>();
public List<uint> Actions = new();
public List<PetSpellCooldown> Cooldowns = new();
public List<PetSpellHistory> SpellHistory = new();
}
class PetStableList : ServerPacket
@@ -161,7 +161,7 @@ namespace Game.Networking.Packets
}
public ObjectGuid StableMaster;
public List<PetStableInfo> Pets = new List<PetStableInfo>();
public List<PetStableInfo> Pets = new();
}
class PetStableResult : ServerPacket
@@ -187,7 +187,7 @@ namespace Game.Networking.Packets
_worldPacket.WriteUInt32(spell);
}
public List<uint> Spells = new List<uint>();
public List<uint> Spells = new();
}
class PetUnlearnedSpells : ServerPacket
@@ -201,7 +201,7 @@ namespace Game.Networking.Packets
_worldPacket.WriteUInt32(spell);
}
public List<uint> Spells = new List<uint>();
public List<uint> Spells = new();
}
class PetNameInvalid : ServerPacket