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
@@ -45,8 +45,8 @@ namespace Game.Networking.Packets
public ushort Trap;
bool HasJournalLock = true;
public List<BattlePetSlot> Slots = new List<BattlePetSlot>();
public List<BattlePetStruct> Pets = new List<BattlePetStruct>();
public List<BattlePetSlot> Slots = new();
public List<BattlePetStruct> Pets = new();
int MaxPets = 1000;
}
@@ -78,7 +78,7 @@ namespace Game.Networking.Packets
pet.Write(_worldPacket);
}
public List<BattlePetStruct> Pets = new List<BattlePetStruct>();
public List<BattlePetStruct> Pets = new();
public bool PetAdded;
}
@@ -97,7 +97,7 @@ namespace Game.Networking.Packets
slot.Write(_worldPacket);
}
public List<BattlePetSlot> Slots = new List<BattlePetSlot>();
public List<BattlePetSlot> Slots = new();
public bool AutoSlotted;
public bool NewSlot;
}