#include <market.h>
◆ Market() [1/3]
| cqsp::core::components::Market::Market |
( |
size_t |
good_count | ) |
|
|
inline |
◆ Market() [2/3]
| cqsp::core::components::Market::Market |
( |
const Market & |
| ) |
|
|
default |
◆ Market() [3/3]
| cqsp::core::components::Market::Market |
( |
Market && |
| ) |
|
|
defaultnoexcept |
◆ ~Market()
| cqsp::core::components::Market::~Market |
( |
| ) |
|
|
default |
◆ AddParticipant()
| void cqsp::core::components::Market::AddParticipant |
( |
entt::entity |
participant | ) |
|
|
inline |
◆ operator=() [1/2]
| Market & cqsp::core::components::Market::operator= |
( |
const Market & |
| ) |
|
|
default |
◆ operator=() [2/2]
| Market & cqsp::core::components::Market::operator= |
( |
Market && |
| ) |
|
|
defaultnoexcept |
◆ ResetLedgers()
| void cqsp::core::components::Market::ResetLedgers |
( |
| ) |
|
|
inline |
◆ chronic_shortages
◆ connected_markets
| std::vector<entt::entity> cqsp::core::components::Market::connected_markets |
◆ consumption
◆ deficit
| double cqsp::core::components::Market::deficit = 0 |
◆ demand
◆ GDP
| double cqsp::core::components::Market::GDP = 0 |
◆ last_deficit
| double cqsp::core::components::Market::last_deficit = 0 |
◆ last_trade_deficit
| double cqsp::core::components::Market::last_trade_deficit = 0 |
◆ market_access
◆ parent_market
| entt::entity cqsp::core::components::Market::parent_market = entt::null |
◆ participants
| std::set<entt::entity> cqsp::core::components::Market::participants |
◆ price
◆ production
◆ resource_fulfilled
◆ sd_ratio
◆ supply
◆ trade
◆ trade_deficit
| double cqsp::core::components::Market::trade_deficit = 0 |
◆ volume
The amount of goods that changed hands. We can use this to calculate the GDP
The documentation for this struct was generated from the following file:
- /github/workspace/src/core/components/market.h