void Settlement::SetGold(int)
SetGold · Settlement
Exact signature
Section titled “Exact signature”void Settlement::SetGold(int)Description
Section titled “Description”Sets current gold on the resource store to an absolute value, clamped to the store's maximum gold.
Parameters and return type
Section titled “Parameters and return type”Return type: void
The member is called on an object. Its receiver is not repeated among this signature’s arguments.
| Position | Type |
|---|---|
| 1 | int |
Read and share
Section titled “Read and share”Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.