Core: Updated to 11.0.2
Port From (https://github.com/TrinityCore/TrinityCore/commit/df1ec76d54db3a91759fc93f4d6b6828d4ec0f59)
This commit is contained in:
@@ -26,27 +26,6 @@ namespace Game.Networking.Packets
|
||||
public List<FactionBonusData> Bonuses = new();
|
||||
}
|
||||
|
||||
class RequestForcedReactions : ClientPacket
|
||||
{
|
||||
public RequestForcedReactions(WorldPacket packet) : base(packet) { }
|
||||
|
||||
public override void Read() { }
|
||||
}
|
||||
|
||||
class SetForcedReactions : ServerPacket
|
||||
{
|
||||
public SetForcedReactions() : base(ServerOpcodes.SetForcedReactions, ConnectionType.Instance) { }
|
||||
|
||||
public override void Write()
|
||||
{
|
||||
_worldPacket.WriteInt32(Reactions.Count);
|
||||
foreach (ForcedReaction reaction in Reactions)
|
||||
reaction.Write(_worldPacket);
|
||||
}
|
||||
|
||||
public List<ForcedReaction> Reactions = new();
|
||||
}
|
||||
|
||||
class SetFactionStanding : ServerPacket
|
||||
{
|
||||
public SetFactionStanding() : base(ServerOpcodes.SetFactionStanding, ConnectionType.Instance) { }
|
||||
@@ -95,18 +74,6 @@ namespace Game.Networking.Packets
|
||||
}
|
||||
}
|
||||
|
||||
struct ForcedReaction
|
||||
{
|
||||
public void Write(WorldPacket data)
|
||||
{
|
||||
data.WriteInt32(Faction);
|
||||
data.WriteInt32(Reaction);
|
||||
}
|
||||
|
||||
public int Faction;
|
||||
public int Reaction;
|
||||
}
|
||||
|
||||
struct FactionStandingData
|
||||
{
|
||||
public FactionStandingData(int index, int standing)
|
||||
|
||||
Reference in New Issue
Block a user