Fix: Add quest dialog cancelation packet handling

This commit is contained in:
Simone Romano
2025-12-25 21:59:50 +01:00
parent 1592ec93f6
commit 4b6cdc8003
4 changed files with 31 additions and 1 deletions

View File

@@ -2322,6 +2322,21 @@ bool CPythonNetworkStream::SendQuestConfirmPacket(BYTE byAnswer, DWORD dwPID)
return SendSequence();
}
bool CPythonNetworkStream::SendQuestCancelPacket()
{
TPacketCGQuestCancel Packet;
Packet.header = HEADER_CG_QUEST_CANCEL;
if (!Send(sizeof(Packet), &Packet))
{
Tracen("SendQuestCancelPacket Error");
return false;
}
Tracenf(" SendQuestCancelPacket");
return SendSequence();
}
bool CPythonNetworkStream::RecvSkillCoolTimeEnd()
{
TPacketGCSkillCoolTimeEnd kPacketSkillCoolTimeEnd;