补充数据包

This commit is contained in:
Longfeng Qin 2024-09-18 03:47:04 +08:00
parent 4e527d3fab
commit d822a2acdd
19 changed files with 576 additions and 0 deletions

View File

@ -0,0 +1,31 @@
using PSO2SERVER.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PSO2SERVER.Packets.PSOPackets
{
public class EnemyKilledPacket : Packet
{
public EnemyKilledPacket()
{
}
#region implemented abstract members of Packet
public override byte[] Build()
{
var pkt = new PacketWriter();
return pkt.ToArray();
}
public override PacketHeader GetHeader()
{
return new PacketHeader(0x04, 0x0F, PacketFlags.None);
}
#endregion
}
}

View File

@ -0,0 +1,31 @@
using PSO2SERVER.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PSO2SERVER.Packets.PSOPackets
{
public class ChangeClassPacket : Packet
{
public ChangeClassPacket()
{
}
#region implemented abstract members of Packet
public override byte[] Build()
{
var pkt = new PacketWriter();
return pkt.ToArray();
}
public override PacketHeader GetHeader()
{
return new PacketHeader(0x04, 0x21, PacketFlags.None);
}
#endregion
}
}

View File

@ -0,0 +1,31 @@
using PSO2SERVER.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PSO2SERVER.Packets.PSOPackets
{
public class EnemyActionPacket : Packet
{
public EnemyActionPacket()
{
}
#region implemented abstract members of Packet
public override byte[] Build()
{
var pkt = new PacketWriter();
return pkt.ToArray();
}
public override PacketHeader GetHeader()
{
return new PacketHeader(0x04, 0x22, PacketFlags.None);
}
#endregion
}
}

View File

@ -0,0 +1,31 @@
using PSO2SERVER.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PSO2SERVER.Packets.PSOPackets
{
public class Unk0424Packet : Packet
{
public Unk0424Packet()
{
}
#region implemented abstract members of Packet
public override byte[] Build()
{
var pkt = new PacketWriter();
return pkt.ToArray();
}
public override PacketHeader GetHeader()
{
return new PacketHeader(0x04, 0x24, PacketFlags.None);
}
#endregion
}
}

View File

@ -0,0 +1,31 @@
using PSO2SERVER.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PSO2SERVER.Packets.PSOPackets
{
public class Unk0425Packet : Packet
{
public Unk0425Packet()
{
}
#region implemented abstract members of Packet
public override byte[] Build()
{
var pkt = new PacketWriter();
return pkt.ToArray();
}
public override PacketHeader GetHeader()
{
return new PacketHeader(0x04, 0x25, PacketFlags.None);
}
#endregion
}
}

View File

@ -0,0 +1,31 @@
using PSO2SERVER.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PSO2SERVER.Packets.PSOPackets
{
public class Unk042CPacket : Packet
{
public Unk042CPacket()
{
}
#region implemented abstract members of Packet
public override byte[] Build()
{
var pkt = new PacketWriter();
return pkt.ToArray();
}
public override PacketHeader GetHeader()
{
return new PacketHeader(0x04, 0x2C, PacketFlags.None);
}
#endregion
}
}

View File

@ -0,0 +1,31 @@
using PSO2SERVER.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PSO2SERVER.Packets.PSOPackets
{
public class LoadPAsPacket : Packet
{
public LoadPAsPacket()
{
}
#region implemented abstract members of Packet
public override byte[] Build()
{
var pkt = new PacketWriter();
return pkt.ToArray();
}
public override PacketHeader GetHeader()
{
return new PacketHeader(0x04, 0x2E, PacketFlags.None);
}
#endregion
}
}

View File

@ -0,0 +1,31 @@
using PSO2SERVER.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PSO2SERVER.Packets.PSOPackets
{
public class DamageReceivePacket : Packet
{
public DamageReceivePacket()
{
}
#region implemented abstract members of Packet
public override byte[] Build()
{
var pkt = new PacketWriter();
return pkt.ToArray();
}
public override PacketHeader GetHeader()
{
return new PacketHeader(0x04, 0x52, PacketFlags.None);
}
#endregion
}
}

View File

@ -0,0 +1,31 @@
using PSO2SERVER.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PSO2SERVER.Packets.PSOPackets
{
public class SetTitlePacket : Packet
{
public SetTitlePacket()
{
}
#region implemented abstract members of Packet
public override byte[] Build()
{
var pkt = new PacketWriter();
return pkt.ToArray();
}
public override PacketHeader GetHeader()
{
return new PacketHeader(0x04, 0x72, PacketFlags.None);
}
#endregion
}
}

View File

@ -0,0 +1,31 @@
using PSO2SERVER.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PSO2SERVER.Packets.PSOPackets
{
public class Unk0479Packet : Packet
{
public Unk0479Packet()
{
}
#region implemented abstract members of Packet
public override byte[] Build()
{
var pkt = new PacketWriter();
return pkt.ToArray();
}
public override PacketHeader GetHeader()
{
return new PacketHeader(0x04, 0x79, PacketFlags.None);
}
#endregion
}
}

View File

@ -0,0 +1,31 @@
using PSO2SERVER.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PSO2SERVER.Packets.PSOPackets
{
public class Unk0486Packet : Packet
{
public Unk0486Packet()
{
}
#region implemented abstract members of Packet
public override byte[] Build()
{
var pkt = new PacketWriter();
return pkt.ToArray();
}
public override PacketHeader GetHeader()
{
return new PacketHeader(0x04, 0x86, PacketFlags.None);
}
#endregion
}
}

View File

