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