PSO2SERVER/Server/Protocol/Packets/11-ClientPacket/11-53-CreateCharacterInviteNicknameResponsePacket.cs

55 lines
1.4 KiB
C#
Raw Normal View History

2024-09-18 01:50:29 +08:00
using PSO2SERVER.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PSO2SERVER.Protocol.Packets
2024-09-18 01:50:29 +08:00
{
public class CreateCharacterInviteNicknameResponse : Packet
2024-09-18 01:50:29 +08:00
{
public struct CreateCharacterInviteNicknameResponsePacket
2024-09-18 01:50:29 +08:00
{
/// <summary>
/// Creation status.
/// </summary>
public uint Status;
public uint Unk2;
public uint UsedSmth;
/// <summary>
/// Required AC to buy a character creation pass.
/// </summary>
public uint ReqAc;
public CreateCharacterInviteNicknameResponsePacket(uint status, uint unk2, uint usedSmth, uint reqAc) : this()
2024-09-18 01:50:29 +08:00
{
Status = status;
Unk2 = unk2;
UsedSmth = usedSmth;
ReqAc = reqAc;
}
}
public CreateCharacterInviteNicknameResponse()
2024-09-18 01:50:29 +08:00
{
}
#region implemented abstract members of Packet
public override byte[] Build()
{
var pkt = new PacketWriter();
pkt.WriteStruct(new CreateCharacterInviteNicknameResponsePacket(0, 0, 0, 0));
2024-09-18 01:50:29 +08:00
return pkt.ToArray();
}
public override PacketHeader GetHeader()
{
return new PacketHeader(0x11, 0x53, PacketFlags.None);
2024-09-18 01:50:29 +08:00
}
#endregion
}
}