34 case QUEST_ERR_NONE:
return {
"QUEST_ERR_NONE",
"QUEST_ERR_NONE",
"" };
35 case QUEST_ERR_FAILED_LOW_LEVEL:
return {
"QUEST_ERR_FAILED_LOW_LEVEL",
"QUEST_ERR_FAILED_LOW_LEVEL",
"\042You are not high enough level for that quest.\042\042" };
36 case QUEST_ERR_FAILED_WRONG_RACE:
return {
"QUEST_ERR_FAILED_WRONG_RACE",
"QUEST_ERR_FAILED_WRONG_RACE",
"\042That quest is not available to your race.\042" };
37 case QUEST_ERR_ALREADY_DONE:
return {
"QUEST_ERR_ALREADY_DONE",
"QUEST_ERR_ALREADY_DONE",
"\042You have completed that daily quest today.\042" };
38 case QUEST_ERR_ONLY_ONE_TIMED:
return {
"QUEST_ERR_ONLY_ONE_TIMED",
"QUEST_ERR_ONLY_ONE_TIMED",
"\042You can only be on one timed quest at a time\042" };
39 case QUEST_ERR_ALREADY_ON1:
return {
"QUEST_ERR_ALREADY_ON1",
"QUEST_ERR_ALREADY_ON1",
"\042You are already on that quest\042" };
40 case QUEST_ERR_FAILED_EXPANSION:
return {
"QUEST_ERR_FAILED_EXPANSION",
"QUEST_ERR_FAILED_EXPANSION",
"\042This quest requires an expansion enabled account.\042" };
41 case QUEST_ERR_ALREADY_ON2:
return {
"QUEST_ERR_ALREADY_ON2",
"QUEST_ERR_ALREADY_ON2",
"\042You are already on that quest\042" };
42 case QUEST_ERR_FAILED_MISSING_ITEMS:
return {
"QUEST_ERR_FAILED_MISSING_ITEMS",
"QUEST_ERR_FAILED_MISSING_ITEMS",
"\042You don't have the required items with you. Check storage.\042" };
43 case QUEST_ERR_FAILED_NOT_ENOUGH_MONEY:
return {
"QUEST_ERR_FAILED_NOT_ENOUGH_MONEY",
"QUEST_ERR_FAILED_NOT_ENOUGH_MONEY",
"\042You don't have enough money for that quest\042" };
44 case QUEST_ERR_FAILED_CAIS:
return {
"QUEST_ERR_FAILED_CAIS",
"QUEST_ERR_FAILED_CAIS",
"\042You cannot complete quests once you have reached tired time\042" };
45 case QUEST_ERR_ALREADY_DONE_DAILY:
return {
"QUEST_ERR_ALREADY_DONE_DAILY",
"QUEST_ERR_ALREADY_DONE_DAILY",
"\042You have completed that daily quest today.\042" };
46 case QUEST_ERR_FAILED_SPELL:
return {
"QUEST_ERR_FAILED_SPELL",
"QUEST_ERR_FAILED_SPELL",
"\042You haven't learned the required spell.\042" };
47 case QUEST_ERR_HAS_IN_PROGRESS:
return {
"QUEST_ERR_HAS_IN_PROGRESS",
"QUEST_ERR_HAS_IN_PROGRESS",
"\042Progress Bar objective not completed\042" };
48 default:
throw std::out_of_range(
"value");
74 default:
throw std::out_of_range(
"index");
97 default:
throw std::out_of_range(
"value");
111 case QuestPushReason::InvalidToRecipient:
return {
"InvalidToRecipient",
"InvalidToRecipient",
"\042%s's attempt to share quest \042%s\042 failed. You are not eligible for that quest.\042" };
116 case QuestPushReason::DeadToRecipient:
return {
"DeadToRecipient",
"DeadToRecipient",
"\042%s's attempt to share quest \042%s\042 failed. You are dead.\042" };
118 case QuestPushReason::LogFullToRecipient:
return {
"LogFullToRecipient",
"LogFullToRecipient",
"\042%s's attempt to share quest \042%s\042 failed. Your quest log is full.\042" };
120 case QuestPushReason::OnQuestToRecipient:
return {
"OnQuestToRecipient",
"OnQuestToRecipient",
"\042%s's attempt to share quest \042%s\042 failed. You are already on that quest.\042" };
122 case QuestPushReason::AlreadyDoneToRecipient:
return {
"AlreadyDoneToRecipient",
"AlreadyDoneToRecipient",
"\042%s's attempt to share quest \042%s\042 failed. You have completed that quest.\042" };
127 case QuestPushReason::DifferentServerDailyToRecipient:
return {
"DifferentServerDailyToRecipient",
"DifferentServerDailyToRecipient",
"\042%s's attempt to share quest \042%s\042 failed. You are not eligible for that quest today.\042" };
129 case QuestPushReason::Prerequisite:
return {
"Prerequisite",
"Prerequisite",
"\042%s hasn't completed all of the prerequisite quests required for that quest.\042" };
130 case QuestPushReason::PrerequisiteToRecipient:
return {
"PrerequisiteToRecipient",
"PrerequisiteToRecipient",
"\042%s's attempt to share quest \042%s\042 failed. You must complete all of the prerequisite quests first.\042" };
132 case QuestPushReason::LowLevelToRecipient:
return {
"LowLevelToRecipient",
"LowLevelToRecipient",
"\042%s's attempt to share quest \042%s\042 failed. You are too low level for that quest.\042" };
134 case QuestPushReason::HighLevelToRecipient:
return {
"HighLevelToRecipient",
"HighLevelToRecipient",
"\042%s's attempt to share quest \042%s\042 failed. You are too high level for that quest.\042" };
135 case QuestPushReason::Class:
return {
"Class",
"Class",
"\042%s is the wrong class for that quest.\042" };
136 case QuestPushReason::ClassToRecipient:
return {
"ClassToRecipient",
"ClassToRecipient",
"\042%s's attempt to share quest \042%s\042 failed. You are the wrong class for that quest.\042" };
137 case QuestPushReason::Race:
return {
"Race",
"Race",
"\042%s is the wrong race for that quest.\042" };
138 case QuestPushReason::RaceToRecipient:
return {
"RaceToRecipient",
"RaceToRecipient",
"\042%s's attempt to share quest \042%s\042 failed. You are the wrong race for that quest.\042" };
140 case QuestPushReason::LowFactionToRecipient:
return {
"LowFactionToRecipient",
"LowFactionToRecipient",
"\042%s's attempt to share quest \042%s\042 failed. Your reputation is too low for that quest.\042" };
141 case QuestPushReason::Expansion:
return {
"Expansion",
"Expansion",
"\042%s doesn't own the required expansion for that quest.\042" };
142 case QuestPushReason::ExpansionToRecipient:
return {
"ExpansionToRecipient",
"ExpansionToRecipient",
"\042%s's attempt to share quest \042%s\042 failed. You do not own the required expansion for that quest.\042" };
144 case QuestPushReason::NotGarrisonOwnerToRecipient:
return {
"NotGarrisonOwnerToRecipient",
"NotGarrisonOwnerToRecipient",
"\042%s's attempt to share quest \042%s\042 failed. You must own a garrison to accept that quest.\042" };
146 case QuestPushReason::WrongCovenantToRecipient:
return {
"WrongCovenantToRecipient",
"WrongCovenantToRecipient",
"\042%s's attempt to share quest \042%s\042 failed. You are in the wrong covenant for that quest.\042" };
148 case QuestPushReason::NewPlayerExperienceToRecipient:
return {
"NewPlayerExperienceToRecipient",
"NewPlayerExperienceToRecipient",
"\042%s's attempt to share quest \042%s\042 failed. You must complete Exile's Reach to accept that quest.\042" };
150 case QuestPushReason::WrongFactionToRecipient:
return {
"WrongFactionToRecipient",
"WrongFactionToRecipient",
"\042%s's attempt to share quest \042%s\042 failed. You are the wrong faction for that quest.\042" };
151 default:
throw std::out_of_range(
"value");
205 default:
throw std::out_of_range(
"index");
256 default:
throw std::out_of_range(
"value");
@ QUEST_ERR_FAILED_EXPANSION
@ QUEST_ERR_FAILED_WRONG_RACE
@ QUEST_ERR_ONLY_ONE_TIMED
@ QUEST_ERR_ALREADY_DONE_DAILY
@ QUEST_ERR_FAILED_LOW_LEVEL
@ QUEST_ERR_FAILED_NOT_ENOUGH_MONEY
@ QUEST_ERR_FAILED_MISSING_ITEMS
@ QUEST_ERR_HAS_IN_PROGRESS
@ PrerequisiteToRecipient
@ NotGarrisonOwnerToRecipient
@ NewPlayerExperienceToRecipient
@ DifferentServerDailyToRecipient
@ WrongCovenantToRecipient
@ WrongFactionToRecipient
static size_t ToIndex(Enum index)
static EnumText ToString(Enum value)
static Enum FromIndex(size_t index)