PSO2SERVER/Server/Protocol/Packets/11-ClientPacket/11-0C-EncryptionResponsePacket.cs
2024-11-27 18:05:53 +08:00

32 lines
713 B
C#

using PSO2SERVER.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PSO2SERVER.Protocol.Packets
{
public class EncryptionResponsePacket : Packet
{
public byte[] decryptedToken { get; set; }
public EncryptionResponsePacket(byte[] decryptedToken)
{
this.decryptedToken = decryptedToken;
}
#region implemented abstract members of Packet
public override byte[] Build()
{
return decryptedToken;
}
public override PacketHeader GetHeader()
{
return new PacketHeader(0x11, 0x0C, PacketFlags.None);
}
#endregion
}
}