Core/Players: Implemented setting tradeskill recipes as favorite

Port From (https://github.com/TrinityCore/TrinityCore/commit/0555ab2f56e5ad326948df96f5c2e35254e0cf4f)
This commit is contained in:
hondacrx
2023-01-04 16:25:50 -05:00
parent 66605b58ac
commit a6a063d526
7 changed files with 101 additions and 22 deletions
@@ -1160,6 +1160,20 @@ namespace Game.Networking.Packets
public bool Reverse;
public uint SpellID;
}
class TradeSkillSetFavorite : ClientPacket
{
public uint RecipeID;
public bool IsFavorite;
public TradeSkillSetFavorite(WorldPacket packet) : base(packet) { }
public override void Read()
{
RecipeID = _worldPacket.ReadUInt32();
IsFavorite = _worldPacket.HasBit();
}
}
//Structs
public struct SpellLogPowerData