Core/Player: Initial War Mode support
Port From (https://github.com/TrinityCore/TrinityCore/commit/b821a729733db0d3742b4aefe05e5a8305724f66)
This commit is contained in:
@@ -1135,6 +1135,18 @@ namespace Game.Networking.Packets
|
||||
public bool EnablePVP;
|
||||
}
|
||||
|
||||
class SetWarMode : ClientPacket
|
||||
{
|
||||
public SetWarMode(WorldPacket packet) : base(packet) { }
|
||||
|
||||
public override void Read()
|
||||
{
|
||||
Enable = _worldPacket.HasBit();
|
||||
}
|
||||
|
||||
public bool Enable;
|
||||
}
|
||||
|
||||
class AccountHeirloomUpdate : ServerPacket
|
||||
{
|
||||
public AccountHeirloomUpdate() : base(ServerOpcodes.AccountHeirloomUpdate, ConnectionType.Instance) { }
|
||||
|
||||
Reference in New Issue
Block a user