Skip to content
Contribute

bool Settlement::IsCity()

IsCity · Settlement

Family: Settlement

bool Settlement::IsCity()

Tests whether the settlement's central building's own UnitTemplate name string matches "GTownhall" or "RTownhall", distinguishing a template-name comparison from a class-name identity test.

Return type: bool

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

This signature takes no additional arguments.

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.