Scripts/Quests: Implemented new quest scripting hook, OnQuestAcknowledgeAutoAccept, used when player closes quest frame after viewing details of autoaccept quests
Port From (https://github.com/TrinityCore/TrinityCore/commit/f269f60d8a5f6b0982eb46dc583e2618c98931fb)
This commit is contained in:
@@ -406,6 +406,18 @@ namespace Game.Networking.Packets
|
||||
public bool FromScript; // 0 - standart complete quest mode with npc, 1 - auto-complete mode
|
||||
}
|
||||
|
||||
public class QuestGiverCloseQuest : ClientPacket
|
||||
{
|
||||
public QuestGiverCloseQuest(WorldPacket packet) : base(packet) { }
|
||||
|
||||
public override void Read()
|
||||
{
|
||||
QuestID = _worldPacket.ReadUInt32();
|
||||
}
|
||||
|
||||
public uint QuestID;
|
||||
}
|
||||
|
||||
public class QuestGiverQuestDetails : ServerPacket
|
||||
{
|
||||
public QuestGiverQuestDetails() : base(ServerOpcodes.QuestGiverQuestDetails) { }
|
||||
|
||||
Reference in New Issue
Block a user