Obj Unit::BestProtPos(int, int, int, int)
BestProtPos · Unit
Exact signature
Section titled “Exact signature”Obj Unit::BestProtPos(int, int, int, int)Description
Section titled “Description”Scores hostile squad leader neighborhoods by relation-count balance and a product, preferring a normal leader result over a same-player sacrifice override.
Parameters and return type
Section titled “Parameters and return type”Return type: Obj
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 |
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.