void Wagon::SetLoyalty(int)
SetLoyalty · Wagon
Exact signature
Section titled “Exact signature”void Wagon::SetLoyalty(int)Description
Section titled “Description”CKS-exposed setter that validates a 0..100 loyalty value and writes it, scaled by ten, to the wagon's loyalty field.
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.