Load vendor tables

This commit is contained in:
Gent
2020-09-13 18:54:47 -04:00
parent 9cc5f3e4d5
commit f55cc8f36d
4 changed files with 43 additions and 46 deletions

View File

@@ -7,6 +7,8 @@
#include <string.h> // for memset() and memcmp()
#include <assert.h>
std::map<int32_t, std::vector<VendorListing>> ItemManager::VendorTables;
void ItemManager::init() {
REGISTER_SHARD_PACKET(P_CL2FE_REQ_ITEM_MOVE, itemMoveHandler);
REGISTER_SHARD_PACKET(P_CL2FE_REQ_PC_ITEM_DELETE, itemDeleteHandler);