Skip to content
Contribute

Barrack Settlement::BestBarrack(int)

BestBarrack · Settlement

Family: Settlement

Barrack Settlement::BestBarrack(int)

Selects an eligible barracks in the settlement with the lowest score accepted by its selection procedure. Returns an invalid reference if no candidate is selected.

Selection filters settlement members and excludes barracks in a particular state. The exact meaning of that state, the score, and the integer argument is not fully documented; this entry does not identify them as distance, level, or unit count.

Return type: Barrack

The member is called on an object. Its receiver is not repeated among this signature’s arguments.

Position Type
1 int

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.

Suggest a better description

Write how you would explain this entry. Your proposal will be held in a private inbox for review.

0 / 4000

Proposals are not published automatically. Do not include personal information in your description.