void Unit::AddBonus(int, int, int, int, int)
AddBonus · Unit
Exact signature
Section titled “Exact signature”void Unit::AddBonus(int, int, int, int, int)Description
Section titled “Description”Builds a bonus descriptor, adds it to a Unit-linked collection, and recalculates bonuses.
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 |
| 2 | int |
| 3 | int |
| 4 | int |
| 5 | 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.