mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-05 15:00:06 +00:00
23 lines
485 B
C++
23 lines
485 B
C++
#pragma once
|
|
|
|
#include "core/Core.hpp"
|
|
#include "servers/CNShardServer.hpp"
|
|
|
|
#include "Items.hpp"
|
|
#include "PlayerManager.hpp"
|
|
|
|
struct VendorListing {
|
|
int sort, type, id;
|
|
|
|
// when validating a listing, we don't really care about the sorting index
|
|
bool operator==(const VendorListing& other) const {
|
|
return type == other.type && id == other.id;
|
|
}
|
|
};
|
|
|
|
namespace Vendors {
|
|
extern std::map<int32_t, std::vector<VendorListing>> VendorTables;
|
|
|
|
void init();
|
|
}
|