17 lines
396 B
C#
17 lines
396 B
C#
using Server.Network;
|
|
|
|
namespace Server.Tests.Network
|
|
{
|
|
public sealed class BondedStatus : Packet
|
|
{
|
|
public BondedStatus(Serial serial, bool bonded) : base(0xBF)
|
|
{
|
|
EnsureCapacity(11);
|
|
|
|
Stream.Write((short)0x19);
|
|
Stream.Write((byte)0);
|
|
Stream.Write(serial);
|
|
Stream.Write((byte)(bonded ? 1 : 0));
|
|
}
|
|
}
|
|
}
|