CanAfford
Tests positive signed resource quotients after subtracting the keyed reservation from available gold.
Signature
bool Settlement::CanAfford(int, int)Parameters and return
Receiver: Settlement · Return: bool
Other overloads
| Member | Signature and description |
|---|---|
Settlement::CanAffordSettlement | bool Settlement::CanAfford(str)Resolves a Settlement and named command, then returns whether a cost check succeeds. |
Settlement::CanAffordSettlement | bool Settlement::CanAfford(str, int)Compares the requested count with the signed native command affordability count. |