Rename Vendor.Xpp -> Vendors.Xpp

This commit is contained in:
gsemaj
2021-04-16 13:28:59 -04:00
parent 588e941d3c
commit fa7c88e214
6 changed files with 15 additions and 15 deletions

View File

@@ -7,7 +7,7 @@
#include "Chunking.hpp"
#include "Nanos.hpp"
#include "Racing.hpp"
#include "Vendor.hpp"
#include "Vendors.hpp"
#include "Abilities.hpp"
#include "Eggs.hpp"
@@ -708,10 +708,10 @@ void TableData::init() {
for (nlohmann::json::iterator _lst = listings.begin(); _lst != listings.end(); _lst++) {
auto lst = _lst.value();
VendorListing vListing = { lst["m_iSortNumber"], lst["m_iItemType"], lst["m_iitemID"] };
Vendor::VendorTables[lst["m_iNpcNumber"]].push_back(vListing);
Vendors::VendorTables[lst["m_iNpcNumber"]].push_back(vListing);
}
std::cout << "[INFO] Loaded " << Vendor::VendorTables.size() << " vendor tables" << std::endl;
std::cout << "[INFO] Loaded " << Vendors::VendorTables.size() << " vendor tables" << std::endl;
// load crocpot entries
nlohmann::json crocs = xdtData["m_pCombiningTable"]["m_pCombiningData"];