PSO2SERVER/Server/Packets/PSOPackets/23-FlagPackets/23-07-CharacterFlagsPacket.cs

41 lines
923 B
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.Packets.PSOPackets
{
public class CharacterFlagsPacket : Packet
{
2024-09-21 12:35:09 +08:00
/// <summary>
/// Character flags.
/// </summary>
public List<byte> Flags { get; set; } = new List<byte>(0xC00);
/// <summary>
/// Character parameters.
/// </summary>
public List<uint> Params { get; set; } = new List<uint>(0x100);
2024-09-18 01:50:29 +08:00
public CharacterFlagsPacket()
{
}
#region implemented abstract members of Packet
public override byte[] Build()
{
var pkt = new PacketWriter();
return pkt.ToArray();
}
public override PacketHeader GetHeader()
{
return new PacketHeader(0x23, 0x07, PacketFlags.None);
}
#endregion
}
}