#include <economy.h>
◆ AddDemand() [1/2]
void cqsp::common::components::Market::AddDemand |
( |
const ResourceLedger & |
stockpile | ) |
|
◆ AddDemand() [2/2]
void cqsp::common::components::Market::AddDemand |
( |
const ResourceLedger & |
stockpile, |
|
|
double |
multiplier |
|
) |
| |
◆ AddParticipant()
void cqsp::common::components::Market::AddParticipant |
( |
entt::entity |
participant | ) |
|
|
inline |
◆ AddSupply() [1/2]
void cqsp::common::components::Market::AddSupply |
( |
const ResourceLedger & |
stockpile | ) |
|
◆ AddSupply() [2/2]
void cqsp::common::components::Market::AddSupply |
( |
const ResourceLedger & |
stockpile, |
|
|
double |
multiplier |
|
) |
| |
◆ begin()
auto cqsp::common::components::Market::begin |
( |
| ) |
|
|
inline |
◆ end()
auto cqsp::common::components::Market::end |
( |
| ) |
|
|
inline |
◆ GetDemand()
double cqsp::common::components::Market::GetDemand |
( |
const entt::entity & |
good | ) |
|
◆ GetPrice() [1/2]
double cqsp::common::components::Market::GetPrice |
( |
const entt::entity & |
good | ) |
|
◆ GetPrice() [2/2]
double cqsp::common::components::Market::GetPrice |
( |
const ResourceLedger & |
stockpile | ) |
|
◆ GetSDRatio()
double cqsp::common::components::Market::GetSDRatio |
( |
const entt::entity & |
good | ) |
|
◆ GetSupply()
double cqsp::common::components::Market::GetSupply |
( |
const entt::entity & |
good | ) |
|
◆ operator[]()
◆ connected_markets
entt::basic_sparse_set<entt::entity> cqsp::common::components::Market::connected_markets |
◆ GDP
double cqsp::common::components::Market::GDP = 0 |
◆ history
◆ last_market_information
◆ market_information
◆ participants
std::set<entt::entity> cqsp::common::components::Market::participants |
The documentation for this struct was generated from the following files:
- /github/workspace/src/common/components/economy.h
- /github/workspace/src/common/components/economy.cpp