@ -0,0 +1,31 @@
using PSO2SERVER.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PSO2SERVER.Packets.PSOPackets
{
public class Unk04B0Packet : Packet
{
public Unk04B0Packet()
{
}
#region implemented abstract members of Packet
public override byte[] Build()
{
var pkt = new PacketWriter();
return pkt.ToArray();
}
public override PacketHeader GetHeader()
{
return new PacketHeader(0x04, 0xB0, PacketFlags.None);
}
#endregion
}
}

View File

@ -0,0 +1,31 @@
using PSO2SERVER.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PSO2SERVER.Packets.PSOPackets
{
public class Unk04BAPacket : Packet
{
public Unk04BAPacket()
{
}
#region implemented abstract members of Packet
public override byte[] Build()
{
var pkt = new PacketWriter();
return pkt.ToArray();
}
public override PacketHeader GetHeader()
{
return new PacketHeader(0x04, 0xBA, PacketFlags.None);
}
#endregion
}
}

View File

@ -0,0 +1,31 @@
using PSO2SERVER.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PSO2SERVER.Packets.PSOPackets
{
public class Unk04EAPacket : Packet
{
public Unk04EAPacket()
{
}
#region implemented abstract members of Packet
public override byte[] Build()
{
var pkt = new PacketWriter();
return pkt.ToArray();
}
public override PacketHeader GetHeader()
{
return new PacketHeader(0x04, 0xEA, PacketFlags.None);
}
#endregion
}
}

View File

@ -0,0 +1,31 @@
using PSO2SERVER.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PSO2SERVER.Packets.PSOPackets
{
public class GainedEXPPacket : Packet
{
public GainedEXPPacket()
{
}
#region implemented abstract members of Packet
public override byte[] Build()
{
var pkt = new PacketWriter();
return pkt.ToArray();
}
public override PacketHeader GetHeader()
{
return new PacketHeader(0x06, 0x05, PacketFlags.None);
}
#endregion
}
}

View File

@ -0,0 +1,31 @@
using PSO2SERVER.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PSO2SERVER.Packets.PSOPackets
{
public class TransporterSpawnPacket : Packet
{
public TransporterSpawnPacket()
{
}
#region implemented abstract members of Packet
public override byte[] Build()
{
var pkt = new PacketWriter();
return pkt.ToArray();
}
public override PacketHeader GetHeader()
{
return new PacketHeader(0x08, 0x05, PacketFlags.None);
}
#endregion
}
}

View File

@ -0,0 +1,31 @@
using PSO2SERVER.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PSO2SERVER.Packets.PSOPackets
{
public class EventSpawnPacket : Packet
{
public EventSpawnPacket()
{
}
#region implemented abstract members of Packet
public override byte[] Build()
{
var pkt = new PacketWriter();
return pkt.ToArray();
}
public override PacketHeader GetHeader()
{
return new PacketHeader(0x08, 0x09, PacketFlags.None);
}
#endregion
}
}

View File

@ -0,0 +1,31 @@
using PSO2SERVER.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PSO2SERVER.Packets.PSOPackets
{
public class EnemySpawnPacket : Packet
{
public EnemySpawnPacket()
{
}
#region implemented abstract members of Packet
public override byte[] Build()
{
var pkt = new PacketWriter();
return pkt.ToArray();
}
public override PacketHeader GetHeader()
{
return new PacketHeader(0x08, 0x0D, PacketFlags.None);
}
#endregion
}
}

View File

@ -203,10 +203,28 @@
<Compile Include="Packets\Handlers\2F-SymbolHandler\2F-06-SymbolArtHandler.cs" />
<Compile Include="Packets\PSOPackets\03-ServerPacket\03-06-Unk0306Packet.cs" />
<Compile Include="Packets\PSOPackets\03-ServerPacket\03-00-MapTransferPacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectPacket\04-BA-Unk04BAPacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectPacket\04-EA-Unk04EAPacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectPacket\04-B0-Unk04B0Packet.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectPacket\04-86-Unk0486Packet.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectPacket\04-79-Unk0479Packet.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectPacket\04-72-SetTitlePacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectPacket\04-52-DamageReceivePacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectPacket\04-2E-LoadPAsPacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectPacket\04-2C-Unk042CPacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectPacket\04-25-Unk0425Packet.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectPacket\04-24-Unk0424Packet.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectPacket\04-22-EnemyActionPacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectPacket\04-21-ChangeClassPacket制.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectPacket\04-0F-EnemyKilledPacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectPacket\04-80-MovementActionServerPacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectPacket\04-81-ActionUpdateServerPacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectPacket\04-3B-DespawnPlayerPacket.cs" />
<Compile Include="Packets\PSOPackets\06-PlayerStatusPackets\06-05-GainedEXPPacket.cs" />
<Compile Include="Packets\PSOPackets\06-PlayerStatusPackets\06-00-SetPlayerIDPacket.cs" />
<Compile Include="Packets\PSOPackets\08-SpawnPacket\08-09-EventSpawnPacket.cs" />
<Compile Include="Packets\PSOPackets\08-SpawnPacket\08-0D-EnemySpawnPacket.cs" />
<Compile Include="Packets\PSOPackets\08-SpawnPacket\08-05-TransporterSpawnPacket.cs" />
<Compile Include="Packets\PSOPackets\08-SpawnPacket\08-0C-NPCSpawnPacket.cs" />
<Compile Include="Packets\PSOPackets\08-SpawnPacket\08-0B-ObjectSpawnPacket.cs" />
<Compile Include="Packets\PSOPackets\11-ClientPacket\11-55-CreateCharacterTwoResponsePacket.cs" />