#include <economy.h>
◆ Wallet() [1/2]
cqsp::common::components::Wallet::Wallet |
( |
| ) |
|
|
default |
◆ Wallet() [2/2]
cqsp::common::components::Wallet::Wallet |
( |
entt::entity |
_currency, |
|
|
double |
_balance |
|
) |
| |
|
inline |
◆ GetBalance()
double cqsp::common::components::Wallet::GetBalance |
( |
| ) |
const |
|
inline |
◆ GetGDPChange()
double cqsp::common::components::Wallet::GetGDPChange |
( |
| ) |
|
|
inline |
◆ operator double()
cqsp::common::components::Wallet::operator double |
( |
| ) |
const |
|
inline |
◆ operator*=()
Wallet & cqsp::common::components::Wallet::operator*= |
( |
const double |
coefficent | ) |
|
|
inline |
◆ operator+=()
Wallet & cqsp::common::components::Wallet::operator+= |
( |
const double |
amount | ) |
|
|
inline |
◆ operator-=()
Wallet & cqsp::common::components::Wallet::operator-= |
( |
const double |
amount | ) |
|
|
inline |
◆ operator=()
Wallet & cqsp::common::components::Wallet::operator= |
( |
double |
_balance | ) |
|
|
inline |
◆ Reset()
void cqsp::common::components::Wallet::Reset |
( |
| ) |
|
|
inline |
◆ balance
double cqsp::common::components::Wallet::balance = 0 |
|
private |
◆ change
double cqsp::common::components::Wallet::change = 0 |
|
private |
◆ currency
entt::entity cqsp::common::components::Wallet::currency |
|
private |
◆ GDP_change
double cqsp::common::components::Wallet::GDP_change = 0 |
|
private |
The documentation for this struct was generated from the following file:
- /github/workspace/src/common/components/economy.h