using PSO2SERVER.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace PSO2SERVER.Packets.PSOPackets { public class AccountFlagsPacket : Packet { // Account flags (0x400 bytes) public List Flags { get; set; } // Account parameters (0x100 bytes) public List Params { get; set; } public AccountFlagsPacket() { Flags = new List(new byte[0x400]); Params = new List(new uint[0x100]); } #region implemented abstract members of Packet public override byte[] Build() { var pkt = new PacketWriter(); pkt.Write(new byte[0x400]); pkt.Write(new byte[0x400]); return pkt.ToArray(); } public override PacketHeader GetHeader() { return new PacketHeader(0x23, 0x06, PacketFlags.None); } #endregion } }