新增部分数据包

This commit is contained in:
Longfeng Qin 2024-09-18 20:36:33 +08:00
parent 81c2d85ed6
commit c4710f83fd
25 changed files with 117 additions and 21 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 LoadSettingsPacket : Packet
{
public LoadSettingsPacket()
{
}
#region implemented abstract members of Packet
public override byte[] Build()
{
var pkt = new PacketWriter();
return pkt.ToArray();
}
public override PacketHeader GetHeader()
{
return new PacketHeader(0x2B, 0x02, 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 MissionPassInfoPacket : Packet
{
public MissionPassInfoPacket()
{
}
#region implemented abstract members of Packet
public override byte[] Build()
{
var pkt = new PacketWriter();
return pkt.ToArray();
}
public override PacketHeader GetHeader()
{
return new PacketHeader(0x4D, 0x01, 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 MissionPassPacket : Packet
{
public MissionPassPacket()
{
}
#region implemented abstract members of Packet
public override byte[] Build()
{
var pkt = new PacketWriter();
return pkt.ToArray();
}
public override PacketHeader GetHeader()
{
return new PacketHeader(0x4D, 0x03, PacketFlags.PACKED);
}
#endregion
}
}

View File

@ -201,26 +201,29 @@
<Compile Include="Packets\Handlers\03-ServerHandler\03-34-TeleportCasinoToLobby.cs" />
<Compile Include="Packets\Handlers\11-ClientHandler\11-41-CreateCharacterOne.cs" />
<Compile Include="Packets\Handlers\2F-SymbolHandler\2F-06-SymbolArtHandler.cs" />
<Compile Include="Packets\PSOPackets\4D-ClassicMissionPassPacket\4D-03-MissionPassPacket.cs" />
<Compile Include="Packets\PSOPackets\4D-ClassicMissionPassPacket\4D-01-MissionPassInfoPacket.cs" />
<Compile Include="Packets\PSOPackets\2B-SettingsPacket\2B-02-LoadSettingsPacket.cs" />
<Compile Include="Packets\PSOPackets\26-FriendAvatarPacket\26-08-FriendAvatarDataResponsePacket.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\04-ObjectRelatedPacket\04-BA-Unk04BAPacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectRelatedPacket\04-EA-Unk04EAPacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectRelatedPacket\04-B0-Unk04B0Packet.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectRelatedPacket\04-86-Unk0486Packet.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectRelatedPacket\04-79-Unk0479Packet.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectRelatedPacket\04-72-SetTitlePacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectRelatedPacket\04-52-DamageReceivePacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectRelatedPacket\04-2E-LoadPAsPacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectRelatedPacket\04-2C-Unk042CPacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectRelatedPacket\04-25-Unk0425Packet.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectRelatedPacket\04-24-Unk0424Packet.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectRelatedPacket\04-22-EnemyActionPacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectRelatedPacket\04-21-ChangeClassPacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectRelatedPacket\04-0F-EnemyKilledPacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectRelatedPacket\04-80-MovementActionServerPacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectRelatedPacket\04-81-ActionUpdateServerPacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectRelatedPacket\04-3B-DespawnPlayerPacket.cs" />
<Compile Include="Packets\PSOPackets\06-PlayerStatusPacket\06-05-GainedEXPPacket.cs" />
<Compile Include="Packets\PSOPackets\06-PlayerStatusPacket\06-00-SetPlayerIDPacket.cs" />
<Compile Include="Packets\PSOPackets\08-SpawnPacket\08-09-EventSpawnPacket.cs" />
@ -284,7 +287,7 @@
<Compile Include="Packets\PSOPackets\11-ClientPacket\11-42-CreateCharacterOneResponsePacket.cs" />
<Compile Include="Packets\PSOPackets\11-ClientPacket\11-03-CharacterListPacket.cs" />
<Compile Include="Packets\PSOPackets\11-ClientPacket\11-07-CharacterCreateResponsePacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectPacket\04-06-DespawnObjectPacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectRelatedPacket\04-06-DespawnObjectPacket.cs" />
<Compile Include="Packets\PSOPackets\00-\00.cs" />
<Compile Include="Packets\PSOPackets\03-ServerPacket\03-2B-UnlockControlsPacket.cs" />
<Compile Include="Packets\PSOPackets\03-ServerPacket\03-24-LoadingLevelPacket.cs" />
@ -305,8 +308,8 @@
<Compile Include="Packets\PSOPackets\1A-MailPacket\1A-01-MailListPacket.cs" />
<Compile Include="Packets\PSOPackets\1C-AlliancePacket\1C-1F-GuildInfoPacket.cs" />
<Compile Include="Packets\PSOPackets\11-ClientPacket\11-01-LoginDataPacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectPacket\04-07-MovementPacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectPacket\04-15-ObjectActionPacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectRelatedPacket\04-07-MovementPacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectRelatedPacket\04-15-ObjectActionPacket.cs" />
<Compile Include="Packets\PSOPackets\1F-DailyOrderPacket\1F-03-OrderListPacket.cs" />
<Compile Include="Packets\PSOPackets\1F-DailyOrderPacket\1F-08-TakenOrdersPacket.cs" />
<Compile Include="Packets\PSOPackets\21-PalettePacket\21-0F-NewDefaultPAsPacket.cs" />
@ -341,7 +344,7 @@
<Compile Include="Packets\PSOPackets\2F-SymbolPacket\2F-01-SymbolArtDataRequestPacket.cs" />
<Compile Include="Packets\PSOPackets\UN-UN-SetScenePacket.cs" />
<Compile Include="Packets\PSOPackets\2F-SymbolPacket\2F-07-SymbolArtListPacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectPacket\04-02-TeleportTransferPacket.cs" />
<Compile Include="Packets\PSOPackets\04-ObjectRelatedPacket\04-02-TeleportTransferPacket.cs" />
<Compile Include="Party\Party.cs" />
<Compile Include="Party\PartyManager.cs" />
<Compile Include="Program.cs" />