PSO2SERVER/Server/Protocol/Packets/2F-SymbolPacket/2F-07-SymbolArtListPacket.cs

35 lines
867 B
C#
Raw Normal View History

2024-09-10 00:31:40 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
2024-09-10 01:13:20 +08:00
using PSO2SERVER.Models;
2024-09-10 00:31:40 +08:00
namespace PSO2SERVER.Protocol.Packets
2024-09-10 00:31:40 +08:00
{
class SymbolArtListPacket : Packet
2024-09-10 00:31:40 +08:00
{
ObjectHeader player;
public SymbolArtListPacket(ObjectHeader player)
2024-09-10 00:31:40 +08:00
{
this.player = player;
}
public override byte[] Build()
{
PacketWriter writer = new PacketWriter();
writer.WriteObjectHeader(player);
2024-09-10 00:31:40 +08:00
writer.Write(-1); // Dunno what goes here
writer.WriteMagic(0x20, 0xE80C, 0xED); // 20 Things
writer.Write(new Byte[16 * 0x20]); // 16 Bytes each
return writer.ToArray();
}
public override PacketHeader GetHeader()
{
2024-09-16 02:56:02 +08:00
return new PacketHeader(0x2F, 0x07, PacketFlags.PACKED);
2024-09-10 00:31:40 +08:00
}
}
}