Fixed QuestObjective order and change name of QuestGiverQuestList -> QuestGiverQuestListMessage

This commit is contained in:
hondacrx
2017-07-10 11:22:17 -04:00
parent b158c764ae
commit 65802889c4
4 changed files with 13 additions and 13 deletions
+4 -4
View File
@@ -315,9 +315,9 @@ namespace Game.Misc
_session.SendPacket(packet);
}
public void SendQuestGiverQuestList(ObjectGuid guid)
public void SendQuestGiverQuestListMessage(ObjectGuid guid)
{
QuestGiverQuestList questList = new QuestGiverQuestList();
QuestGiverQuestListMessage questList = new QuestGiverQuestListMessage();
questList.QuestGiverGUID = guid;
QuestGreeting questGreeting = Global.ObjectMgr.GetQuestGreeting(guid);
@@ -348,7 +348,7 @@ namespace Game.Misc
ObjectManager.GetLocaleString(localeData.LogTitle, locale, ref title);
}
GossipTextData text = new GossipTextData();
GossipText text = new GossipText();
text.QuestID = questID;
text.QuestType = questMenuItem.QuestIcon;
text.QuestLevel = (uint)quest.Level;
@@ -356,7 +356,7 @@ namespace Game.Misc
text.QuestFlagsEx = (uint)quest.FlagsEx;
text.Repeatable = false; // NYI
text.QuestTitle = title;
questList.GossipTexts.Add(text);
questList.QuestDataText.Add(text);
}
}
+1 -1
View File
@@ -321,7 +321,7 @@ namespace Game.Entities
}
}
PlayerTalkClass.SendQuestGiverQuestList(guid);
PlayerTalkClass.SendQuestGiverQuestListMessage(guid);
}
public bool IsActiveQuest(uint quest_id)