26 | | ZoneOrSort = questRecord[1].GetInt32(); |
27 | | SkillOrClass = questRecord[2].GetInt32(); |
28 | | MinLevel = questRecord[3].GetUInt32(); |
29 | | QuestLevel = questRecord[4].GetUInt32(); |
30 | | Type = questRecord[5].GetUInt32(); |
31 | | RequiredRaces = questRecord[6].GetUInt32(); |
32 | | RequiredSkillValue = questRecord[7].GetUInt32(); |
33 | | RepObjectiveFaction = questRecord[8].GetUInt32(); |
34 | | RepObjectiveValue = questRecord[9].GetInt32(); |
35 | | RequiredMinRepFaction = questRecord[10].GetUInt32(); |
36 | | RequiredMinRepValue = questRecord[11].GetInt32(); |
37 | | RequiredMaxRepFaction = questRecord[12].GetUInt32(); |
38 | | RequiredMaxRepValue = questRecord[13].GetInt32(); |
39 | | SuggestedPlayers = questRecord[14].GetUInt32(); |
40 | | LimitTime = questRecord[15].GetUInt32(); |
41 | | QuestFlags = questRecord[16].GetUInt16(); |
42 | | uint32 SpecialFlags = questRecord[17].GetUInt16(); |
43 | | CharTitleId = questRecord[18].GetUInt32(); |
44 | | PrevQuestId = questRecord[19].GetInt32(); |
45 | | NextQuestId = questRecord[20].GetInt32(); |
46 | | ExclusiveGroup = questRecord[21].GetInt32(); |
47 | | NextQuestInChain = questRecord[22].GetUInt32(); |
48 | | SrcItemId = questRecord[23].GetUInt32(); |
49 | | SrcItemCount = questRecord[24].GetUInt32(); |
50 | | SrcSpell = questRecord[25].GetUInt32(); |
51 | | Title = questRecord[26].GetCppString(); |
52 | | Details = questRecord[27].GetCppString(); |
53 | | Objectives = questRecord[28].GetCppString(); |
54 | | OfferRewardText = questRecord[29].GetCppString(); |
55 | | RequestItemsText = questRecord[30].GetCppString(); |
56 | | EndText = questRecord[31].GetCppString(); |
57 | | |
58 | | for (int i = 0; i < QUEST_OBJECTIVES_COUNT; ++i) |
59 | | ObjectiveText[i] = questRecord[32+i].GetCppString(); |
60 | | |
61 | | for (int i = 0; i < QUEST_OBJECTIVES_COUNT; ++i) |
62 | | ReqItemId[i] = questRecord[36+i].GetUInt32(); |
63 | | |
64 | | for (int i = 0; i < QUEST_OBJECTIVES_COUNT; ++i) |
65 | | ReqItemCount[i] = questRecord[40+i].GetUInt32(); |
| 26 | QuestMethod = questRecord[1].GetUInt32(); |
| 27 | ZoneOrSort = questRecord[2].GetInt32(); |
| 28 | SkillOrClass = questRecord[3].GetInt32(); |
| 29 | MinLevel = questRecord[4].GetUInt32(); |
| 30 | QuestLevel = questRecord[5].GetUInt32(); |
| 31 | Type = questRecord[6].GetUInt32(); |
| 32 | RequiredRaces = questRecord[7].GetUInt32(); |
| 33 | RequiredSkillValue = questRecord[8].GetUInt32(); |
| 34 | RepObjectiveFaction = questRecord[9].GetUInt32(); |
| 35 | RepObjectiveValue = questRecord[10].GetInt32(); |
| 36 | RequiredMinRepFaction = questRecord[11].GetUInt32(); |
| 37 | RequiredMinRepValue = questRecord[12].GetInt32(); |
| 38 | RequiredMaxRepFaction = questRecord[13].GetUInt32(); |
| 39 | RequiredMaxRepValue = questRecord[14].GetInt32(); |
| 40 | SuggestedPlayers = questRecord[15].GetUInt32(); |
| 41 | LimitTime = questRecord[16].GetUInt32(); |
| 42 | QuestFlags = questRecord[17].GetUInt16(); |
| 43 | uint32 SpecialFlags = questRecord[18].GetUInt16(); |
| 44 | CharTitleId = questRecord[19].GetUInt32(); |
| 45 | PrevQuestId = questRecord[20].GetInt32(); |
| 46 | NextQuestId = questRecord[21].GetInt32(); |
| 47 | ExclusiveGroup = questRecord[22].GetInt32(); |
| 48 | NextQuestInChain = questRecord[23].GetUInt32(); |
| 49 | SrcItemId = questRecord[24].GetUInt32(); |
| 50 | SrcItemCount = questRecord[25].GetUInt32(); |
| 51 | SrcSpell = questRecord[26].GetUInt32(); |
| 52 | Title = questRecord[27].GetCppString(); |
| 53 | Details = questRecord[28].GetCppString(); |
| 54 | Objectives = questRecord[29].GetCppString(); |
| 55 | OfferRewardText = questRecord[30].GetCppString(); |
| 56 | RequestItemsText = questRecord[31].GetCppString(); |
| 57 | EndText = questRecord[32].GetCppString(); |
| 58 | |
| 59 | for (int i = 0; i < QUEST_OBJECTIVES_COUNT; ++i) |
| 60 | ObjectiveText[i] = questRecord[33+i].GetCppString(); |
| 61 | |
| 62 | for (int i = 0; i < QUEST_OBJECTIVES_COUNT; ++i) |
| 63 | ReqItemId[i] = questRecord[37+i].GetUInt32(); |
| 64 | |
| 65 | for (int i = 0; i < QUEST_OBJECTIVES_COUNT; ++i) |
| 66 | ReqItemCount[i] = questRecord[41+i].GetUInt32(); |
101 | | RewRepValue[i] = questRecord[93+i].GetInt32(); |
102 | | |
103 | | RewOrReqMoney = questRecord[98].GetInt32(); |
104 | | RewMoneyMaxLevel = questRecord[99].GetUInt32(); |
105 | | RewSpell = questRecord[100].GetUInt32(); |
106 | | RewSpellCast = questRecord[101].GetUInt32(); |
107 | | RewMailTemplateId = questRecord[102].GetUInt32(); |
108 | | RewMailDelaySecs = questRecord[103].GetUInt32(); |
109 | | PointMapId = questRecord[104].GetUInt32(); |
110 | | PointX = questRecord[105].GetFloat(); |
111 | | PointY = questRecord[106].GetFloat(); |
112 | | PointOpt = questRecord[107].GetUInt32(); |
| 102 | RewRepValue[i] = questRecord[94+i].GetInt32(); |
| 103 | |
| 104 | RewOrReqMoney = questRecord[99].GetInt32(); |
| 105 | RewMoneyMaxLevel = questRecord[100].GetUInt32(); |
| 106 | RewSpell = questRecord[101].GetUInt32(); |
| 107 | RewSpellCast = questRecord[102].GetUInt32(); |
| 108 | RewMailTemplateId = questRecord[103].GetUInt32(); |
| 109 | RewMailDelaySecs = questRecord[104].GetUInt32(); |
| 110 | PointMapId = questRecord[105].GetUInt32(); |
| 111 | PointX = questRecord[106].GetFloat(); |
| 112 | PointY = questRecord[107].GetFloat(); |
| 113 | PointOpt = questRecord[108].GetUInt32(); |