PSO2SERVER/Server/Packets/PSOPackets/SetMesetaPacket.cs

33 lines
656 B
C#
Raw Normal View History

2024-09-10 00:31:40 +08:00
using System;
2024-09-10 01:13:20 +08:00
using PSO2SERVER.Models;
2024-09-10 00:31:40 +08:00
2024-09-10 01:13:20 +08:00
namespace PSO2SERVER.Packets.PSOPackets
2024-09-10 00:31:40 +08:00
{
public class SetMesetaPacket : Packet
{
public Int64 NewAmount = 0;
#region implemented abstract members of Packet
public override byte[] Build()
{
var writer = new PacketWriter();
writer.Write(NewAmount);
return writer.ToArray();
}
public override PacketHeader GetHeader()
{
return new PacketHeader
{
Type = 0x0F,
Subtype = 0x14,
Flags1 = 0
};
}
#endregion
}
}