#pragma once
#include <string>
#include <vector>
namespace SYSTEM
{
class System
{
public:
std::string id;
std::set<std::string> neighboringSystems;
std::vector<std::string> asteroidsResourceIds;
bool canBuySkips;
bool canDirectSell;
int allFleetsCount = 0;
std::map<std::string, std::vector<FLEET::Fleet>> players;
std::map<std::string, std::vector<SYSTEM::MarketItem>> marketSellOffers;
std::map<std::string, std::vector<SYSTEM::MarketItem>> marketBuyOffers;
};
struct MarketItem
{
int quantity;
int price;
};
}
im getting a bunch of errors about these map variables.
For example it says that MarketItem is not a member of SYSTEM
what am i doing wrong here?