# int Settlement::GetMaxSentries()

[Family: Settlement](/imperivm/en/CKS/familias/settlement/)

## Exact signature

```text
int Settlement::GetMaxSentries()
```

## Description

GetNumSentries and GetMaxSentries copy the resolved Settlement dwords [field] and [field] respectively, with zero fallback.

## Parameters and return type

**Return type:** `int`

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

This signature takes no additional arguments.

## Read and share

- [Markdown](/imperivm/exports/en/cks/api-43351b753abf34.md)
- [JSON](/imperivm/CKS/api/entries/api-43351b753abf34?lang=en)

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