# int Building::GetNumSentrySlots()

[Family: Building](/imperivm/en/CKS/familias/building/)

## Exact signature

```text
int Building::GetNumSentrySlots()
```

## Description

Building::GetNumSentrySlots returns the sentry slot count dword at template [field] and lacks a safe fallback for invalid handles.

## 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-1ca106c9c26b63.md)
- [JSON](/imperivm/CKS/api/entries/api-1ca106c9c26b63?lang=en)

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