Core/Cleanup:
* move repeating code into separate method for storing locale strings in ObjectMgr (copy/paste sucks, you know) * fix 'signed/unsigned' warnings (at least in VS) * fix some other warnings and cleanup relative code --HG-- branch : trunk
This commit is contained in:
@@ -161,14 +161,14 @@ struct QuestLocale
|
||||
{
|
||||
QuestLocale() { ObjectiveText.resize(QUEST_OBJECTIVES_COUNT); }
|
||||
|
||||
std::vector<std::string> Title;
|
||||
std::vector<std::string> Details;
|
||||
std::vector<std::string> Objectives;
|
||||
std::vector<std::string> OfferRewardText;
|
||||
std::vector<std::string> RequestItemsText;
|
||||
std::vector<std::string> EndText;
|
||||
std::vector<std::string> CompletedText;
|
||||
std::vector< std::vector<std::string> > ObjectiveText;
|
||||
StringVector Title;
|
||||
StringVector Details;
|
||||
StringVector Objectives;
|
||||
StringVector OfferRewardText;
|
||||
StringVector RequestItemsText;
|
||||
StringVector EndText;
|
||||
StringVector CompletedText;
|
||||
std::vector< StringVector > ObjectiveText;
|
||||
};
|
||||
|
||||
// This Quest class provides a convenient way to access a few pretotaled (cached) quest details,
|
||||
|
||||
Reference in New Issue
Block a user