OpenFusion/src/Vendors.hpp

22 lines
431 B
C++
Raw Normal View History

#pragma once
#include "core/Core.hpp"
#include <vector>
#include <map>
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;
}
};
2021-04-16 17:28:59 +00:00
namespace Vendors {
extern std::map<int32_t, std::vector<VendorListing>> VendorTables;
void init();
}