Core/Players: Implemented setting tradeskill recipes as favorite
Port From (https://github.com/TrinityCore/TrinityCore/commit/0555ab2f56e5ad326948df96f5c2e35254e0cf4f)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user