PSO2SERVER/Server/Protocol/Packets/11-ClientPacket/11-0C-EncryptionResponsePacket.cs

32 lines
713 B
C#
Raw Normal View History

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